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
Alibek Omarov
9d4fe707bb
engine: client: carefully check legacy server response, check info string before passing it to UI
2022-08-17 21:52:54 +03:00
Alibek Omarov
01a3321d63
engine: client: only accept server list from master servers (thanks @tyabus for idea)
2022-08-17 21:17:51 +03:00
SNMetamorph
ffe7114a47
engine: client: backported NAT bypass feature
2022-07-10 18:28:06 +03:00
SNMetamorph
8f91830997
engine: added changeport parameter for NET_Config
2022-07-10 18:28:06 +03:00
Alibek Omarov
d46d62bf03
engine: client: drop loading plaque on second signon, remove servercount check
2022-06-29 18:57:10 +03:00
Alibek Omarov
40298cefb6
engine: client: don't save configs if shutdown was issued before client was initialized. Remove dead ucmd
2022-06-14 03:30:14 +03:00
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
2022-06-12 03:06:03 +03:00
Alibek Omarov
59fba30a52
engine: IPv6 support
...
* v6 equivalent cvars
* hostname resolving for v6
* fix for nonblocking hostname resolve (inverted check)
* enabled by default, probably should be disabled for dedicated servers
2022-06-09 03:10:02 +03:00
Alibek Omarov
52d1383f14
engine: client: fix various useless checks, unused variables & defines, double assignments and mistypings
2022-05-25 03:50:06 +03:00
Alibek Omarov
37cf4da136
engine: client: switch to protocol info key in detecting old engine servers
2022-03-08 07:00:36 +03:00
Alibek Omarov
f007374866
engine: client: rewrite console history
...
Fix duplicate and empty lines saved into history
Fix backup copied too early
Add tests
2021-12-31 03:49:11 +03:00
Alibek Omarov
4f89288ccf
common: cleanup port.h
2021-12-23 19:17:11 +03:00
Alibek Omarov
2df27e14a8
engine: client: make connect command available through stufftext, for future use
2021-12-23 01:25:03 +03:00
SNMetamorph
f726793711
engine: client: cl_main: fixed compilation error
2021-11-23 13:10:39 +03:00
Alibek Omarov
2356bc9905
engine: client: escape keybindings and rcon commands
2021-11-23 05:23:38 +03:00
Alibek Omarov
f2a9f805b8
engine: client: redefine some cvars as filterable
2021-11-23 05:23:38 +03:00
Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
2021-11-23 05:23:38 +03:00
Alibek Omarov
8a9231628e
engine: restrict potentially harmful or related to user settings engine cvars
2021-11-23 05:23:38 +03:00
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
2021-11-23 05:23:38 +03:00
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
2021-07-20 16:03:06 +03:00
Alibek Omarov
5b387ba36a
engine: client: move Cbuf_Execute out of Host_InputFrame, cbuf will be executed always at ClientBegin. Fixes #482
2021-06-06 16:22:04 +03:00
SNMetamorph
386ae2067b
engine: client: another interpolation fix
2021-05-30 09:40:03 +03:00
SNMetamorph
b289de26a6
engine: client: added cvar cl_nointerp for disabling interpolation
2021-05-30 09:40:03 +03:00