Commit graph

20665 commits

Author SHA1 Message Date
furo a7ef9c7c6f Add /lasttp 2023-09-21 21:02:55 +02:00
h-kaan f88136f949 Update turkish.txt 2023-09-21 21:05:18 +03:00
furo 992a26c7ca Add ability to swap without a name when team only has 2 players. 2023-09-21 19:40:37 +02:00
Dennis Felsing 3ca6008836
Merge pull request #7225 from lolipodass/patch-7
Update russian.txt
2023-09-21 16:33:13 +00:00
lolipodass 90691e636e
Update russian.txt 2023-09-21 19:12:10 +03:00
lolipodass 6d754bebc0
Update russian.txt
add missing translations
2023-09-21 18:54:03 +03:00
Dennis Felsing 545852b7f1
Merge pull request #7224 from Robyt3/Demo-Hud-Intratick
Fix 1-tick delay of player position, speed, angle HUD
2023-09-20 22:45:51 +00:00
dobrykafe 7c710ddb96 add another value instead of new variable 2023-09-20 22:47:09 +02:00
Robert Müller cd37c2d5b3
Merge pull request #7223 from furo321/preview-only-friends
Chat preview respect cl_show_chat_friends
2023-09-20 19:56:21 +00:00
Robert Müller b7cbbb48be
Merge pull request #7222 from furo321/update-server-browser
Update server browser when adding friends from ingame.
2023-09-20 19:49:00 +00:00
Robert Müller ed9a95ac23 Fix 1-tick delay of player position, speed, angle HUD
Respect the intratick when displaying the player position, speed and angle, to fix this information always being shown for the next tick. See #6417. This does not resolve the issue yet, as there are more HUD and player elements that need to make use of the intratick.
2023-09-20 21:39:42 +02:00
furo 4e9556e3da Chat preview respect cl_show_chat_friends 2023-09-20 21:32:13 +02:00
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