Commit graph

19603 commits

Author SHA1 Message Date
Robert Müller cf0df5bc03 Use GameTickSpeed instead of 50 and SERVER_TICK_SPEED 2023-09-20 21:17:12 +02:00
furo 5a4e3b1c2d Update server browser when adding friends from ingame. 2023-09-20 18:32:34 +02:00
Dennis Felsing 4dda7949d1
Merge pull request #7221 from Robyt3/Serverbrowser-Filter-Background-Fix
Fix background color in ingame server browser filter tab
2023-09-20 16:22:46 +00:00
Robert Müller 23cb2ff8c8 Fix background color in ingame server browser filter tab
Make background color of the tab content consistent with the color of the tab bar.

Regression from #7190.
2023-09-20 17:52:42 +02:00
Dennis Felsing fb6f04e9dc
Merge pull request #7220 from Robyt3/UI-Label-Streamed-Fixes
Track UI elements separately for each server browser tab
2023-09-20 15:48:25 +00:00
Robert Müller da47ebe0b5 Track UI elements separately for each server browser tab
Fix highlighted text of server browser entries not being refresh correctly when switching tabs.

This also reduces lag when switching tabs, as the UI elements for all tabs are now cached and don't need to be recreated when switching.

Regression from #7203.
2023-09-20 17:23:34 +02:00
Robert Müller 5d4affac55 Fix text containers always being recreated for empty text
Because text containers are not created for empty text, it was being tried again every frame.
2023-09-20 17:22:16 +02:00
Robert Müller 2c7df07fd7
Merge pull request #7196 from furo321/add-optional-arguments
Add optional argument to movement commands
2023-09-20 15:04:54 +00:00
Robert Müller 61a9095fc3 Remove unused IServerBrowser::TYPE_NONE, add NUM_TYPES 2023-09-20 17:03:24 +02:00
Robert Müller 48671dc866 Remove unnecessary temporary variables 2023-09-20 17:03:24 +02:00
Dennis Felsing 5033f6c440
Merge pull request #7219 from furo321/fix-winter-theme
Fix winter theme
2023-09-20 13:39:17 +00:00
furo 88ffaecee8 Fix winter theme 2023-09-20 15:04:38 +02:00
Dennis Felsing 60de0f191e
Merge pull request #7217 from furo321/gfx-screen-conchain
Add console chain for screen resolution commands.
2023-09-20 09:25:14 +00:00
furo 597350010f Add console chain for screen resolution commands. 2023-09-20 11:01:43 +02:00
Dennis Felsing fff87bc007
Merge pull request #7216 from trml/pr_ddnetlaser_flags
Add prediction flag and custom starttick to ddnetlaser
2023-09-19 22:32:28 +00:00
trml b62754915a Add flag to ddnetlaser for enabling prediction, let server control starttick 2023-09-19 23:22:15 +02:00
Robert Müller 6a4318bf1a
Merge pull request #7214 from Jupeyy/pr_fix_vk_leak
Decrease descriptor pool's current size when descriptor is freed
2023-09-19 17:04:07 +00:00
Jupeyy fcbe429d4c Decrease descriptor pool's current size when descriptor is freed 2023-09-19 18:28:48 +02:00
Dennis Felsing c47a045eb2
Merge pull request #7213 from Robyt3/Engine-Serverbrowser-Refactoring
Support dynamic list of "communities" in engine serverbrowser, refactoring
2023-09-19 11:04:07 +00:00
Dennis Felsing 36a18eef01
Merge pull request #7212 from M0REKZ/patch-1
Update spanish.txt
2023-09-19 10:54:50 +00:00
Robert Müller ce65d57f2e Support dynamic list of "communities" in engine serverbrowser
Replace existing hard-coded support for two "networks" with support for a dynamic list of "communities" which are indexed by a string-ID, though right now the DDNet and KoG communities are still hard-coded. The communities now also support an arbitrary number of associated countries, types and servers. This is a refactoring to prepare for getting the list of communities dynamically from the server and removing the DDNet and KoG tabs from the serverbrowser.
2023-09-18 19:37:04 +02:00
+KZ 716eccfed3
Update spanish.txt 2023-09-18 14:02:04 -03:00
Robert Müller 2973eee036 Refactor json parser usage in CServerInfo2::FromJsonRaw 2023-09-18 17:37:21 +02:00
Robert Müller ca1bec5bac Refactor json parser usage in CServerBrowser::LoadDDNetRanks 2023-09-18 17:37:15 +02:00
Robert Müller e82e197109 Use NUM_LOCS as static assertion for array size 2023-09-18 17:29:43 +02:00
Edgar 495e933da5
Merge pull request #7210 from Robyt3/CI-Style-Cargo-Fix
Also apply Cargo CI workaround to style workflow
2023-09-18 14:58:35 +00:00
Edgar c6f666bee2
Merge pull request #7209 from Robyt3/Server-Mutes-Maximum-Increase
Increase maximum number of mutes and vote mutes
2023-09-18 14:53:05 +00:00
Robert Müller eb880bc192 Also apply Cargo CI workaround to style workflow
Since the style workflow also uses cargo, we should also set the property `CARGO_HTTP_MULTIPLEXING: false` to hopefully fix the spurious network errors.

See #7173.
2023-09-18 16:31:16 +02:00
Robert Müller ce8e47ee63 Increase maximum number of mutes and vote mutes 2023-09-18 16:22:51 +02:00
Dennis Felsing e1471569fc
Merge pull request #7207 from Marmare314/issue_7199
check if quadpoint is selected and not if quad is selected
2023-09-18 14:18:03 +00:00
marmare314 3f21597b6c check if quadpoint is selected and not if quad is selected
fixes #7199 (partially?)
2023-09-18 10:24:16 +02:00
Dennis Felsing e8a657fcae
Merge pull request #7202 from JuraIBOZO/Translation
Update Ukrainian translations for 17.3
2023-09-17 20:49:49 +00:00
Dennis Felsing 4c97d46dd5 Fix Ukrainian translation 2023-09-17 22:27:37 +02:00
Dennis Felsing a706074c82
Merge pull request #7203 from Robyt3/Serverbrowser-Memory-Leak
Fix memory leak of server browser entry UI elements
2023-09-17 20:13:01 +00:00
Robert Müller 816f1a5a01 Fix memory leak of server browser entry UI elements
New UI elements were being created for every server info after refreshing the server list. At the same time, old UI elements were not being deleted when the server info objects are deleted. The use of `mutable` for this purpose was also rather unclean.

Now, a separate `std::vector` of UI elements is kept for all server browser entries, instead of associating the UI elements directly with the server info.
2023-09-17 21:37:36 +02:00
Robert Müller 8dfa0b2198 Rename UpdateFilteredPlayers, remove mutable variable 2023-09-17 21:37:32 +02:00
JuraIBOZO a4101a751b
Merge branch 'master' into Translation 2023-09-17 22:22:11 +03:00
JuraIBOZO 366c15da2d
Update Ukrainian translations for 17.3 2023-09-17 22:12:06 +03:00
Dennis Felsing 829c1e497c
Merge pull request #7201 from furo321/swedish-17.3
Update Swedish translations for 17.3
2023-09-17 18:54:08 +00:00
furo c23096f7ad Update swedish translations for 17.3 2023-09-17 19:59:13 +02:00
Robert Müller 65aeb597df
Merge pull request #7197 from def-/pr-17.3-translations
Update translations for upcoming 17.3
2023-09-17 16:40:36 +00:00
Dennis Felsing 33cae23768 Update translations for upcoming 17.3 2023-09-17 18:20:34 +02:00
Robert Müller ca308cccd8
Merge pull request #7195 from def-/pr-password-128
Increase password size limit from 32 to 128
2023-09-17 15:56:11 +00:00
furo 107af9c902 Add optional argument tiles to movement commands
Add optional argument to movement and console page commands

Remove optional argument to console page commands
2023-09-17 17:19:40 +02:00
Dennis Felsing 971fa6d024
Merge pull request #7186 from infclass/for-ddnet2
CMake: Revert versioning (move it back to version.h)
2023-09-17 14:51:47 +00:00
Dennis Felsing e33b747a4c Increase password size limit from 32 to 128 2023-09-17 14:32:23 +02:00
Dennis Felsing de8d373215
Merge pull request #7194 from furo321/fix-swap
Fix everyones swap getting reset when someone swaps
2023-09-17 12:29:11 +00:00
furo 77840a9c97 Fix everyones swap getting reset when someone swaps 2023-09-17 13:49:52 +02:00
Dennis Felsing a598831361
Merge pull request #7190 from Robyt3/Browser-Layout-Overhaul
Overhaul server browser filter, details and friends tabs
2023-09-16 22:17:38 +00:00
Dennis Felsing f2451c7c93
Merge pull request #7191 from furo321/demo-slice-dotdemo
Don't include .demo in demo slice input
2023-09-16 22:16:23 +00:00