hiker
8cf885652f
Merge remote-tracking branch 'origin/master' into game_protocol
2018-03-08 09:51:00 +11:00
hiker
e4ea3291b1
Fixed world time differences between client and server.
2018-03-08 09:47:42 +11:00
Deve
022dd68a17
Some fixes for gamepad on android
2018-03-06 23:23:15 +01: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
hiker
ae111d3cfb
Fixed item rotation in network mode.
2018-03-05 22:42:01 +11:00
hiker
4f9353e03f
Reduce camera shaking (caused by camera being updated during rewind).
2018-03-05 17:52:06 +11: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
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
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
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
Deve
4cc56aec1b
Detect system language on android
2018-02-26 21:25:08 +01: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
Benau
6c18664967
Make sure protocol manager exists when requesting
2018-02-25 15:24:46 +08:00
Benau
c5cf87071c
Use xmlEncode for proper unicode handling
2018-02-25 14:32:38 +08:00
Benau
2fcaeabf1c
Increase timeout in case of busy network
2018-02-25 13:45:43 +08:00
Benau
571a524f59
Update lobby for new gui engine code
2018-02-25 13:31:45 +08:00
auria.mg
7b903a09ba
Add text_valign="top" support to GUI engine
2018-02-24 21:49:49 -05:00
auria.mg
8d565fba11
Unicode fix
2018-02-24 21:38:31 -05:00
Benau
34caab24fe
Update networking lobbdy for better display info
2018-02-25 02:09:07 +08:00
Benau
2a117d8e44
Don't lock in async update in protocol manager
...
It allows GUI interacts with protocol more actively
Also don't handle lan connection request if we are not waiting for
players
2018-02-25 02:07:24 +08:00
Benau
b26b784b6a
Various improvements to WAN and LAN connection
2018-02-24 15:48:30 +08:00
Ethan Uzarowski
b782af2949
Remove "Final lap!" message in one-lap races ( #3127 )
...
* Fix "Final lap!" message on one-lap races
When starting a one-lap race, the game gives the message "Final lap!". This should only be given when there is more than one lap in the race. This commit changes linear_world.cpp so that this message is only given when the number of laps in the race is greater than 1.
* Fix spacing
I accidentally changed the spacing when making my last commit. This commit fixes that accident.
2018-02-23 20:43:46 -05:00
Benau
d586ab9011
Allow auto-fallback to another unused port if needed
2018-02-23 16:16:43 +08:00
Benau
a93182740e
Reset NetworkConfig when exiting WAN game screen
2018-02-23 15:46:03 +08:00
Benau
7d14954012
Simpify network console
2018-02-23 14:57:59 +08:00
Benau
1023e6580e
Unregister STK server when exiting
2018-02-23 14:01:20 +08:00
Benau
005454ba7b
Use the recieved port to connect, also fix a possible crash
2018-02-22 16:38:53 +08:00
Benau
33435de026
Fix lan game in localhost, also improve timer behaviour
2018-02-22 16:03:54 +08:00
Benau
4559fd6a2c
Remove unused protocol
2018-02-22 15:14:15 +08:00
Benau
1458f3ef8e
Fix wan connection, move get public address from stun to stk host
2018-02-22 15:11:07 +08:00
Benau
8daebe06e1
Allow creating wan server in command line
...
It can only be used with a saved online player, also fix a weird
crash if server failed to create (wan is NULL)
2018-02-20 15:11:58 +08:00
Benau
22c755a328
Show protocol name when it is terminated (easier for debugging)
2018-02-20 13:33:43 +08:00
Benau
14b401b54e
Use std atomic for server state
2018-02-20 11:14:57 +08:00
Benau
04a6f6d08b
Warn user about multiple instance of STK server
2018-02-20 10:11:09 +08:00
Benau
3223d05c6c
Merge remote-tracking branch 'origin/master' into network_improvements
2018-02-20 00:14:29 +08:00
Benau
4ab823cfbc
Move lan network socket to thread main loop, fixed leaking of it too
...
Also call enet_deinitialize when destroy STKHost
2018-02-19 11:36:32 +08:00
Benau
e393e3d4f0
With shared_ptr protocol is not leakable
2018-02-18 14:50:06 +08:00
Benau
e52ab5888c
Don't crash when close STK window directly
2018-02-18 14:13:24 +08:00
Benau
c5b986e874
Allow going back to online menu if server connection is lost
2018-02-18 14:06:17 +08:00
Benau
6fd7fb0e0e
Allow reconnecting to lan servers as many time as possible
2018-02-18 13:24:29 +08:00
Benau
0a5c1a69c7
Use shared_ptr for protocol to avoid leaking
...
With weak_ptr it's also possible to auto clear LobbyProtocol when
STKHost is shutdown
2018-02-18 12:39:05 +08:00