2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-28 13:02:13 +01:00
Commit Graph

36 Commits

Author SHA1 Message Date
SNMetamorph
714b4f45e4 engine: common: added COM_GetResourceTypeName function 2023-03-20 16:29:43 +03:00
d177b6f528 engine: cvar: consolidate auto description for GLCONFIG cvars
Fix bug when GLCONFIG cvars didn't had it's respective CLIENTDLL or GAMEUIDLL flags
2023-03-13 06:22:54 +03:00
fb6e310eab public: move va() function back to engine, it's not recommended to use in shared modules 2023-03-13 02:44:59 +03:00
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
2022-07-28 18:56:02 +03:00
5350d88f57 public: crtlib: add quotation mark support for ParseFile, required for filesystem_stdio 2022-07-26 03:17:11 +03:00
aa7bfb4819 engine: check for non-standard alloca header 2021-12-03 09:22:40 +03:00
36702aafe7 engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED 2021-11-23 05:23:38 +03:00
b24c1a51d3 engine: try to mitigate outdated client.dll vulnerabilities 2021-11-23 05:23:38 +03:00
004e190435 engine: common: test ParseFile length return value 2021-10-08 17:31:32 +03:00
9e5d5e0ea3 public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking 2021-10-08 17:31:32 +03:00
a235bec5f1 engine: introduce COM_ParseFileSafe, add tests 2021-10-08 17:31:32 +03:00
9313f7e80e engine: replace pool pointer by pool handle 2021-06-07 02:33:15 +03:00
ddc4d76668
engine: common: add quote symbol escaping support (#411) 2021-04-04 22:03:02 +03:00
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:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
abd9778ef3 engine: common: simplified strings operations. 2020-11-28 23:20:14 +03:00
e3b547c8a9 public: rename mathlib to xash3d_mathlib. 2020-02-12 14:32:26 +05:00
3a416636f1 engine: mark GAME_EXPORT's 2020-01-19 08:15:54 +07:00
bbd033c254 lib: restore dll loader support 2020-01-19 07:38:37 +07:00
1f308a43c8 engine: fix build after lowmemory rebase 2019-11-02 08:56:07 +03:00
Wei Mingzhi
88772a1c34 engine: GetGameDir should return gamedir only. Add proper stub functions for some engine APIs. 2019-10-07 16:08:10 +03:00
e308281b0b engine: fix buffer overflow in COM_ParseFile 2019-07-26 17:24:09 +03:00
fe14a360b4 engine: fix fs_offset_t/size_t conversion, const qualifiers 2019-05-02 19:12:23 +03:00
234507b7f1 ref: fix all undefined references 2019-03-11 17:37:58 +03:00
e7234bada2 ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals 2019-03-06 16:23:33 +03:00
574f03c139 ref: initial engine to ref API draft, not compiling, work in progress [ci skip] 2019-02-24 18:45:44 +03:00
74f935d94f common: fix COM_IsSafeFileToDownload extension check 2019-01-30 21:39:50 +03:00
298393b653 Initial amd64 port 2018-12-05 23:57:05 +07:00
491188a0f3 Merge branch 'original' 2018-10-04 14:27:14 +07:00
5c738b3402 Apply 4253 update 2018-10-04 13:08:48 +07:00
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. 2018-04-23 23:07:54 +03:00
8704c07e4b Merge branch 'original' 2018-04-21 13:44:06 +00:00
ab0bcc55f8 Apply Apr20 update 2018-04-21 08:06:55 +00:00
314a6deba9 Remove gamedir[] from engine-side gameinfo_t 2018-04-21 01:22:00 +03:00
c1076f43f7 Update client engine interface 2018-04-19 21:51:17 +00:00
7671365c92 Rename _alloca back to alloca 2018-04-13 20:22:12 +03:00
8d6e3b7f79 Pure engine source code(LF line endings, UTF8 encoded) 2018-04-13 19:23:45 +03:00