Commit Graph

19441 Commits

Author SHA1 Message Date
Benau
fc563cc678 Add useLocalEvent in rewind manager 2018-07-16 01:00:13 +08:00
Benau
511d8dd7a8 Port kart animation rewind to RewindInfoEventFunction 2018-07-16 00:35:33 +08:00
Benau
f2d5b32fa6 Add RewindInfoEventFunction for functional rewind 2018-07-16 00:32:58 +08:00
Benau
e0ada8d6d1 Fix soccer ai stats 2018-07-15 15:20:55 +08:00
Benau
30ceb7dd4a Make smoothing variable configurable 2018-07-15 12:49:07 +08:00
Benau
b979d0db71 Fix change team icon path 2018-07-14 15:55:03 +08:00
Benau
06bcb13590 Allow changing soccer team in lan or private servers 2018-07-14 15:16:54 +08:00
Benau
c72db7099d Synchronized random arena item in network game 2018-07-14 08:11:35 +08:00
Benau
9fbfe0588f Make network tracks screen usable for all game modes 2018-07-14 00:40:53 +08:00
Benau
49d7a2fbbc Use count up ticks on rewinding for time limit in soccer game 2018-07-13 23:34:50 +08:00
Benau
724828b031 Don't adjust vertical offset for phyiscial objects 2018-07-13 22:06:13 +08:00
Benau
23e5dace40 Allow starting soccer mode in network with goals limit 2018-07-13 21:29:26 +08:00
Benau
0cee131b9f Add positional smoothing for physical objects in network 2018-07-13 20:27:37 +08:00
Benau
1333fe2d19 Use minimum size for uid of rewinder 2018-07-13 15:05:07 +08:00
Benau
ef65d70f77 Compress physical object state 2018-07-13 13:46:15 +08:00
Benau
5330951842 Improve compress quaternion by only dropping the largest value out of 4 2018-07-13 12:56:55 +08:00
Benau
565dfcef96 Only send state for moving track object 2018-07-13 10:47:30 +08:00
Benau
ab528e2840 Add a unique identity to each rewinder 2018-07-12 12:41:06 +08:00
Benau
99659e8021 Initial work on dynamic physics object rewind 2018-07-12 09:05:26 +08:00
Benau
7e2d25d4a9 Disable in game menu to avoid timer desync if not racing in network game 2018-07-12 07:16:37 +08:00
Benau
11d9090039 Add initial kart local state saving with correct attachment rewind 2018-07-12 07:08:02 +08:00
Benau
8515805d52 Add initial framework for local state saving 2018-07-11 15:40:36 +08:00
Benau
a8959f604c Fix crash when in-game menu opened when going to result screen in network game 2018-07-11 15:37:55 +08:00
Benau
db8a92a2d6 Fix getifaddrs leaking 2018-07-11 13:49:01 +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
b537df54fc Move scripting update to updateGraphics 2018-07-11 11:08:53 +08:00
Benau
3b2acf01eb Add m_disable_sending_log to request to hide logging for server polling 2018-07-11 10:56:28 +08:00
Benau
bce888ec26 Always highest geometry level in network game 2018-07-11 09:06:49 +08:00
Deve
ed8b5e9f76 Allow to set different path for log files 2018-07-11 00:31:30 +02:00
Deve
b531858ddb Fixed sound on android 2018-07-10 22:23:22 +02:00
Deve
b5c3910fe8 Fixed android x86 compilation.
Ugly, but there is no better solution atm.
2018-07-10 21:22:14 +02:00
Deve
9190847aa3 Close screen keyboard before race is started 2018-07-10 21:22:14 +02:00
Benau
621a718d27 Switch to assign mode in case a player hasn't chosen any karts 2018-07-11 01:41:43 +08:00
Benau
2d6c45f65e Fix attachment rewind with passing bomb 2018-07-11 01:36:20 +08:00
Deve
c76f48c701 Require enet >= 1.3.4.
It's needed for enet_peer_ping_interval()
2018-07-09 22:33:14 +02:00
Deve
68d43734cd Fixed compilation with older compilers 2018-07-09 21:40:52 +02:00
Deve
8885119974 Don't crash if some textures are missing 2018-07-08 23:00:16 +02:00
Benau
8a25edf2cc Use has_animation_before to avoid immediately rescue from previous material 2018-07-08 16:23:39 +08:00
Benau
35e2916981 Add the missing calculation for ipo constructor 2018-07-08 15:29:15 +08:00
Benau
3347cac92d Make track object with ipo animation depend on world up ticks 2018-07-08 14:08:33 +08:00
Benau
e67f0db7c1 Reset all actions in suitable function for local game restart 2018-07-08 13:58:19 +08:00
Benau
17d1bddf0d Don't re-update scripting engine during rewind 2018-07-08 12:58:57 +08:00
Benau
0fa444fbbf Add isNetworking scripting function to disable some track object 2018-07-08 11:57:37 +08:00
Benau
f0c376a41d Always push a screen in server only build to fix getCurrentScreen crash 2018-07-08 09:26:22 +08:00
Deve
aa0a51c31a Fixed angelscript compilation with 32bit gcc 2018-07-07 23:36:02 +02:00
Benau
b6edc0d93f Add --disable-polling for hosting multiple servers on 1 machine
Only 1 instance of STK server needs keep polling the addon server,
the rest can be run with the above option
2018-07-07 12:50:04 +08:00
Benau
efd20966e4 Fix #3066 by make sure cert location is handled in main thread 2018-07-07 12:33:30 +08:00
Benau
21ccf587c3 Add --init-user for server owner to save player profile without gui 2018-07-07 12:32:06 +08:00
Benau
21842f78d8 Fix leaking dummy sfx buffer 2018-07-07 10:56:11 +08:00
Benau
622f46d95a Properly use the ENABLE_SOUND flag 2018-07-07 10:43:05 +08:00