Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
3 years ago
Alibek Omarov
b93938956e
engine: allow exec command with config filenames whitelist
3 years ago
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
3 years ago
Alibek Omarov
1a1d81de62
engine: add stuffcmd filtering, not wired to ClientCmd yet
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
SNMetamorph
e4ad8def0d
engine: filesystem: fixed current directory changing for Windows
3 years ago
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
3 years ago
Alibek Omarov
91ee9bd32a
engine: merge tests for imagelib
4 years ago
Alibek Omarov
37c5dfa49f
engine: generalize maps command and map command autocompletion
4 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
4 years ago
Alibek Omarov
c62db950f1
server: implement rcon redirection, add redirect command from old engine
4 years ago
Alibek Omarov
155eb1ba58
engine: fix various warnings
4 years ago
Alibek Omarov
d7b3c7b681
engine: proper order for XASH_LOW_MEMORY definitions
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
Alibek Omarov
732cb925e5
launcher: use engine definitions, enable cocon_win by default, fix Com_LoadLibrary to COM_LoadLibrary, fix memory leak, fix incorrect argv
5 years ago
Alibek Omarov
08e7bb1bf4
engine: common: enable our own build number counter, move legacy to Q_buildnum_compat
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
23fe1c0985
engine: use appropriate path array length
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
Alibek Omarov
aa6674b032
engine: support compiling with gcc3
5 years ago
mittorn
5348046109
lowmemory: increase decals limit
5 years ago
mittorn
57d48b64eb
keys: add OSK
5 years ago
mittorn
114a256675
Implement XASH_LOW_MEMORY, memory-reduced configuration
5 years ago
Alibek Omarov
edf3fcd398
engine: common: explicitly cast literals to floats, include tgmath when needed
5 years ago
Alibek Omarov
b539ed5a3d
engine: remove write_to_clipboard, as there was no way to enable it for a long time and no one even asked for this
6 years ago
Alibek Omarov
9662ab106f
engine: client: implement errormsg, secure client by checking server IP address we're connected to
6 years ago
Alibek Omarov
a85a856215
engine: implement connection warning dialog showing up, update menu
6 years ago
Alibek Omarov
7aa163f713
engine: console: implement autocomplete for any arg count, add autocomplete for bind for both keys and commands
6 years ago
Andrey Akhmichin
83953c7fb3
Port ip filter and partially useragent from old engine.
6 years ago
Alibek Omarov
89a3fd6323
engine: make use of platform-unique library naming scheme
6 years ago
Alibek Omarov
70d45f23de
public: crclib now is part of public library
6 years ago
Alibek Omarov
003bbea358
engine: common: remove unneeded REF_DLL ifdef, keep #error anyway
6 years ago
Mr0maks
5cf4e34607
filesystem: zip: codestyle
6 years ago
Mr0maks
85b5b4e965
filesystem: add support for zip files
6 years ago
Alibek Omarov
c215b89923
Apply 4483 update
6 years ago
Alibek Omarov
3fef353291
android: initial port
6 years ago
Alibek Omarov
4880ca3ca2
engine: move EXPORT definition to xash3d_types
6 years ago
mittorn
4247af8fa8
Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone
6 years ago
Alibek Omarov
199ebfed48
ref: implement engine ref API
6 years ago
Alibek Omarov
234507b7f1
ref: fix all undefined references
6 years ago
Alibek Omarov
d0d5fd1a3f
ref: fix some undefined references, compile-in mathlib and crtlib to refdll
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
e193ac2c04
ref: more @mittorn's changes on RefAPI
6 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago
mittorn
e05c1ed912
HTTP download support
6 years ago
mittorn
f3ae5159cb
Add endian conversion macros
6 years ago
mittorn
bbd4c1315e
legacymode: implement clc_userinfo
6 years ago