Commit Graph

20671 Commits

Author SHA1 Message Date
Benau
64acb295a8 Change default voting timeout 2018-12-22 09:56:59 +08:00
Benau
f3bb19125c Add network debugging info with speed stats 2018-12-22 09:12:24 +08:00
Benau
e38edaae2c Move state frequency to ServerConfig which clients can adapt 2018-12-22 01:03:15 +08:00
Benau
c46a5eafdb Use a fixed 10 packets per second for ping packet 2018-12-21 22:53:28 +08:00
Benau
86957c9d5e Rewrite the remaining documentation in STKHost 2018-12-21 22:11:18 +08:00
Benau
a85dbcc0f7 Add the possibility to correct invalid reverse at server side 2018-12-21 21:55:55 +08:00
Benau
2eba8c179f Disable highlight until render gui during loading is bug free 2018-12-21 19:52:27 +08:00
Benau
e4e03e6209 Highlight selected vote by player
Animation is disabled atm because not working very well
2018-12-21 19:40:52 +08:00
Benau
9029621b59 Use majority agreement for voting 2018-12-21 18:12:58 +08:00
Benau
0e17839136 Show remaining time in progress bar 2018-12-21 12:52:51 +08:00
Benau
1799fe834f Remove auto voting with auto connect
This is not needed anymore with current setup
2018-12-20 16:16:03 +08:00
Benau
7954b118a8 Use only official tracks for default vote
So network AI won't have trouble finishing some bad wip / addons tracks
2018-12-20 15:42:10 +08:00
Benau
57765c98bf Fix possible crash when unloaded 2018-12-20 14:55:06 +08:00
Benau
6342e04fea Remove or adjust more invalid vote settings 2018-12-20 12:45:27 +08:00
Deve
f3ef25d525 Always smooth turning.
It fixes turning for non-analog gamepads and gives more consistency for online gaming, because you can't turn fully left/rigtht immediately with analog controllers. Should be better for android too, because it's kinda less sensitive.
2018-12-19 22:49:15 +01:00
Benau
d54a5028d2 Allow voting to agree with someone by selection id of list 2018-12-19 16:47:44 +08:00
Benau
e91c9aa95a Add plop sound effect for 1st vote if this screen is on 2018-12-19 14:07:10 +08:00
Benau
cfdd66f770 Center icon for ffa / ctf 2018-12-19 13:43:17 +08:00
Deve
95e2aec95a There is 3 pixels margin which is not wanted when icon is centered.
Minor thing, but it matters for very low resolutions with very short column width.
2018-12-19 00:05:40 +01:00
Deve
9a304b8483 Some minor improvements in online tracks screen 2018-12-18 23:05:36 +01:00
Deve
6543bdd932 Allow to draw centered icons in list box 2018-12-18 22:38:52 +01:00
Deve
2acc4ce966 Some fixes when computing cells width in list box 2018-12-18 22:34:30 +01:00
Deve
028c999a3e Take target icon size into account when computing positions in sprite bank 2018-12-18 22:15:31 +01:00
Benau
13f0276aac Update player votes with icon 2018-12-18 01:57:04 +08:00
Benau
f53060e0df Add icon header to the list 2018-12-17 16:38:38 +08:00
Benau
4eff620ee6 Allow progress bar widget to be set invisible 2018-12-17 15:52:28 +08:00
Benau
a3a36e33a6 Clean up tracks screen and lobbies 2018-12-17 15:23:19 +08:00
Benau
a98baf847f Allow using icon in list header 2018-12-17 13:00:15 +08:00
Deve
efd502c808 Use larger list for android in two more places 2018-12-17 00:36:12 +01:00
Deve
3dffb6c480 Avoid skidding in wrong direction.
It was possible when kart speed was near getSkidMinSpeed() when you left up left/right key, because skidding key was autorepeating.
2018-12-16 22:05:09 +01:00
Deve
3fa4fa0e54 Revert "Fix #3168"
This reverts commit 59f29ca975.
2018-12-16 22:04:57 +01:00
Deve
093f815d2c Restore larger row height for android 2018-12-16 21:57:19 +01:00
Deve
1a12f65c87 Revert "Avoid skidding in wrong direction."
This reverts commit 24926bcb1d.
2018-12-15 23:57:49 +01:00
Deve
19c853949c Revert "Revert "Fix #3168""
This reverts commit 769d40e3c5.
2018-12-15 23:57:37 +01:00
Deve
24926bcb1d Avoid skidding in wrong direction.
It was possible when kart speed was near getSkidMinSpeed() when you left up left/right key, because skidding key was autorepeating.
2018-12-15 23:04:08 +01:00
Deve
769d40e3c5 Revert "Fix #3168"
This reverts commit 59f29ca975.
2018-12-15 22:50:00 +01:00
hiker
0eca431627 Tried to fix compilation problems due to merging. 2018-12-16 02:36:16 +11:00
hiker
4269ac6294 Merge remote-tracking branch 'origin/master' into voting_gui 2018-12-16 02:06:50 +11:00
hiker
8ae6942442 Work around: all GUIs are being removed when the race starts, but
the TracksScreen should stay (to show the random vote result animation
later). For now the screen is re-added, long term should have a better
solution.
2018-12-16 01:37:42 +11:00
hiker
10bca0f334 End of voting now only is triggered when the voting time ends,
not when all votes have been received.
2018-12-16 01:36:52 +11:00
hiker
ca0cc215db Fixed compiler warning. 2018-12-16 01:36:33 +11:00
hiker
4bd57b9f67 Remved VoteOverview screen, and migrated voting related code
to TracksScreen. No display of votes yet.
2018-12-16 01:34:51 +11:00
Alayan
8f55f24984 Make the addons list slightly more compact 2018-12-15 10:24:23 +01:00
Alayan
5d9bb7e385 Add alternating background darkness to two more lists 2018-12-15 08:21:53 +01:00
Alayan
19b0c1a465 Several improvements to the server selection screen 2018-12-15 08:05:37 +01:00
Alayan
830c85a262 Make list line height and alternate darkness .stkgui options 2018-12-15 08:04:08 +01:00
Benau
e34e08253e Fix server only build 2018-12-15 11:30:51 +08:00
Benau
81efd3fce4 Fix #3646 2018-12-15 11:27:48 +08:00
Deve
ac809f429c Use a context for column names translations in server selection screen.
It allows to use shorter text while not breaking translations in other places.
2018-12-14 21:53:34 +01:00
Alayan-stk-2
b0055f2089
Improve english 2018-12-14 15:30:42 +01:00