Commit Graph

17329 Commits

Author SHA1 Message Date
Benau
c929002eba Fix crash when recreating irrlicht device 2022-08-30 09:44:31 +08:00
Benau
1703e829eb Keep fullscreen checkbox focus when toggling it 2022-08-30 09:27:54 +08:00
Benau
4f3dbb43a2 Fix bad gui after toggling fullscreen ingame 2022-08-29 14:55:02 +08:00
Benau
97bc2696db Fix broken IrrDriver::cancelResChange 2022-08-29 11:06:12 +08:00
Benau
3d9828b6e3 Don't check for larger window size if fullscreen is used 2022-08-29 10:48:39 +08:00
Benau
d322720147 Add option to use original fullscreen code for vulkan 2022-08-29 10:30:31 +08:00
Benau
bba636263e Use fullscreen desktop for vulkan 2022-08-28 10:55:06 +08:00
Benau
e6f8dcfdb0 Make render scale configurable in ui for vulkan 2022-08-28 09:27:08 +08:00
Benau
3e2de9419e Update download assets size 2022-08-24 12:00:07 +08:00
Benau
fefb3c1949 Mark skybox textures to be loaded on demand 2022-08-23 08:54:27 +08:00
Benau
2d1c7385c6 Fix unlocked screen track screeshot display for vulkan 2022-08-17 15:49:10 +08:00
Benau
c2ab58148f Fix missing continue button in next cutscene part 2022-08-16 14:11:37 +08:00
Benau
7aff7f9ba9 Fix broken continue button in cutscene if long loading time 2022-08-15 09:44:12 +08:00
Benau
8fead715da Add onDemandLoadTrackScreenshots for all tracks 2022-08-14 15:21:37 +08:00
Benau
f777e01a21 Make kart textures loading ondemand if needed 2022-08-13 11:44:06 +08:00
Benau
c698d4a601 Wait for GEVulkanCommandLoader to finish task before deleting textures 2022-08-10 11:07:54 +08:00
Benau
1b42688cbf Enable vulkan texture compression in ui 2022-08-09 10:03:56 +08:00
Benau
c6dafd4b80 Make isTextureCompressionEnabled return false for MOBILE_STK 2022-08-08 11:40:26 +08:00
Benau
b4b0ddc620 Add GECompressorS3TCBC3 2022-08-06 09:48:11 +08:00
QwertyChouskie
4f32435ef2
Tweaks to crash report dialog (#4789)
* Use error icon in crash report dialog

Found this change when going through old folders, looks like it never made it in.

* Update crash error message

Improve grammar; avoid reports for one-off errors; link to proper subforum (id 17 is STK General)
2022-08-05 18:08:20 +08:00
Benau
2696ef2567 Add shader to render ghost kart 2022-07-30 09:03:56 +08:00
Benau
e9d3152c1a Add more shaders 2022-07-28 13:37:09 +08:00
Benau
6d74e84609 Reduce vram usage by removing bones data in static spm 2022-07-27 11:45:09 +08:00
Benau
d4b2b03174 Add animated mesh rendering 2022-07-26 12:47:31 +08:00
Benau
8e1de345fb Add animation support in GEVulkanAnimatedMeshSceneNode 2022-07-26 00:12:35 +08:00
Benau
b75dec1fbc Move struct Armature to GE 2022-07-25 10:54:27 +08:00
Benau
61b87d3b31 Convert irrlicht mesh for addSphere 2022-07-25 10:05:46 +08:00
Benau
819b3ad27f Add minimap rendering 2022-07-25 09:41:35 +08:00
Benau
593f78a230 Move MiniGLM to graphics engine folder 2022-07-24 12:22:06 +08:00
Benau
da0cce6cd6 Add render to texture support in GEVulkanDriver 2022-07-24 11:38:02 +08:00
Benau
7f31ffa552 Add anisotropic samplers 2022-07-23 10:58:37 +08:00
Benau
e991e06640 Implement high dpi support in sdl2 properly 2022-07-22 21:10:51 +08:00
Benau
ea69c36cb3 Fix splitscreen lod (mainly for karts) 2022-07-22 11:05:30 +08:00
Benau
e9924357cd Add polycount display in GEVulkanDriver 2022-07-20 10:37:09 +08:00
Benau
44b2468003 Add GEVulkanDrawCall 2022-07-18 13:28:07 +08:00
Benau
90794c2c8f Only update bounding box of lod node every frame if needed 2022-07-08 23:20:57 +08:00
Benau
8ab63edd30 Save viewport in GEVulkanCameraSceneNode 2022-07-06 10:53:26 +08:00
Benau
3a64cc9f6a Fix uninitialized values in btKart 2022-06-28 10:08:33 +08:00
Benau
21d9b4bc70 Fix lod node after updateAbsolutePosition optimization 2022-06-27 13:22:07 +08:00
Benau
11fb04bd95 Fix sp mesh node after updateAbsolutePosition optimization 2022-06-26 09:46:08 +08:00
Benau
e599a7fff8 Disable minimap in vulkan driver for now 2022-06-24 13:23:01 +08:00
Benau
648c7c84d4 Clean up and optimize lod node 2022-06-23 16:00:08 +08:00
Benau
4b17d2133a Try to allow cake and plunger to have collision callbacks 2022-06-13 16:16:26 +08:00
Benau
1bdeffc7ed Convert b3d to GE spm 2022-05-24 10:24:15 +08:00
Benau
92accb352e Convert spm to GE spm 2022-05-23 13:46:03 +08:00
David CARLIER
096b408b9c BSD build warning little fixes, implicit cast. 2022-05-22 11:20:38 +01:00
Benau
350773d316 Add temporary code for GE spm 2022-05-21 08:55:59 +08:00
Benau
3b0df18167 Fix crash when rubber band hits its owner 2022-05-20 08:17:15 +08:00
Benau
f61dcb2ec3 Allow reading spm vertices in physics 2022-05-19 15:53:05 +08:00
Benau
d2da2e22e1 Avoid address sanitizer error 2022-05-04 10:42:16 +08:00
Benau
281ddb1b17 Fix #4772 2022-05-03 09:32:14 +08:00
Benau
ac140c9cf2 Fix #4770 2022-05-01 08:36:56 +08:00
Benau
63e1afb835 Fix camera rotation angle for all platforms 2022-04-30 12:29:25 +08:00
Benau
ed14ab5091 Fix possible exit crash 2022-04-30 11:55:47 +08:00
Benau
ae2cfb4162 Fix gyroscope on walldriving surface properly 2022-04-30 10:45:33 +08:00
Benau
0f2b3da37e Fix sometimes missing overworld background music 2022-04-28 14:30:53 +08:00
Benau
ed6d7578a5 Avoid queue size race condition 2022-04-27 11:01:53 +08:00
Benau
96cd140c62 Avoid getListenerPos race condition 2022-04-26 12:42:11 +08:00
Benau
68240b5d2d Avoid getWorld race condition 2022-04-26 12:26:29 +08:00
Benau
fddc19225c Use array list for scene nodes 2022-04-26 10:55:24 +08:00
Benau
b0421569d0 Fix validation warnings when running vkDeviceWaitIdle 2022-04-18 13:46:59 +08:00
Markus Reitboeck
2876032630
Fix logical error in libraqm implementation
the first two conditions made the whole if condition
always true

I've copied the fix from the current implementation in
libraqm
https://raw.githubusercontent.com/HOST-Oman/libraqm/master/src/raqm.c
2022-04-17 14:23:52 +02:00
Benau
993073b7dc Update download assets size 2022-04-16 13:16:44 +08:00
Benau
5f9db20b4f Add IFileSystem::existFileOnly (not including directory) 2022-04-16 12:08:57 +08:00
Benau
a469d501f9 Fix gyroscope behaviour on walldriving surface, see #4750 2022-04-15 12:48:09 +08:00
Benau
661a57b5fc Add a way to acquire file archives mutex 2022-04-11 14:32:36 +08:00
Benau
8df6bdf7c8 Move file system mutex to irrlicht 2022-04-11 13:57:06 +08:00
Benau
de09566b4a Avoid configurations xml lost if having disk space issue, see #4709 2022-04-09 14:59:57 +08:00
Benau
8bbb142394 Fix #4745 2022-04-09 10:43:30 +08:00
Markus Reitboeck
2c7cb7fa67
ReplayRecorder: write correct number of transformation into "size"
fixes #4758
2022-04-08 22:22:24 +02:00
Benau
d60a3a7c0c Add loadingFailed function for ITexture 2022-04-08 14:56:24 +08:00
Benau
159cdcd06b Save max texture size before calling image manipulator 2022-04-06 10:17:49 +08:00
Benau
fb9d8f21ce Deactivate unusable settings in non-gl3 renderers 2022-04-04 08:50:46 +08:00
Benau
f2cc51a602 Fix mismatched max size for background.jpg when reloading 2022-04-03 10:54:27 +08:00
Benau
067ac4fe01 Implement resume behaviour for mobile stk 2022-04-02 13:33:08 +08:00
Benau
4d2c65ade9 Add render driver switch in lobby command 2022-04-01 12:19:21 +08:00
Benau
601511e7f4 Split device polling out of renderLoading 2022-04-01 09:59:46 +08:00
David Carlier
4f4fb01ed7 upstreaming change for settings paths for haiku.
original author @threedeyes slighty adapted.
2022-03-29 22:28:23 +00:00
Panagiotis "Ivory" Vasilopoulos
0c147c0a0b Fix URLs on Haiku
My general strategy of getting ports to work on Haiku is to just take advantage
of whatever makes things work on FreeBSD by adding an additional condition and
then fixing up things later once it compiles successfully. This generally
works, as Haiku contains FreeBSD headers for compatibility and code that
takes other operating systems into account other than Windows, Linux and OS X
and has a higher degree of POSIX compatibility tends to work on FreeBSD and
Haiku. This strategy is not perfect, and this commit proves it.

Haiku is the successor of BeOS, which, in turn, shows similarities to macOS
every now and then, as the company almost acquired Be, Inc., but later chose to
acquired NeXT, Inc. instead.

`xdg-open` is not available on Haiku by default the same way it is on
FreeBSD and Linux. With that in mind, this should fix URLs, which do
not not work properly on Haiku. Actually, nevermind, I forgot that there
is actually a package available that adds support for them. But still.
The less dependencies, the better, probably. This is also how other
packages with ports available on Haiku solve this problem.
2022-03-27 21:22:48 +02:00
David Carlier
37a57d0011 Fix build for Haiku and a handful of other oses with the spirv-tools dependency. 2022-03-26 15:05:08 +00:00
Benau
cb607a16ff Add GEVulkanShaderManager 2022-03-18 16:24:33 +08:00
Benau
4a93bea962 Fix MSVC 2015 build 2022-03-12 16:43:32 +08:00
David Carlier
9fb568eaa7 widening a bit smart pointers usage considering xml data. 2022-03-12 07:43:13 +00:00
David Carlier
18018a5cc1 scoped deref mem utils intro proposal.
trying out in two cases for now.
2022-03-06 19:02:15 +00:00
Benau
d2b2e80faa Fix #4737 2022-03-03 14:39:45 +08:00
David Carlier
fcf7cf953f http curl client favoured new progress api if supported.
suppress openssl warning with openssl 3.0
2022-02-26 11:49:44 +00:00
Benau
c63faf395f Remove unneeded character saving, we always get it from translated string if needed
It causes undefined behavior in C++20, see #4735
2022-02-25 11:20:52 +08:00
Benau
dcdc66b8f5 Fix undefined behavior in C++20, see #4735 2022-02-25 11:13:27 +08:00
luffah
bd1b20ad35 Minimap and powerup icon settings in user settings
- add size and display settings for powerup icon in user settings
 - move minimap display settings in user settings
 - fix some comments in stk_config.xml
2022-02-13 22:36:20 +01:00
David CARLIER
1f0ea77f80
illumos port. (#4732)
overcoming sun constant defined in this platform.
forcing 64 bits build as angelscript assembly is incorrect for 32 bits.
2022-02-13 00:31:14 +08:00
Michael Cochez
eb7a5b2ee6 m_gravity was set on the line above, so the condition will always be false. 2022-02-12 00:39:45 +01:00
Benau
c3b2eaf3e2 Allow adding players when using enter server dialog 2022-02-04 13:47:41 +08:00
Benau
b411f8c60d Remove unneeded sprintf 2022-02-03 10:51:15 +08:00
Kuba
65afb72c98
Fix assertion failed introduced in #4723 (#4728) 2022-01-28 09:56:00 +08:00
Benau
6e347ae517 Fix #4726 2022-01-27 07:18:45 +08:00
mrkubax10
b80df76116 Fix wrong lap count in GP result 2022-01-26 12:37:13 +01:00
Semphriss
01a78ba594
Improved code quality in item.cpp (#4722)
Fixes bug where a bubblegum shield popping/bursting will leave an invisible gum object behind
2022-01-26 09:13:51 +08:00
Lois Doyenard
3d4cb58af5 Accept emails with format e.email (from #4718) 2022-01-25 10:48:38 +01:00
Lois Doyenard
b66e0d0d0d More precise error message for online unsername (2 & 3 from #3599) 2022-01-25 10:04:44 +01:00
Semphriss
96c0d167bf
Items animation (#4713) 2022-01-25 13:07:04 +08:00
Benau
9e321d804e Fix #4711 2022-01-11 09:24:01 +08:00
Semphris
9b6347d62d Added animation to stars 2022-01-09 23:49:24 -05:00
ldoyenard
886783db31
Add left side ghost replay difficulties (#4707) 2022-01-05 10:16:23 +08:00
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
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