Alibek Omarov
5ea074a1fd
engine: fix build issues pointed by @Velaron
1 year ago
Alibek Omarov
8fb908e3d4
engine: server: disable SV_UnloadProgs, only call it when shutting down engine
1 year ago
Alibek Omarov
ce39255ef0
engine: host: set rootdir on Android SDL port
1 year ago
Alibek Omarov
6f6ddbce28
engine: add argument -timedemo that makes engine run timedemo and exit
1 year ago
mittorn
bee81e9723
engine: Make SDL_GetBasePath error not fatal
1 year ago
Alibek Omarov
7222c74000
engine: host: expose new -borderless flag in command line help
1 year ago
Alibek Omarov
214fc7e827
engine: common: move host cvars to static allocation
2 years ago
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
2 years ago
Alibek Omarov
f13c285287
filesystem: verbose error printing in FS_SetCurrentDirectory, move error reporting from engine
2 years ago
Alibek Omarov
710b234493
engine: add new pretty --help output
2 years ago
Alibek Omarov
ec2951cf45
engine: add size argument to COM_Default/ReplaceExtension calls
2 years ago
Alibek Omarov
8c7db8499f
engine: add size argument to COM_FileBase calls
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
096ee34f67
public: remove Q_vsprintf, replace by proper Q_vsnprintf proper calls
...
Fixes weird off by one error caused by glibc updates? I didn't tracked
what causes it exactly but replacing it seems to work. Anyway, we should
remove all 99999 hacks in libpublic.
2 years ago
Alibek Omarov
c24a1fafc5
engine: add missing HPAK_CheckSize/Integrity calls
2 years ago
Alibek Omarov
116a605248
engine: common: replace some obvious va uses by temp buffer and Q_snprintf or equivalent code
2 years ago
Alibek Omarov
d667845777
engine: convert Cbuf_AddText with va to Cbuf_AddTextf
2 years ago
Alibek Omarov
6b62f9c1b9
engine: convert Cvar_Get with va to Cvar_Getf
2 years ago
fgsfds
7424b29e56
engine: initial psvita build support
2 years ago
SNMetamorph
214a3cce73
engine: host: added -minidumps startup parameter for win32 platform
2 years ago
Alibek Omarov
a0edfd28b2
engine: common: host: use DEFAULT_ALLOWCONSOLE macro to set default console state
2 years ago
fgsfds
f87863b8bc
nswitch: always enable console
2 years ago
fgsfds
25a1cb8ce7
Nintendo Switch support (again)
2 years ago
Alibek Omarov
51b5d7a41d
engine: host: ensure we always have right slashes under Windows
2 years ago
Alibek Omarov
07afbd64d4
engine: common: host: force set HOST_FRAME status for dedicated as it finished initializing
2 years ago
Alibek Omarov
d50ed1c087
engine: common: host: don't prepend # to command arguments when changing game to dedicated, it wasn't used and implement anymore
2 years ago
Alibek Omarov
7d0d6b8e0d
engine: common: host: implement adaptive sleeptime, log time to first time for debug purposes
2 years ago
SNMetamorph
58465c3727
engine: common: fixed dedicated server bug
...
The problem is server wasn't executing server.cfg if map specified in startup parameters
2 years ago
Andrey Akhmichin
177ed2c603
engine: common: simplify strings operations.
2 years ago
Alibek Omarov
f377461fdf
engine: common: made a filter for a filter (lol), so it's possible to play selected games with cl_filterstuffcmd enabled
2 years ago
Alibek Omarov
17d0b19f9e
engine: use generic S_USAGE macro everywhere
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
f469b56b93
engine: host: only sleep once between frames
2 years ago
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