Commit Graph

  • 2841c0e165 better alternative OSes handling + tiny C++ fix David Carlier 2015-12-19 07:05:45 +00:00
  • 74c547cb1d Remove duplicated code, plus some more cleanup Benau 2015-12-19 02:09:37 +08:00
  • c158fa1757 Removed getRTT method in irr_driver Elderme 2015-12-18 14:19:55 +01:00
  • 94151dda60 Add forgotten file Marianne Gagnon 2015-12-17 20:25:05 -05:00
  • abb3465429 First attempt at animating the sun, doesn't work yet AnimateSun Marianne Gagnon 2015-12-17 19:15:46 -05:00
  • cba4685d02 Start moving m_rtts from IrrDriver to Renderer classes Elderme 2015-12-16 10:15:38 +01:00
  • c222ba2ebd Added documentation and minor cosmetic changes. hiker 2015-12-16 18:31:03 +11:00
  • c9bf95079c Cosmetic changes only. hiker 2015-12-16 08:22:30 +11:00
  • 6280613e5c Avoid incorrect warning message in case of a disconnect. hiker 2015-12-16 07:59:10 +11:00
  • 07baf05b90 Fixed incorrect order in which protol ids were deleted. hiker 2015-12-16 07:58:39 +11:00
  • 68e37c902f Merge remote-tracking branch 'origin/master' into refactor_networking hiker 2015-12-15 22:52:55 +11:00
  • 430529ed58 Fixed non-windows compilation. hiker 2015-12-15 09:14:51 +11:00
  • 5c2f78b176 Refactored Local- and NetworkPlayerController to use a common base class PlayerController. hiker 2015-12-15 07:50:50 +11:00
  • 12e4c76a6f Add minimap for battle mode when it has a navigation mesh Benau 2015-12-15 02:32:01 +08:00
  • e6068923b4 Give more light in kart selection screen Deve 2015-12-14 19:23:27 +01:00
  • 153fabb502 Fixed a crash on start with legacy pipeline Deve 2015-12-14 19:03:10 +01:00
  • bddfa43da4 One more tweak. Deve 2015-12-14 18:56:08 +01:00
  • 5f46863a19 Display pop-up message when fatal error occured on windows. The reason to do it is that in release mode we don't receive any message in console. This causes that the game sometimes doesn't start and you have no idea why (for example missing supertuxkart.git file etc.). deve 2015-12-14 12:25:04 +01:00
  • 4531b15d5c Check for sRGB workaround only if needed. This fixes the crash for old OpenGL 2.1 drivers deve 2015-12-14 11:35:42 +01:00
  • e77dbf3d9f Totally remove wiiuse hack for mingw. It breaks versions with proper header file due to redeclaration error. You should simply use current 4.9 version or 5.0 and newer for wiimote support. deve 2015-12-14 10:18:08 +01:00
  • 0dbc3575a7 Fixed mingw compilation deve 2015-12-14 10:11:40 +01:00
  • 9d1c9fac5a Merge remote-tracking branch 'origin/master' into i18n Benau 2015-12-14 03:00:07 +08:00
  • 7fccddb734 Show "Fribidized" user name and enable input for it Benau 2015-12-14 02:56:42 +08:00
  • f0abbad937 Fix plural forms Benau 2015-12-14 02:56:16 +08:00
  • 306ace7fd2 Keep consistency with log label in irr driver Deve 2015-12-11 18:57:48 +01:00
  • 7dd7f76e87 Check if we really need to re-create the device by checking if framebuffer is sRGB or not. Deve 2015-12-11 18:53:48 +01:00
  • 6d757326d2 Make sure that we start game with disabled GL_FRAMEBUFFER_SRGB Deve 2015-12-11 18:35:58 +01:00
  • 80d36208f1 Added ugly hack, which forces srgb-capable framebuffer creation for intel drivers on linux Deve 2015-12-11 00:21:26 +01:00
  • b91bcaf554 Disabl sRGB framebuffer on irrlicht side to avoid modifying current user interface colors Deve 2015-12-11 00:11:24 +01:00
  • 0216fd9697 Request sRGB-capable visual during creating OpenGL context. Deve 2015-12-10 20:58:51 +01:00
  • 93b1b11b99 Merge remote-tracking branch 'origin/master' into i18n Benau 2015-12-11 09:27:15 +08:00
  • c5caa610ec Moved functions from render_lighting.cpp to ShaderBasedRenderer class Elderme 2015-12-10 15:34:33 +01:00
  • 8f6a529531 Complete fix to arena selection menu (handle random arenas) Benau 2015-12-10 15:49:47 +08:00
  • dbd210d08c Renamed PlayerController into LocalPlayerController. hiker 2015-12-10 17:54:29 +11:00
  • 770d05f0de Fixed crash if more than one kart is connected to the server (since the network kart screen will only show local karts now). hiker 2015-12-10 17:37:28 +11:00
  • e0b3de17f6 Added new isLocalPlayerKart() function to controller, which is used to detect when sfx and graphical effects should be shown. The isPlayerKart funtion is used to detect a (local or remote) player, e.g. for rubber-banding the AI, or finding the Xth player kart. hiker 2015-12-10 17:35:31 +11:00
  • cebefcf374 Fix some gui interface bugs: Benau 2015-12-10 10:25:52 +08:00
  • ca6da8c537 Make AI smarter Benau 2015-12-10 01:21:01 +08:00
  • 11c4b41f13 More menu fix Benau 2015-12-09 12:42:13 +08:00
  • 1969ee0b1f Set a name for each thread in VS. hiker 2015-12-09 08:55:46 +11:00
  • aac5a368b8 Avoid invaild Ai karts number during switching game modes Benau 2015-12-09 01:27:02 +08:00
  • 1755f22663 Cosmetic changes only. hiker 2015-12-09 00:13:35 +11:00
  • 140a229f71 Fix swatter issue Benau 2015-12-08 16:47:42 +08:00
  • 03594fcad9 Bugfix: the server would try to send a received kart action to the server again. hiker 2015-12-08 17:28:01 +11:00
  • 34dad96017 Minor code cleanup. hiker 2015-12-08 17:25:19 +11:00
  • 786f9eb693 Fixed typoe (isclient vs isClient). hiker 2015-12-08 17:24:10 +11:00
  • c789b1a8df Fix compile error Benau 2015-12-08 10:46:01 +08:00
  • 2644b0458b Merge remote-tracking branch 'origin/master' into battleAI Benau 2015-12-08 10:09:35 +08:00
  • 508dcdd7e8 Update credits Marianne Gagnon 2015-12-07 19:07:10 -05:00
  • f0fafc2651 Merge pull request #2245 from Flakebi/kart-properties auriamg 2015-12-07 18:44:14 -05:00
  • 7fa062881d Removed unused variable. hiker 2015-12-08 08:08:00 +11:00
  • 152dddc110 Fix potential hang after end race in temple arena Benau 2015-12-08 00:44:28 +08:00
  • e74ef461a4 Fixed crash (probably in debug mode only): iterator+i+o would first compute and check iterator+i, and not iterator+(i+o), which caused a crash. hiker 2015-12-07 23:54:43 +11:00
  • 27f1828c73 Fix crash (in case of result==false, index could be out of bounce). hiker 2015-12-07 23:51:38 +11:00
  • 7cc77f41f7 File missing in previous commit. hiker 2015-12-07 23:50:21 +11:00
  • 21c38a6c0b Make swatter disappear after one hit in 3 strikes battle Benau 2015-12-07 16:24:11 +08:00
  • d8b417d536 Cosmetic changes; removed static variable. hiker 2015-12-07 17:05:08 +11:00
  • ae916fced6 Add warning when animated texture not found Marianne Gagnon 2015-12-06 20:14:55 -05:00
  • ba706f4476 Make swatter works better Benau 2015-12-07 02:27:21 +08:00
  • ba40b7fcd0 Removed ununsed SunDir uniform in InstancedGrassPass2Shader Elderme 2015-12-06 15:30:22 +01:00
  • b92395533e Fix infinite loop Benau 2015-12-06 14:43:07 +08:00
  • 239412327a Fix crashes when a kart has no wheels Benau 2015-12-06 13:51:38 +08:00
  • cfc6ccf5ea Add missing copyright Marianne Gagnon 2015-12-05 21:47:50 -05:00
  • 27290b4ffb More work on scripting Property animator Marianne Gagnon 2015-12-05 20:45:37 -05:00
  • 840bc3df64 Make more properties animatable + fix build (oops, forgot files in previous commit) Marianne Gagnon 2015-12-05 20:03:11 -05:00
  • 2252495fdc Scripting refactor : add new property animator helper, transfer light animations to this new animator class. Can be used in the future to animate more properties Marianne Gagnon 2015-12-05 19:42:06 -05:00
  • ba7aa4bc58 Moved m_spherical_harmonics from IrrDriver to ShaderBasedRenderer class Elderme 2015-12-05 21:43:04 +01:00
  • 8a0cbea933 Merge remote-tracking branch 'origin/master' into battleAI Benau 2015-12-05 16:27:06 +08:00
  • ed41b7c805 Proper fix for reverse and unstuck Benau 2015-12-05 16:21:12 +08:00
  • a4ba78d1fb Merge branch 'master' into renderer_refactoring Elderme 2015-12-04 23:25:53 +01:00
  • 288b9db71b Moved skybox from IrrDriver to Renderer class Elderme 2015-12-04 23:23:56 +01:00
  • f63c4af8be Fix crash Flakebi 2015-12-04 21:19:15 +01:00
  • ea581e0909 Try to support more mingw versions for wiiuse build. This function has been already added to the header in mingw-w64 5.1 and newer. deve 2015-12-04 10:47:56 +01:00
  • 9ad438b945 Try to fix too fast reverse and unstuck issue Benau 2015-12-04 16:32:33 +08:00
  • 9153439f68 Cosmetic changes only. hiker 2015-12-04 18:07:43 +11:00
  • 35d1059a39 Cosmetic changes only (coding style, comments). hiker 2015-12-04 17:52:21 +11:00
  • 97756dd337 Only show kart selection widgets for local (and this means atm only one) player. hiker 2015-12-04 08:12:29 +11:00
  • 637202077f Automatically start game when all track votes have been received. hiker 2015-12-04 08:00:51 +11:00
  • 8980a32c20 Added profiler marker to keep consistency with other effects Deve 2015-12-03 19:31:13 +01:00
  • 9b3908cc62 Some lightning improvements: Deve 2015-12-03 19:25:40 +01:00
  • 94d5c19b7f Fixed compiler warnings. The winsock2.h header should be always included before windows.h header (or we should define WIN32_LEAN_AND_MEAN). It's because windows.h header includes also winsock.h header and there is possible conflict between winsock and winsock2. deve 2015-12-03 14:59:54 +01:00
  • 0bd15acb93 Fixed compiler warning. gcc complains that std::auto_ptr is deprecated. deve 2015-12-03 14:51:26 +01:00
  • 92248399d0 Update project version :P deve 2015-12-03 14:48:03 +01:00
  • cbc8d84fc4 Allow to enable wiiuse build for mingw in cmake. Still disabled by default because it only works with mingw-w64. It won't work with other compiler versions due to some inconsistencies in header files. But at least it's possible now to enable it without modifying cmake file. deve 2015-12-03 14:47:08 +01:00
  • dbdf9db377 Fixed cygwin compilation. Unfortunately it doesn't support std::to_string function, even on relatively new gcc (tested with version 4.9.2). deve 2015-12-03 14:38:57 +01:00
  • ab428dc8cf Different AI intelligence per difficulties Benau 2015-12-03 16:13:39 +08:00
  • af3f72ae84 Automatically trigger computing the track data (based on votes) once the game starts. hiker 2015-12-03 17:56:16 +11:00
  • 26155933f0 Set the local master on the server. hiker 2015-12-03 17:54:24 +11:00
  • c5277edc54 Change suspension-travel that was changed in master meanwhile Flakebi 2015-12-03 02:15:58 +01:00
  • 0983038d5c Fixed size of token. hiker 2015-12-03 09:10:07 +11:00
  • 9765c56a44 Enable voting for tracks. hiker 2015-12-03 08:24:17 +11:00
  • 4286f47a31 Fixed incorrect indices. hiker 2015-12-03 08:23:52 +11:00
  • ee7097af35 Added some default settings for race mode and send them to the server. Changed major and minor mode in protocols from 1-byte to int, since 1-byte is too small to store the actual values. hiker 2015-12-03 07:53:56 +11:00
  • b3cb029087 Remove kart-type specific turn settings Flakebi 2015-12-02 19:40:59 +01:00
  • dbecbc3840 Assign KartProperties to a variable instead of fetching it every time Flakebi 2015-12-02 19:40:28 +01:00
  • b5d4610f45 Better navmesh handling Benau 2015-12-02 10:41:32 +08:00
  • 084a4ee844 Fix crashes when no navmesh Benau 2015-12-02 10:08:03 +08:00
  • 03d857db3e Removed unnecessary code. hiker 2015-12-02 08:17:03 +11:00
  • 0f52f0bdd9 Fixed incorrect message id in kart selection update message. hiker 2015-12-02 08:16:22 +11:00
  • dfa78eaef2 Fixed random token computation to use indeed all 32 bits. hiker 2015-12-02 07:45:05 +11:00