Robert Müller
05970178b2
Fix map downloading overriding more recent map change messages
...
Following sequence of events was possible:
1. HTTP map download for map X is started (e.g. client initially connects to server).
2. Map change message for map Y arrives while downloading (e.g. vote for another map has passed on the server).
3. Client already has map Y and loads it directly without starting or resetting the map download.
4. HTTP map download task for map X finishes.
5. Map X is loaded, overriding the map Y that should be loaded. This is one cause for #2804 .
This could potentially also happen with the map download from the game-server, if the final map data chunk for a downloaded map is received directly after another map change message for a map which does not need to be downloaded, though this seems more unlikely.
This is fixed by resetting the current map download immediately after receiving a valid map change message instead of only when starting a new map download.
The relevant code to reset the map download is moved to `CClient::ResetMapDownload` to avoid duplicate code and ensure that the temporary map download file is always deleted and closed.
2024-08-30 17:54:38 +02:00
Dennis Felsing
3d5b533816
Merge pull request #8847 from EGYT5453/ua-18.5
...
Update Ukrainian l10n (18.5)
2024-08-30 09:16:10 +00:00
Andrii
cdc5b9922a
Update Ukrainian l10n (18.5)
2024-08-30 10:41:55 +03:00
Dennis Felsing
528a38265e
Merge pull request #8846 from n0Ketchp/patch-21
...
Update spanish.txt
2024-08-30 06:52:17 +00:00
noKetchup
099ec44eac
Update spanish.txt
2024-08-30 00:29:21 -04:00
Dennis Felsing
b641fdb8fd
Merge pull request #8845 from GokturkTalha/patch-11
...
Update Azerbaijanese translations for 18.5
2024-08-29 22:18:02 +00:00
Dennis Felsing
e54fb30e72
Merge pull request #8844 from GokturkTalha/patch-10
...
Update Turkish translations for 18.5
2024-08-29 22:18:00 +00:00
Talha Aygün
325f908f09
Update Azerbaijanese translations for 18.5
2024-08-29 23:38:53 +03:00
Talha Aygün
870cff3da2
add author
2024-08-29 23:31:07 +03:00
Talha Aygün
4ea9ed9b2b
Update Turkish translations for 18.5
2024-08-29 23:29:27 +03:00
Jupeyy
98b0f50111
Merge pull request #8661 from DynamoFox/workaround-glew-on-wayland-partial-init
...
Workaround GLEW error code on init with Wayland
2024-08-29 18:21:08 +00:00
DynamoFox
fe35322bb0
Workaround GLEW error code when calling glewInit() on Wayland
...
* Fixes OpenGL on Wayland when the GLX flavor of GLEW is linked
* Only if SDL2's video driver is "wayland" we also allow the
GLEW_ERROR_NO_GLX_DISPLAY error code to be accepted as if glewInit()
actually succeeded
* Hopefully this won't be needed anymore on future versions of GLEW when
glewContextInit() is made part of the public API
2024-08-29 19:47:43 +02:00
Dennis Felsing
41cd82c2d3
Merge pull request #8653 from DynamoFox/force-sdl2-video-driver-selection-on-linux
...
Fix game launch on Wayland-only systems with SDL2.30+
2024-08-29 16:06:03 +00:00
Dennis Felsing
21375f0e1d
Merge pull request #8843 from Pioooooo/chinese-18.5
...
Update Chinese translations for 18.5
2024-08-29 13:42:23 +00:00
Pioooooo
55891afc50
Update Chinese translations for 18.5
2024-08-29 11:11:41 +00:00
Robert Müller
edcc3245f4
Merge pull request #8821 from def-/pr-transl-18.5
...
Update translations for 18.5, remove 0.7-only translations
2024-08-29 08:11:18 +00:00
Dennis Felsing
88739c5345
Update translations for 18.5, remove 0.7-only translations
...
Fix some minor stuff
2024-08-29 09:53:28 +02:00
Dennis Felsing
da4bc09429
Merge pull request #8840 from Pioooooo/translation-fix
...
Update Chinese translations
2024-08-29 07:36:54 +00:00
Pioooooo
ba4f0368a4
Update Chinese translations
2024-08-29 04:34:17 +00:00
Dennis Felsing
5cf0e5e997
Merge pull request #8839 from dobrykafe/pr-create-07-skin-folder
...
Create 0.7 skin folder
2024-08-28 23:00:58 +00:00
dobrykafe
218ce1f53f
create 0.7 skin folder
2024-08-29 00:36:06 +02:00
Dennis Felsing
91ae4ca120
Merge pull request #8838 from dobrykafe/pr-07-skins-directory
...
Add 0.7 skins directory button
2024-08-28 22:19:27 +00:00
dobrykafe
41fee0bb3f
add 0.7 skins directory button
2024-08-28 23:57:12 +02:00
Dennis Felsing
cc1dc405fe
Merge pull request #8837 from Robyt3/Android-Build-NDK-Version-Fix
...
Remove unnecessary `ndkVersion` from Gradle build
2024-08-28 17:12:22 +00:00
Robert Müller
1dd56f1a90
Remove unnecessary ndkVersion
from Gradle build
...
Gradle can determine the NDK version automatically and this property is only required if multiple NDK versions are installed. The NDK version previously determined from the filename could not be parsed by Gradle anyway.
2024-08-28 18:12:05 +02:00
Dennis Felsing
5a66dc05f4
Merge pull request #8828 from dobrykafe/pr-save-07-skins
...
Implement 0.7 skin save button
2024-08-27 21:50:23 +00:00
Dennis Felsing
7df1b24491
Merge pull request #8833 from furo321/vote-creator
...
Set `m_VoteCreator` when possible
2024-08-27 21:20:41 +00:00
dobrykafe
31ee6abe82
implement 0.7 skin save button
2024-08-27 23:18:43 +02:00
Dennis Felsing
d78032e9a6
Merge pull request #8832 from Robyt3/Android-Shortcuts-Graphics-Backends
...
Add Android shortcuts for launching with Vulkan/OpenGL
2024-08-27 21:17:44 +00:00
Dennis Felsing
3d6820ab68
Merge pull request #8831 from furo321/fix-crash-hotreload
...
Fix `double free or corruption` crash with `hot_reload`
2024-08-27 21:16:58 +00:00
Dennis Felsing
8b7e5dee4d
Merge pull request #8830 from dobrykafe/pr-conchain-07-tee
...
Add console chain for 0.7 tee
2024-08-27 21:16:37 +00:00
Dennis Felsing
76c44cfb40
Merge pull request #8829 from furo321/use-getmapname
...
Use `GetMapName()` when getting the map name
2024-08-27 21:16:12 +00:00
furo
f407adc61c
Set m_VoteCreator
when using force_vote
2024-08-27 21:44:00 +02:00
furo
9fbbf5cde7
Fix using random_unfinished_map
from rcon
2024-08-27 21:43:22 +02:00
Robert Müller
dc0d4b3b76
Add Android shortcuts for launching with Vulkan/OpenGL
...
Define shortcuts to launch the client with either Vulkan or OpenGL graphics backend, which can be accessed by long-pressing the app icon on the home screen. This feature is available for Android 7.1 and newer.
2024-08-27 21:04:43 +02:00
furo
9a7bc70f76
Fix double free or corruption
crash with hot_reload
2024-08-27 20:44:55 +02:00
furo
0e016f9732
Use GetMapName()
when getting the map name
2024-08-27 20:41:43 +02:00
dobrykafe
cb57aa82bf
add console chain for 0.7 tee
2024-08-27 20:01:27 +02:00
Robert Müller
14f1b36dd1
Merge pull request #8825 from KebsCS/pr-ghost-sorting
...
Add ghost list sorting
2024-08-27 16:55:22 +00:00
KebsCS
906f75c13a
Add ghost list sorting
2024-08-27 18:34:26 +02:00
Dennis Felsing
7c8f9b43ac
Merge pull request #8826 from bencie/announce-unfinishedmap-voter
...
Send result of `random_unfinished_map` to all clients
2024-08-27 15:25:12 +00:00
bencie
c4ff37d9d9
Send result of random_unfinished_map
to all clients
2024-08-27 16:37:15 +02:00
Dennis Felsing
3a2cecb8b4
Merge pull request #8823 from furo321/auto-reload-local-ips
...
Run editor auto-reload on any local address, and not just localhost
2024-08-27 11:29:14 +00:00
furo
358cd20183
Run editor auto-reload on any local address, and not just localhost
2024-08-27 13:05:52 +02:00
Dennis Felsing
9d920b3575
Merge pull request #8703 from sjrc6/pr_slider
...
Adjust slider handle size
2024-08-27 09:20:18 +00:00
Tater
5fb059ad92
Adjust slider handle size
2024-08-27 11:02:12 +02:00
Dennis Felsing
4b8dcc3315
Merge pull request #8811 from furo321/add-map-votes-directories
...
Add support for directories with `add_map_votes`
2024-08-27 08:59:25 +00:00
Dennis Felsing
b30b493ab8
Merge pull request #8819 from Anime-pdf/master
...
speedup demo with mouse scroll only if menu is active
2024-08-27 07:15:38 +00:00
Dennis Felsing
29f3323735
Merge pull request #8813 from furo321/hot-reload-maps
...
Add `hot_reload` to reload map while preserving state
2024-08-27 07:03:05 +00:00
Paul
7c62b457b7
speedup demo with mouse scroll only if menu is active
2024-08-27 02:38:08 +03:00