Alibek Omarov
33be1b7591
engine: client: let time flow in Xash demos
2023-10-14 15:11:26 +03:00
Alibek Omarov
706ef65208
engine: client: make unprefixed important userinfo cvars filterable, so servers won't be able to change them, for security
2023-09-04 02:39:34 +03:00
Alibek Omarov
3168e5ccf0
wscript: add an option to request and accept any servers
2023-08-08 09:24:10 +03:00
Alibek Omarov
87a56a5fa1
engine: client: initialize netadr_t structure in LAN games scan
2023-08-03 01:11:31 +03:00
Alibek Omarov
e23580c1de
engine: remove czeror sequence parser
...
This file initially came from HLND, a Chinese GoldSrc recreation.
It turned out to be suspiciously close to the original version, down
to the comments and code style. We don't work with leaked sources here,
so remove it.
A proper parser should be reimplemented from ground-up, when we will
start working on CZDS support.
2023-07-26 19:40:03 +03:00
Alibek Omarov
a862446072
engine: client: restore cl_trace_events from old engine branch
2023-07-02 04:48:43 +03:00
Alibek Omarov
450f77443d
engine: client: ignore some out of band packets if we're not connecting to server
2023-06-11 07:06:01 +03:00
Alibek Omarov
214fc7e827
engine: common: move host cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
b1d60c248d
engine: client: move main client cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
5b582b744a
engine: client: check if filesystem was initialized during client shutdown
2023-04-30 10:14:02 +03:00
Alibek Omarov
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
2023-04-26 05:20:45 +03:00
Alibek Omarov
096ee34f67
public: remove Q_vsprintf, replace by proper Q_vsnprintf proper calls
...
Fixes weird off by one error caused by glibc updates? I didn't tracked
what causes it exactly but replacing it seems to work. Anyway, we should
remove all 99999 hacks in libpublic.
2023-04-23 18:19:28 +03:00
Alibek Omarov
12ed092446
engine: client: register VGui surface cvars
2023-04-03 06:03:29 +03:00
Alibek Omarov
4005ef831a
engine: common: remove unused IsBackgroundMap/Demo calls, remove unused gamma function
2023-04-03 04:33:19 +03:00
Alibek Omarov
d8355a651f
engine: add missing Sequence_Init and Sequence_OnLevelLoad calls
2023-04-03 04:12:47 +03:00
Alibek Omarov
93a7ccd14f
engine: network: add net_gai_state_t enum for NET_StringToAdrNB result value
2023-04-03 00:15:35 +03:00
Alibek Omarov
5ef97ae99e
engine: convert Info_SetValueForKey with va to Info_SetValueForKeyf
2023-03-13 05:37:45 +03:00
Alibek Omarov
d667845777
engine: convert Cbuf_AddText with va to Cbuf_AddTextf
2023-03-13 05:31:27 +03:00
Alibek Omarov
f42a174482
engine: client: empty current map name in CL_ClearState
2023-02-11 06:45:20 +03:00
Alibek Omarov
fccf044976
engine: initialize network buffers used on player connect and after
2023-02-09 17:57:45 +03:00
Alibek Omarov
d7116afc92
engine: client: add hud_fontscale cvar to control HUD font scaling (not wired to any logic yet)
2023-02-02 04:57:53 +03:00
Alibek Omarov
d5fe491c14
engine: client: add a little auto-disconnect message in case of server timeout
2023-02-02 02:49:25 +03:00
Alibek Omarov
500ca54550
Revert "engine: get rid of MSG_BigShort, use htons instead, since network headers are always included"
...
This reverts commit a6475f530b
.
2023-01-18 19:21:51 +03:00
Alibek Omarov
a6475f530b
engine: get rid of MSG_BigShort, use htons instead, since network headers are always included
2023-01-14 10:58:04 +03:00
Alibek Omarov
9152bbf106
engine: client: more accurate decompilation of CL_LerpPoint and ComputeInterpolationAmount
2023-01-07 11:08:32 +03:00
Alibek Omarov
4a3efa511c
engine: client: correctly decompiled version of CL_AdjustClock (with removed useless float-to-int operation)
2023-01-07 07:23:14 +03:00
Alibek Omarov
787d3bc5dd
engine: share playermove ClearPhysEnts function
2023-01-06 00:28:24 +03:00
Alibek Omarov
c1287b3950
engine: client: speed up reconnect for legacy servers
2023-01-03 03:19:46 +03:00
Alibek Omarov
52061621ac
engine: client: do not let client.dll overwrite usercmd that's was read from demo
2022-12-27 23:10:11 +03:00
Alibek Omarov
a3ef6c955c
engine: don't double register rcon_password cvar
2022-12-12 08:13:24 +03:00
SNMetamorph
b1d910a3a5
engine: client: fixed connection hang when all resources downloaded ( fix #829 )
2022-12-09 19:20:53 +03:00
SNMetamorph
a19270a0dc
engine: client: max fragment size test retries increased to 3
2022-12-04 23:29:26 +03:00
SNMetamorph
c34ce2d9e1
engine: client: fixed max fragment size wrong calculation
2022-12-04 23:29:26 +03:00
Alibek Omarov
cbe3e608b6
engine: client: add cl_logoext cvar that's used by mainui to tell the engine which logo must be packed
2022-12-01 18:25:21 +03:00
Alibek Omarov
d9a245dcb5
engine: reset cheat cvars on remote games
2022-12-01 02:44:01 +03:00
Alibek Omarov
9cbf5ab6a6
engine: client: streamline constructing master server scan request through common function
2022-12-01 01:51:07 +03:00
Alibek Omarov
93b2f535e2
engine: client: tune max commands/max backup commands values for legacy protocol
2022-11-27 18:26:53 +03:00
Alibek Omarov
64e97124c3
Merge master to ipv6
2022-11-17 19:34:46 +03:00
SNMetamorph
ae94a6aeba
engine: client: fixed client VGUI API shutdown
2022-11-14 20:09:20 +03:00
Alibek Omarov
d27dd68072
engine: client: vgui: rework loading VGUI and probing client for internal vgui support API
2022-11-12 16:35:18 +03:00
Alibek Omarov
616cbdb1eb
engine: client: change cl_cmdrate and cl_smoothtime default values to match GoldSrc
2022-11-10 12:11:16 +03:00
SNMetamorph
afa1d429fe
engine: client: backported enttool from old engine
2022-11-10 11:56:10 +03:00
Alibek Omarov
82ab06efdd
engine: client: voice: new version, move to Opus Custom codec
...
* Despite Opus Custom have strict requirements, it's more barebones, allowing us to use maximum
frame size and custom sample rate, without resampling
* Encode each frame size to network buffer, allowing smooth voice chat even in 10 FPS
* Fix possible buffer overruns, underruns and races with platform side
* Revise all usages of offset variables, samples vs bytes
2022-08-31 06:44:45 +03:00
SNMetamorph
74707551ae
engine: client: voice: fixed hanging voice status
2022-08-19 04:14:25 +03:00
SNMetamorph
c6881a425f
engine: client: added support for variable voice chat quality
2022-08-18 04:46:11 +03:00
SNMetamorph
169ee14724
engine: client: disabled voice on legacy protocol servers
2022-08-18 04:46:11 +03:00
SNMetamorph
a254a342b1
engine: voice: minor code fixes
2022-08-18 04:46:11 +03:00
Velaron
9242a0a510
engine: update voice
2022-08-18 04:46:11 +03:00
Velaron
2b9e050f57
engine: voice support
2022-08-18 04:46:11 +03:00