Commit Graph

18753 Commits

Author SHA1 Message Date
Benau
821a00c039 Fix some corruption in server only stk 2018-03-06 13:11:05 +08:00
Benau
66626e4ea8 Fix uninitialized value 2018-03-06 11:59:08 +08:00
Deve
e00074cb14 Some work on gamepad support on android.
Still it works only for single gamepad, but at least it's preconfigured and google shouldn't complain about stupid button names.
2018-03-06 00:19:01 +01:00
Benau
03285a33a3 Move ModalDialog::dismiss() after setJoinedServer 2018-03-06 01:38:09 +08:00
hiker
ae111d3cfb Fixed item rotation in network mode. 2018-03-05 22:42:01 +11:00
Benau
d5c1ac30ab Fix signin leaking 2018-03-05 16:34:15 +08:00
hiker
4f9353e03f Reduce camera shaking (caused by camera being updated during rewind). 2018-03-05 17:52:06 +11:00
Benau
eec166c90d Always clean up server id file in case client failed to connect 2018-03-05 13:55:35 +08:00
Benau
4ab04bc546 Don't overwrite user id and token if using client-server 2018-03-05 13:52:04 +08:00
Benau
ebcaa2c1ad Fix auto connect 2018-03-05 13:04:17 +08:00
auria.mg
aa027bd09c Fix GUI bug 2018-03-04 18:38:58 -05:00
Benau
2b56a97b08 Clean up Server, ServersManager and quick play
For now we choose the server with the least player for quick play
2018-03-05 01:54:44 +08:00
Deve
8f78d4e891 Add a popup on first run on android, so that user can choose if accelerometer should be enabled 2018-03-04 00:08:24 +01:00
Deve
975fc8f84a Don't show screen keyboard when hardware keyboard is available 2018-03-03 21:06:59 +01:00
Benau
58757c2927 Hide create server buttons for android 2018-03-03 14:31:38 +08:00
Benau
594780a758 Don't use setVisible for IconButtonWidget in beforeAddingWidget 2018-03-03 14:22:44 +08:00
auria.mg
89596af654 UI bugfix 2018-03-02 20:44:00 -05:00
auria.mg
0cd5b5672e Fix assert failure 2018-03-02 19:46:43 -05:00
Deve
41ba4395d9 Don't spam with old drivers popup on android 2018-03-02 22:34:20 +01:00
Deve
729e508027 Disable accelerometer in options if it's not available 2018-03-02 22:30:22 +01:00
Deve
4157eef894 Get device orientation only if accelerometer is used 2018-03-02 21:38:15 +01:00
Deve
402b2ffb7a Fixed compilation 2018-03-02 20:29:25 +01:00
Benau
4e2863294d Use stun servers that return XOR mapped address 2018-03-02 22:38:04 +08:00
Benau
4f9af9d438 Don't use getifaddrs as it crashes android 2018-03-02 20:03:04 +08:00
Benau
43cf29af86 Merge remote-tracking branch 'origin/network_improvements' 2018-03-02 17:39:16 +08:00
Benau
efa294d4f4 Clean up lan and wan server code 2018-03-02 15:21:27 +08:00
Benau
80a9cc5c48 Auto shutdown the child STK server in windows 2018-03-02 13:25:14 +08:00
Benau
a27512f515 Use ostringstream to add server option 2018-03-01 12:50:51 +08:00
Benau
d76bd49eee Fix one more non-exist GL call in no graphics 2018-03-01 12:19:25 +08:00
Benau
9d93e0112c Try to fix OSX no-graphics STK 2018-03-01 10:10:08 +08:00
Deve
a00c1cadc8 Simplify accelerometer selection in settings 2018-02-28 22:01:30 +01:00
Deve
0ee00ad1e5 Make accelerometer values relative to device orientation 2018-02-28 22:01:30 +01:00
Benau
3141b67f89 Use a signal handler to partially clean up STK when terminating 2018-03-01 02:19:26 +08:00
Benau
13d4cc50cf Use server id file to determine the status of no-graphics server 2018-02-28 16:09:53 +08:00
Benau
e760642842 Use NetworkConfig to set user id and token 2018-02-28 15:29:40 +08:00
Benau
18eb0a613a Allow non-saved password user to create wan server 2018-02-28 15:05:34 +08:00
samuncle
0c23e6063d Merge branch 'master' of https://github.com/supertuxkart/stk-code 2018-02-27 23:39:28 +01:00
samuncle
7db4ef8056 Add a shader to use the day/night cycle for lamps, etc 2018-02-27 23:38:28 +01:00
Deve
6b4fb50876 Convert tabs to spaces 2018-02-27 23:24:29 +01:00
Deve
36c6ea52ae Allow to detect device rotation for better accelerometer support 2018-02-27 23:24:29 +01:00
samuncle
39c50c838f Make access to the time of the track in the shader to react to day/night cycle 2018-02-27 23:20:49 +01:00
Benau
cd5cb5ef6d Use STKHost to determine graphics-client-server 2018-02-27 14:10:44 +08:00
Benau
6536a311b3 Allow logging save only to a file 2018-02-27 13:22:58 +08:00
Benau
4ac34fac76 Don't register LAN server 2018-02-27 12:56:22 +08:00
Deve
4cc56aec1b Detect system language on android 2018-02-26 21:25:08 +01:00
Benau
0e2d5ab460 Allow server and client together in graphics 2018-02-27 02:40:50 +08:00
Benau
92b5f69220 Move hiker's SSM to a SeparateProcess class for graphics + client server 2018-02-27 01:40:36 +08:00
Benau
d8007c4518 Update server for new xml code
And initial work for starting a complete stk server
2018-02-26 14:23:34 +08:00
Deve
78bb9e78ac Fixed version number for nvidia gles.
It uses gl version string: OpenGL ES 3.2 NVIDIA 384.111
2018-02-25 22:40:15 +01:00
Deve
34f0f8c239 Fixed a bug with red light in thunderbird model on android 2018-02-25 22:17:53 +01:00