Alibek Omarov
ba1cf25314
engine: convert MSG_WriteString with va to MSG_WriteStringf
2 years ago
Alibek Omarov
13bf607031
engine: client: call VidInit early in svc_serverdata parsing, GoldSrc compatibility
2 years ago
Alibek Omarov
3cfdb1213b
engine: client: consolidate modern and legacy protocol parsing functions, if possible
2 years ago
Alibek Omarov
5313dc9475
engine: client: fix uninitialized fadeTotalEnd in screenfade parsing code
2 years ago
SNMetamorph
44a43c2c09
engine: client: cl_parse: minor code fix in CL_ParseLegacyServerData
2 years ago
Alibek Omarov
1a09d297ee
engine: minimize SetCursorType calls count
2 years ago
Alibek Omarov
3c682507e7
engine: client: voice: notify client.dll about localplayer twice, through special loopback index and normal index
2 years ago
Alibek Omarov
0b50678912
engine: client: voice: refactor, fix issues when missing mic disables voice chat, fix few possible crashes and memory leaks
2 years ago
Alibek Omarov
327dcc0293
engine: client: voice: simplify code, simplify including voice.h, do not depend on opus headers globally
...
Autofix few code style mistakes
2 years ago
SNMetamorph
a688bed79f
engine: client: cl_parse: moved buffer to stack in CL_ParseVoiceData
2 years ago
SNMetamorph
97879430e9
engine: small code fixes related to voice chat
2 years ago
SNMetamorph
c5d7e3c783
engine: client: fixed players voice state changing
2 years ago
Velaron
2b9e050f57
engine: voice support
2 years ago
Alibek Omarov
911385d019
engine: client: fix memory leak on player disconnect
2 years ago
Alibek Omarov
52d1383f14
engine: client: fix various useless checks, unused variables & defines, double assignments and mistypings
3 years ago
Alibek Omarov
668d528e3b
engine: client: delete unused function
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
1de1852409
engine: client: fix build after merging into one ParseCvarValue function
3 years ago
Alibek Omarov
06eb6838a9
engine: client: protect protected, privileged and server only cvars from server query
3 years ago
Alibek Omarov
3203d9a043
engine: client: wire Cbuf_AddFilteredText to svc_stufftext commands
3 years ago
Bohdan Shulyar
8ab97fbbf0
engine: client: Add svc_exec support ( #671 )
...
* Add svc_exec support
* engine: client: add gamedir check for svc_exec
3 years ago
Alibek Omarov
4ba95277b9
engine: client: fix ParseFile calls
3 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
Alibek Omarov
80a5c53cb2
engine: client: move ref state updating into standalone function
4 years ago
Agent Agrimar
e4a71afe63
engine: client: update the ref state before R_NewMap is called
...
This fixes fades that occur at the beginning of a map being a tad screwy as a result of the ref state not being updated with fresh values, which only happens when a frame is being rendered (loading happens to prevent that).
4 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
mittorn
6953e829c4
lowmemory: prevent redefines
5 years ago
mittorn
0e7013eeb0
lowmemory: tune XASH_LOW_MEMORY=1 not breaking multiplayer
5 years ago
mittorn
d6f8112860
gameinfo: add MIN_EDICTS constant instead of magic number 600, low it to 64
5 years ago
mittorn
271d15f989
client: prevent precache overflow
5 years ago
mittorn
06cadacb59
lowmemory: cut resources array for legacy mode, only related to downloads
5 years ago
mittorn
37cba10c14
lowmemory: fix sentences
5 years ago
mittorn
114a256675
Implement XASH_LOW_MEMORY, memory-reduced configuration
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
Alibek Omarov
cb417a3d51
engine: client: implement connectionprogress partially
5 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
5 years ago
Mr0maks
85b5b4e965
filesystem: add support for zip files
6 years ago
Alibek Omarov
c215b89923
Apply 4483 update
6 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
6 years ago
Alibek Omarov
f48335f2f2
ref: get rid of fov in globals, add RenderFrame wrapper, which correctly initialize shared global values
6 years ago
mittorn
c55b7dcda7
ref: simplify efx api, move efrags to engine
6 years ago
mittorn
297ca08e81
ref: replace model (un)loading by Mod_ProcessRenderData
6 years ago
mittorn
8339096ad8
ref: Improve model unloading, fix texture leak
6 years ago
mittorn
00ce909fc8
Setup renderer time
6 years ago
Alibek Omarov
97aba69ed0
ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references
6 years ago
Alibek Omarov
e7234bada2
ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals
6 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago
mittorn
e99ca5947b
legacymode: resource list support
6 years ago
mittorn
e05c1ed912
HTTP download support
6 years ago