Alibek Omarov
95b48da37d
engine: allow to change hardcoded path to custom.hpk
2024-06-15 17:22:26 +03:00
Alibek Omarov
8bc76e3d58
engine: host: do not specifically check timedemo or vsync in Host_CalcSleep, because it's already has been checked in Host_CalcFPS
2024-06-15 13:57:12 +03:00
Alibek Omarov
3434005e66
engine: common: make Host_IsLocalGame and Host_IsLocalClient inlined
2024-06-13 01:20:14 +03:00
Alibek Omarov
240b6fb6f2
engine: fix possible unprivileged config execute with fake extension
2024-06-12 11:16:31 +03:00
Alibek Omarov
4163d3655a
engine: reformat and reorder host_parm_s struct, remove now unused host.daemonize and host.enabledll
2024-06-12 11:16:26 +03:00
Alibek Omarov
2c7bf49fc9
engine: host: avoid some of unnecessary double-to-float conversions
2024-06-12 10:20:09 +03:00
Alibek Omarov
739592e50d
engine: host: refactoring, reduce usage of global variables a bit
2024-06-12 10:20:09 +03:00
Alibek Omarov
393e31e509
engine: move finding root/readonly directory to FS initialization, remove unused host.rodir, host.rootidr
2024-06-12 10:20:09 +03:00
Alibek Omarov
4e2708c1ac
engine: bring back texture replacement
2024-06-11 06:16:26 +03:00
Alibek Omarov
a6c2cfe89b
engine: avoid constants in Q_strncpy third argument, where possible
2024-05-06 14:27:26 +03:00
Alibek Omarov
94d3eff9ce
engine: host: fix build with Q_strchrnul returning const char *
2024-05-03 15:31:20 +03:00
Alibek Omarov
31c0934108
engine: fix parsing -bugcomp flags, assume bugcomp flags only starts with alphabetic character
2024-05-03 06:28:48 +03:00
Alibek Omarov
dd410a2de5
engine: implement small Message Rewrite Facitility that allows to run mods that directly write internal GoldSrc messages
2024-04-28 06:59:18 +03:00
Alibek Omarov
ea34bc8652
engine: turn bugcomp into flags that can be enabled/disabled separately
2024-04-21 16:52:15 +03:00
Alibek Omarov
ca3b4a9d7f
engine: host: oops
2024-04-18 16:48:41 +03:00
Alibek Omarov
213650db8f
engine: exit with non-zero return code if engine tests are failed
2024-04-18 16:36:18 +03:00
Alibek Omarov
2640b6d869
engine: host: remove misleading message about TAB-autocompletion in dedicated mode
2024-03-19 21:24:21 +03:00
Alibek Omarov
049bed555e
engine: host: fit -help into 80 columns terminal
2024-03-19 21:13:28 +03:00
SNMetamorph
7d7e72196b
engine: host: enabled printing current developer level
2024-03-19 19:31:54 +03:00
Alibek Omarov
132c9de142
engine: host: add the most important command line flag help string
2024-02-05 15:28:18 +03:00
Alibek Omarov
b5f02324a6
engine: add basic sounds.lst implementation
2024-02-05 12:49:27 +03:00
Alibek Omarov
2b6a550405
engine: clean up common.h header from unused function prototypes, or move them to appropriate header or C file
2024-01-28 10:00:17 +03:00
Alibek Omarov
75d476f9df
engine: fix -Wmissing-prototypes
2024-01-28 09:55:18 +03:00
Alibek Omarov
dca862a838
engine: host: execute valid rc script if game was started from -game parameter using default launcher
2024-01-14 10:58:27 +03:00
Alibek Omarov
9551240680
engine: host: fix -Werror=parentheses
2024-01-05 02:35:16 +03:00
Alibek Omarov
6605d0456c
engine: host: force ENGINE_STEP_POSHISTORY_LERP for Counter-Strike and Condition Zero
2024-01-05 02:27:37 +03:00
Alibek Omarov
99e8f7b486
engine: host: fix warning about incompatible features bits
2024-01-05 02:26:25 +03:00
Alibek Omarov
f2584dcb9d
engine: host: better engine features print
2024-01-04 05:31:01 +03:00
Alibek Omarov
ce73838f1b
engine: add a function that validates requested features bits
2024-01-04 05:30:18 +03:00
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