Commit Graph

19043 Commits

Author SHA1 Message Date
hiker
4a0444987a Fixed skidding in network mode. Only the jump duration is part of
the state, the current height of the kart in case of a jump is
then computed (without keeping track of speed etc). Jumping is
now only done during updateGraphics().
2018-04-20 17:31:31 +10:00
Benau
91e1bd3fd1 Try to fix invalid string by store a copied of translation 2018-04-20 14:36:19 +08:00
Benau
a071e022a5 Do the same for race event manager for non-stop network 2018-04-20 14:18:26 +08:00
Benau
32c1255c10 Make sure no dialog exists when going back to lobby 2018-04-20 14:18:05 +08:00
Benau
0c33803159 Let the network game keep going even race paused dialog shown 2018-04-20 13:30:17 +08:00
Benau
e5c991e3d2 Merge remote-tracking branch 'origin/master' into kobato 2018-04-20 13:03:34 +08:00
Benau
2dada03bae Save available karts and tracks from clients in STKPeer
So if this peer disconnects later in lobby it won't affect current players
2018-04-20 12:19:58 +08:00
Benau
bd13f40584 Reset server to accepting client state if no more connected players 2018-04-20 12:19:58 +08:00
Benau
99a25bb837 Implement a proper end and restart race in network 2018-04-20 12:19:58 +08:00
Benau
6eaa88a3f5 Remove the unknown 255 attachment which caused by Endcontroller replacement 2018-04-20 12:19:58 +08:00
Benau
b6caf00bfc Stop race event manager if exiting lobby 2018-04-20 12:19:58 +08:00
Benau
9a32bdcbe1 Fix #1636 2018-04-20 12:19:58 +08:00
Benau
d4fb888ffa Eliminate disconnected kart 2018-04-20 12:19:58 +08:00
Benau
6f30fd0cb0 Clean up ConnectToPeer 2018-04-20 12:19:58 +08:00
Benau
0ecc6e34b9 Add deve request for auto-server port detection 2018-04-20 12:19:58 +08:00
Benau
12e4ba0f18 Check server version again in connection request (for connect-now) 2018-04-20 12:19:58 +08:00
Deve
a7deff5c3e Avoid a crash in general text field dialog.
onEnterPressed can be executed twice - in event handler and in input manager.
2018-04-20 12:19:58 +08:00
Benau
789d75bf26 Remember last sucessfully connected server address 2018-04-20 12:19:58 +08:00
Benau
bd5fc33816 Add billboard text of online player name to non-local player 2018-04-20 12:19:58 +08:00
Benau
d30faece9c Show (online) player name in race GUI 2018-04-20 12:19:58 +08:00
Benau
d6af63da67 Fix possible android crash 2018-04-20 12:19:58 +08:00
Benau
0c688c7df7 Use music phase instead of race phase 2018-04-20 12:19:58 +08:00
Benau
2c6883842e Add connect-now equivalent to online screen
Specify port to allow to connect to one of multiple servers in same machine
2018-04-20 12:19:58 +08:00
Benau
8c72ce66e3 Copy server address to avoid using STKHost in shutdown 2018-04-20 12:19:58 +08:00
Benau
266898ca28 Display server port in log for connect-now GUI later 2018-04-20 12:19:58 +08:00
Benau
88728b074c Fix lobby crash in graphics server 2018-04-20 12:19:58 +08:00
Benau
ba98e7dde9 Remove invalid warning about logging packets 2018-04-20 12:19:58 +08:00
Benau
f37ca7ada5 Don't update skidmark if rewinding 2018-04-20 12:19:58 +08:00
Benau
c3354923db Avoid skipping of vertex buffer update if called more than once per frame 2018-04-20 12:19:58 +08:00
Benau
22f8095cb0 Remove compiler warnings 2018-04-20 12:19:58 +08:00
Benau
beaafb3d79 Fix clang discarding the translated stringw 2018-04-20 12:19:58 +08:00
Benau
2a3d57706a Reset timer after finished loading world
It avoid some clients with slower loading time than anybody else hanging
when rewinding
2018-04-20 12:19:58 +08:00
Benau
969b56844b Don't pause timer in thunderbird phase when in offline game
And don't show the dialog at all in network game when thunderbird phase
2018-04-20 12:19:58 +08:00
Benau
93d1b9136d Clean all previous AI if exists in offline game 2018-04-20 12:19:58 +08:00
Benau
2dd9174b3a Remove unused code in game events protocol 2018-04-20 12:19:58 +08:00
Benau
660ccd1f43 Don't crash if user opened a dialog when server shutting down 2018-04-20 12:19:58 +08:00
Benau
66c05bbdbf Avoid crash if pressing close window button when networking 2018-04-20 12:19:58 +08:00
Benau
eca5a78075 Fix starting race now network string leaking 2018-04-20 12:19:58 +08:00
hiker
a727f524f2 Modified file to automatically trigger cmake on compilation. 2018-04-20 12:19:58 +08:00
hiker
4f94615c49 Moved wrong-way timer from kart into linear world. 2018-04-20 12:19:58 +08:00
hiker
da039bf6a9 Renamed member variable and method to better describe them. 2018-04-20 12:19:57 +08:00
auria.mg
92edfe5121 Attempt for #3164 2018-04-20 12:19:57 +08:00
auria.mg
ca7aac04c7 Fix leak 2018-04-20 12:19:57 +08:00
Deve
6d435a3dcf Fixed mingw compilation 2018-04-20 12:19:57 +08:00
Deve
7e553356ea Fixed windows compilation 2018-04-20 12:19:57 +08:00
Deve
0773e03246 Avoid some code duplication 2018-04-20 12:19:57 +08:00
Deve
fc3b428360 Allow to use scripting on arm64 2018-04-20 12:19:57 +08:00
auria.mg
6d306e64a7 More UI scaling improvements, see #3146 2018-04-20 12:19:57 +08:00
hiker
99d8ad8ac1 Properly fix #3159 (Wrong direction text is displayed twice).
When this is merged with master, the current work around
in #3159 can be reverted.
2018-04-20 12:19:57 +08:00
hiker
da7780a9e1 Removed the storing of DT (which is not necessary when using ticks
now). Removed TimeStep information class etc.
2018-04-20 12:19:57 +08:00