Alibek Omarov
1a09d297ee
engine: minimize SetCursorType calls count
2 years ago
Alibek Omarov
5a5e72c424
engine: print current bug-compatibility level, if enabled
2 years ago
Alibek Omarov
6e864e4f8f
engine: introduce bug compatibility levels
...
* for now we only have GoldSrc bug compatibility, can be used for
games that require precise GoldSrc behaviour, like CSCZDS
* enabled with -bugcomp command line
* added text in --help
2 years ago
Alibek Omarov
d6dfeaeba7
engine: fix searching filesystem_stdio on mobile platforms
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
e44718d531
engine: fix build
3 years ago
Alibek Omarov
e6a2c207de
engine: implement change game with execv in-engine. For now it enabled for all platforms, will probably disabled selectively
3 years ago
Alibek Omarov
2b8b3e1993
engine: server: new IP filter, rewritten with IPv6 in mind
3 years ago
Alibek Omarov
86a777880f
engine: common: mark AbortCurrentFrame as NORETURN, fix noreturn warnings
3 years ago
Alibek Omarov
843c9abf9b
engine: common: fix array underrun
3 years ago
Alibek Omarov
fba323cf1f
engine: common: cosmetic changes to usage string generating code
3 years ago
Alibek Omarov
85f99c723a
engine: add sys_timescale implementation
3 years ago
Alibek Omarov
3f7773f83b
engine: client: rewrite VOX subsystem, fix spaces being taken into sentences, add tests for parser, remove dead code
3 years ago
Alibek Omarov
ffea7d9729
engine: add host_lowmemorymode cvar to indicate low memory mode level
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
c00e77c02e
engine: fix const qualifier discard
3 years ago
Alibek Omarov
992bcd89ef
engine: add cmd and cvar tests for privileged mode
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
b93938956e
engine: allow exec command with config filenames whitelist
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
1a1d81de62
engine: add stuffcmd filtering, not wired to ClientCmd yet
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
SNMetamorph
ec95948b69
engine: server: implemented instant game library loading
3 years ago
Alibek Omarov
91ee9bd32a
engine: merge tests for imagelib
4 years ago
Alibek Omarov
6ea25b8194
engine: add simple unit-testing (v3?)
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
Alibek Omarov
9b22149509
engine: host: execute server.cfg right before main loop starts
5 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
82c54b1b54
engine: disallow zero-width strings for getenv()
5 years ago
Aimless Wanderer
51a45d745e
engine: userconfig.d support from old engine
5 years ago
Alibek Omarov
3d9c482eae
host: add -help, fix #136
5 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
mittorn
3e3aff040e
platform: add Platfrom_Init, Platform_Shutdown, Platform_MouseMove move platform-specific code from host.c
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
077bc7323c
engine: host: fix crash
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
ac4a14ef6c
engine: host: support DEFAULT_DEV macro
5 years ago
Alibek Omarov
1f308a43c8
engine: fix build after lowmemory rebase
5 years ago
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
5 years ago
Alibek Omarov
9e99a2bc37
engine: dirty sdl1.2 port
5 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
5 years ago
Andrey Akhmichin
83953c7fb3
Port ip filter and partially useragent from old engine.
5 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