Commit Graph

19746 Commits

Author SHA1 Message Date
Alayan-stk-2
84359ad7da Change highscore limit from 3 to 5 (#3417)
* Update to support 5 highscores

* Support 5 highscores in the UI

* Save up to 5 highscores instead of 3
2018-08-29 20:32:24 -04:00
Alayan-stk-2
fb43b173d6 Don't count ghost karts for highscores (#3416)
* Add function to get the number of non-ghost karts

* remove print

* Update function call to not count ghosts

* Don't count ghost karts for highscores
2018-08-29 19:50:38 -04:00
Alayan-stk-2
8249266338 Don't remove a level 2 skid bonus when getting a level 1 (#3410) 2018-08-29 18:33:37 -04:00
Alayan-stk-2
80555f4905 Display soccer timer after a goal (#3411)
* Use shouldDrawTimer overrides for tutorial and soccer worlds

* Add isActiveRacePhase

* Update shouldDrawTimer

* Remove duplicate check

It also allows displaying time in soccer after a goal
2018-08-29 18:33:01 -04:00
Benau
279e15f894 Fix attachment for ghost karts 2018-08-30 01:42:19 +08:00
Alayan-stk-2
fe4c918f3a
Fix #3403 2018-08-29 18:26:41 +02:00
Benau
4a29e46817 Remove warning for skinned mesh shader fallback
The shader will be unused anyway if there is no armature
2018-08-29 09:32:34 +08:00
Alayan-stk-2
03700acd53
Improve option text 2018-08-29 02:37:08 +02:00
Benau
809cce0c26 Fallback to default shader in case any shader is missing 2018-08-29 08:04:36 +08:00
Benau
8fc2bdcc3f Show game started info in server screen with icon 2018-08-28 14:43:48 +08:00
Benau
ca9f66a8a8 Add explanation for smooth network body class 2018-08-28 10:17:59 +08:00
Alayan-stk-2
ea25d6b7d4
Fix #3404 2018-08-28 03:18:49 +02:00
Alayan-stk-2
740786c3f4 Multiple AI levels when view is hidden by a plunger (#3407)
* Disable AI item avoidance when blocked by a plunger

* Differentiate steering under plunger by item AI level

* Variable AI slowdown under plunger
2018-08-27 20:50:47 -04:00
Alayan-stk-2
8e17965465 Add default 1280x720 resolution in case irrlicht don't report it (#3405) 2018-08-27 19:31:21 -04:00
Alayan-stk-2
ed8b1fc185 Fix egg hunt finish time (#3402)
* Fix #3264

* Fix the fix
2018-08-27 18:44:40 -04:00
scootergrisen
d94383e307 Change multiplayer race to multiplayer (#3401)
I think its called multiplayer in the main menu without race.
2018-08-27 18:42:07 -04:00
Alayan-stk-2
658e091ea3 Fix list headers not being aligned with cells (#3400) 2018-08-27 18:41:36 -04:00
Benau
54bac1bf83 Fix compiler warnings 2018-08-28 01:54:25 +08:00
Benau
61e37bc60f Use zero for unused values in vote for FFA and CTF 2018-08-27 15:41:15 +08:00
Benau
cbaa06d952 Discard resend packet due to packet loss and adjust tolerance 2018-08-27 14:32:05 +08:00
Benau
732fd7a4c9 Don't show timer warning if voting timeout is not default 2018-08-27 13:49:52 +08:00
Benau
0f39add432 Convert time-related code in network to 64bit to avoid overflow 2018-08-27 13:49:11 +08:00
Benau
e5925a53b7 Use the network timer synchronizer to start game 2018-08-27 09:16:35 +08:00
auria.mg
817b576399 Fix crash when leaving ghost replay screen 2018-08-26 21:07:56 -04:00
auria.mg
418901b0de Fix List widget rendering glitch 2018-08-26 21:07:02 -04:00
hiker
b3af6a0473 Fixed compiler warnings. 2018-08-27 08:53:58 +10:00
Deve
94400b12d6 Set multitouch device scale depending on actual screen size 2018-08-25 23:42:05 +02:00
Alayan-stk-2
4484bd961a Add kart icons to the ghost replay list (#3392)
* Add a hide multiplayer replays checkbox

* Hide player number column ; add kart icon column

Enabling the icon display creates issues in the list widget layout, however.

* Fix formatting issue when an icon is displayed in only some cells

* Display "?" icon when kart model is unknown

This can happen with uninstalled addons, old replays with removed official karts, etc

* Add helper functions for icons in replay info dialog

* Add kart icons to replay info dialog

* Delete m_icon_bank in tearDown
2018-08-24 19:34:42 -04:00
Deve
38ed061d71 Fixed up/down button for inverted buttons 2018-08-25 00:45:37 +02:00
Deve
2beca69f25 Use slightly bigger buttons for multitouch gui by default 2018-08-25 00:21:46 +02:00
Deve
9d3c9f8f0d Use smaller margin for up/down button 2018-08-25 00:11:05 +02:00
Deve
19ad3df8fa Revert a workaround for 32bit angelscript compilation.
It's unclear which gcc versions are affected.
2018-08-24 23:25:59 +02:00
Deve
7738eb7899 Fixed compilation with older gcc 2018-08-24 22:59:46 +02:00
Deve
8b2a40e914 Fixed compilation 2018-08-24 03:27:13 +02:00
Deve
ad8b30b5d3 Recreate libchildprocess after apk upgrade also when device has non-typical internal data dir 2018-08-23 23:08:27 +02:00
Benau
35b167a824 Add network timer synchronizer 2018-08-23 16:11:05 +08:00
Benau
7b646dd2cb Add timer synchronization to config and adjust for CTF 2018-08-23 15:07:40 +08:00
Benau
1992177205 Add network timer in main loop 2018-08-23 14:40:17 +08:00
Benau
9e500751a1 Add 64bit unsigned integer handling in network string 2018-08-23 14:35:18 +08:00
Benau
abc93beedf Add c++11 chrono timer handling 2018-08-23 14:34:56 +08:00
Deve
7e7a23854f Use standard data dir location if possible 2018-08-23 07:16:16 +02:00
Benau
8363dd42d3 Fix server owner name sorting 2018-08-23 09:01:11 +08:00
Benau
fc68532f38 Update supertuxkart.pot 2018-08-23 07:50:39 +08:00
Benau
bc83e181ff Remove more space before ? 2018-08-23 07:48:45 +08:00
Alayan-stk-2
024e17aa97 Display time-trial and egg hunt times up to the ms (#3391)
* Add function to get time display precision for current race mode

* Display time-trials times and highscores up to the ms

* Add comment
2018-08-22 19:36:21 -04:00
Deve
2ac8387761 Read data path from ApplicationInfo structure instead of hardcoded /data/data/... 2018-08-23 00:21:20 +02:00
Deve
9908b83f05 Fixed random kart in overworld 2018-08-22 21:10:28 +02:00
Deve
4515038302 Fixed compilation.
Now it's added as IRR_KEY_OEM_*
2018-08-21 22:27:20 +02:00
Deve
66548d68a9 Add some missing key names 2018-08-21 22:01:17 +02:00
Deve
54c9fb97fa Use higher values as a fallback for unknown keycodes on android 2018-08-21 21:36:39 +02:00