Alibek Omarov
e23580c1de
engine: remove czeror sequence parser
...
This file initially came from HLND, a Chinese GoldSrc recreation.
It turned out to be suspiciously close to the original version, down
to the comments and code style. We don't work with leaked sources here,
so remove it.
A proper parser should be reimplemented from ground-up, when we will
start working on CZDS support.
1 year ago
Alibek Omarov
7e06d049f5
engine: common: static-ize common.c functions, set GAME_EXPORT to API functions
2 years ago
Alibek Omarov
8350d81c18
engine: server: static-ize sv_pmove functions
2 years ago
Alibek Omarov
6b223f1325
engine: server: static-ize functions in sv_game. Set GAME_EXPORT attribute to server GameAPI functions
2 years ago
Alibek Omarov
5a7b68fcc1
filesystem: add new export FS_GetFullDiskPath, similar to FS_GetDiskPath, but generates full path to the file, including searchpath
2 years ago
Alibek Omarov
8f207362a5
public: remove Q_sprintf, and patch all code that used it to use Q_snprintf instead
2 years ago
Alibek Omarov
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
2 years ago
SNMetamorph
714b4f45e4
engine: common: added COM_GetResourceTypeName function
2 years ago
Alibek Omarov
d177b6f528
engine: cvar: consolidate auto description for GLCONFIG cvars
...
Fix bug when GLCONFIG cvars didn't had it's respective CLIENTDLL or GAMEUIDLL flags
2 years ago
Alibek Omarov
fb6e310eab
public: move va() function back to engine, it's not recommended to use in shared modules
2 years ago
Alibek Omarov
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2 years ago
Alibek Omarov
5350d88f57
public: crtlib: add quotation mark support for ParseFile, required for filesystem_stdio
2 years ago
Alibek Omarov
aa7bfb4819
engine: check for non-standard alloca header
3 years ago
Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
3 years ago
Alibek Omarov
b24c1a51d3
engine: try to mitigate outdated client.dll vulnerabilities
3 years ago
Alibek Omarov
004e190435
engine: common: test ParseFile length return value
3 years ago
Alibek Omarov
9e5d5e0ea3
public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking
3 years ago
Alibek Omarov
a235bec5f1
engine: introduce COM_ParseFileSafe, add tests
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
4 years ago
Bohdan Shulyar
ddc4d76668
engine: common: add quote symbol escaping support ( #411 )
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
abd9778ef3
engine: common: simplified strings operations.
4 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
mittorn
bbd033c254
lib: restore dll loader support
5 years ago
Alibek Omarov
1f308a43c8
engine: fix build after lowmemory rebase
5 years ago
Wei Mingzhi
88772a1c34
engine: GetGameDir should return gamedir only. Add proper stub functions for some engine APIs.
5 years ago
Alibek Omarov
e308281b0b
engine: fix buffer overflow in COM_ParseFile
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
234507b7f1
ref: fix all undefined 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
574f03c139
ref: initial engine to ref API draft, not compiling, work in progress [ci skip]
6 years ago
Alibek Omarov
74f935d94f
common: fix COM_IsSafeFileToDownload extension check
6 years ago
mittorn
298393b653
Initial amd64 port
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
efe8ddf151
Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong.
7 years ago
mittorn
ab0bcc55f8
Apply Apr20 update
7 years ago
Alibek Omarov
314a6deba9
Remove gamedir[] from engine-side gameinfo_t
7 years ago
mittorn
c1076f43f7
Update client engine interface
7 years ago
Alibek Omarov
7671365c92
Rename _alloca back to alloca
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago