Benau
607c6932f0
Add track object copying to child process
2020-02-28 19:52:17 +08:00
Benau
d41594ea5b
Initial working of starting game if no physical object exists
2020-02-28 19:51:40 +08:00
Benau
6a635e1a56
Turn physics into a singleton get for 2 processes
2020-02-28 09:43:05 +08:00
Benau
6a3e606c2d
Turn race manager into a singleton get for 2 processes
2020-02-28 09:42:44 +08:00
Benau
c9dc68e578
Move item manager to track to allow copying easier later
2020-02-24 11:10:06 +08:00
Benau
f325a0fa14
Add code for copying check structures
2020-02-24 10:58:17 +08:00
Benau
3d13686af7
Move check manager to track to allow copying easier later
2020-02-24 10:57:57 +08:00
riso
740d57a2c4
Show kart direction by an arrow in soccer ( #4230 )
...
* Show kart direction by an arrow in soccer
* bug fix
* bug fix
* correct grammar
2020-02-16 16:31:30 +08:00
Benau
88bbdbdc92
Move no graphics setting to guiengine which is a better place
2020-02-15 14:00:48 +08:00
Benau
0912ca041b
Don't create race gui for no graphics
2020-02-14 13:23:32 +08:00
Benau
35463a12da
Avoid possible infinite loop
2020-02-03 00:48:16 +08:00
Benau
b9af85442b
Take parent library into account for animator checking
2019-12-14 00:21:47 +08:00
Benau
1ee2f01fbc
Allow moving library object with physical body
2019-12-13 23:52:39 +08:00
Benau
0b480e7a71
Restore linear and angular velocities of 3d animation physical objects
2019-12-10 13:35:43 +08:00
Benau
1a23580648
Try to fix track object loading empty lod node crash
2019-12-07 13:48:36 +08:00
Alayan
ff2ccdbde3
Minor mode checks clean-up
2019-10-25 20:26:18 +02:00
Alexander Mennborg
fc9aff80dd
Randomizing spawn points for battle mode #3620 ( #4093 )
...
* Changed to randomize spawns for battle modes
* Changed to randomize spawns for battle modes
* Randomizing spawns only considers offline play
* Code cleanup, removed unused spawn_id from RemoteKartInfo
* Changed to shuffle the start transforms instead of randomizing spawn ids
* Removed unused function randomizeSpawn()
* Updated offline check for shuffle start transforms
* Cleanup removed newlines in race_manager.cpp
2019-10-15 01:19:31 +08:00
Benau
edb338da88
Fix #4088
2019-10-10 15:56:18 +08:00
Benau
6669a5b073
Fix track reloading memory leak
2019-08-09 01:15:22 +08:00
Benau
bdf8c589de
Allow using external full stk-assets
2019-08-08 09:39:01 +08:00
Alayan-stk-2
b95c3233d6
Remove a useless and confusing test
...
If min_sector could be anything but UNKNOWN_SECTOR out of the loop, the "return 0" would be wrong.
2019-07-16 12:04:03 +02:00
Benau
6cab3b07c9
Avoid crashing in TrackSector if findOutOfRoadSector failed
2019-07-08 10:18:50 +08:00
Benau
2b33917b91
Remove unneeded RTL handling in widgets and translation
2019-06-15 14:41:23 +08:00
Benau
8d1923acfd
Remove unneeded translation.hpp in header files
2019-06-15 14:28:35 +08:00
Benau
a56343b7e3
Clean up headers
...
Remove special RTL handling as it will be done when texting shaping
2019-06-15 13:52:28 +08:00
Benau
acb9054dcb
Use libraqm for text layout
2019-06-09 11:26:00 +08:00
Deve
7f42b84432
Allow to modify multitouch settings during the race
2019-06-05 22:59:47 +02:00
Benau
ebf95ee958
Use monotonic clock to avoid system time changes
2019-05-06 15:17:19 +08:00
Benau
cc1b0806c9
Handle if server has different graph node list
2019-04-10 10:16:23 +08:00
Benau
7aa025e13c
Merge remote-tracking branch 'origin/master' into network
2019-03-26 02:48:14 +08:00
Benau
194d7d6419
Update document for check trigger
2019-03-26 01:55:43 +08:00
Benau
66d6785dda
Add document for joinToMainTrack
2019-03-26 01:38:15 +08:00
Benau
3a90e828a4
Remove kart animation when goal phase
...
This will make sure all karts will be back to own goal at the same
time without animation playing
2019-03-25 16:19:29 +08:00
Benau
2aede6fa25
Make check cannon rewind-friendly without using previous position
2019-03-17 12:35:42 +08:00
Benau
b3ca809da4
Remove unneeded objs at once after the for loop
2019-03-13 16:40:21 +08:00
Benau
0af220538a
Remove physics only invisible objects after joining
2019-03-06 06:26:18 +01:00
Benau
7fb3aa7570
Combine static physical objects with irrlicht GeometryCreator
2019-03-06 06:26:18 +01:00
samuncle
bb42d72bc5
Remove commented code + disable autolodcompute for RC
2019-03-05 20:59:39 +01:00
Benau
38568484fb
Restore physical object moved by 3d animation even the first rewind ticks
2019-03-04 09:54:22 +08:00
samuncle
a5ec4f5026
Add complexity option
2019-03-04 00:25:02 +01:00
samuncle
00042ac82e
Update to add scale into account to compute the LoD level
2019-03-03 17:43:59 +01:00
Benau
e01393bff7
Reserve code for future auto checkline correction
2019-03-03 14:11:29 +08:00
Benau
3cee39aff7
Remove physics only invisible objects after joining
2019-03-03 01:54:43 +08:00
samuncle
d284b52368
Update the auto lod level generator
2019-02-28 01:01:44 +01:00
Benau
9b4b283c4c
Add check trigger to replace item trigger
2019-02-27 11:31:19 +08:00
Benau
fe4a9c5406
Allow clients to get list of initial items from server
2019-02-27 11:07:08 +08:00
Benau
224c694dfd
Combine static physical objects with irrlicht GeometryCreator
2019-02-27 11:06:18 +08:00
Benau
d00472f868
Add cannon for flyable in network
2019-02-26 16:07:22 +08:00
Benau
cfbbc7c6dd
Clean up the firing of flyables in network
2019-02-26 15:55:24 +08:00
Benau
1ac4a5b93d
Redo all kart animation classes for network
...
Disable cannon for flyable for now
2019-02-15 17:29:19 +08:00
Benau
64442e5ac9
Allow place item and rescue on driveable objects
2019-02-14 13:19:53 +08:00
Benau
6ac98c0324
Only synchronize one kart each time for check line
...
This remove the duplicated new lap message
2019-02-01 17:50:09 +08:00
Benau
66fa81c6c9
Synchronize check lines and lap status from server
2019-01-26 02:05:03 +08:00
Benau
58e0dce2d0
Fix #3697
2019-01-10 10:11:35 +08:00
Benau
dbe5c22622
Try to restore CheckStructure status for spectating
2019-01-08 04:12:10 +08:00
Benau
07c973f35a
Fix initial on road saving
2019-01-07 11:44:22 +08:00
Benau
961c3957e2
Allow spectating linear race
2019-01-06 13:43:19 +08:00
Benau
6a7ec37462
Merge remote-tracking branch 'origin/master' into live_join
2019-01-05 01:24:06 +08:00
Benau
4b22465836
Add current playing info to lobby
2019-01-04 17:40:25 +08:00
hiker
696a0c778c
Merge branch 'master' of git://github.com/Partmedia/stk-code into Partmedia-master
2019-01-03 09:17:10 +11:00
Mrxx99
f64a1e19b2
Using a default music if specified music of track was not found ( #3667 )
...
* added default music to stk_config and using it for not found music files
* only using default music if no music was found for a track
2019-01-01 09:54:15 -05:00
Benau
be089ae9bd
Save only the minimum for basketball rewind
2018-12-25 12:08:28 +08:00
Kevin Zheng
85fc39c356
Use floating trigonometric functions
2018-12-22 22:43:06 -06:00
hiker
4269ac6294
Merge remote-tracking branch 'origin/master' into voting_gui
2018-12-16 02:06:50 +11:00
hiker
f6e758a9d6
Added a phase and optional iteration index/max-iteration to
...
renderGUI to allow for smooth display of progress bar.
2018-12-06 09:58:29 +11:00
hiker
edad214001
Allow the gui to be updates while loading a track, and use this
...
to show a simple (and still stuttering) animation while loading
a track,
2018-12-05 09:51:41 +11:00
Benau
68a837607e
Fix non-reset ignore height for flyable
2018-12-03 15:26:04 +08:00
Benau
9e066706aa
Prevent clients removing too many official assets
2018-11-26 16:38:11 +08:00
Benau
dba713f72e
Fix #3589
2018-11-26 11:55:43 +08:00
Benau
689376dd0f
Make FFA and CTF minor mode
2018-11-24 01:41:36 +08:00
Benau
87ce3931e5
Add maximum number of moveable objects in networking games
2018-11-09 21:17:38 +08:00
auria.mg
457594379c
Merge branch 'Fix3462'
2018-10-12 19:24:24 -04:00
Alayan
52c0ddd718
Add comment to clarify why the checkline check is done that way
2018-10-12 05:01:53 +02:00
Benau
3725013135
Discard ThreeDAnimation with no IPO
2018-10-12 01:20:57 +08:00
Benau
359c468604
Split track animation with physical or graphical objects
2018-10-12 00:55:37 +08:00
Benau
510d221fbc
Add updateGraphics for track object presentation
2018-10-11 16:23:20 +08:00
auria.mg
98503a7ff6
Lapline fix, tweak values and add explanations
2018-10-10 20:06:07 -04:00
auria.mg
d8f85267ad
Another attempt to fix #3462 , this one works much better
2018-10-10 19:53:07 -04:00
Alayan
02859b673e
Fix distances when off-road, keep rescue to last on-road node
2018-10-10 19:41:02 -04:00
auria.mg
8cf997d9cf
WIP fix for #3462 . Not merged yet since this has side-effects, can cause issues on tracks like lighthouse where you can drive around the lapline
2018-10-08 20:55:17 -04:00
Benau
693a3bc954
Allow flag to be placed on driveable object (for ctf temple)
2018-10-04 01:06:58 +08:00
Benau
6478a0714d
Fix multiplayer sound keep playing
2018-09-30 14:06:40 +08:00
Benau
dd9bb640d1
Use the same item index for server and client
...
TrackObjectPresentationSound will create item trigger, when network
split screen is used it will be diverged.
2018-09-28 16:01:08 +08:00
Benau
f975e37dea
Use a uniform material loading for non-glsl (for server)
2018-09-20 14:20:38 +08:00
Benau
f39946347f
Try to free vertex buffer memory if possible
2018-09-12 16:29:41 +08:00
Deve
a9793a10a0
Better fix for legacy pipeline
2018-09-01 23:15:05 +02:00
Benau
73ac4f165b
Add indication for collected flags in GUI and map
2018-08-21 01:31:49 +08:00
Benau
73c264df94
Add support for CTF map
2018-08-16 02:09:44 +08:00
Benau
03728708cd
Rename soccer team to kart team for CTF
2018-08-15 15:13:55 +08:00
Benau
6bdec3d01a
Add initial framework for FFA and CTF in network
2018-08-12 10:57:37 +08:00
Benau
e9945a5d16
Improve undo destruction for flyable
2018-08-08 11:50:45 +08:00
auria.mg
90073bc954
Fix karts spawning over the start line, esp. in reverse
2018-08-02 21:02:52 -04:00
Benau
982220daf8
Fix rubber ball in network
2018-07-29 15:59:34 +08:00
Benau
60bfc1840b
Port rewinders to use shared_ptr
2018-07-24 14:22:20 +08:00
Benau
56b71e97ad
Remove unused class
2018-07-23 08:41:59 +08:00
Benau
00a22a727a
Check minimap invert for all players (required in network)
2018-07-23 08:29:37 +08:00
Benau
0e1a5ea285
Properly check for soccer team of players
2018-07-20 14:44:53 +08:00
Benau
1f7f64f3b5
Prevent rescuing in soccer mode to go back to self goal immediately
2018-07-20 01:36:02 +08:00
Benau
487227630f
Invert x-z of position for soccer blue team player
2018-07-20 01:06:11 +08:00
Benau
b7569635a0
Load LOD models required by phyiscal moveable objects for server only
2018-07-19 00:51:04 +08:00