Commit Graph

18731 Commits

Author SHA1 Message Date
Benau
4379244f3e Adjust based on auria's feedback 2018-03-20 14:56:17 +08:00
Benau
dd3a544834 Use std atomic for timeout 2018-03-20 09:59:14 +08:00
Benau
e58d86d4d5 Merge branch 'origin/game_protocol' 2018-03-20 08:32:45 +08:00
hiker
e1a2f68073 Fixed warning. 2018-03-20 10:25:06 +11:00
hiker
4fd205773e Moved graphical weather update into separate update function that
is only called once per rendered frame.
2018-03-20 09:58:34 +11:00
hiker
950fc7a14f Fixed ticks vs time mix up. 2018-03-20 09:51:39 +11:00
hiker
78b120a04f Moved wiimote handling into input manager. 2018-03-20 09:42:26 +11:00
hiker
c456edd9f2 Convert more time handling to handling ticks. 2018-03-20 09:25:39 +11:00
Benau
d436446de2 Add no-kart-selection network splitscreen 2018-03-20 02:54:10 +08:00
Benau
cfd1de43bb Display all votes in the RHS of tracks screen 2018-03-19 15:08:38 +08:00
auria.mg
ee64a22349 GUI bugfix 2018-03-18 20:22:50 -04:00
Benau
6a963ffcc9 Add POSIX equivalent for detecting parent termination 2018-03-17 12:26:37 +08:00
Benau
e66c4eed35 Properly hide the rectangle box in ghost track screen 2018-03-17 11:12:21 +08:00
Benau
f9d2d539ff Server never has local player at the moment 2018-03-16 23:09:21 +08:00
Benau
bb7c3c0de3 Move voting timeout to user config 2018-03-16 21:49:14 +08:00
Benau
1a852b7f22 configRemoteKart needs to include the random kart 2018-03-16 21:32:12 +08:00
Benau
8c702a376e Move assign mode to exit callback 2018-03-16 21:31:46 +08:00
Benau
78ac3a922d Fix compiler warnings 2018-03-16 19:06:20 +08:00
Benau
0fef316313 Use lock and push_back 2018-03-16 17:42:21 +08:00
Benau
362b74a77c For server-only there can be no player profile 2018-03-16 17:38:23 +08:00
Benau
758581d13c Merge branch 'origin/game_protocol' 2018-03-16 17:11:40 +08:00
Benau
82be7572a1 Use the new method to connect / start game 2018-03-16 17:11:23 +08:00
Benau
a5c1dbb446 Move voting to server lobby 2018-03-16 14:36:11 +08:00
Benau
d6936c5746 Add remaining time to vote message 2018-03-16 12:45:38 +08:00
Benau
cf898c2795 Remove waiting for other screen now that you can instantly know votes 2018-03-16 11:35:16 +08:00
auria.mg
f8f77edc47 Fix GUI skin issue 2018-03-15 21:29:45 -04:00
Deve
3d787f4134 Send text message when pressing enter on android keyboard 2018-03-15 21:35:12 +01:00
Benau
2cedd6729a Try to connect anyway even without aloha message
This should allow clients with strong firewall to connect to
server not behind any firewall
2018-03-16 01:14:43 +08:00
Benau
f78276a930 Show player vote in message queue for immediate effect 2018-03-16 00:54:02 +08:00
Benau
bc56c07c51 Hide the chatbox when disable chatting 2018-03-15 14:02:29 +08:00
Benau
e715140835 Change for new server code in stk-addons 2018-03-15 12:37:02 +08:00
Benau
f7b3950cd4 Fix cursor stop working after pressing enter 2018-03-15 10:39:02 +08:00
auria.mg
2e981b33e7 Patch textbox crash 2018-03-14 21:26:44 -04:00
Benau
532bd88062 Avoid possible packet loss
The connect to peer done by server will auto terminate if same peer
from same port has connected already
2018-03-15 00:41:01 +08:00
Benau
60d822da50 Only broadcast aloha to self if address is really localhost 2018-03-15 00:34:59 +08:00
Benau
1b8d4c80dc Initial work to port network profile to use weak_ptr 2018-03-14 15:48:02 +08:00
Benau
ea8ba470d6 Use (s) for server 2018-03-14 10:07:54 +08:00
Benau
2e0558323b Merge branch 'origin/network_improvements' 2018-03-14 10:05:07 +08:00
auria.mg
f3d1995033 Change assert into warning, it's definitely not fatal 2018-03-13 21:39:27 -04:00
Benau
5699a86586 Allow toggling the display of only private server 2018-03-14 00:50:19 +08:00
Benau
901c5eabec Allow specifying server password in dialog 2018-03-13 16:04:59 +08:00
hiker
d3a60356c9 Merge remote-tracking branch 'origin/fix-timestep' into game_protocol.
Started to use ticks instead of time floating point values in networking.
2018-03-13 18:37:12 +11:00
Benau
c73536263f Add password protected and version info to server 2018-03-13 14:39:20 +08:00
Benau
fe0adadd16 Simplify linebreak 2018-03-13 12:52:04 +08:00
Benau
a33a9a040b Allow text box widget to listen enter event 2018-03-13 09:00:44 +08:00
Benau
b72cf4f406 Don't assert peer size for client as the listening thread is delayed-start 2018-03-13 01:03:02 +08:00
Benau
8330919a3a Add missing stkgui for lobby chat 2018-03-13 00:51:08 +08:00
Benau
0f6dbbb4a0 Add default-disabled lobby chatting 2018-03-12 16:51:30 +08:00
Benau
25da48634d Add kick ban in network console configurable in config.xml 2018-03-12 13:59:38 +08:00
Benau
bb3bcdca3e Change int to int map to uint32_t for server ban list 2018-03-12 12:39:16 +08:00