Alibek Omarov
450f77443d
engine: client: ignore some out of band packets if we're not connecting to server
2 years 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
SNMetamorph
c6881a425f
engine: client: added support for variable voice chat quality
2 years ago
SNMetamorph
169ee14724
engine: client: disabled voice on legacy protocol servers
2 years ago
SNMetamorph
a254a342b1
engine: voice: minor code fixes
2 years ago
Velaron
9242a0a510
engine: update voice
2 years ago
Velaron
2b9e050f57
engine: voice support
2 years ago
Alibek Omarov
9d4fe707bb
engine: client: carefully check legacy server response, check info string before passing it to UI
2 years ago
Alibek Omarov
01a3321d63
engine: client: only accept server list from master servers (thanks @tyabus for idea)
2 years ago
SNMetamorph
ffe7114a47
engine: client: backported NAT bypass feature
3 years ago
SNMetamorph
8f91830997
engine: added changeport parameter for NET_Config
3 years ago
Alibek Omarov
d46d62bf03
engine: client: drop loading plaque on second signon, remove servercount check
3 years ago
Alibek Omarov
40298cefb6
engine: client: don't save configs if shutdown was issued before client was initialized. Remove dead ucmd
3 years ago
Alibek Omarov
6c7d57e1eb
engine: client: move vgui deinitialization out of CL_UnloadProgs. Delete cls.initialized check in CL_Shutdown, that used to shutdown various client-side subsystems that usually have needed checks by themselves
3 years ago