Commit Graph

  • 2d1d912ee8 Fix #1841 Benau 2016-03-05 16:01:42 +08:00
  • e3cf054ea7 Fix #1835 Benau 2016-03-05 12:55:20 +08:00
  • 6fd6dd8792 Remove hack Benau 2016-03-05 10:04:05 +08:00
  • 70d5114dd7 Display localized name instead of English translation Benau 2016-03-05 09:49:03 +08:00
  • ab641b0dad Replaced the filename for packet log file in the UserConfig with a flag to enable/disable this debug output in the file STDOUT.packets (where stdout is the final set at startup). hiker 2016-03-03 17:10:18 +11:00
  • 4947881d10 Removed unnecessary #include in hpp file. hiker 2016-03-03 16:42:46 +11:00
  • 43b3684e12 Fixed memory leak. hiker 2016-03-03 09:39:14 +11:00
  • 5ddd577080 Removed incorrect warning messages. hiker 2016-03-03 09:38:53 +11:00
  • e1892bc4fd Try to fix handling a kart finishing the race. hiker 2016-03-02 16:58:41 +11:00
  • 14c8ecddb5 Add waiting screen for networking Marianne Gagnon 2016-03-01 18:58:51 -05:00
  • 85f15d7221 Removed unnecessary broadcast functions. hiker 2016-03-01 17:13:31 +11:00
  • b26c4fc372 Send the kart updates with proper token set. hiker 2016-03-01 17:12:04 +11:00
  • c77522c07f Removed ProtocolManager::sendMessageExcept() function. hiker 2016-03-01 16:50:45 +11:00
  • 052e369df2 Removed unnecessary setting of token, use ProtocolManager sendExcept instead of loop. hiker 2016-03-01 16:45:42 +11:00
  • d9f607fc24 Merge branch 'refactor-network-string' of github.com:supertuxkart/stk-code into refactor-network-string hiker 2016-03-01 11:56:49 +11:00
  • d086501035 Merge branch 'refactor-network-string' of https://github.com/supertuxkart/stk-code into refactor-network-string hiker 2016-03-01 11:55:57 +11:00
  • e3c7033aa1 Fixed incorrect level of info message. hiker 2016-03-01 11:54:09 +11:00
  • 753868361f Removed many token settings and tests, which are now done in Event and when sending the message. hiker 2016-03-01 09:56:33 +11:00
  • 1f53923c45 Fixed potentially incorrect code in getFloat; added memory leak check; improved handling of m_current_offset; let the NetworkString autpmatically add the size for the type and token, so the user code only needs to allocate space for the real content. hiker 2016-03-01 09:54:26 +11:00
  • 96a10ce92c Update strings Benau 2016-02-29 10:59:42 +08:00
  • b18712f8c2 Added some output when running unit tests. hiker 2016-02-29 13:53:15 +11:00
  • 4438664907 Merge remote-tracking branch 'origin/master' into fix_replay Benau 2016-02-29 10:25:19 +08:00
  • 390fee96da Try to fix linux release builds. hiker 2016-02-29 11:40:02 +11:00
  • a6fbd019fb Fixed linux compilation. hiker 2016-02-29 11:09:40 +11:00
  • 00347d2743 Removed explicitly setting token (which is now done when sending a message to a client). hiker 2016-02-28 16:42:32 +11:00
  • 6c022cec6b Use sendMessageToPeershangingToken instead of creating new messages in a loop. hiker 2016-02-28 16:41:54 +11:00
  • ceb831d852 Removed STKHost::sendMessage function. hiker 2016-02-28 16:26:48 +11:00
  • 4b9d9cfc92 Replaced Protocol::sendMessage (which was either a send or a broadcast depending on if the caller is a client or server) with explicitly named functions. hiker 2016-02-28 16:18:08 +11:00
  • c9d3577a13 Removed unnecessary sendMessage function in ProtocolManager. hiker 2016-02-28 15:57:41 +11:00
  • 58505eeb88 Started to set token in the 'lower level' functions, removing the need to set the token in each protocol. Started to remove some of the unnecessary send* functions. hiker 2016-02-28 15:54:43 +11:00
  • 9a16595261 Renamed NewNetworkString to NetworkString. hiker 2016-02-28 14:58:15 +11:00
  • 1e49595c53 Further improved look of NetworkString log messages. Added unit testing. hiker 2016-02-28 14:55:48 +11:00
  • 287349716c [android] hack to control the kart with the accelerometer (to be moved in a proper place - just for debugging purpose right now) Lucas Baudin 2016-02-27 00:23:55 +01:00
  • b8ef827510 [irrlicht/android] don't poll events or it creates a race lock when polling accelerometer events elsewhere Lucas Baudin 2016-02-27 00:23:08 +01:00
  • aee2835e54 [android] unsuccessfully trying to add debug flags Lucas Baudin 2016-02-27 00:21:49 +01:00
  • 88419935b7 [android] fix typo in the readme Lucas Baudin 2016-02-27 00:20:37 +01:00
  • c842324b75 [android] stop makefile target to kill a running stk Lucas Baudin 2016-02-27 00:19:47 +01:00
  • 5e125ee5c1 [android] less hacky way to disable glsl Lucas Baudin 2016-02-26 19:40:52 +01:00
  • d88f414f96 [android] disable GLSL and set width/height according to the size detected by the driver Lucas Baudin 2016-02-26 18:04:03 +01:00
  • 86d1ca811a [android] re-enable things in 2dutils.cpp that are available with opengles 3.0 Lucas Baudin 2016-02-26 18:02:41 +01:00
  • e9657beaa6 [android] detect size Lucas Baudin 2016-02-26 18:01:51 +01:00
  • be815e4234 Fixed various bugs caused by switching to new NetworkString class. hiker 2016-02-26 16:38:59 +11:00
  • 5c32cbe1be Fixed crash (getUInt takes m_current_offset into account, which made the indices partially invalid). hiker 2016-02-26 09:20:13 +11:00
  • 6dc2752c81 [android] update readme Lucas Baudin 2016-02-25 23:20:07 +01:00
  • a76b98de89 [android] Add the patch used to have a lighter dataset Lucas Baudin 2016-02-25 23:16:44 +01:00
  • 0dc59b9e4a [android] Boilerplate code to launch stk main Lucas Baudin 2016-02-25 23:14:03 +01:00
  • f484e7ef6b [android] More debug print for the android irrlicht device Lucas Baudin 2016-02-25 23:13:33 +01:00
  • 40b45a8442 [android] Disable command line Lucas Baudin 2016-02-25 23:12:14 +01:00
  • 3f13d69eb3 [android] Remove the main loop from main to debug things more easily Lucas Baudin 2016-02-25 23:12:02 +01:00
  • cb3b3a0eaf [android] use PrivateData in irr_driver to give the androidapp to the driver Lucas Baudin 2016-02-25 23:11:26 +01:00
  • 419b516dcf Add extra stk-assets possibility (inside the data/) Lucas Baudin 2016-02-25 23:10:27 +01:00
  • f91426d748 [android] Use CIrrDeviceAndroid before the console device… Lucas Baudin 2016-02-25 20:38:50 +01:00
  • e39efc128c [android] backport the Irrlicht.cpp createDevice changes, fix the compile error, and use OGLES2 on android Lucas Baudin 2016-02-25 20:15:24 +01:00
  • d2b5d5ad05 [android] auto-download jpeglib Lucas Baudin 2016-02-25 19:38:36 +01:00
  • dacb6a41d3 [android] Add angelscript to libstk.so Lucas Baudin 2016-02-25 19:36:26 +01:00
  • 658ab615d2 Fix freetype build system Lucas Baudin 2016-02-25 19:30:00 +01:00
  • 81f759e876 Don't use pthread at all if no curl Lucas Baudin 2016-02-25 16:49:33 +01:00
  • 22b8d15939 Switch to OGLES2, it seems to be working Lucas Baudin 2016-02-25 16:48:39 +01:00
  • 2b543ca88d Add src symlink, add build system to build the rest of stk, freetype, ifaddrs, etc… Does not compile yet Lucas Baudin 2016-02-25 16:47:48 +01:00
  • de576272e6 Add android makefile (it was ignored by the .gitignore…) and ignore freetype and ifaddrs (downloaded via the makefile) Lucas Baudin 2016-02-25 16:46:35 +01:00
  • 3a663f8e71 Shaders and data files for the irrlicht example Lucas Baudin 2016-02-25 16:44:55 +01:00
  • 2c9f2c84c5 More macros to disable extra gl calls Lucas Baudin 2016-02-25 16:27:50 +01:00
  • f89a4b1a75 Merge back the IEvent changes Lucas Baudin 2016-02-25 15:55:52 +01:00
  • 368a230ed7 Put some preprocessor macros to prevent unsupported GLES calls Lucas Baudin 2016-02-25 13:56:43 +01:00
  • 02808cdfd0 GLES2 for android devices by default Lucas Baudin 2016-02-25 12:06:54 +01:00
  • 8621437e07 Use NetworkString's log function. hiker 2016-02-25 17:02:51 +11:00
  • 2357e965b4 Fixed crash, and started to improve log output. hiker 2016-02-25 17:00:08 +11:00
  • 6f55877e94 Fixec various crashes. hiker 2016-02-25 16:54:31 +11:00
  • ba4e9d1a79 Tweak default config as suggested in ticket #2438, it's not perfect but seems much better that what we had previously in most cases Marianne Gagnon 2016-02-24 19:20:14 -05:00
  • 03f4339cee Handle error in lan connection. hiker 2016-02-25 09:49:45 +11:00
  • 9d546d4980 Use BareNetworkString to correctly decode requests-for-servers. hiker 2016-02-25 09:49:09 +11:00
  • 1655a4889d Use BareNetworkString. hiker 2016-02-25 09:48:47 +11:00
  • 28bb228914 Added missing initialisation. hiker 2016-02-25 09:46:17 +11:00
  • d4d3817d63 Disable sound and curl, add freetype Lucas Baudin 2016-02-24 22:24:33 +01:00
  • c7c5788086 Add android build files Lucas Baudin 2016-02-24 20:41:21 +01:00
  • 48069a7bcc More backport from the ogl-es irrlicht branch Lucas Baudin 2016-02-24 20:34:46 +01:00
  • a470cd74d6 add android port from irrlicht (based on commit 875d0cfac88c26994b82d68737b085ec1b84c5f8) Lucas Baudin 2016-02-24 12:34:08 +01:00
  • 2e8ddb1c50 Added a new base class 'BareNetworkString' for NetworkString, used it for some of the messages exchanged before the ProtocolManager is started (i.e. establishment of initia connection). hiker 2016-02-24 20:32:11 +11:00
  • 98ba11d9ba Started to introduce new network string. It compiles, but certainly does not work yet. hiker 2016-02-23 16:29:57 +11:00
  • abdd32c070 Fix warning Benau 2016-02-22 07:43:29 +08:00
  • 8f1daabbe1 Merge remote-tracking branch 'origin/master' into fix_replay Benau 2016-02-22 07:26:26 +08:00
  • c0bfd46ee9 Merge pull request #2441 from tobbi/missing_override auriamg 2016-02-21 18:18:25 -05:00
  • dafde30077 Fix crash when press save replay key when it's not initialized. Benau 2016-02-21 15:13:32 +08:00
  • d8cce95b0e Add forgotten override's where necessary Tobias Markus 2016-02-21 01:21:43 +01:00
  • abd9ed189c Merge remote-tracking branch 'origin/master' into fix_replay Benau 2016-02-19 08:43:11 +08:00
  • 91bd844dca Merge pull request #2439 from Odd0002/master auriamg 2016-02-18 18:37:03 -05:00
  • 0289e93bcc Silence AngelScript warning as in 6af30b68f0 Odd0002 2016-02-18 09:50:49 -06:00
  • e69e96af19 Fixed cmake based on https://github.com/supertuxkart/stk-code/issues/2325 and the related commit Odd0002 2016-02-17 23:48:59 -06:00
  • fdd6f36b46 Update angelscript to 2.30.2 Odd0002 2016-02-17 22:07:55 -06:00
  • 64522d9d13 Merge remote-tracking branch 'origin/master' into fix_replay Benau 2016-02-17 14:03:58 +08:00
  • c65b0aaae0 Save jumping event in replay file Benau 2016-02-17 14:02:33 +08:00
  • 1e0586dc40 Add missing files forgotten in previous commit Marianne Gagnon 2016-02-16 18:52:54 -05:00
  • 9c49312714 Work on networking GUI, combine older server interfaces with the newer online/profile screens Marianne Gagnon 2016-02-16 18:33:09 -05:00
  • ee68b5ccce Merge remote-tracking branch 'origin/master' into fix_replay Benau 2016-02-16 10:55:53 +08:00
  • 51bfc327d7 Make race end-able Benau 2016-02-16 10:20:05 +08:00
  • 71c1fadcd3 Merge remote-tracking branch 'origin/master' into fix_replay Benau 2016-02-16 09:57:41 +08:00
  • 05a1a8a785 Merge branch 'master' of https://github.com/supertuxkart/stk-code hiker 2016-02-16 12:37:43 +11:00
  • 2f0a69525a Use kart id instead of kart name to identify kart that has collected an item. hiker 2016-02-15 18:16:31 +11:00
  • c8ecb78ffa Remove useless header Benau 2016-02-15 15:16:26 +08:00
  • 132ecfe409 Created separate function for handling received collectedItem messages. hiker 2016-02-15 18:00:09 +11:00