Commit Graph

  • d15a234ace Let only the server decide when a kart finished the race. Notify all clients if this happens. hiker 2016-02-15 17:45:24 +11:00
  • a6412d7a07 Add ghost icon, use it in race setup screen Benau 2016-02-15 09:28:36 +08:00
  • bd1380a240 Do not crash if used addon track not found in local STK Benau 2016-02-15 01:19:53 +08:00
  • 05093852bc Add sorting support in ghost replay selection screen Benau 2016-02-15 01:12:13 +08:00
  • 4ea6ea8ea6 Add confirm dialog when deleting replay file Benau 2016-02-14 13:52:16 +08:00
  • 52b3d533f5 Fix memory management issue Marianne Gagnon 2016-02-13 21:18:03 -05:00
  • aa81925860 Don't crash if kart not found loaded by replay files Benau 2016-02-14 09:25:04 +08:00
  • c46bccc6e3 Finished GUI Benau 2016-02-13 11:55:42 +08:00
  • 8a121ed32b Add Ghost replay GUI Benau 2016-02-13 01:34:00 +08:00
  • 5cd27f8f99 Seperate directory for replay files Benau 2016-02-12 10:01:54 +08:00
  • da5529f5bb Improved coding style Elderme 2016-02-11 21:40:20 +01:00
  • a6c4a72e2c Make lap counting works for ghost kart Benau 2016-02-12 01:18:26 +08:00
  • 05f9b01be3 Fixed compilation issue with MinGW Elderme 2016-02-11 14:34:16 +01:00
  • 1ad782e6a6 Added comments. hiker 2016-02-11 17:24:55 +11:00
  • 7765b43d42 Merge remote-tracking branch 'origin/master' into fix_replay Benau 2016-02-11 13:45:16 +08:00
  • ece95cbb81 Use MessageQueue to show whether the replay file is saved successfully Benau 2016-02-11 13:42:25 +08:00
  • 1278394740 More clean Benau 2016-02-11 10:09:31 +08:00
  • 80152d2989 Clean up Benau 2016-02-11 10:05:40 +08:00
  • 4daa752bb6 Don't hurt a kart when it's already hurt enough Benau 2016-02-11 09:08:12 +08:00
  • 3f89512b34 Remove most isGhostKart() hack when avoidable Benau 2016-02-11 09:01:09 +08:00
  • fe6bbb80c4 Delete unused da_DK translation, closes #2435 Marianne Gagnon 2016-02-10 19:56:45 -05:00
  • 7e6711e163 Renamged NetworkWorld to RaceEventManager (since this class is not a 'world' in the sense our game modes are). hiker 2016-02-11 09:03:51 +11:00
  • bb88a0f0ec Allow auto-save replay when specified in time trial mode. Benau 2016-02-11 00:42:33 +08:00
  • 99bc5477a2 Use a password to authenticate the client that is allowed to control a server (now the controlling client can reconnect in case it gets disconnected, previously with only allowing the host with id 1 to control, the server could not be controlled anymore). hiker 2016-02-10 18:03:42 +11:00
  • 5a9fdd7a8d Allow replay reverse track Benau 2016-02-10 12:43:45 +08:00
  • 61d6e572c0 Remove unnused file Benau 2016-02-10 10:38:27 +08:00
  • bfced53aaf Started to add password support for a controlling a server. hiker 2016-02-10 13:32:39 +11:00
  • 0181ba0bc9 Add Ghost Controller Benau 2016-02-10 10:27:13 +08:00
  • b2a9c412ed Fixed issue when deffered lighting is disabled (graphics level 1) Elderme 2016-02-09 22:37:52 +01:00
  • cebf395939 Only allow the first connected client to control the server. hiker 2016-02-10 08:28:15 +11:00
  • d54aee1535 Central video settings were initialized twice: fixed Elderme 2016-02-09 21:43:58 +01:00
  • ee320588d5 Merge remote-tracking branch 'origin/master' into support_nw_splitscreen hiker 2016-02-09 17:40:59 +11:00
  • 354770f564 Added 0 number of laps to configuration to test ending a race. hiker 2016-02-09 13:38:25 +11:00
  • 8f492d8480 Updated documentation. hiker 2016-02-09 13:38:06 +11:00
  • f5a344ccb4 Fixed voting for laps and reverse. hiker 2016-02-09 09:41:35 +11:00
  • bf080421a7 Allow showing speed of ghost karts in replay Benau 2016-02-08 12:28:40 +08:00
  • 5b81d97482 Merge branch 'master' into renderer_refactoring Elderme 2016-02-07 13:56:25 +01:00
  • 2ee4aefcd7 Improved coding style Elderme 2016-02-07 13:54:46 +01:00
  • b6b644ecb5 Clean up Benau 2016-02-07 10:20:37 +08:00
  • f26667ec85 Removed unnessary #include in header files Elderme 2016-02-06 23:38:15 +01:00
  • d5bcfb9446 Improved coding style Elderme 2016-02-06 19:11:23 +01:00
  • af5b23e5c6 Fix potential crash Benau 2016-02-07 00:56:14 +08:00
  • 6bf238a134 More cleaning Elderme 2016-02-06 15:06:39 +01:00
  • 6465666d7c Improved interfaces Elderme 2016-02-06 14:30:21 +01:00
  • c3f589561c Initial work on supporting real race with ghost karts Benau 2016-02-06 14:52:50 +08:00
  • 52460d02de Made start/terminate/pause/unpause-Protocol private, so that now all calls to those functions from the ProtocolManager event loop (which avoids locking problems). hiker 2016-02-05 16:28:58 +11:00
  • af6ecfec3a Removed unused function. hiker 2016-02-05 16:15:58 +11:00
  • 89979a46f5 Removed unused variables. hiker 2016-02-05 16:09:31 +11:00
  • 647f42e984 Update comment Benau 2016-02-05 09:40:34 +08:00
  • 0091c1555a Save nitro and zipper GFX in replay Benau 2016-02-05 09:30:40 +08:00
  • 2d0fd0260e Added file forgotten in previous commit. hiker 2016-02-05 10:08:58 +11:00
  • 6a9a8565d0 Replaced exit mutex with Synchronised. hiker 2016-02-05 09:02:32 +11:00
  • 89c972c316 Cosmetic changes only. hiker 2016-02-05 08:33:35 +11:00
  • e392aa6ead Fixed syntax errors :( hiker 2016-02-05 08:28:21 +11:00
  • 0d488b916d Use Synchronised instead of mutex for next protocol id. hiker 2016-02-05 08:24:28 +11:00
  • 348a300c09 Use Synchronised for m_requests instead of separate mutex. hiker 2016-02-05 08:19:26 +11:00
  • 263e41ec1f The update messages are now handled in the main thread, which removes the need for locking. Also only the last update event is handled, older events are discarded. hiker 2016-02-04 17:15:14 +11:00
  • 4fa7a89963 Fixed (probably debug only) crash: evaluating the pointer arithmetic left to right had invalid intermediate result (i>0; offset <0). hiker 2016-02-04 16:56:11 +11:00
  • f580603c97 Cosmetic changes. hiker 2016-02-04 16:55:42 +11:00
  • 5810acb114 Fix memory leak Benau 2016-02-04 10:11:14 +08:00
  • 38eeddd4e8 No reference for int and float Benau 2016-02-04 09:51:59 +08:00
  • 4cbb31b8e5 Ghost kart replay fixes: Benau 2016-02-04 08:17:02 +08:00
  • 878760ed2d Fixed GameEventProtocol (e.g. collecting items). hiker 2016-02-03 09:07:15 +11:00
  • f5897001d8 Properly lock data structure (I've seen data corruption, most likely caused by not locking). hiker 2016-02-03 09:05:26 +11:00
  • 19053d8ac6 Removed unnecessary call. hiker 2016-02-03 08:48:28 +11:00
  • cc017da1d6 Let only the server ping the clients (to reduce network traffic). Reduce frequency of pings (since it appears that often esp. during loading clients are busy loading which artificially increases latency). hiker 2016-02-03 08:21:34 +11:00
  • 4f12a9a66c Prevent usage of duplicated host ids (before if hosts A and B are connected, then A disconnects and C connects, B and C would have the same host id). hiker 2016-02-02 09:52:07 +11:00
  • b85bd204aa Removed useless methods in FixedPipelineRenderer class Elderme 2016-02-01 21:20:10 +01:00
  • ef8c04e117 Removed unnecessary lock. hiker 2016-02-01 16:45:07 +11:00
  • d78c1b3272 Replaced array with scalar value, minor code cleanups. hiker 2016-02-01 16:42:36 +11:00
  • 20290decc0 Added default statement in switch on material types Elderme 2016-01-31 21:49:22 +01:00
  • 87862c27ae Fix #2127 Benau 2016-01-31 10:16:12 +08:00
  • 3de922bc19 Fix animated textures not working on animated meshes. FIxes #2432 Marianne Gagnon 2016-01-30 18:11:58 -05:00
  • 1e7e126b55 merged with master Elderme 2016-01-30 15:00:22 +01:00
  • 011777e93f Added missing include in command_buffer Elderme 2016-01-30 14:13:50 +01:00
  • 6be1e7a209 Removed useless lines in draw_calls Elderme 2016-01-29 22:14:15 +01:00
  • 0c85dd2e2e Fixed issue when async instance upload is not supported Elderme 2016-01-29 22:11:31 +01:00
  • 40e193e415 Reset the ball if out of navmesh after 2 seconds Benau 2016-01-29 14:40:52 +08:00
  • ad21b6dfa2 Merge pull request #2375 from leyyin/travis-matrix hiker 2016-01-29 12:23:04 +11:00
  • 17de128f09 Cosmetic changes only. hiker 2016-01-29 08:18:34 +11:00
  • e81935df99 Added convenience functions that encode and decode Vec3s and Quats. hiker 2016-01-29 08:14:13 +11:00
  • 6039f63c0b Removed need m_self_kart from NetworkWorld, which is not necessary anymore. hiker 2016-01-29 07:42:32 +11:00
  • 06d1168948 Refactored to remove need for unique kart names. hiker 2016-01-29 07:40:16 +11:00
  • 1ba19948f6 Moved variadic templates arguments first in ShadowCommandBuffer to fix compilation with visual studio Elderme 2016-01-28 15:21:18 +01:00
  • cbc9353210 Completely brake the AI karts in goal phase. Benau 2016-01-28 16:11:27 +08:00
  • 497a018667 Cosmetic changes only. hiker 2016-01-28 08:41:50 +11:00
  • 2606c5230d Refactored ControllerEventsProtocol so that unique kart names are not necessaruy anymore. hiker 2016-01-28 08:05:48 +11:00
  • 892e1b58d1 Protocols are now either synchronous or asynchronous. This avoids a problem that in (rare) circumstances e.g. a message that is only handled synchronously is deleted from the asynchronous thread (if the main thread is too slow and a time out is reached). hiker 2016-01-27 10:05:25 +11:00
  • c82ff61cf4 Added more comments Elderme 2016-01-26 22:30:42 +01:00
  • e31ce6844e Partial fix for crash when disconnecting clients. hiker 2016-01-27 07:40:25 +11:00
  • 618248ef4d Added comments. hiker 2016-01-27 07:39:53 +11:00
  • 28394c36b1 Add matrix configuration to travis file Daniel Butum 2015-11-09 00:59:47 +02:00
  • 5c81a2a3e7 Seperate red and blue balls a bit in race gui Benau 2016-01-25 12:51:43 +08:00
  • e8adf7f051 Remove bubblegum in soccer mode as suggested by auria Benau 2016-01-25 12:50:20 +08:00
  • 126f883fac Fixed poly count Elderme 2016-01-24 22:49:56 +01:00
  • 8d17911ef6 Cleaned and added comments Elderme 2016-01-23 21:59:56 +01:00
  • 3674815e03 Missing reset() Benau 2016-01-23 10:50:32 +08:00
  • 2bc9362ac6 Add mini-skid for BattleAI when attacking targets Benau 2016-01-23 10:34:20 +08:00
  • df9dc5ff34 Make AI really bends it like Beckham Benau 2016-01-22 22:01:22 +08:00
  • ea05f4b6ba Allow saving default time limit option too Benau 2016-01-22 12:27:09 +08:00