Dennis Felsing
fe77f63a58
Merge pull request #7278 from Robyt3/Menus-Images-Scan-Refactoring
...
Refactor menu image scan
2023-10-01 22:22:24 +00:00
Dennis Felsing
887522ea5b
Merge pull request #7279 from Robyt3/Menus-Performance
...
Improve performance of menus checker background, improve server browser performance
2023-10-01 22:21:58 +00:00
Dennis Felsing
624f4aef21
Merge pull request #7280 from furo321/move-lasttelepos
...
Don't reset `/lasttp` position on death
2023-10-01 22:21:34 +00:00
Dennis Felsing
879a88933c
Merge pull request #7277 from furo321/send-ping-menu
...
Send the player's latency if a menu is open
2023-10-01 22:19:50 +00:00
Robert Müller
fa07f64982
Improve performance of menus checker background, refactoring
...
Avoid duplicate `SetColor` calls in loop.
Avoid `QuadsDrawTL` calls by batching quads together before drawing.
Use `SetColor` instead of `SetColorVertex`.
2023-10-01 21:01:10 +02:00
Robert Müller
b1d90aaaf2
Store number of filtered players when filtering
...
Only update total number of filtered players when the filter is updated instead of calculating it every frame.
2023-10-01 20:53:29 +02:00
Robert Müller
fe27752d40
Refactor menu image scan
...
Remove unnecessary check for duplicate menu images. Listing directories with the storage now prevents duplicates, so this additional check is not needed anymore.
Ensure menu images are in RGBA format.
Ensure menu image names are not truncated.
Minor code format improvements.
2023-10-01 19:39:04 +02:00
furo
6dd43fb086
Don't reset LastTelePos
on death
2023-10-01 18:34:07 +02:00
furo
0661eafb49
Send the player's latency if a menu is open
2023-10-01 17:32:51 +02:00
Robert Müller
3ce669df13
Merge pull request #7276 from furo321/autoexec-unused
...
Remove unused commands from `autoexec_server.cfg`
2023-10-01 10:08:25 +00:00
Robert Müller
7743981e02
Merge pull request #7273 from Marmare314/quad-selection-iv
...
revert quad selection correctly fixes #7248
2023-10-01 09:51:24 +00:00
furo
5512049946
Remove unused commands from autoexec cfg
2023-10-01 11:42:58 +02:00
heinrich5991
2dd7f1d119
Merge pull request #7274 from furo321/dummy-directions
...
Use `m_aInputData` for dummy in `cl_show_direction`
2023-09-30 23:53:13 +00:00
furo
f55086f2bf
Use m_aInputData
for dummy in cl_show_direction
2023-10-01 01:14:35 +02:00
marmare314
a7748ba87e
revert quad selection correctly fixes #7248
2023-09-30 23:43:21 +02:00
Dennis Felsing
e0d906d9e1
Merge pull request #7272 from furo321/afk-optional2
...
Don't run `GET_INT` on afk attribute in `ProcessServerInfo`
2023-09-30 20:43:37 +00:00
furo
a3064ae105
Don't run GET_INT
on afk attribute in ProcessServerInfo
2023-09-30 20:51:20 +02:00
Dennis Felsing
c8401aa38f
Merge pull request #7271 from furo321/afk-optional
...
Make IsAfk attribute optional
2023-09-30 18:22:09 +00:00
Dennis Felsing
49a5a591d7
Merge pull request #7269 from Robyt3/Serverbrowser-Favorite-Resort-Fix
...
Fix large FPS drop rendering server details of favorite server
2023-09-30 18:15:50 +00:00
furo
3b2389daa4
Make IsAfk attribute optional
2023-09-30 19:56:01 +02:00
Robert Müller
d55822bc4f
Merge pull request #7270 from furo321/editor-export-sound
...
Add export button to sounds
2023-09-30 16:10:20 +00:00
furo
f07e7fef76
Add export button to sounds
2023-09-30 17:28:47 +02:00
Robert Müller
0025b6c1f3
Fix large FPS drop rendering server details of favorite server
...
The server list was being resorted every frame when the server details of a favorite server were being rendered, which was causing the FPS to drop by a factor of 5.
2023-09-30 15:48:10 +02:00
Dennis Felsing
c731d5345f
Merge pull request #7087 from ChillerDragon/pr_streamer_mode
...
Add streamer mode to avoid leaks
2023-09-30 13:34:32 +00:00
ChillerDragon
ca8d9d4f18
Add streamer mode to avoid leaks
2023-09-30 15:10:44 +02:00
Dennis Felsing
18d2f1a1ff
Merge pull request #7268 from Robyt3/Serverbrowser-Refactoring-Various
...
Various refactoring of the engine server browser, remove game includes from engine, minor performance improvement
2023-09-30 11:56:14 +00:00
Robert Müller
cf35594fa4
Extract UpdateServerFriends
function, cache friends on server
...
Calculate the number of friends on each server when refreshing the friend state of the server info instead of every time the server entry is rendered.
2023-09-30 13:32:36 +02:00
Robert Müller
7e8442d394
Move and rename UpdateFilteredPlayers
function, mark as const
2023-09-30 13:29:28 +02:00
Robert Müller
28d4451057
Add local variable Info
to reduce duplicate code
2023-09-30 13:29:28 +02:00
Robert Müller
034962ae24
Add enum ERankState
to replace magic numbers
2023-09-30 13:29:28 +02:00
Robert Müller
dcff6d92f0
Add name for enum EClientScoreKind
2023-09-30 13:29:28 +02:00
Robert Müller
721a55c603
Remove game menus includes in engine
...
Use config manager to reset `ui_page` to the default, instead of using `CMenus::PAGE_DDNET` directly (which is the default).
Check current type of serverbrowser instead of checking the current `ui_page` against `CMenus::PAGE_DDNET` and `CMenus::PAGE_KOG`.
2023-09-30 13:29:28 +02:00
Robert Müller
6753e37772
Move function definitions to remove and organize includes
2023-09-30 13:29:27 +02:00
Robert Müller
e78305e1cd
Remove unused m_aFilter(Gametype)String
variables
2023-09-30 13:29:27 +02:00
Dennis Felsing
359d9ab00b
Merge pull request #7176 from Marmare314/export-image
...
add export image button
2023-09-30 11:01:26 +00:00
Dennis Felsing
1452b36dc0
Merge pull request #7172 from furo321/render-done-popup
...
Add a popup for when video render is done
2023-09-30 09:38:01 +00:00
Dennis Felsing
3e2893e638
Merge pull request #7182 from dobrykafe/pr-show-direction
...
Ability to show local keypresses only
2023-09-30 09:35:20 +00:00
Dennis Felsing
aacfc9a357
Merge pull request #7241 from Robyt3/UI-LabelStreamed-HighlightedFix
...
Fix mangled highlighted text in server browser
2023-09-30 09:24:58 +00:00
heinrich5991
1beab04464
Merge pull request #7267 from Learath2/pr_fixfixreckon
...
Fix the fix to dead reckoning
2023-09-29 23:54:10 +00:00
Learath
fcffac6fa8
Fix the fix to dead reckoning
2023-09-30 01:29:33 +02:00
heinrich5991
c5ab791540
Merge pull request #7264 from Steinchen99/qol-rcon-tele
...
Quality of life ; rcon tele small changes
2023-09-29 13:15:35 +00:00
Steinchen99
7b58b77c5e
QoL ; Made it so f2 cmd 'tele' resets speed and unfreezes the tee upon teleporting
2023-09-29 14:53:24 +02:00
Dennis Felsing
fb290e4d23
Merge pull request #7265 from Robyt3/Debug-Stress-Cleanup
...
Limit effects of `dbg_stress` to features useful for debugging, remove remains of `dbg_stress` from server
2023-09-28 22:09:01 +00:00
Dennis Felsing
84a4e573a2
Merge pull request #7263 from Robyt3/Windows-Manifest-Compatiblity
...
Add flags for compatibility with Windows 8 - 11
2023-09-28 22:07:10 +00:00
Robert Müller
c64ec0f677
Limit effects of dbg_stress
to features useful for debugging
...
Using `dbg_stress 1` now only does the following (in debug build):
- Randomly send inputs.
- Randomly send chat messages.
- Randomly connect/disconnect to server configured with `dbg_stress_server` (`localhost` by default).
Previously it also did the following, which is not useful for this debugging feature and only complicates the code unnecessarily:
- Cause images and sounds not to be loaded.
- Render only every tenth frame.
- Always use inactive graphics refresh rate.
2023-09-28 20:14:54 +02:00
Robert Müller
06948ddecd
Remove remains of dbg_stress
from server
...
Using `dbg_stress 1` on a server made clients always auto-join team 0 and nothing else, which is not useful on its own for stress testing.
2023-09-28 20:14:23 +02:00
Robert Müller
247ce38094
Remove unused variables m_RenderFrameTimeLow/High
2023-09-28 20:12:55 +02:00
Robert Müller
744434be83
Add flags for compatibility with Windows 8 - 11
...
We previously only defined compatibility with Windows Vista and 7. Now we define compatibility with Windows Vista - 11, which is what we currently support.
This means that Windows 8 - 11 will no longer try to run the client in a compatibility mode for Windows 7 applications. This should effectively not change anything, as we don't directly use any of the [components that function differently depending on the compatibility information](https://learn.microsoft.com/en-us/windows/compatibility/application-executable-manifest#manifestation ).
2023-09-28 18:11:23 +02:00
Dennis Felsing
6a030e1a2b
Merge pull request #7262 from furo321/expire-server-info-afk
...
Expire server info when changing `m_Afk`
2023-09-27 10:44:55 +00:00
Dennis Felsing
5b3738dc17
Merge pull request #7261 from furo321/demo-show-pred
...
Don't show cl_showpred in demos
2023-09-27 10:31:36 +00:00