Commit Graph

19499 Commits

Author SHA1 Message Date
Benau
59f1fdf250 Take controller event into account for connection debug 2018-07-18 13:31:38 +08:00
Benau
f5230e30aa Use the original way to save controller event
And save more locally for network state
2018-07-18 13:10:44 +08:00
Benau
5c6de6d0fa Increase quaternion compressed precision
After dropping the largest value, the rest 3 are guaranteed not
larger than 1 / sqrtf(2), given normalized quaternion
2018-07-16 12:13:31 +08:00
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
Deve
a1168d49db Minor fix for more consistency in android make script 2018-07-14 00:03:09 +02:00
Deve
b359a3387f Fixed multitouch device after some modifications in player controller 2018-07-13 23:50:40 +02: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
Deve
ec25a9d368 Enable screen keyboard on android even if there is no touch device.
It may be still useful for gamepad.
2018-07-11 22:41:22 +02:00
Deve
30b1799b6e Fixed minor bug in android build script 2018-07-11 21:35:40 +02:00
Deve
e0d262bfdd Allow to use screen keyboard even if hardware keyboard is available 2018-07-11 21:02:24 +02: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