Commit graph

20839 commits

Author SHA1 Message Date
Dennis Felsing d51a726129
Merge pull request #9047 from timakro/pr-add-invincible-mode
Add invincible mode
2024-10-04 22:05:09 +00:00
Robert Müller e63d7386be Remove unused datafile reader variable in dummy_map tool 2024-10-04 21:12:54 +02:00
Robert Müller a3b2146a16 Add assertions to CDataFileReader checking if file open/closed
When the datafile is closed, only the `CDataFileReader::Open` and `CDataFileReader::Close` functions may be called. All other functions will now assert instead of returning some default-values if no file is open. The `CDataFileReader::Open` function will now assert if the file is already open instead of implicitly closing the previous one.
2024-10-04 21:12:21 +02:00
Tim Schumacher 5457e8fc3b Render sparkling trail for invincible players 2024-10-04 19:41:30 +02:00
Dennis Felsing a56e5324d8
Merge pull request #9106 from ChillerDragon/pr_break_peer
Break early in peer matching
2024-10-04 07:06:39 +00:00
ChillerDragon 11047d1b80 Break early in peer matching 2024-10-04 14:46:33 +08:00
Dennis Felsing 70afd94982
Merge pull request #9105 from dobrykafe/pr-fix-server-settings-tooltip
Fix server settings command help text overwriting other tooltips
2024-10-03 21:54:10 +00:00
dobrykafe 184f07a912 fix server settings command help text overwriting other tooltips 2024-10-03 21:55:07 +02:00
Dennis Felsing 29523e4972
Merge pull request #9102 from Jupeyy/pr_no_warning_fail
Don't emit a warning if no capable vulkan GPU was found
2024-10-03 11:37:39 +00:00
Jupeyy bbab3478f6
Don't emit a warning to the user if no capable vulkan GPU was found 2024-10-03 11:49:09 +02:00
heinrich5991 154b6d79f7
Merge pull request #9099 from infclass/ddnet-sound-channels
Use CHN_WORLD for MAPSOUNDWORLD and CHN_GLOBAL for MAPSOUNDGLOBAL
2024-10-03 09:22:52 +00:00
Dennis Felsing e61c79ea4c
Merge pull request #9101 from Jupeyy/pr_denylist
Block AMD drivers from after 19.12.1 & before 22.4.1
2024-10-03 09:16:16 +00:00
Jupeyy 47db90d8e9
Block AMD drivers from after 19.12.1 & before 22.4.1 2024-10-03 10:49:58 +02:00
Alexander Akulich 03a06a144d Use CHN_WORLD for MAPSOUNDWORLD and CHN_GLOBAL for MAPSOUNDGLOBAL
The whole idea behind custom sounds was to use them as replacement for
built-in sounds (depending on the gameplay). We have to use the same channels
instead of the MAP (aka 'ambient') channel to have the same volume for both
sets of messages.
Otherwise we have situation of players reporting 'no sound' because they have
`snd_ambient_volume 0` in the configs.

NETMSGTYPE_SV_MAPSOUNDGLOBAL is NETMSGTYPE_SV_SOUNDGLOBAL which uses map
assets as the sounds container. Use the same CSounds::CHN_GLOBAL to make
the sound messages equivalent.

NETEVENTTYPE_MAPSOUNDWORLD is NETEVENTTYPE_SOUNDWORLD which uses map assets
as the sounds container. Use the same CSounds::CHN_WORLD to make the sound
events equivalent.
2024-10-03 03:51:33 +03:00
Robert Müller f10d476964
Merge pull request #9091 from dobrykafe/pr-editor-ui-debug
Show UI debug info inside editor
2024-10-02 20:30:07 +00:00
dobrykafe 045738daf3 show ui debug info inside editor 2024-10-02 21:25:24 +02:00
Dennis Felsing 46630debf7
Merge pull request #9093 from KebsCS/pr-fix-switch-overlay-text
Fix switch overlay text order
2024-10-02 15:50:01 +00:00
KebsCS 21d378e4cb
Fix switch overlay text order 2024-10-02 17:25:14 +02:00
Dennis Felsing 000718eca7
Merge pull request #9090 from n0Ketchp/patch-22
Update spanish.txt for 18.6
2024-10-01 21:41:31 +00:00
noKetchup 8f02471fac
Update spanish.txt for 18.6 2024-10-01 18:20:29 -03:00
Robert Müller d3d4c187fb
Merge pull request #9059 from dobrykafe/pr-fix-drag-nav
Editor: fix click drag navigation selecting quads/sounds
2024-10-01 17:51:06 +00:00
Dennis Felsing d8bbf6916a
Merge pull request #9088 from ChillerDragon/pr_set_last_set_team
Explicitly set m_LastSetTeam to zero
2024-10-01 11:32:44 +00:00
ChillerDragon 547a9a0285 Explicitly set m_LastSetTeam to zero
It is compared to 0 in gamecontext.cpp but it is never explicitly set to 0.

```C++
if(pPlayer->GetTeam() == pMsg->m_Team || (g_Config.m_SvSpamprotection && pPlayer->m_LastSetTeam && pPlayer->m_LastSetTeam + Server()->TickSpeed() * g_Config.m_SvTeamChangeDelay > Server()->Tick()))
	return;
```
2024-10-01 15:25:17 +08:00
Dennis Felsing e8798a9e2f
Merge pull request #9087 from dobrykafe/pr-context-menu-after-rotation
Fix context menu showing up after canceling quad rotation
2024-09-30 22:18:52 +00:00
dobrykafe 7564a065c2 fix context menu showing up after canceling quad rotation 2024-09-30 23:56:59 +02:00
dobrykafe 2e77c4bd59 fix click drag navigation selecting quads/sounds 2024-09-30 22:46:56 +02:00
heinrich5991 054eb37b13
Merge pull request #9086 from Robyt3/Video-Config-Deprecation-Fix
Fix use of deprecated member variables in video recorder
2024-09-30 20:21:00 +00:00
Robert Müller 65f118f840 Fix use of deprecated member variables in video recorder
Use the new `avcodec_get_supported_config` function instead of the deprecated `sample_fmts` and `supported_samplerates` members with libavcodec 61.13.100 and newer.

See 76eb3e5ff3/doc/APIchanges (L53-L56)

Closes #9085.
2024-09-30 21:59:47 +02:00
Robert Müller 7abeaf5600
Merge pull request #9078 from ChillerDragon/pr_browser_arrow_left_right
Arrow left and right in browser (internet/lan/favorites)
2024-09-30 13:23:46 +00:00
ChillerDragon 2b0fb83140 Arrow left and right in browser (internet/lan/favorites)
Closed #9038
2024-09-30 20:45:57 +08:00
Dennis Felsing 74160b0981
Merge pull request #9076 from ChillerDragon/pr_tests_timeout_fifo
Add timeout for fifo in integration tests
2024-09-30 11:49:32 +00:00
ChillerDragon 85e99363a4 Stop tests on first fifo timeout 2024-09-30 19:27:09 +08:00
Dennis Felsing 6322ff78c5
Merge pull request #9079 from rffontenelle/patch-1
Update brazilian_portuguese.txt
2024-09-30 11:17:12 +00:00
Rafael Fontenelle 9f931bb60e
Update brazilian_portuguese.txt 2024-09-30 07:57:01 -03:00
Dennis Felsing 107bac586c
Merge pull request #9077 from ChillerDragon/pr_fix_browser_ascii_art
Fix tabs being used in ascii art browser comment
2024-09-30 10:44:34 +00:00
Dennis Felsing a4a20766a4
Merge pull request #9075 from KebsCS/pr-polish-18.6
Update Polish translations for 18.6
2024-09-30 10:44:13 +00:00
ChillerDragon baeab0eaa9 Fix tabs being used in ascii art browser comment
Spaces are more portable if alignment matters
2024-09-30 14:07:17 +08:00
ChillerDragon 98b4258674 Add timeout for fifo in integration tests
If the client or server crashes during the integration test run
the next write to its fifo file will be blocking and get stuck forever.

This is especially annoying for github actions because they just run 10
hours and then get terminated by github without ever reaching the end
of the integration test script that then prints the details about the
crash.
2024-09-30 13:49:44 +08:00
KebsCS e20fad84ea
Update Polish translations for 18.6 2024-09-30 04:17:06 +02:00
Dennis Felsing 8da5957ef0
Merge pull request #9074 from dobrykafe/pr-cz-sk-18.6
Update Czech and Slovak translations for 18.6
2024-09-29 23:05:31 +00:00
dobrykafe 77206645e1 update slovak translations for 18.6 2024-09-29 23:54:03 +02:00
dobrykafe 3ed834b823 update czech translations for 18.6 2024-09-29 23:53:48 +02:00
Dennis Felsing 3b924ce719
Merge pull request #9069 from GokturkTalha/patch-13
Update Azerbaijanese translation for 18.6.txt
2024-09-29 18:58:20 +00:00
Dennis Felsing b36ecd8c84
Merge pull request #9068 from GokturkTalha/patch-12
Update Turkish translation for 18.6.txt
2024-09-29 18:58:19 +00:00
Talha Aygün 3ae532d0ba
Update Azerbaijanese translation for 18.6.txt 2024-09-29 19:23:38 +03:00
Talha Aygün 7c652643fc
Update Turkish translation for 18.6.txt 2024-09-29 19:23:10 +03:00
Dennis Felsing 170f112068
Merge pull request #9066 from Pioooooo/chinese-18.6
Update Chinese translations for 18.6
2024-09-29 14:50:49 +00:00
Pioooooo 8853243106 Update Chinese translations for 18.6 2024-09-29 14:28:49 +00:00
Dennis Felsing 4a3e1fad06
Merge pull request #9065 from furo321/swedish-18.6
Update Swedish translations for 18.6
2024-09-29 13:46:49 +00:00
furo 00b0936285 Update Swedish translations for 18.6 2024-09-29 14:56:31 +02:00