Robert Müller
32e9240634
Fix editor crash when saving maps with RGB mapres
...
Convert mapres to RGBA immediately when loading them, so the image data is always in RGBA format internally, instead of only converting when the map is saved (which was erroneously removed in #8670 ).
This means the `cl_editor_dilate` setting will now also be applied to converted RGB images.
2024-09-10 21:22:56 +02:00
Robert Müller
58ce5985d4
Use operator !=
instead of mem_comp
for colors
2024-09-09 17:17:17 +02:00
Dennis Felsing
337d5c7ab3
Merge pull request #8915 from Robyt3/Base-Detect-ARM-Redefinition-Fix
...
Fix redefinition of `CONF_ARCH_STRING` for ARM architectures
2024-09-07 21:03:40 +00:00
Robert Müller
8e45d0a71a
Fix redefinition of CONF_ARCH_STRING
for ARM architectures
...
The macro `__ARM_ARCH` is defined both for 32-bit and 64-bit ARM so it cannot be used to identify ARM64. Now `__ARM_ARCH_ISA_A64` is used instead, which should only be defined for ARM64. This caused a warning due to the macro `CONF_ARCH_STRING` being redefined when compiling for Android. Furthermore, support for detecting big-endian ARM64 with the `__ARM_BIG_ENDIAN` macro is added.
See https://developer.arm.com/documentation/dui0774/g/chr1383660321827
2024-09-07 21:16:09 +02:00
Robert Müller
a865354320
Merge pull request #8914 from Jupeyy/pr_cpy_into_fake_buffer
...
Add another row to do the copying for presented images in when pitch is bigger than width
2024-09-07 18:56:16 +00:00
Jupeyy
3595b70170
Add another row to do the copying for presented images in when pitch is bigger than width
2024-09-07 18:31:06 +02:00
Jupeyy
11fd82077a
Merge pull request #8913 from Robyt3/Video-Stop-ASAN-Fix
...
Fix heap-use-after-free in `CVideo::Stop`
2024-09-07 16:17:29 +00:00
Robert Müller
9e0ba8a91f
Fix heap-use-after-free in CVideo::Stop
...
The `delete ms_pCurrentVideo` deletes the current video instance (`this`) so the subsequent write to `m_Stopped` was invalid.
Closes #8899 .
2024-09-07 16:57:27 +02:00
Robert Müller
c89509bc4b
Add icon button to open console in bottom right of start menu
...
Add a button with the "terminal" icon in the bottom right of the start menu to open the local console to ensure that the local console is usable also when no physical keyboard (with F-keys) is available.
2024-09-07 13:12:30 +02:00
Dennis Felsing
fc058fa432
Merge pull request #8906 from Robyt3/Client-Download-Gameserver-Fix
...
Fix map download fallback from game server
2024-09-06 22:11:02 +00:00
Dennis Felsing
3b22a3e02f
Merge pull request #8905 from furo321/hot-reload-super-crash
...
Fix crash with `hot_reload` while in `super`
2024-09-06 22:08:14 +00:00
Robert Müller
ed1ef4e694
Fix map download fallback from game server
...
Do not reset the active map download's information before using the fallback map download.
Remove redundant calls of `ResetMapDownload` before disconnecting, as this already resets the map download.
Closes #8885 . Regression from #8848 .
2024-09-06 20:55:02 +02:00
furo
9103332e36
Fix crash with hot_reload
while in super
2024-09-06 20:12:07 +02:00
Dennis Felsing
0948a53648
Merge pull request #8904 from furo321/fix-force-yes
...
Fix `random_unfinished_map` not working with `vote yes`
2024-09-06 17:34:21 +00:00
furo
bbd34c9452
Fix random_unfinished_map
not working with vote yes
2024-09-06 18:56:58 +02:00
KebsCS
eb9e73f68b
Add /lasttp to hot reload
2024-09-06 16:31:46 +02:00
Dennis Felsing
e0a95d14a6
Merge pull request #8898 from KebsCS/pr-country-filters
...
Change country and types filter behavior
2024-09-05 13:16:21 +00:00
KebsCS
fa28ed77a6
Change country and types filter behavior
2024-09-05 14:24:11 +02:00
KebsCS
796fa4275f
Fix tpxy arg validation
2024-09-05 11:04:03 +02:00
dobrykafe
c9e7e0f01b
add ed_auto_map_reload
setting
2024-09-05 00:23:03 +02:00
Dennis Felsing
cf107a81a1
Merge pull request #8892 from ChillerDragon/pr_scoreboard_pause_game
...
Do not force scoreboard open when the game is paused
2024-09-04 07:15:29 +00:00
ChillerDragon
74bb327799
Do not force scoreboard open when the game is paused
...
If the game is paused and a player joins a server (sv_tournament_mode 0)
The scoreboard will be forced open. Unless the client configured cl_scoreboard_on_death 0.
This can be quite annoying. Especially in the brand new 0.7 feature
where users can pause the game. Oy realized that this is a problem 12
year ago:
aec468a3c4 (diff-e0ff7a1d6079610adb64fc89fbfff23a381ed92f268d8fe188731a9e0c323b0aR389-R390)
For ddnet servers this would mostly affect tournaments where paused games are
used to give everyone enough time to download the map.
A open scoreboard also blocks broadcasts. So new users might miss the
admin announcements explaining why the game is paused.
2024-09-04 10:21:16 +08:00
dobrykafe
22d699fbc0
use player name function instead of config
2024-09-04 02:37:16 +02:00
dobrykafe
5f57ba9130
add missing parentheses in updater code
2024-09-03 12:44:02 +02:00
Dennis Felsing
69fa7ea18f
Merge pull request #8886 from furo321/use-str_copy
...
Use `str_copy` instead of `str_format` where possible
2024-09-03 07:08:54 +00:00
furo
0664f12265
assert if str_format
is used with no arguments
2024-09-03 08:49:55 +02:00
furo
8b5da71e89
Use str_copy
instead of str_format
where possible
2024-09-03 08:49:47 +02:00
ChillerDragon
d0eebee44d
Add quick actions for zooming the view
2024-09-03 09:58:36 +08:00
Ewan Green
7abad2b8a4
make reconnect screen count down from 5-1 instead of 4-0
2024-09-02 13:23:34 -06:00
Dennis Felsing
f599449f31
Merge pull request #8879 from furo321/conchain_browser
...
Add console chain for browser filters
2024-09-02 15:24:40 +00:00
Dennis Felsing
226d948acc
Version 18.5
2024-09-02 17:02:21 +02:00
furo
58f14edb95
Add console chain for browser filters
2024-09-02 16:45:04 +02:00
Dennis Felsing
a3fc627285
Merge pull request #8874 from ChillerDragon/pr_test_tooltip_style
...
Test tooltip description style
2024-09-02 06:17:10 +00:00
Dennis Felsing
f79784bec7
Merge pull request #8873 from ChillerDragon/pr_actions_settings_and_history
...
Add quick actions Server settings and History
2024-09-02 06:16:31 +00:00
Dennis Felsing
ccaddd2016
Merge pull request #8872 from ChillerDragon/pr_action_pipettte
...
Add quick action "Pipette"
2024-09-02 06:16:29 +00:00
ChillerDragon
e9187cc352
Grow prompt label if there is space and fix margins
...
Closed #8867
2024-09-02 11:16:20 +08:00
ChillerDragon
2cf6622cd7
Test tooltip description style
...
See https://github.com/ddnet/ddnet/issues/8870
2024-09-02 10:32:55 +08:00
ChillerDragon
19a888734c
Add quick actions Server settings and History
2024-09-02 09:23:21 +08:00
ChillerDragon
44fc871463
Add quick action "Pipette"
2024-09-02 09:13:03 +08:00
BlaiZephyr
a017190753
fix inconsistent quickaction labels
2024-09-01 20:09:06 +02:00
ChillerDragon
2a26c1c5d6
Put dead players at the bottom of the scoreboard
...
Closed #8868
2024-09-01 19:17:03 +08:00
Dennis Felsing
d9b031c887
Merge pull request #8864 from ChillerDragon/pr_gt_descs
...
Use same descriptions for game tile actions as the button
2024-09-01 09:21:09 +00:00
ChillerDragon
8b304cab23
Add quick action "Toggle Grid"
2024-09-01 16:23:04 +08:00
ChillerDragon
1b8e402a65
Use same descriptions for game tile actions as the button
2024-09-01 16:15:11 +08:00
Dennis Felsing
30acedaac5
Merge pull request #8820 from TsFreddie/resample
...
Resample to the device playback rate
2024-09-01 07:35:38 +00:00
Dennis Felsing
bb3c76a290
Merge pull request #8834 from KebsCS/pr-command-argument-validation
...
Add validation for chat and console command arguments
2024-09-01 07:35:36 +00:00
Dennis Felsing
d4f72803be
Merge pull request #8860 from ChillerDragon/pr_action_gametiles
...
Add quick actions for game tiles
2024-09-01 07:33:46 +00:00
Dennis Felsing
f2d5b83f84
Merge pull request #8863 from ChillerDragon/pr_sixup_enum
...
Use enum instead of magic number in skin color translation
2024-09-01 07:11:17 +00:00
Dennis Felsing
fcf810cae1
Merge pull request #8862 from ChillerDragon/pr_consistent_nolint_fireweapon
...
Consistently apply the NOLINT comment for all sounds in FireWeapon
2024-09-01 07:11:03 +00:00
Dennis Felsing
50b0af1614
Merge pull request #8858 from ChillerDragon/pr_action_info
...
Add quick actions for Show Info Off/Dec/Hex
2024-09-01 07:05:57 +00:00