Commit Graph

12916 Commits

Author SHA1 Message Date
hiker
9df07ac0c2 Rearranged code somewhat to make it easier to read - only cosmetic changes. 2017-01-31 18:25:30 +11:00
hiker
d8706e2319 Added log message when server starts a race on clients. 2017-01-30 09:29:58 +11:00
hiker
a3b959cee9 Avoid that the server replays states saved in the previous frame. 2017-01-30 08:58:00 +11:00
hiker
6cc795fc60 Use a std::list instead of std::vector for the list of events. This allows
not to lock the whole event queue while an event is being delivered, which
allows more parallelism (especially the asynchronous eventss queue is not
locked while e.g. the world is loaded, which can take several seconds).
2017-01-30 08:54:23 +11:00
hiker
dfc5c1499c Added separate log message for disconnecting clients. 2017-01-30 08:52:41 +11:00
hiker
cebf24f3af Don't use the time during a rewind to determine if a client needs
to slow down.
2017-01-27 23:45:25 +11:00
hiker
7ad0a0cf69 Fixed coding style issues (same should be done with speedweight objects). 2017-01-25 21:55:16 +11:00
hiker
ecc4e30cbe Fixed compiler warning. 2017-01-25 21:51:26 +11:00
hiker
0e6daf9319 Fixed compiler warning. 2017-01-25 18:19:37 +11:00
hiker
096d68c361 Merge remote-tracking branch 'origin/master' into game_protocol 2017-01-25 18:15:24 +11:00
hiker
426cbaaff5 Added '--auto-connect' command line option to automatically connect
a client to the first LAN server it finds and start a race - strictly
for debuggint ;)
2017-01-25 14:29:48 +11:00
auria.mg
6e8480379b Add support of headlight models to karts 2017-01-23 20:14:42 -05:00
hiker
b8bf4a3c2e Fixed documentation. 2017-01-24 08:35:15 +11:00
hiker
241d31d8f9 Added support for slowing down time on a client. This is used by
a server to reduce number of rewinds.
2017-01-24 08:05:46 +11:00
deve
a1e8cb8acd Try to fix build 2017-01-23 10:49:18 +01:00
deve
8c8d2ac8c4 Add a screen keyboard that can be used on touch screens 2017-01-23 07:14:09 +01:00
samuncle
9e1afc89ee Add a permanant exhaust to the kart, tweaking needed 2017-01-22 23:20:07 -05:00
auria.mg
2bcc579f61 Fix crash 2017-01-22 21:23:33 -05:00
samuncle
996cea5a14 Oups, I forgot to drop the light 2017-01-22 20:32:25 -05:00
samuncle
979f61b8c1 Add support for day/night notion in tracks 2017-01-22 19:28:08 -05:00
hiker
9b38e401f4 Store special time events for clients (otherwise incorrect or even
way too large dt is used in rewind).
2017-01-23 08:23:54 +11:00
samuncle
4f1101d62b Activate headlight only for the player 2017-01-22 10:09:32 -05:00
samuncle
93011e934e Merge branch 'master' into headlight 2017-01-22 08:35:07 -05:00
hiker
d038848c2e If a client should have received a state in the future, use it (long
term this should not happen, since the server is behind the clients).
2017-01-22 17:41:47 +11:00
samuncle
44207e9620 ground work for an headlight for karts to allow better visiblity in dark tracks 2017-01-19 23:45:42 -05:00
hiker
620a5b34f2 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-01-20 14:15:55 +11:00
hiker
b5f285a182 Fixed #2742 - incorrect triggering if cannon line triggereed Caused
by not updating m_front_xyz when moving the kart (so an incorrect
position was used to detect checkline triggering).
2017-01-20 14:13:12 +11:00
auria.mg
7234caffd9 Fix travis build 2017-01-19 21:11:44 -05:00
auria.mg
52fff152de Scripting : add support for "onStart" callbacks in library objects 2017-01-19 21:03:09 -05:00
hiker
414c51a558 Bugfix: loop did not test if there were RewindInfo available; simplified
loop as well.
2017-01-20 10:46:37 +11:00
hiker
ef1f48da50 Refactored the queue handling to be a separate object from the
RewindManager. Added unit tests.
2017-01-19 17:30:34 +11:00
Benau
4506f4baed Fix possible failed build 2017-01-18 18:42:19 +08:00
hiker
33caf5ed4b Fixed unit test. 2017-01-18 20:57:40 +11:00
Benau
93ad594ff2 Merge branch 'fix_186' 2017-01-16 08:48:06 +08:00
Benau
5ad7b1491a Add marker for kart selection screen 2017-01-16 08:45:34 +08:00
auria.mg
b758e2eb62 Do not crash when pressing hidden button on Gp results screen. Fixes #2734 2017-01-15 19:32:15 -05:00
auria.mg
02d3e7a371 Fix restarting race not resetting kart velocity during a cannon ride. Fixes #2738 2017-01-15 19:22:06 -05:00
Deve
20ed2ad277 Print a warning on low memory event 2017-01-15 17:01:23 +01:00
Deve
a82784ab8e Minor modification that makes moving the list box smoother 2017-01-15 17:00:41 +01:00
Nado
e866d88118 Fix clang compilation 2017-01-14 14:36:52 +01:00
Benau
44faae26bf Fix typo 2017-01-13 18:39:57 +08:00
Benau
89c209bc6c Try to fix server build 2017-01-13 18:10:08 +08:00
Benau
30de9aef62 Fix #186
Display win animation as jymis suggests in kart selection screen
2017-01-13 18:03:13 +08:00
Benau
ec0ff7e984 Fix possible crash when dump the glyph pages 2017-01-12 13:22:41 +08:00
Benau
40fe84ddbd Fix addon stk mercuy crash
Please avoid using 2nd uv layer on animated mesh
2017-01-11 14:29:37 +08:00
Benau
ffedf637de Fix some override warnings 2017-01-11 13:34:25 +08:00
Benau
3105407b2f Remove error when dropping tires in battle mode when kart dead 2017-01-11 13:33:54 +08:00
Benau
3bffe1f1a7 Allow texture error message to be used in STKTexManager 2017-01-11 10:55:18 +08:00
Benau
874d3d347d Remove unused resize texture code 2017-01-11 09:46:00 +08:00
hiker
a8be3f8068 Removed unnecessary events crated by KartControl, added steer_left
and steer_right values from the player controller to the state to
fix steering synchronsiation problems.
2017-01-11 09:29:01 +11:00