Alibek Omarov
d08fd5c855
engine: directly access background state cvar
2026-01-30 00:16:19 +05:00
Alibek Omarov
a807168816
engine: client: send broadcast for 10 more ports forward when scanning servers in LAN
2026-01-27 14:55:08 +05:00
Alibek Omarov
ed950723cd
engine: client: add cl_autorecord cvar, to start recording demo as soon as client spawns on server
2026-01-19 22:30:20 +05:00
Alibek Omarov
5ed1bca57f
engine: client: allow enabling sv_cheats during demo playback
2026-01-13 08:27:03 +05:00
Steven Linn
d915ed184c
Add 'retry' command for quick reconnection to servers
2026-01-13 06:28:15 +05:00
Alibek Omarov
cb7f2ad8af
engine: replace Sys_DoubleTime with Platform_DoubleTime in internal code, only use Sys_DoubleTime in APIs
...
As Sys_DoubleTime is marked with GAME_EXPORT attribute that helps us to
maintain compatible binary interface.
2026-01-13 05:51:19 +05:00
Alibek Omarov
4ed3e539fa
engine: client: validate server info message
2025-12-01 13:03:53 +05:00
Alibek Omarov
cfa8e639f1
engine: drop legacy protocol support
2025-12-01 13:03:53 +05:00
Alibek Omarov
9ce131e6be
engine: client: fix a typo
2025-11-06 23:06:33 +08:00
Alibek Omarov
08b718995c
engine: client: restore reduced resend time for bandwidth test
2025-11-06 23:06:33 +08:00
Alibek Omarov
4900955fc1
engine: client: set cl_dlmax to FRAGMENT_DEFAULT_SIZE when connecting to an old server or server that test disabled
2025-11-06 23:06:33 +08:00
Alibek Omarov
6c2bad610f
engine: client: request test packet only after we got challenge from server
2025-11-06 23:06:33 +08:00
Alibek Omarov
fb56873352
engine: client: increase lower cl_dlmax bound to 512 for goldsrc protocol
2025-10-16 01:21:30 +05:00
Alibek Omarov
4f444ee6ea
engine: client: for goldsrc status messages, always mark them of goldsrc protocol
2025-10-12 04:14:37 +05:00
Alibek Omarov
651d6a4529
engine: client: remove useless messages in console about scanned servers
2025-10-12 04:12:43 +05:00
Alibek Omarov
cf23005ff2
engine: client: remove comments of touch init/shutdown function call that seem to be some indescribable legacy
2025-10-11 05:52:19 +05:00
Alibek Omarov
8e7a2abec5
scripts: waifulib: compiler_optimizations: always lower case build type
2025-10-03 22:05:47 +05:00
Alibek Omarov
cc5f95d1ca
engine: support querying legacy goldsrc master servers
...
* General refactoring, hide out of band messages under cl_log_outofband cvar, similar to sv_log_outofband.
2025-10-03 21:54:59 +05:00
SNMetamorph
62a49d234f
engine: client: improved compatibility with GoldSrc-based clients behavior (thanks @Garey27)
2025-10-03 21:34:03 +08:00
Alibek Omarov
1f124bad9d
engine: client: remove archive flag from cl_trace_* message that was added by mistake
2025-09-28 23:00:35 +05:00
Alibek Omarov
69204aec07
engine: client: synchronize sv_cheats state with the server
2025-09-28 22:32:41 +05:00
Alibek Omarov
2da0db4a31
engine: client: refactor connection to the server, always send bandwidth test and challenge from single function
2025-09-15 13:03:22 +05:00
Sergey Degtyar
ccc44f3c5f
engine: voice: fix voice loopback bit
2025-09-09 01:19:27 +05:00
Alibek Omarov
b2f4d84272
engine: client: give server a bit more time to reply to bandwidth test
2025-09-08 21:19:53 +05:00
Alibek Omarov
2daaa94666
engine: voice: fix voice loopback on GoldSrc proto
2025-09-03 03:07:36 +05:00
Alibek Omarov
9c6589fa03
engine: introduce vfs.cfg to properly control user set addon folders
...
vfs.cfg executed before game directory is mounted, this way we can know which
folders must be mounted before engine initialization.
This commit also removes buggy hot reload of the addon folders.
2025-09-01 01:42:37 +05:00
Alibek Omarov
2bdeb05153
engine: client: oops, fix including non-existent file
2025-07-25 00:24:45 +05:00
Sergey Degtyar
6111df486e
engine: client: GoldSrc spray support
2025-07-16 23:54:56 +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
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
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
72485da491
engine: client: make demo recording and demo removing command privileged
2025-05-25 03:22:19 +05:00
Alibek Omarov
bb620d1265
engine: client: set cl_upmax to 508 by default
2025-05-20 14:35:29 +05: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
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
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
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
add02dc6f9
engine: fix potential UB in netadr_t
2025-02-06 20:54:18 +03:00
Alibek Omarov
62e3ba2126
engine: add cvars to control mounting additional directories
...
Use existing ui_language cvar for mounting localization folders.
2025-02-05 18:54:28 +03:00
Alibek Omarov
674a4e5883
filesystem: add ability to mount HD, LV, addon and language folders by engine request
2025-02-05 18:24:36 +03:00
Alibek Omarov
95af635ab4
engine: client: add command replaybufferdat to aid in debugging protocol errors by parsing buffer.dat
2025-02-02 05:22:46 +03:00
Alibek Omarov
ad6db91285
engine: move xashid stuff onto client
2025-01-25 17:51:48 +03:00
Alibek Omarov
f0b29bac1b
engine: client: add cl_trace_consistency used to print which resources server wants to check
2025-01-23 13:57:17 +03:00
Alibek Omarov
1e075d25b7
engine: make LZSS compression optional for 49 protocol, disable it for local clients (singleplayer)
2025-01-22 21:18:19 +03:00
Alibek Omarov
2d51d23d89
engine: client: don't send commands until ca_active on Xash protocol
2025-01-17 15:06:59 +03:00
Alibek Omarov
49426721d8
engine: use zero initializers instead of memset
2025-01-14 12:11:27 +03:00
Alibek Omarov
04125284a3
engine: dedicated: make some stubs inlined
2025-01-14 12:10:31 +03:00
Alibek Omarov
38c82a3f76
engine: don't bother calculating crc32 for local clients for better performance (thanks @tyabus for the idea)
2025-01-14 11:55:28 +03:00