Commit Graph

16418 Commits

Author SHA1 Message Date
hiker
a6fbd019fb Fixed linux compilation. 2016-02-29 11:09:40 +11:00
hiker
00347d2743 Removed explicitly setting token (which is now done when sending
a message to a client).
2016-02-28 16:42:32 +11:00
hiker
6c022cec6b Use sendMessageToPeershangingToken instead of creating new messages
in a loop.
2016-02-28 16:41:54 +11:00
hiker
ceb831d852 Removed STKHost::sendMessage function. 2016-02-28 16:26:48 +11:00
hiker
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.
2016-02-28 16:18:08 +11:00
hiker
c9d3577a13 Removed unnecessary sendMessage function in ProtocolManager. 2016-02-28 15:57:41 +11:00
hiker
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.
2016-02-28 15:54:43 +11:00
hiker
9a16595261 Renamed NewNetworkString to NetworkString. 2016-02-28 14:58:15 +11:00
hiker
1e49595c53 Further improved look of NetworkString log messages. Added unit testing. 2016-02-28 14:55:48 +11:00
Lucas Baudin
287349716c [android] hack to control the kart with the accelerometer (to be moved in a proper place - just for debugging purpose right now) 2016-02-27 00:23:55 +01:00
Lucas Baudin
b8ef827510 [irrlicht/android] don't poll events or it creates a race lock when polling accelerometer events elsewhere 2016-02-27 00:23:08 +01:00
Lucas Baudin
aee2835e54 [android] unsuccessfully trying to add debug flags 2016-02-27 00:21:49 +01:00
Lucas Baudin
88419935b7 [android] fix typo in the readme 2016-02-27 00:20:37 +01:00
Lucas Baudin
c842324b75 [android] stop makefile target to kill a running stk 2016-02-27 00:19:47 +01:00
Lucas Baudin
5e125ee5c1 [android] less hacky way to disable glsl 2016-02-26 19:40:52 +01:00
Lucas Baudin
d88f414f96 [android] disable GLSL and set width/height according to the size detected by the driver 2016-02-26 18:04:03 +01:00
Lucas Baudin
86d1ca811a [android] re-enable things in 2dutils.cpp that are available with opengles 3.0 2016-02-26 18:02:41 +01:00
Lucas Baudin
e9657beaa6 [android] detect size 2016-02-26 18:01:51 +01:00
hiker
be815e4234 Fixed various bugs caused by switching to new NetworkString class. 2016-02-26 16:38:59 +11:00
hiker
5c32cbe1be Fixed crash (getUInt takes m_current_offset into account, which made
the indices partially invalid).
2016-02-26 09:20:13 +11:00
Lucas Baudin
6dc2752c81 [android] update readme 2016-02-25 23:20:07 +01:00
Lucas Baudin
a76b98de89 [android] Add the patch used to have a lighter dataset 2016-02-25 23:16:44 +01:00
Lucas Baudin
0dc59b9e4a [android] Boilerplate code to launch stk main 2016-02-25 23:14:03 +01:00
Lucas Baudin
f484e7ef6b [android] More debug print for the android irrlicht device 2016-02-25 23:13:33 +01:00
Lucas Baudin
40b45a8442 [android] Disable command line 2016-02-25 23:12:14 +01:00
Lucas Baudin
3f13d69eb3 [android] Remove the main loop from main to debug things more easily 2016-02-25 23:12:02 +01:00
Lucas Baudin
cb3b3a0eaf [android] use PrivateData in irr_driver to give the androidapp to the driver 2016-02-25 23:11:26 +01:00
Lucas Baudin
419b516dcf Add extra stk-assets possibility (inside the data/) 2016-02-25 23:10:27 +01:00
Lucas Baudin
f91426d748 [android] Use CIrrDeviceAndroid before the console device… 2016-02-25 20:38:50 +01:00
Lucas Baudin
e39efc128c [android] backport the Irrlicht.cpp createDevice changes, fix the compile error, and use OGLES2 on android 2016-02-25 20:15:24 +01:00
Lucas Baudin
d2b5d5ad05 [android] auto-download jpeglib 2016-02-25 19:38:36 +01:00
Lucas Baudin
dacb6a41d3 [android] Add angelscript to libstk.so 2016-02-25 19:36:26 +01:00
Lucas Baudin
658ab615d2 Fix freetype build system 2016-02-25 19:30:00 +01:00
Lucas Baudin
81f759e876 Don't use pthread at all if no curl 2016-02-25 16:49:33 +01:00
Lucas Baudin
22b8d15939 Switch to OGLES2, it seems to be working 2016-02-25 16:48:39 +01:00
Lucas Baudin
2b543ca88d Add src symlink, add build system to build the rest of stk, freetype, ifaddrs, etc… Does not compile yet 2016-02-25 16:47:48 +01:00
Lucas Baudin
de576272e6 Add android makefile (it was ignored by the .gitignore…) and ignore freetype and ifaddrs (downloaded via the makefile) 2016-02-25 16:46:35 +01:00
Lucas Baudin
3a663f8e71 Shaders and data files for the irrlicht example 2016-02-25 16:44:55 +01:00
Lucas Baudin
2c9f2c84c5 More macros to disable extra gl calls 2016-02-25 16:27:50 +01:00
Lucas Baudin
f89a4b1a75 Merge back the IEvent changes 2016-02-25 15:55:52 +01:00
Lucas Baudin
368a230ed7 Put some preprocessor macros to prevent unsupported GLES calls 2016-02-25 13:56:43 +01:00
Lucas Baudin
02808cdfd0 GLES2 for android devices by default 2016-02-25 12:06:54 +01:00
hiker
8621437e07 Use NetworkString's log function. 2016-02-25 17:02:51 +11:00
hiker
2357e965b4 Fixed crash, and started to improve log output. 2016-02-25 17:00:08 +11:00
hiker
6f55877e94 Fixec various crashes. 2016-02-25 16:54:31 +11:00
Marianne Gagnon
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 2016-02-24 19:20:14 -05:00
hiker
03f4339cee Handle error in lan connection. 2016-02-25 09:49:45 +11:00
hiker
9d546d4980 Use BareNetworkString to correctly decode requests-for-servers. 2016-02-25 09:49:09 +11:00
hiker
1655a4889d Use BareNetworkString. 2016-02-25 09:48:47 +11:00
hiker
28bb228914 Added missing initialisation. 2016-02-25 09:46:17 +11:00