Robert Müller
9933c1350d
Merge pull request #7246 from furo321/register_conchain
...
Configs used in Register OnConfigChange should have Conchain
2023-09-24 17:54:31 +00:00
furo
4476dfacde
Configs used in OnConfigChange should trigger Conchain
2023-09-24 15:31:43 +02:00
Dennis Felsing
bcb84d612e
Merge pull request #7245 from furo321/freeview-radius
...
Increase freeview radius to kill tile border
2023-09-24 06:58:05 +00:00
furo
e93325b141
Increase freeview radius to kill tile border
2023-09-24 01:19:50 +02:00
Dennis Felsing
5d220e337c
Merge pull request #7244 from furo321/suicide-penalty
...
Remove unused config, `sv_suicide_penalty`
2023-09-23 22:17:43 +00:00
furo
436c977f7e
Remove unused config, sv_suicide_penalty
2023-09-23 23:51:16 +02:00
Dennis Felsing
373b804e9f
Merge pull request #7243 from Robyt3/Demo-String-Validation
...
Ensure strings in demo header are zero-terminated and valid UTF-8
2023-09-23 21:39:26 +00:00
Robert Müller
2d4bac8c0c
Ensure strings in demo header are zero-terminated and valid UTF-8
...
Previously, if the demo header strings did not contain zero-termination, the client would render the strings and any following non-zero memory from the demo header.
Now, demos will not be loaded, if any string in the header is not zero-terminated or not valid UTF-8.
2023-09-23 22:14:34 +02:00
Dennis Felsing
cc67723beb
Merge pull request #7239 from furo321/editor-zoom-envelope
...
Add numpad shortcuts and button for zooming in envelope editor
2023-09-23 13:51:27 +00:00
Dennis Felsing
1193361f1c
Version 17.3
2023-09-23 15:28:55 +02:00
furo
57ad88d6ee
Add numpad shortcuts and button for zooming in envelope editor
2023-09-23 14:45:56 +02:00
Robert Müller
25b110c153
Merge pull request #7236 from furo321/add-is-process-alive
...
Detect if server started from client is no longer running
2023-09-23 08:50:39 +00:00
Dennis Felsing
33c47bff4d
Merge pull request #7238 from VoxelDoesCode/friend-list-afk
...
Show if your friend is AFK through friends list
2023-09-22 23:17:27 +00:00
VoxelDoesCode
c4d325e09b
Show if your friend is AFK through friends list
...
resolve mege conflict
AFK -> Afk (for consistency)
2023-09-23 00:54:13 +02:00
furo
3da0b34444
Don't close handle if TerminateProcess failed
2023-09-22 23:15:53 +02:00
Dennis Felsing
ab7fefe7bd
Merge pull request #7237 from Robyt3/Server-AuthKey-Removal-Fixes
...
Correctly update auth keys when using `auth_remove`
2023-09-22 20:40:13 +00:00
furo
1a36743185
kill_process
return true if process doesn't exist
2023-09-22 22:18:20 +02:00
Robert Müller
1d711d6cf0
Correctly update auth keys when using auth_remove
...
When using `auth_remove`, the key indices for the default helper, mod and admin passwords were not properly adjusted, causing the wrong passwords to be used for the username-less logins.
The key indices for connected clients were also not properly adjusted, causing the wrong identity to be shown for currently authenticated clients when using the `status` command.
Closes #6427 .
2023-09-22 21:12:20 +02:00
furo
367f06a7f9
Detect if server started from client is no longer running
...
Add function to check if a process is alive.
Fix requsted changes
2023-09-22 20:17:40 +02:00
Dennis Felsing
1c1961f903
Merge pull request #7235 from AlehKushniarou/update-belarusian
...
Update Belarusian translation
2023-09-22 15:45:49 +00:00
Dennis Felsing
c042835c1d
Merge pull request #7234 from Robyt3/Input-PumpEvents
...
Fix double-click handling with `gfx_asyncrender_old 0`
2023-09-22 15:38:17 +00:00
Pavukoplov
318fe09e94
Update Belarusian translation
2023-09-22 18:19:03 +03:00
Robert Müller
98bfed7859
Fix double-click handling with gfx_asyncrender_old 0
...
We need to call `SDL_PumpEvents()` to ensure that we have the latest keyboard, mouse and joystick state before we use it.
See:
- https://wiki.libsdl.org/SDL2/SDL_GetKeyboardState
- https://wiki.libsdl.org/SDL3/SDL_GetMouseState#code-examples
Closes #7052 .
2023-09-22 17:09:39 +02:00
Robert Müller
774d32713d
Merge pull request #7227 from furo321/swap-without-name
...
Add ability to swap without a name when team only has 2 players.
2023-09-22 14:33:48 +00:00
Dennis Felsing
cc2bdbd0ed
Merge pull request #7232 from furo321/initial-chat-delay-message
...
Use a different message when muted by sv_chat_initial_delay
2023-09-22 11:06:56 +00:00
furo
5793891d91
Add a message when using sv_chat_initial_delay
2023-09-22 12:43:36 +02:00
Dennis Felsing
8009e8654d
Merge pull request #7231 from Robyt3/Engine-Sound-Refactoring
...
Replace most global variables in engine sound with member variables, various other refactoring of engine sound
2023-09-21 22:19:49 +00:00
Robert Müller
b9951dd411
Refactor and reorder RateConvert
, DecodeOpus
, DecodeWV
...
Pass sample by reference instead of by index, as the functions are only used internally and a valid sample is assured.
2023-09-21 23:52:44 +02:00
Robert Müller
7fe854d861
Reduce indentation, rename variables in Mix
function
2023-09-21 23:52:40 +02:00
Robert Müller
07e18ebecb
Replace most global variables in engine sound with member variables
...
Most variables used in the sound engine were static globals, as they are used in the static sound mixing function. The global variables are replaced by member variables, by passing the sound interface as user-data for the SDL mixing callback. The `Mix` function is made a public member function of `ISound` instead of being exposed using `ISoundMixFunc GetSoundMixFunc()`.
This allows to remove the direct dependency of the engine sound on the engine video, by instead passing the sound mixing function as a lambda to the engine video in the engine client.
The old WavPack reader function interface does support passing a user-data pointer to the callback function, so global variables are still used here.
2023-09-21 23:52:13 +02:00
Robert Müller
a2de08a8db
Add UpdateVolume
function, remove unnecessary lock usage
...
Using the lock is not necessary, as the volume is already an atomic variable.
2023-09-21 23:44:59 +02:00
Robert Müller
beaf263f3d
Reorder SetChannel
and SetListenerPos
functions
2023-09-21 23:44:58 +02:00
Robert Müller
b0356aea13
Rename argument, reduce indentation of SetVoiceTimeOffset
2023-09-21 23:44:58 +02:00
Robert Müller
f169ce1c8c
Use nullptr
instead of 0
, 0x0
and NULL
2023-09-21 23:44:58 +02:00
furo
f23e5ceb6f
Correct value of TeamSize.
2023-09-21 23:15:42 +02:00
Dennis Felsing
c975c3944f
Merge pull request #7228 from h-kaan/pr-turkish-17.3
...
Update Turkish translations for 17.3
2023-09-21 20:52:13 +00:00
Dennis Felsing
2c8a798f3f
Merge pull request #7230 from furo321/practice-lasttp
...
Add /lasttp
2023-09-21 20:51:41 +00:00
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
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