Commit Graph

20527 Commits

Author SHA1 Message Date
Deve
14389925fe Minor optimization in pointlight scatter.
Compute some values before loop.
2018-12-23 23:31:22 +01:00
Kevin Zheng
9cec9c5cea Add option to disable light scattering (#3662)
* Fix typo

* Match name in irr_driver

* Add option to disable light scattering
2018-12-23 21:26:22 +01:00
Benau
2bc01f5f98 Fix no plunger replay with local state 2018-12-23 12:04:31 +08:00
Kevin Zheng
95564c4d74 Fix build with joystick on FreeBSD (#3660) 2018-12-22 21:49:15 -05:00
Kevin Zheng
ca419f8d59 Fix build without _IRR_COMPILE_WITH_JOYSTICK_EVENTS_ (#3659) 2018-12-22 21:13:03 +01:00
Benau
c42c5b7d82 Fix android compilation 2018-12-22 11:28:32 +08:00
Benau
44ce4f1f37 Update translation source 2018-12-22 11:20:26 +08:00
Benau
12a67d6e6b Merge remote-tracking branch 'origin/network' into voting_gui 2018-12-22 10:48:12 +08:00
Benau
86198881f4 Merge remote-tracking branch 'origin/master' into voting_gui 2018-12-22 10:35:09 +08:00
Benau
31e14b14c6 Make explosive items timeout configurable in stk_config 2018-12-22 10:33:01 +08:00
Benau
3292c8f0c3 Merge remote-tracking branch 'fouks/prevent-early-explosive-items' into voting_gui 2018-12-22 10:06:47 +08:00
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