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
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
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
5 years ago
Alibek Omarov
9662ab106f
engine: client: implement errormsg, secure client by checking server IP address we're connected to
5 years ago
Alibek Omarov
04ee7c3a55
engine: fix build
5 years ago
Alibek Omarov
a85a856215
engine: implement connection warning dialog showing up, update menu
5 years ago
Alibek Omarov
3e4bd20919
engine: client: implement sending input devices list to server, using protinfo
5 years ago
Alibek Omarov
54920f13df
engine: rename library naming function, as it returns a full path and not just library name
5 years ago
Alibek Omarov
89a3fd6323
engine: make use of platform-unique library naming scheme
5 years ago