Alibek Omarov
bcfabbe802
engine: do not save configs when we closing because of the errors
2023-12-28 22:42:12 +03:00
Alibek Omarov
c244cfc937
engine: do not save configs when we closing because of the errors
2023-12-28 22:40:10 +03:00
Alibek Omarov
96f7f5457d
engine: print all supported and enabled features
2023-12-17 17:51:15 +03:00
Alibek Omarov
54a5947a3c
engine: remove MSGBOX macro
2023-12-15 06:40:04 +03:00
Alibek Omarov
514da0ffa9
engine: host: do not depend on Sys_Sleep accuracy, instead allocate a timewindow that decrases with each skipped frame
2023-12-11 07:12:44 +03:00
Alibek Omarov
1e0107944f
engine: make sys_timescale non-cheat, like host_framerate
2023-12-07 00:50:56 +03:00
Alibek Omarov
76564958d1
engine: host: hide -nativeegl for Android SDL builds
2023-11-03 14:48:28 +03:00
Alibek Omarov
5ea074a1fd
engine: fix build issues pointed by @Velaron
2023-10-31 21:01:42 +03:00
Alibek Omarov
8fb908e3d4
engine: server: disable SV_UnloadProgs, only call it when shutting down engine
2023-10-28 11:06:18 +03:00
Alibek Omarov
ce39255ef0
engine: host: set rootdir on Android SDL port
2023-10-27 14:25:16 +03:00
Alibek Omarov
6f6ddbce28
engine: add argument -timedemo that makes engine run timedemo and exit
2023-10-27 03:49:00 +03:00
mittorn
bee81e9723
engine: Make SDL_GetBasePath error not fatal
2023-10-22 20:02:14 +03:00
Alibek Omarov
7222c74000
engine: host: expose new -borderless flag in command line help
2023-10-10 14:09:05 +03:00
Alibek Omarov
214fc7e827
engine: common: move host cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
f13c285287
filesystem: verbose error printing in FS_SetCurrentDirectory, move error reporting from engine
2023-05-26 22:29:34 +03:00
Alibek Omarov
710b234493
engine: add new pretty --help output
2023-04-30 10:14:02 +03:00
Alibek Omarov
ec2951cf45
engine: add size argument to COM_Default/ReplaceExtension calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
8c7db8499f
engine: add size argument to COM_FileBase calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
8f207362a5
public: remove Q_sprintf, and patch all code that used it to use Q_snprintf instead
2023-04-26 05:20:45 +03:00
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.
2023-04-23 18:19:28 +03:00
Alibek Omarov
c24a1fafc5
engine: add missing HPAK_CheckSize/Integrity calls
2023-04-03 06:04:48 +03:00
Alibek Omarov
116a605248
engine: common: replace some obvious va uses by temp buffer and Q_snprintf or equivalent code
2023-03-13 06:08:36 +03:00
Alibek Omarov
d667845777
engine: convert Cbuf_AddText with va to Cbuf_AddTextf
2023-03-13 05:31:27 +03:00
Alibek Omarov
6b62f9c1b9
engine: convert Cvar_Get with va to Cvar_Getf
2023-03-13 05:19:32 +03:00
fgsfds
7424b29e56
engine: initial psvita build support
2023-03-11 07:09:14 +03:00
SNMetamorph
214a3cce73
engine: host: added -minidumps startup parameter for win32 platform
2023-03-11 04:28:25 +03:00
Alibek Omarov
a0edfd28b2
engine: common: host: use DEFAULT_ALLOWCONSOLE macro to set default console state
2023-02-09 05:56:11 +03:00
fgsfds
f87863b8bc
nswitch: always enable console
2023-02-05 02:18:11 +01:00
fgsfds
25a1cb8ce7
Nintendo Switch support (again)
2023-02-05 02:09:32 +01:00
Alibek Omarov
51b5d7a41d
engine: host: ensure we always have right slashes under Windows
2023-01-04 19:39:52 +03:00
Alibek Omarov
07afbd64d4
engine: common: host: force set HOST_FRAME status for dedicated as it finished initializing
2022-12-13 10:54:06 +03:00
Alibek Omarov
d50ed1c087
engine: common: host: don't prepend # to command arguments when changing game to dedicated, it wasn't used and implement anymore
2022-12-08 05:44:17 +03:00
Alibek Omarov
7d0d6b8e0d
engine: common: host: implement adaptive sleeptime, log time to first time for debug purposes
2022-12-05 03:22:07 +03:00
SNMetamorph
58465c3727
engine: common: fixed dedicated server bug
...
The problem is server wasn't executing server.cfg if map specified in startup parameters
2022-12-04 23:29:26 +03:00
Andrey Akhmichin
177ed2c603
engine: common: simplify strings operations.
2022-12-04 22:37:45 +03:00
Alibek Omarov
f377461fdf
engine: common: made a filter for a filter (lol), so it's possible to play selected games with cl_filterstuffcmd enabled
2022-11-27 04:45:03 +03:00
Alibek Omarov
64e97124c3
Merge master to ipv6
2022-11-17 19:34:46 +03:00
Alibek Omarov
17d0b19f9e
engine: use generic S_USAGE macro everywhere
2022-11-10 13:18:20 +03:00
Alibek Omarov
d13f7f06e4
engine: fix framerate being capped to 60FPS with vsync, remove vid_displayfrequency cvar. Never sleep with vsync or timedemo, for accuracy
2022-11-10 13:05:03 +03:00
Alibek Omarov
f469b56b93
engine: host: only sleep once between frames
2022-11-10 12:42:48 +03:00
Alibek Omarov
1a09d297ee
engine: minimize SetCursorType calls count
2022-10-13 14:49:48 +03:00
Alibek Omarov
5a5e72c424
engine: print current bug-compatibility level, if enabled
2022-08-17 14:44:03 +03:00
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
2022-08-15 06:00:00 +03:00
Alibek Omarov
d6dfeaeba7
engine: fix searching filesystem_stdio on mobile platforms
2022-08-06 20:16:56 +03:00
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
2022-07-28 18:56:02 +03:00
Alibek Omarov
e44718d531
engine: fix build
2022-06-13 04:17:02 +03:00
Alibek Omarov
e6a2c207de
engine: implement change game with execv in-engine. For now it enabled for all platforms, will probably disabled selectively
2022-06-13 03:42:20 +03:00
Alibek Omarov
2b8b3e1993
engine: server: new IP filter, rewritten with IPv6 in mind
2022-06-09 03:10:02 +03:00
Alibek Omarov
86a777880f
engine: common: mark AbortCurrentFrame as NORETURN, fix noreturn warnings
2022-05-29 01:58:56 +03:00