Alibek Omarov
279cec5ae9
engine: rename cl/sv_allowdownload for GoldSrc compatibility
1 year ago
Alibek Omarov
3ac8ad9484
engine: fixup endianness found by -Werror=strict-aliasing in old armv7hf compiler (d259421111289af3b49c055150e02213f39075a6)
1 year ago
mittorn
b949da291e
engine: fix strict aliasing issues found by an old armv7hf compiler
1 year ago
Alibek Omarov
7d61b5317c
engine: client: add random key to the query, so we can validate master server response
1 year ago
Alibek Omarov
201258dc9e
engine: client: allow passing additional filter through internetservers command arguments
1 year ago
Alibek Omarov
0330569537
engine: client: remove master server queries from NetAPI, they are never used by mods
1 year ago
Alibek Omarov
33be1b7591
engine: client: let time flow in Xash demos
1 year ago
Alibek Omarov
706ef65208
engine: client: make unprefixed important userinfo cvars filterable, so servers won't be able to change them, for security
1 year ago
Alibek Omarov
3168e5ccf0
wscript: add an option to request and accept any servers
1 year ago
Alibek Omarov
87a56a5fa1
engine: client: initialize netadr_t structure in LAN games scan
1 year ago
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.
1 year ago
Alibek Omarov
a862446072
engine: client: restore cl_trace_events from old engine branch
1 year ago
Alibek Omarov
450f77443d
engine: client: ignore some out of band packets if we're not connecting to server
1 year ago
Alibek Omarov
214fc7e827
engine: common: move host cvars to static allocation
2 years ago
Alibek Omarov
b1d60c248d
engine: client: move main client cvars to static allocation
2 years ago
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
2 years ago
Alibek Omarov
5b582b744a
engine: client: check if filesystem was initialized during client shutdown
2 years ago
Alibek Omarov
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
2 years ago
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.
2 years ago
Alibek Omarov
12ed092446
engine: client: register VGui surface cvars
2 years ago
Alibek Omarov
4005ef831a
engine: common: remove unused IsBackgroundMap/Demo calls, remove unused gamma function
2 years ago
Alibek Omarov
d8355a651f
engine: add missing Sequence_Init and Sequence_OnLevelLoad calls
2 years ago
Alibek Omarov
93a7ccd14f
engine: network: add net_gai_state_t enum for NET_StringToAdrNB result value
2 years ago
Alibek Omarov
5ef97ae99e
engine: convert Info_SetValueForKey with va to Info_SetValueForKeyf
2 years ago
Alibek Omarov
d667845777
engine: convert Cbuf_AddText with va to Cbuf_AddTextf
2 years ago
Alibek Omarov
f42a174482
engine: client: empty current map name in CL_ClearState
2 years ago
Alibek Omarov
fccf044976
engine: initialize network buffers used on player connect and after
2 years ago
Alibek Omarov
d7116afc92
engine: client: add hud_fontscale cvar to control HUD font scaling (not wired to any logic yet)
2 years ago
Alibek Omarov
d5fe491c14
engine: client: add a little auto-disconnect message in case of server timeout
2 years ago
Alibek Omarov
500ca54550
Revert "engine: get rid of MSG_BigShort, use htons instead, since network headers are always included"
...
This reverts commit a6475f530b
.
2 years ago
Alibek Omarov
a6475f530b
engine: get rid of MSG_BigShort, use htons instead, since network headers are always included
2 years ago
Alibek Omarov
9152bbf106
engine: client: more accurate decompilation of CL_LerpPoint and ComputeInterpolationAmount
2 years ago
Alibek Omarov
4a3efa511c
engine: client: correctly decompiled version of CL_AdjustClock (with removed useless float-to-int operation)
2 years ago
Alibek Omarov
787d3bc5dd
engine: share playermove ClearPhysEnts function
2 years ago
Alibek Omarov
c1287b3950
engine: client: speed up reconnect for legacy servers
2 years ago
Alibek Omarov
52061621ac
engine: client: do not let client.dll overwrite usercmd that's was read from demo
2 years ago
Alibek Omarov
a3ef6c955c
engine: don't double register rcon_password cvar
2 years ago
SNMetamorph
b1d910a3a5
engine: client: fixed connection hang when all resources downloaded ( fix #829 )
2 years ago
SNMetamorph
a19270a0dc
engine: client: max fragment size test retries increased to 3
2 years ago
SNMetamorph
c34ce2d9e1
engine: client: fixed max fragment size wrong calculation
2 years ago
Alibek Omarov
cbe3e608b6
engine: client: add cl_logoext cvar that's used by mainui to tell the engine which logo must be packed
2 years ago
Alibek Omarov
d9a245dcb5
engine: reset cheat cvars on remote games
2 years ago
Alibek Omarov
9cbf5ab6a6
engine: client: streamline constructing master server scan request through common function
2 years ago
Alibek Omarov
93b2f535e2
engine: client: tune max commands/max backup commands values for legacy protocol
2 years ago
SNMetamorph
ae94a6aeba
engine: client: fixed client VGUI API shutdown
2 years ago
Alibek Omarov
d27dd68072
engine: client: vgui: rework loading VGUI and probing client for internal vgui support API
2 years ago
Alibek Omarov
616cbdb1eb
engine: client: change cl_cmdrate and cl_smoothtime default values to match GoldSrc
2 years ago
SNMetamorph
afa1d429fe
engine: client: backported enttool from old engine
2 years ago
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
2 years ago
SNMetamorph
74707551ae
engine: client: voice: fixed hanging voice status
2 years ago