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
2 years ago
SNMetamorph
8f91830997
engine: added changeport parameter for NET_Config
2 years ago
Alibek Omarov
d46d62bf03
engine: client: drop loading plaque on second signon, remove servercount check
2 years ago
Alibek Omarov
40298cefb6
engine: client: don't save configs if shutdown was issued before client was initialized. Remove dead ucmd
2 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
2 years ago
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
2 years ago
Alibek Omarov
52d1383f14
engine: client: fix various useless checks, unused variables & defines, double assignments and mistypings
2 years ago
Alibek Omarov
37cf4da136
engine: client: switch to protocol info key in detecting old engine servers
3 years ago
Alibek Omarov
f007374866
engine: client: rewrite console history
...
Fix duplicate and empty lines saved into history
Fix backup copied too early
Add tests
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
2df27e14a8
engine: client: make connect command available through stufftext, for future use
3 years ago
SNMetamorph
f726793711
engine: client: cl_main: fixed compilation error
3 years ago
Alibek Omarov
2356bc9905
engine: client: escape keybindings and rcon commands
3 years ago
Alibek Omarov
f2a9f805b8
engine: client: redefine some cvars as filterable
3 years ago
Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
3 years ago
Alibek Omarov
8a9231628e
engine: restrict potentially harmful or related to user settings engine cvars
3 years ago
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
3 years ago
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
3 years ago
Alibek Omarov
5b387ba36a
engine: client: move Cbuf_Execute out of Host_InputFrame, cbuf will be executed always at ClientBegin. Fixes #482
3 years ago
SNMetamorph
386ae2067b
engine: client: another interpolation fix
3 years ago
SNMetamorph
b289de26a6
engine: client: added cvar cl_nointerp for disabling interpolation
3 years ago
SNMetamorph
415f5baa1c
engine: client: CL_LerpPoint hotfix
3 years ago
Alibek Omarov
0a818f3f3f
client: add waveplaylen console command like in GoldSrc
4 years ago
Alibek Omarov
e77957bc81
client: decrease visibility of some cvars
4 years ago
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
4 years ago
Andrey Akhmichin
5aef09ce5d
engine: client: simplified strings operations.
4 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
9e99a2bc37
engine: dirty sdl1.2 port
5 years ago
Alibek Omarov
78baf568ae
engine: more double promotion fixes
5 years ago
Alibek Omarov
c67f065d90
engine: client: explicitly cast literals to floats
5 years ago
Alibek Omarov
ff1b28244b
engine: client: port ui_renderworld from old engine
5 years ago
Alibek Omarov
d2a8cfe614
Revert "engine: client: implement connectionprogress partially"
...
This reverts commit cb417a3d51
.
This commit breaks demo playback. Figure out why, then revert it back.
5 years ago
mittorn
7f3ee9ca71
input: merge touch support again. Fix m_ignore, fix EngineAppendMove
5 years ago
Alibek Omarov
cb417a3d51
engine: client: implement connectionprogress partially
5 years ago