SNMetamorph
68be8157ea
engine: common: soundlib: added Sound_SupportedFileFormat function
2 years ago
Alibek Omarov
b12b2aaf79
engine: common: cmd: add Cbuf_AddTextf wrapper
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
Andrey Akhmichin
3299999f3d
engine: common: add printf-like version of Info_SetValueForKey function.
2 years ago
Alibek Omarov
0984368a31
engine: server: GoldSrc compliant pfnServerExecute(), don't execute config.cfg for server!
2 years ago
Alibek Omarov
0bec78a958
engine: client: make few function between pmove and client interface shared, remove unused CL_PointContents wrapper
2 years ago
Alibek Omarov
4cb109abe0
engine: make playermove funcs truly shared between client and server
2 years ago
Alibek Omarov
a3ef6c955c
engine: don't double register rcon_password cvar
2 years ago
Alibek Omarov
7d0d6b8e0d
engine: common: host: implement adaptive sleeptime, log time to first time for debug purposes
2 years ago
Alibek Omarov
d13f7f06e4
engine: fix framerate being capped to 60FPS with vsync, remove vid_displayfrequency cvar. Never sleep with vsync or timedemo, for accuracy
2 years ago
Alibek Omarov
1a09d297ee
engine: minimize SetCursorType calls count
2 years ago
Alibek Omarov
01a3321d63
engine: client: only accept server list from master servers (thanks @tyabus for idea)
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
314672d82c
engine: client: fix invalid playerinfo being accessed by renderer
2 years ago
Alibek Omarov
d6dfeaeba7
engine: fix searching filesystem_stdio on mobile platforms
2 years ago
Alibek Omarov
3d5aa7c20c
engine: remove mistakingly placed NORETURN attributes
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
12ea6dcfd7
public: move build.c from engine to public library, in preparation of filesystem_stdio merge
2 years ago
Alibek Omarov
a41f8cb01b
engine: move version strings to com_strings.h file, in preparation of filesystem_stdio branch merge
2 years ago
Alibek Omarov
86a777880f
engine: common: mark AbortCurrentFrame as NORETURN, fix noreturn warnings
2 years ago
Alibek Omarov
924e895753
engine: common: set Host_Error and Sys_Error as NORETURN
2 years ago
Alibek Omarov
51526948c0
engine: server: make PEntityOfEntIndex bug-compatible with GoldSrc
...
Add new undocumented GoldSrc eiface function, PEntityOfEntIndexAllEntities,
a bug-free version of PEntityOfEntIndex
Ref: https://github.com/ValveSoftware/halflife/issues/2272
2 years ago
Alibek Omarov
85f99c723a
engine: add sys_timescale implementation
3 years ago
Alibek Omarov
203afda053
engine: add render_picbutton_text flag to use mainui_cpp font renderer for rendering WON buttons
3 years ago
Alibek Omarov
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
3 years ago
Alibek Omarov
508eb7ab5f
engine: restore command escaping
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
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
3 years ago
Alibek Omarov
37c5dfa49f
engine: generalize maps command and map command autocompletion
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
3 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