Commit Graph

17022 Commits

Author SHA1 Message Date
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
Benau
b465729304 Implement server bookmarks for global networking 2021-07-12 16:50:16 +08:00
Benau
6f7a196c70 Fix crash when pressing close window button in GP result screen 2021-06-29 13:02:16 +08:00
Benau
d2df7c6de9 Fix temple arena broken rescue in graphical server 2021-06-25 19:35:37 +08:00
Benau
5b0c9763b4 Fix crash when using check debug with ghost replay and server 2021-06-25 13:09:16 +08:00
Benau
05f029abc0 Upgrade checkline by using two triangles testing 2021-06-25 12:46:29 +08:00
Heuchi
49910c4cea speed up computeChecklineRequirements() 2021-06-22 12:16:54 +02:00
Benau
d20d487649 Fix cancel ranked race exploit 2021-06-20 01:19:54 +08:00
mrkubax10
c6c76790dc Show survive time in three strikes battle 2021-06-18 17:36:29 +02:00
Benau
e22946b7f5 Make sure a user exists for server
Lan headless STK can be missing it
2021-06-15 13:01:37 +08:00
Benau
d5c848c4c2 Add basic vulkan driver 2021-06-10 01:02:24 +08:00
Benau
40949a03d2 Fix uninitialized variable in race result screen 2021-06-06 01:08:22 +08:00
Jörn Eichler
87e3e74692
Show kart color on icon list (#4537) 2021-06-06 00:59:39 +08:00
Benau
4a5202f40f Allow setting logger level 2021-06-04 07:22:51 +08:00
Kuba
8f15575eef
Added e-mail change dialog (#4536) 2021-06-02 10:21:38 +08:00
Benau
e347c72f12 Fix uninitialized m_focus_on_cancel 2021-06-02 10:07:34 +08:00
Heuchi
d4ad37e6c6 Automatically update list when search string is changed in addons_screen 2021-05-22 13:05:01 +02:00
Benau
2f98a011d4 Fix crash when pausing during grand prix 2021-05-22 11:50:34 +08:00
Benau
8124079d6c Fix button state not reset 2021-05-22 11:00:59 +08:00
Benau
04a2306c4c Add ingame option to toggle force feedback of joysticks 2021-05-22 08:12:56 +08:00
Mary
7bf9a0a4a8
Rumble on collisions (#4532) 2021-05-21 23:45:35 +08:00
Benau
10da6285fc Allow disabling tips if empty (or no) tips.xml 2021-05-21 23:33:47 +08:00
Benau
ba2265d2ec Bring back compatibility code of materials for addons 2021-05-21 21:14:26 +08:00
Benau
ae32b8fc61 Fix max FPS order for iOS STK 2021-05-21 16:21:06 +08:00
Benau
dad40e59de Fix never ending bell when network game ends 2021-05-20 15:21:50 +08:00
Benau
3ee940b242 Fix possbile null buffer 2021-05-20 15:13:29 +08:00
Benau
e85ef1b879 Fix iOS compilation 2021-05-19 11:32:14 +08:00
Benau
be7b46f7d9 Fix missing initialization of some sound buffer 2021-05-15 00:03:06 +08:00
Benau
8e885d15ac Calculate duration from the original buffer size
MojoAL use SDL_AudioCVT internally which doubles the size
2021-05-14 23:58:59 +08:00
Benau
ec02331c73 Use MojoAL instead of OpenAL for Apple
Because OpenAL in iOS is broken at the moment
2021-05-14 23:51:24 +08:00
Benau
08a97f7ae5 Update download assets size 2021-05-08 11:20:28 +08:00
Benau
97994d66ed Fix download assets instruction for Android TV 2021-05-08 11:12:52 +08:00
Kuba
2cc16b4edb
Fixed issue #4243 (#4527) 2021-05-08 10:24:36 +08:00
Kuba
8add6fba2f
Added last entered IP addresses list (#4525) 2021-05-07 01:01:24 +08:00
Benau
75f14740ad Add a way to print message to stk gui from java 2021-05-04 09:03:38 +08:00
Benau
261932e7b1 Make sure no kart animation exists during goal reset 2021-05-02 00:37:35 +08:00
Kuba
6e83c825ca
Added sound when time is less than 5 s in time based challenges (#4523) 2021-05-01 01:27:18 +08:00
Benau
92f6158ffd Default to DirectX 9 driver for ARM64 Windows 2021-04-27 16:13:47 +08:00
Benau
6e26a0ad80 Add crash reporting support for ARM64 Windows and fix typo for x86_64 2021-04-27 16:07:12 +08:00
Benau
f2845034a0 Remove unused field 2021-04-23 21:29:58 +08:00
Benau
47011140a5 Add code to switch render driver at runtime 2021-04-23 21:21:39 +08:00
Benau
6a24b5cb0e Correct the order of begin / end scene
It fixes DirectX 9 driver warnings
2021-04-23 15:36:16 +08:00
Benau
eb59d5645b Flatten the minimap for DirectX 9 driver
Otherwise some vertices too far from camera will not be rendered
2021-04-23 11:19:49 +08:00
Benau
b6d58f55c4 Remove some GL code in race gui 2021-04-21 12:17:45 +08:00
Benau
c58de0a91f Make GEGLTexture texture locking read only 2021-04-21 11:43:01 +08:00
Benau
8cae79b604 Fix memory leak in legacy device 2021-04-21 09:18:11 +08:00
Benau
a1606f04d7 Fix alpha mask for legacy device 2021-04-21 09:04:39 +08:00
Benau
f3d8b96149 Move scissor test reverse code to gl drivers 2021-04-21 07:56:37 +08:00
Benau
62bf288530 Fix recreate device crash 2021-04-20 16:04:29 +08:00
Benau
f95d73c041 Allow starting STK with non-gl drivers 2021-04-19 12:58:46 +08:00
Benau
af7d6cf391 Move scissor test to IVideoDriver 2021-04-19 12:17:10 +08:00
Benau
2c3922f64f Move RGBA conversion to GEGLTexture 2021-04-19 11:41:22 +08:00
Benau
8e01db0bc5 Remove unused code 2021-04-18 00:51:50 +08:00
Benau
64c5762eeb Implement updateTexture for GEGLTexture 2021-04-18 00:50:12 +08:00
Benau
4f9471dcff Add createFontTexture 2021-04-17 15:32:33 +08:00