Alibek Omarov
40dfd2e711
engine: client: voice: fix off by one errors (as suggested by @SNMetamorph)
2025-07-09 18:29:36 +05:00
Alibek Omarov
c554eef3b9
engine: client: add ability to disable prepending [Xash3D] tag to the nickname when connecting to GoldSrc servers
2025-07-09 17:44:13 +05:00
Sergey Degtyar
21b0516724
engine: client: move voice reset to Voice_Shutdown
2025-07-03 16:25:24 +03:00
Sergey Degtyar
cca1732245
engine: client: refactored voice.c
...
- reformatted code.
- changed function declarations to static.
- ensured consistent use of defined constants for buffer sizes.
2025-07-03 13:50:57 +03:00
Sergey Degtyar
fddf0200db
engine: client: replaced hardcoded buffer sizes with defined constants for voice data
2025-07-03 13:36:25 +03:00
Sergey Degtyar
6bb7bcd378
engine: client: GoldSrc voice chat support
...
- Added support for GoldSrc voice mode, including initialization and shutdown functions.
- Implemented data size verification for the GoldSrc voice package.
- Creation and processing of voice packets, CRC verification of data integrity.
- Added a Steam ID field to the client_static_t structure
- Automatic gain control has been introduced for voice samples.
- The voice status structure has been updated.
- Refactored voice data handling for better type consistency and maintainability.
- Fixed ISO C90 compliance issues for better portability.
- Fixed decoder index usage.
2025-07-01 16:09:09 +03:00
Sergey Degtyar
f37bbec78e
engine: sound: voice buffer isolation and correct MP3 volume handling
2025-06-26 06:57:50 +03:00
Alibek Omarov
c807faf5b9
engine: client: rename queryserver to ui_queryserver (so q<tab> will always result in quit command, by users request)
2025-06-19 16:43:08 +05:00
Alibek Omarov
05a258a5b4
engine: client: respect intro videos aspect ratio
2025-06-19 14:29:34 +05:00
Alibek Omarov
907e02da8d
Merge ffmpeg support
2025-06-15 13:15:17 +05:00
Alibek Omarov
72485da491
engine: client: make demo recording and demo removing command privileged
2025-05-25 03:22:19 +05:00
TheEVolk
4ce03662d9
ref_api: R_GetWindowHandle method
2025-05-24 20:47:28 +05:00
Alibek Omarov
bb620d1265
engine: client: set cl_upmax to 508 by default
2025-05-20 14:35:29 +05:00
Alibek Omarov
b2444f2480
engine: restore SDL2 include path
2025-05-11 18:01:17 +03:00
Alibek Omarov
97bdd9dba0
engine: port occasional SDL2 calls to SDL3, no platform yet
2025-05-11 16:18:10 +03:00
Alibek Omarov
8209a8a681
engine: platform: move mouse grab enabling and querying functions to SDL platform code
2025-05-11 16:09:57 +03:00
Alibek Omarov
3d26ba1ed8
engine: client: always pass a valid pointer to usercmd_t in ref_params_t to prevent crassh when client.dll reads them during demo playback
2025-05-05 03:40:18 +03:00
Alibek Omarov
8ce3b4ac93
engine: client: identification: use wide CreateProcess call, ensure that process terminated and it's handles are closed
2025-04-21 19:38:10 +03:00
Alibek Omarov
c564cc96c7
engine: get rid of host.crashed field, as it's a complete duplicate of host.status
2025-04-21 16:59:44 +03:00
yumirak
06e5895d7a
engine: client: fix TE_BLOODSPRITE behaviour to GoldSrc
2025-03-26 22:00:10 +03:00
Alibek Omarov
2e8fa60e96
engine: client: don't allow downscaling HUD when using hud_scale's fixed resolution mode
2025-03-25 17:07:05 +03:00
Alibek Omarov
6b56e13b60
engine: make local ipv4 address private to net_ws, acquire local addresses with GetLocalAddress function
2025-03-20 05:39:02 +03:00
Alibek Omarov
d93bee0cbc
engine: minor refactoring, rename ref_state_t fields to snake case, rename readable names to shorter (no pun intended) long names
2025-03-20 03:11:17 +03:00
Alibek Omarov
5009db6aac
engine: client: make renderer loading failure less scary for the user
2025-03-20 03:06:05 +03:00
SNMetamorph
d3f455649e
engine: client: implemented xashid for PS Vita platform
2025-03-16 21:34:32 +03:00
Alibek Omarov
a84204fc75
engine: partial fix to explicitly call ascii or wide Win32 API function calls
2025-03-16 20:41:57 +03:00
SNMetamorph
292ace2d26
engine: client: fixed SQB in CL_ParseEvent & CL_ParseReliableEvent
2025-03-16 20:31:14 +03:00
Alibek Omarov
71e2d4ecd4
engine: client: fix another case of format-nonliteral
2025-03-15 19:52:24 +03:00
Alibek Omarov
1a791e8556
engine: soundlib: get rid of useless formatstring, which is always the same for all types
2025-03-15 19:36:34 +03:00
Alibek Omarov
3cf4901ad2
engine: fix another case of format-nonliteral
2025-03-15 18:23:38 +03:00
Alibek Omarov
a5191d8948
engine: client: console: simplify Field_DrawInputLine, try to make it safer
2025-03-08 02:35:32 +03:00
Alibek Omarov
34322f025b
engine: client: limit ticket generator choices to revemu2013 only
2025-03-06 12:35:32 +03:00
Alibek Omarov
5f0880d4a2
engine: client: lower the bandwidth test fragment sizes to 1400 and less, as using 64k, 32k and more is unreliable
2025-03-02 20:20:40 +03:00
Bohdan Shulyar
884a3c66ac
client: touch: fix minor typo that prevented editing touch buttons commands
2025-03-02 20:19:58 +03:00
Alibek Omarov
eda4e95607
engine: client: draw version at bottom right in menu, regardless if dev_overview or net_graph are enabled (those only used in-game)
2025-02-28 15:11:24 +03:00
Alibek Omarov
a5f0ca38f1
engine: remove inclusion of SDL headers globally, helps to cleanup code before SDL3 migration
2025-02-28 13:14:47 +03:00
Alibek Omarov
4dec1785ed
engine: client: touch: fix inverted file extension check
2025-02-28 06:44:21 +03:00
Alibek Omarov
f1f726822c
engine: client: restore cl_cmdrate default value at 30. It wasn't an intentional change.
2025-02-25 19:52:48 +03:00
Alibek Omarov
8982d55392
engine: client: set default rate value to 25000
...
3500 is barely playable these days. Those who have worse than usual internet
connection, should set appropriate value themselves.
2025-02-25 17:36:43 +03:00
Alibek Omarov
74ad504377
engine: client: console: do not let color strings contribute to line length in console
2025-02-24 03:55:13 +03:00
Alibek Omarov
ccf342f4fe
engine: client: fix inconsistent mouse state caused by mis-use of touch_emulate by cs16-client
2025-02-23 07:13:39 +03:00
Alibek Omarov
8b9a40ff1f
engine: client: completely refactor touch code, protect button color, improve config output
2025-02-23 07:00:20 +03:00
Alibek Omarov
425cc61c4c
engine: client: handle K_ESCAPE in Key_Console, remove special case for it in Key_Event
2025-02-23 06:47:44 +03:00
Alibek Omarov
fe1fd5b024
engine: client: make color array of DrawString functions const
2025-02-23 06:46:22 +03:00
Alibek Omarov
2c5030ab45
engine: client: do not save touch_emulate cvar
2025-02-23 02:04:33 +03:00
Alibek Omarov
bda4c45504
engine: client: simplify CL_EDICT_NUM and it's sister, non throwing error, function CL_GetEntityByIndex
2025-02-23 01:51:05 +03:00
Alibek Omarov
4c15cceb32
engine: client: deprecate custom id, it is not used meaningfully by anyone
2025-02-20 15:41:17 +03:00
Alibek Omarov
f84d865f4a
engine: client: fix crash if server sends new movevars before entities were created
...
Nothing bad will happen if we skip wave height for world entity for now, but
we might need to handle this situation somehow in the future.
2025-02-17 13:02:21 +03:00
Alibek Omarov
c5397191e5
engine: client: touch: limit usage of touch_set_stroke and touch_setclientonly only for privileged mode
2025-02-13 20:55:49 +03:00
Alibek Omarov
627444279f
Revert "common: cvar: make auto descriptions private to cvar subsystem, use them when Cvar_Get is called with NULL description"
...
This reverts commit ade560c601 .
2025-02-10 12:49:05 +03:00