Commit Graph

17416 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
Arthur-D
925d756454 Adding some replays from Kitoko, thanks! Also removing a few so as to keep a low number of replays, and renamed easy replay files to novice. 2017-01-23 23:44:34 +01: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
d935f0318c The exhaust is tweaked a bit 2017-01-23 00:27:31 -05:00
samuncle
9e1afc89ee Add a permanant exhaust to the kart, tweaking needed 2017-01-22 23:20:07 -05:00
samuncle
50f3c224b3 change the name to development more accurate 2017-01-22 22:14:19 -05:00
samuncle
74cc87cd65 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2017-01-22 22:10:12 -05:00
samuncle
d600720830 Add a new category of production babies 2017-01-22 22:09:56 -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
hiker
3712f1d600 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-01-21 10:59:15 +11:00
samuncle
e86e146442 Add emit map to a shader, so cars in candela are like small dots 2017-01-20 00:06:35 -05: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
a0499fcfd6 Merge branch 'master' of https://github.com/supertuxkart/stk-code
# Conflicts:
#	src/scriptengine/script_engine.cpp
2017-01-19 21:04:35 -05:00
auria.mg
52fff152de Scripting : add support for "onStart" callbacks in library objects 2017-01-19 21:03:09 -05:00
samuncle
ef82257110 Add support for array in scripting 2017-01-19 20:49:46 -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
Deve
7890c1669b Merge pull request #2736 from nado/clanglto
Fix clang compilation
2017-01-14 15:50:37 +01:00
samuncle
b9dd867c86 Use gamma corrected decal 2017-01-14 09:41:29 -05:00