Commit Graph

21707 Commits

Author SHA1 Message Date
Jeff
de33244ae7
Expose getKartType(int kartId) to scripting
This change attempts to expose the KartType (local player, networked player, AI, etc.) to scripting.
This is useful if a track creator wants an action to only occur if triggered by a real player, or only if triggered by a non-networked player (e.g. alternate route music in Frozen Drive unofficial add-on).

I have rushed this in to try and get it added in STK 1.1 and I have not yet been able to configure and build STK from source, so this change is currently untested!

I have placed this in the Track section because it uses the race manager. Please let me know if the Kart section is more appropriate.
2019-12-25 21:49:00 +11:00
Benau
7f32842e76 Use Tip: %s in translation instead 2019-12-25 15:22:45 +08:00
Benau
f5f647c7ce Save players.xml to avoid achievements gone when pressing home button in mobile stk 2019-12-25 14:38:00 +08:00
Benau
82cbf3b09f Fix not enough space for uninstall full game assets button 2019-12-25 13:29:56 +08:00
Benau
fb6bedc101 Enable word wrap in screens where text could be too long 2019-12-25 12:21:27 +08:00
Benau
b2dd555117 Fix screen keyboard with iPhone padding 2019-12-25 12:20:18 +08:00
QwertyChouskie
594cfefeed Fix CMD flags in main.cpp (#4180)
Came across these when working in my branch.
2019-12-25 10:44:28 +08:00
Benau
a46f82420f Bigger confirm internet dialog size for small iPhone screen 2019-12-23 09:15:01 +08:00
Benau
8c5759821e Allow RES_CHANGE_SAME without recreating device 2019-12-22 16:31:59 +08:00
Benau
29c79abc22 Fix possible exit crash 2019-12-22 11:13:18 +08:00
Benau
01c57fa483 Add link helper for iOS 2019-12-21 01:30:01 +08:00
Benau
fa249efac1 Fix device orientation unknown in the first time 2019-12-21 01:04:08 +08:00
Benau
31562ba067 Add padding to some gui elements for iPhone X 2019-12-20 14:08:01 +08:00
Benau
be77b5f294 Add code to handle screen padding in new iPhone 2019-12-20 13:10:58 +08:00
Benau
84f91d58db Hide home indicator in iPhone X default 2019-12-20 10:59:01 +08:00
Benau
fe0cb90769 Make sure icon handling of addons is thread safe 2019-12-20 09:55:12 +08:00
Benau
dce9bf1e63 Save addons xml when going into background for mobile stk
So the icons don't need to be redownloaded again after it's killed
by OS in the background
2019-12-20 08:59:02 +08:00
Benau
93e95a0c39 Update translation 2019-12-20 08:05:07 +08:00
Benau
801aa12743 Update full assets size for mobile stk 2019-12-19 01:46:06 +08:00
Benau
82986bdeaa Add pumpkin park to android 2019-12-19 01:44:06 +08:00
Benau
13bfb902db Improve showing of tips
1. Disable in track loading as for most tracks it too short to be seen

2. Show race tips only when human loses
2019-12-19 00:33:22 +08:00
Benau
22665023f7 Add mingw nsis installer (used in mxe makensis) 2019-12-18 16:10:08 +08:00
Benau
16736c94bc Allow compiling wiiuse with mingw 2019-12-18 14:40:54 +08:00
Benau
5f3b2ffc25 Update translation source 2019-12-18 14:34:47 +08:00
Benau
1e99d8cbbb Improve addons screen layout 2019-12-18 14:29:27 +08:00
Benau
f1e0548d0e Update tips for new translation 2019-12-18 14:28:51 +08:00
Benau
b79bfa46cc Fix missing last character from replacing xml characters 2019-12-18 14:25:10 +08:00
Benau
c1be829f0e Allow extract translation from tips.xml 2019-12-18 13:49:36 +08:00
Benau
8b50536aae Show tips in result screen only for local games 2019-12-18 12:54:34 +08:00
Benau
4d0952c716 Clear up tips manager 2019-12-18 12:52:45 +08:00
Alayan
ad8ef2df11 Fix #3376
The UI layout should be improved, but functionality and translatable strings are there as needed.
2019-12-18 04:25:18 +01:00
Alayan-stk-2
354410dbd2
Improve tips formulations, and add some 2019-12-18 03:37:57 +01:00
杜茂森
1ade00462d Simple tips manager (#4146) 2019-12-18 02:23:06 +01:00
Alayan-stk-2
82f83ea1ec
Changelog update, part 4 2019-12-18 01:51:42 +01:00
Benau
e9b2f40d04 Fix server only build 2019-12-17 09:18:29 +08:00
Benau
96cae14b09 Update translation source 2019-12-17 07:47:26 +08:00
Benau
344079deda Remove previous addon directory after uninstall 2019-12-17 07:37:50 +08:00
Benau
4a2def8df1 Fix crash when using addon command in dialog 2019-12-17 01:38:22 +08:00
Benau
5989221305 Improve error logging 2019-12-17 01:32:53 +08:00
Benau
7d60855a7f Don't show install addon command for invalid addon id 2019-12-17 01:01:11 +08:00
Benau
74cd74f869 Avoid android java crash when opening url 2019-12-16 09:29:24 +08:00
Benau
29e4500ce6 Prevent soccer ai crash if 1 team has no player 2019-12-16 09:22:57 +08:00
Benau
49651cca4f Allow connect to server with domain in IPv4, fixed #3969 2019-12-14 09:52:04 +08:00
DoggoOfSpeed
5273dac899 Fix #4149 (#4171) 2019-12-14 08:48:50 +08:00
Benau
b9af85442b Take parent library into account for animator checking 2019-12-14 00:21:47 +08:00
Benau
1ee2f01fbc Allow moving library object with physical body 2019-12-13 23:52:39 +08:00
Benau
725d587566 Add configurable chat consecutive interval value 2019-12-13 18:24:17 +08:00
GuillaumeBft
5d399f1203 add message freguency limit in chat (#4168) 2019-12-13 17:52:40 +08:00
Benau
e40ab453a6 Fix possible NAN on some extreme tracks 2019-12-12 09:16:10 +08:00
GuillaumeBft
edfd638cc4 fix #4123 (#4161)
* fix #4123

* Formatting
2019-12-10 21:54:08 +01:00