Commit Graph

17076 Commits

Author SHA1 Message Date
Benau
d4ed01b467 Disable accelerometer or gyroscope control if gamepad events trigger, fixed #4705 2022-01-04 09:37:59 +08:00
Benau
7dc8f3e958 Fix order of ghost replay difficulties depending on race result 2021-12-23 00:47:57 +08:00
STK-Waldlaubsaengernest
c09305b236 Fix #4698 2021-12-22 12:14:33 +01:00
Stanislas Dolcini
0a99c667ef
Request AMD GPU on Enduro Devices
It seems AMD provides an equivalent to `NvOptimusEnablement` called `AmdPowerXpressRequestHighPerformance`

See https://gpuopen.com/learn/amdpowerxpressrequesthighperformance/
2021-12-12 22:35:57 +01:00
Benau
ccf6ff2686 Fix possible incorrect difficulty shown in result screen when watching single replay 2021-12-09 12:39:57 +08:00
Lois Doyenard
be16d24170 Fix #3849 2021-12-08 11:28:28 +01:00
Benau
087892e183 Fix compiler warnings 2021-12-07 09:33:26 +08:00
STK-Waldlaubsaengernest
a0cc6c95c2 Update player list if state changes to WAITING_FOR_START_GAME (#4685) 2021-12-06 23:21:50 +01:00
STK-Waldlaubsaengernest
97eb45b93b Make limit of players in game configurable (#4685) 2021-12-05 16:46:49 +01:00
Benau
75a5f81578 Fix valgrind errors 2021-12-03 13:41:02 +08:00
Benau
4a72a79582 Fix #3849 2021-12-03 11:04:43 +08:00
Benau
ea5aabde0d Fix server name missing in title when leaving live join kart selection screen 2021-11-29 00:59:56 +08:00
Benau
b4411b11fe Fix #4677 2021-11-26 18:29:22 +08:00
Benau
571366a461 Add missing country code to language selection 2021-11-15 11:05:44 +08:00
Benau
33e6110737 Update localized language names and use tsv file for them 2021-11-15 10:58:48 +08:00
Benau
844d97ed52 Improve description for lap trial mode 2021-11-14 16:17:02 +08:00
Benau
dfd1912c33 Add track searching to network track screen 2021-11-14 16:11:21 +08:00
Benau
c26b3c989b Fix #4671 2021-11-14 15:31:41 +08:00
이경로
1a11da01bc
Revised email issue and some kr translation (#4673) 2021-11-14 15:20:15 +08:00
Benau
712822a5f5 Update download assets size 2021-11-12 10:23:41 +08:00
Kuba
0d8b01b08b
Lap Trial improvements (#4664) 2021-11-03 09:39:22 +08:00
Kuba
3623fa8f5f
Add Lap Trial mode (#4663) 2021-11-02 03:02:16 +08:00
QwertyChouskie
8b5b68585c Allow specifying a base skin
Anything not provided or defined by a skin will be used from the defined base skin, if specified.

For example, if a skin provides a base_theme of "cartoon", any icons/buttons/etc. not provided by the skin will be pulled from "cartoon".
2021-11-01 00:11:31 +08:00
QwertyChouskie
aee11c6de6 Use getThemedIcon instead of duplicated code 2021-11-01 00:11:31 +08:00
QwertyChouskie
14c1f7b344 Remove dead code block
The way this code was written, it would never be triggered in any real scenario (confirmed by running STK with a Log::fatal before the return)
2021-11-01 00:11:31 +08:00
QwertyChouskie
9ca2c2eddc Remove ugly font/skin loading hack
font_manager->loadFonts() needs data from the GUI skin.  Move this initialization to after we naturally have the data, instead of doing an extra dummy initialization just to get this data.
2021-11-01 00:11:31 +08:00
Benau
1470eb3939 Fix possible crash in discord rpc 2021-10-30 10:04:17 +08:00
lokpro
1fd18c8d88
add UserConfigParams: m_gp_reverse, random-gp-num-tracks for GPInfoScreen (#4656) 2021-10-28 10:15:26 +08:00
Heuchi
e110948eb5 add configuration for item return times in stk_config.xml 2021-10-24 10:02:05 +02:00
lokpro
550458bebd fix 1734d74c6b - only use ranks in GP, else use row number. 2021-10-23 00:03:54 +08:00
lokpro
1734d74c6b fix race_result_gui's GP ranks after RR_RESORT_TABLE 2021-10-22 01:22:25 +08:00
Benau
6809c9585d Add don't show again button to driver dialogs, fix #4645 2021-10-10 16:43:49 +08:00
Benau
786dc6b08f Fix broken recording saving with unicode path in windows 2021-10-08 15:49:53 +08:00
Benau
1c983f7090 Remove 1.3-rc1 in AppData
Also update translation source
2021-10-08 11:36:05 +08:00
Mary
b2e9033998
SDLController: Drop support for SDL 1.x (#4644) 2021-10-08 11:19:42 +08:00
Benau
1cce43b2fa Fix MIPS compilation 2021-10-07 16:30:32 +08:00
Benau
501d8b55ab Fix some typos 2021-10-06 15:22:32 +08:00
Mary
fe7dd8af14
Allow setting auto-center property for racing wheels (closes #4636) (#4641) 2021-10-06 13:24:27 +08:00
Benau
013b065f2c Allow disabling loading of addon karts or tracks, fix #4637 2021-10-05 11:58:23 +08:00
Benau
39f7e6441a Fix random player position in FTL 2021-10-05 11:34:51 +08:00
Benau
3d575a50a7 Get rid of the exit(0) at the end of android_main() function
After NDK r22 it longer crashes after dlclose, see:
https://github.com/android/ndk/issues/1200

Fix #3000
2021-10-04 20:10:41 +08:00
Benau
17329a1b29 Register native functions in SDL_main 2021-10-04 13:01:00 +08:00
Benau
87fd3f221a Make /installaddon possible to upgrade addon 2021-10-01 14:23:47 +08:00
Benau
fa1ddbd839 Remove compiler warning 2021-10-01 12:57:07 +08:00
Benau
93ab5a75c1 Only handle enter key after buttons are shown in race result screen 2021-10-01 12:54:54 +08:00
Kuba
ca04106253
Fix wrong win message in races only with 1 kart (#4632) 2021-10-01 01:57:45 +08:00
Richard Qian
d5f8496abc
Enable grand prix races in high score dialog (#4626) 2021-09-30 09:57:59 +08:00
iwoithe
95de01a8fb
Add a user config option to randomize the player position at the start (#4627) 2021-09-29 11:40:14 +08:00
Benau
d0f4c8ffee Update download assets size 2021-09-28 15:48:26 +08:00
Benau
48cc830372 Add command to check addon revision 2021-09-24 12:46:10 +08:00
Benau
daf1dcfb6b Make AI / grand prix option in create server screen configurable 2021-09-24 11:29:41 +08:00
Benau
2257b50aef Make sure pointer is not NULL 2021-09-23 16:43:17 +08:00
Benau
031c798d8e Make continue button in GP result screen appear quicker 2021-09-23 16:26:22 +08:00
Benau
7c9a58c844 Proper fix for #4604
Take allowing to get a lower-tier cup in GPs when not first into
account
2021-09-23 16:13:05 +08:00
Benau
de52f2ae92 Fix uninitialized reverse type 2021-09-23 16:08:06 +08:00
Benau
70070b3077 Wait for user input in GP before scrapping the race results
Fix #2775
2021-09-22 15:52:01 +08:00
Benau
9b05ac6252 Revert "Fix #4610"
This reverts commit 789885c546.
2021-09-22 09:09:28 +08:00
Benau
dab4486465 Implement proper fix for #2776
Doing computeGPRanks in race result screen will make sorting
animation disappear
2021-09-21 16:32:53 +08:00
Kuba
6ee1b398e9
Save minor mode in GP highscores (#4620) 2021-09-21 10:06:09 +08:00
Benau
61f513e200 Display hour in high score dialog if needed 2021-09-19 09:10:30 +08:00
Benau
94cffbeb73 Fix swap interval mismatch when changing activity 2021-09-19 08:44:47 +08:00
Benau
bc7e6de55b Fix uninitialized track pointer 2021-09-19 08:13:25 +08:00
Benau
b773c009cb Fix memory leak if deleting kart with swatter on 2021-09-19 07:55:06 +08:00
mrkubax10
26db54c90f Don't save highscore when player skipped track 2021-09-18 11:21:04 +02:00
Benau
789885c546 Fix #4610 2021-09-17 12:18:28 +08:00
Benau
45cf40e493 Fix #4604 2021-09-17 12:02:36 +08:00
Daniel Garcia
1fff48ea61
Fix incorrect comment in grand_prix_manager.hpp 2021-09-16 11:04:20 -05:00
Kuba
0b5eda8ef9
Save more detailed informations about reverse mode in GP highscores (#4616) 2021-09-14 16:22:29 +08:00
Benau
c4fdf9c8ac Fix memory leak 2021-09-14 13:01:33 +08:00
Benau
216ac8b988 Fix missing text if it starts with newline 2021-09-14 10:21:49 +08:00
Benau
a96763cd1d Make sure starting position is valid for spare tire karts
Fix #4615
2021-09-13 16:54:29 +08:00
Benau
4470eabeb2 Split findGround function for more usage later 2021-09-13 15:09:00 +08:00
Benau
9221d39e6e Don't show kart rank in free for all battle, fix #4607 2021-09-12 08:24:01 +08:00
Kuba
0d54c3d60b
Only save GP highscores for normal race and time trial (#4613) 2021-09-11 21:16:51 +08:00
Robin Pesl
7aeb0b0edf Fix missing argument in warning
Add tag name to log message.
2021-09-11 02:25:28 +02:00
Benau
df97d76bd7 Fix #4601 2021-09-10 17:11:15 +08:00
Benau
e74c198301 Fix uninitialized m_curr_time 2021-09-10 15:56:10 +08:00
Benau
b3c3b4c729 Remove unused code 2021-09-10 11:19:24 +08:00
Benau
0fc1bd961f Fix OS string in Switch Homebrew 2021-09-10 10:46:21 +08:00
Alayan
79965ef462 Fix & Improve the remaining-time alert
- Fix a bug that prevented the alert sound from playing in timed Story Mode challenges.
- Extend the visual alert (colored time) to the last 15 seconds (previously 5). The sound alert remains limited to the last 5 seconds.
- Switch from yellow to orange for the timer when 5 seconds are left and the sound alert starts playing.
- Significant code simplification (tested for non-regression in soccer, FFA, story mode timed challenge)
2021-09-09 21:06:02 +02:00
Benau
9a4fe66dc7 Fix strings 2021-09-10 01:10:30 +08:00
Benau
5902a146a6 Dont re-highlight if addon name starts with http link 2021-09-09 16:52:16 +08:00
Benau
c9f1c0c866 Cancel download if uninstalling during updating addon 2021-09-09 15:52:39 +08:00
Benau
e51f68d764 Don't open link on shrinked text in bubble widget 2021-09-09 15:42:23 +08:00
Benau
307791beda Highlight URLs or addon names from /installaddon in lobby 2021-09-09 09:57:35 +08:00
Benau
4e770cdd61 Remove URL highlighting on music description 2021-09-08 23:31:18 +08:00
Alayan
f80d499982 Tweak the highscore info dialog to display more without scrolling with large fonts. 2021-09-08 15:42:46 +02:00
Benau
38cfd912bd Add extractURLFromGlyphLayouts which handles RTL layout properly 2021-09-08 14:58:35 +08:00
Benau
a4015beb29 Update URLs to allow clicking 2021-09-08 13:48:20 +08:00
Benau
e85b82001f Fix invalid URL in line breaking 2021-09-08 13:27:09 +08:00
Benau
0c20dda1da Remove SF_DISABLE_URL_HIGHLIGHT flag to avoid conflicts with cache
Manually remove the URL highlighting if needed
2021-09-08 09:38:30 +08:00
Alayan-stk-2
03d1aa1916
Fix #4598 2021-09-08 01:06:45 +02:00
Benau
88d8799498 Fix incorrect getChecklineTriggering on CheckCannon after using 3D check planes 2021-09-07 11:04:33 +08:00
Heuchi
a699982bfa Keep showing arrow on addons widget in main menu
when there are updates for installed addons.
2021-09-06 16:00:11 +02:00
Benau
8c3bacf769 Only save original string in GlyphLayout if needed 2021-09-06 14:51:45 +08:00
Benau
5d5292787e Disable URL highlight on some widgets and screens 2021-09-06 14:33:23 +08:00
Benau
ae98b0cf9b Use LinkHelper::openURL on highlighted URL 2021-09-06 14:19:39 +08:00
Benau
f5f821c925 Use SDL_OpenURL when possible 2021-09-06 11:13:46 +08:00
Benau
280d8fc114 Highlight URL with skin marked text color 2021-09-06 11:05:24 +08:00
Benau
8f41b721ed Share FontWithFace render code with getCluster for more functionality 2021-09-05 08:41:46 +08:00
Benau
4deeac7dc8 Move getCluster code to a dedicated function for later usage 2021-09-05 00:54:52 +08:00
Benau
fe5b49e63a Remove more from server name as seen in server.cpp:247 2021-09-04 13:27:34 +08:00
Benau
3f2e011f11 Skip specific control characters like in the past 2021-09-04 13:13:19 +08:00
Benau
e2118c89c3 Save scrollbar position when opening server info dialog 2021-09-03 22:02:54 +08:00
Benau
b6ca771a0e Fix AI headless instance crash 2021-09-03 20:08:17 +08:00
Benau
5a585b85fb Add basic text handling to lobby chat
Allow opening addons downloading dialog when click url / addon id
after /installaddon and copying text
2021-09-03 19:47:23 +08:00
Benau
33a4369a71 Store shared original string to glyph layouts directly 2021-09-03 13:09:42 +08:00
Benau
474e2e025a Make glyph clusters follow input text 2021-09-03 11:24:41 +08:00
Benau
9f62ca8802 Move server name to lobby header, scroll it if too long 2021-09-02 16:18:24 +08:00
Benau
1a9090c52c Allow saving multiple rtt dump files 2021-09-01 11:25:02 +08:00
Benau
e3a88c71e2 Allow using shift-f11 in kart selection screen 2021-09-01 11:17:07 +08:00
Benau
da881ac459 Update download assets size 2021-08-30 16:06:19 +08:00
Benau
f1f5a47bcf Update download assets size 2021-08-25 15:18:15 +08:00
Benau
4d5d33d1cb Try to fix crash found in google play console 2021-08-25 15:17:47 +08:00
riso
26bb43dadd load speedfore.png and speedback.png based on skin 2021-08-20 23:17:17 -05:00
Benau
e66110ae17 Make sure camera is reset if on ground, see #2916 2021-08-20 13:48:40 +08:00
riso
93612e6039 use skin color for tooltip text 2021-08-19 17:21:21 -05:00
Benau
037efe60fb Try to fix missing music after switching
m_current_music assignment should be done in sfx thread if music is on
2021-08-19 09:50:23 +08:00
Benau
7a07b716b8 Don't call startMusic every frame on race result screen
It breaks pausing music when going background in android
2021-08-19 09:28:04 +08:00
Benau
a1c099cc1c Fix clearCurrentMusic so it really stops current music 2021-08-19 09:15:43 +08:00
Benau
6d29bb21ba Remove unneeded ranking display in FFA 2021-08-16 10:20:36 +08:00
Benau
bbbd14ccf7 Use a larger addons loading dialog for more buttons now 2021-08-16 10:00:27 +08:00
riso
7045f8dbf7 use a rainbow kart color slider 2021-08-13 21:09:24 -05:00
Benau
2dffb78679 Implement background download for addons pack 2021-08-11 10:50:27 +08:00
Benau
e823852a21 Add cancel button in downloading addons and assets dialog 2021-08-11 09:28:06 +08:00
Benau
5ec99947e9 Make some flyable sfx lower volume in splitscreen multiplayer 2021-08-10 08:46:45 +08:00
Benau
ad531ba556 Fix crash if missing particle file 2021-08-10 08:20:40 +08:00
Richard Qian
7913457e63 Prevent locked tracks from being played in the high score info dialog 2021-08-09 14:13:11 -05:00
Richard Qian
35ddf4c4d9
See grand prix high scores in the GUI high score manager (#4573) 2021-08-10 01:49:49 +08:00
Benau
639eadaa2d Fix broken cert reading if located in unicode named folder 2021-08-08 14:10:39 +08:00
Benau
b89dd89dad Initialize glyph layouts if text exists to fix #4557 2021-08-06 12:49:38 +08:00
Benau
bc43eee98c Fix broken user creation since PR #4563 2021-08-06 12:46:45 +08:00
Benau
dfd932caf5 Fix crash in networking grand prix 2021-08-04 09:56:33 +08:00
Kuba
0b45ac9fd9
Add grandprix highscore (#4566) 2021-08-02 11:38:07 +08:00
mrkubax10
8758795791 Fix logout when changing local name 2021-07-26 15:17:15 +02:00
Kuba
2264ca6faa
Fix tracks not showing in grandprix info (#4561)
Tell user grandprix is not available if it includes locked tracks in singleplayer
2021-07-25 01:26:56 +08:00
courbe
39006f9889
Rank by greatest time if points equality in Follow the leader for GP (#4562) 2021-07-22 01:58:14 +08:00
Benau
840a023aa6 Fix invalid memory access when closing window during cutscene 2021-07-19 13:02:49 +08:00
Benau
ced813a483 Fix memory leak 2021-07-19 12:24:47 +08:00
Benau
a92e021625 Fix compilation with old SDL2, fix #4554 2021-07-19 12:22:45 +08:00
Benau
d988f502a4 Add Mbed TLS 3.0 support 2021-07-19 12:07:40 +08:00
CodingJellyfish
b23246fdcf Add goal to race result 2021-07-19 11:44:05 +08:00
Benau
c351f1bd01 Fix icon size not reset when playing different mode 2021-07-17 13:03:21 +08:00
Benau
24f96ccfc9 Avoid network incompatibility if players add or remove official karts 2021-07-17 11:07:34 +08:00
Benau
a62c355e91 Add code to generate official karts list 2021-07-17 10:59:13 +08:00
Kuba
feb8ba51ab
Show kart rank in race result screen (#4551) 2021-07-15 01:19:55 +08:00
Benau
5ec426b275 Don't clear password if downloading error, fix #4549 2021-07-14 10:47:14 +08:00
Benau
f22f4a52ef Remove server bookmarks based on inactive days 2021-07-14 10:44:15 +08:00
Benau
f490b1039a Remove unneeded characters from server bookmark key 2021-07-14 10:38:59 +08:00
Benau
63cee25884 Hide bookmarks icon when showing lan server 2021-07-14 10:36:25 +08:00