Commit Graph

1440 Commits

Author SHA1 Message Date
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
Benau
5e7ec89002 Fix more override warnings 2018-07-19 00:35:56 +08:00
Benau
c72db7099d Synchronized random arena item in network game 2018-07-14 08:11:35 +08:00
Benau
1333fe2d19 Use minimum size for uid of rewinder 2018-07-13 15:05:07 +08:00
Benau
565dfcef96 Only send state for moving track object 2018-07-13 10:47:30 +08:00
Benau
99659e8021 Initial work on dynamic physics object rewind 2018-07-12 09:05:26 +08:00
Benau
908735b1b1 Remove local state saving at t = 0
A proper same frequency local state saving for client will come later
2018-07-11 13:29:30 +08:00
Benau
bce888ec26 Always highest geometry level in network game 2018-07-11 09:06:49 +08:00
Benau
3347cac92d Make track object with ipo animation depend on world up ticks 2018-07-08 14:08:33 +08:00
Benau
4d680c27f4 Fix kart animation in networking 2018-06-21 01:14:26 +08:00
hiker
cd80101bdf Removed execute permission (for unknown reasons VS makes source files
executable when it saves them).
2018-06-08 10:59:13 +10:00
hiker
b0da0f640a Merge remote-tracking branch 'origin/master' into network-items,
fixed conflicts.
2018-06-08 10:55:14 +10:00
Benau
9f6c87a636 Fix cornfield crossing network play 2018-06-07 15:31:13 +08:00
hiker
a9279a05d0 Made --check-debug to work with --no-graphics; print also the
race time at which a check-structure is crossed.
2018-06-01 00:24:27 +10:00
hiker
70039f7d92 Removed unnecessary #include. 2018-05-31 09:29:01 +10:00
Benau
b8982200b6 Fix track objects in network 2018-05-15 15:23:39 +08:00
hiker
0d850201fb Renamed and split the two newItem () functions into three functions:
placeItem(), placeTrigger(), dropNewItem(). Started to add support
for networked bubble gum (though that's not working, i.e. will crash
atm ;) ).
2018-05-15 10:40:25 +10:00
hiker
9d60112e65 Started to implement proper item handling: the server now sends
updates of all collected items to the clients as part of a state.
A client confirms the received states. Once all clients have
confirmed a certain event, that event is deleted on the server
and not sent anymore. WIP, item collection kind of works, but only
because of kart state updates which include attachment (but not
e.g. nitro).
2018-05-08 19:12:06 +10:00
hiker
eb647124e8 Split the item update into update and updateGraphics() parts. 2018-05-04 16:41:03 +10:00
Alayan-stk-2
3d17e68c4e
Get a larger minimap texture to significantly reduce aliasing 2018-05-02 19:13:09 +02:00
hiker
78bd331cae Fix #3206 (crash in gui-less server). 2018-04-20 00:01:45 +10:00
hiker
98555a8f35 Merge remote-tracking branch 'origin/master' into game_protocol 2018-04-19 10:57:37 +10:00
hiker
95bba525c5 Refacotring: instead of Moveable::update calling updateGraphics,
this is now called separately once per rendered frame from
the main loop. Started to split other objects to have separate
updateGraphics functions (e.g. to fix skid marks issues caused
by previously updating skidmarks even in rewind).
2018-04-18 22:27:06 +10:00
Alayan-stk-2
64168c2f67
New setQuad function 2018-04-12 21:33:59 +02:00