Alibek Omarov
61643585e0
engine: fix NULL ptr dereference when log file cannot be opened
3 years ago
Alibek Omarov
ffea7d9729
engine: add host_lowmemorymode cvar to indicate low memory mode level
3 years ago
Velaron
0e286f31c5
engine: client: fix DT_TIMEWINDOW_* signedness
3 years ago
Alibek Omarov
5aa6bfee85
engine: first attempts on fuzzing the engine
3 years ago
Alibek Omarov
ea5937bce0
engine: net_encode: remove naive clientdata/weapondata copy, only copy fields explicitly listed in deltalst
3 years ago
Alibek Omarov
6e4ab74694
engine: net_encode: split delta "no changes" copy into separate function
3 years ago
Alibek Omarov
1f26710bd0
engine: fix add command error messages
3 years ago
Alibek Omarov
96f35f76e1
engine: filesystem: fix creating directories with roDir
3 years ago
Alibek Omarov
fa37d153c8
engine: common: restrict alias/unalias and stuffcmds from executing by server
3 years ago
Alibek Omarov
13cf909b99
engine: filesystem: allow extras ZIPs
3 years ago
Alibek Omarov
606b5354e6
engine: filesystem: fix loading ZIP files
3 years ago
Alibek Omarov
e29dcb4125
engine: filesystem: accept ZIP files with zip extension, do not assert with NULL free in Zip_Close
3 years ago
Alibek Omarov
f9d0fba05f
wscript: remove duplicated branches diagnostic for good
3 years ago
Alibek Omarov
1ffe050205
engine: print only command name in Unknown command message, rather than a full line
3 years ago
Alibek Omarov
a2f741fe8a
engine: platform: sdl: try to fix 1.2 build
3 years ago
Alibek Omarov
01b2266b7e
engine: net_encode: minor code style fix
3 years ago
Alibek Omarov
295adcf222
engine: con_utils: don't also prepend backslash in autocompletion~
3 years ago
Alibek Omarov
210137c325
engine: increase model limit to the possible maximum without breaking the protocol
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
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
764ef93984
common: add fs_size_t typedef, for read()/write() return value
3 years ago
Alibek Omarov
d8b3ab4dcc
engine: filesystem: fix unused result warnings
3 years ago
Alibek Omarov
08e72bad35
engine: crashhandler: clean up code
3 years ago
Alibek Omarov
7e574ea42e
engine: filesystem: do not create folders for files in rodir mode
3 years ago
Alibek Omarov
0963e05716
engine: restore lumps after swapping them for blue shift maps
...
Mod_TestBmodelLumps may modify srclumps data, which is essential for
brush model loader. BlueShift maps have swapped lumps for some reason
Restoring them to default is fix for now
3 years ago
Alibek Omarov
37aa5b1e99
engine: gamma: use FBitSet
3 years ago
SNMetamorph
aa07dab8ab
engine: added feature flag ENGINE_LINEAR_GAMMA_SPACE
3 years ago
Alibek Omarov
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
3 years ago
Alibek Omarov
293482fbd5
engine: FCVAR_GLCONFIG are not readonly anymore. To make truly readonly cvar for renderer, one must apply FCVAR_READ_ONLY flag
3 years ago
Alibek Omarov
07f1f7ded1
engine: launcher: use our Q_strncpy instead of standard strncpy
3 years ago
Alibek Omarov
1cac321c00
engine: enable filtered command buffer for dedicated to pass the tests
3 years ago
Alibek Omarov
aa7bfb4819
engine: check for non-standard alloca header
3 years ago
Alibek Omarov
0c18a06946
engine: sequence: use Q_strncpy instead of standard strcpy
3 years ago
Alibek Omarov
24edcf7d9e
engine: swap lumps back after they were swapped for blue-shift maps
3 years ago
Alibek Omarov
c00e77c02e
engine: fix const qualifier discard
3 years ago
Alibek Omarov
1944f48516
engine: common: allow unlimited commands for unprivileged mode at this time to not break mods like GGM
3 years ago
Alibek Omarov
992bcd89ef
engine: add cmd and cvar tests for privileged mode
3 years ago
Alibek Omarov
508eb7ab5f
engine: restore command escaping
3 years ago
Alibek Omarov
f2a9f805b8
engine: client: redefine some cvars as filterable
3 years ago
Alibek Omarov
8599119c8d
engine: add filterable flag support for cvars and cmds
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
c96f10d40b
engine: client: restrict LOCALONLY cvars regardless of cl_filterstuffcmd value
3 years ago
Alibek Omarov
8a9231628e
engine: restrict potentially harmful or related to user settings engine cvars
3 years ago
Alibek Omarov
66d66eb835
common: define FCVAR_LOCALONLY the same bit used in GoldSource, move FCVAR_MOVEVARS into internal engine flags
3 years ago
Alibek Omarov
9a4dec64f9
engine: describe protected and privileged cvars
3 years ago
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
3 years ago
Alibek Omarov
b24c1a51d3
engine: try to mitigate outdated client.dll vulnerabilities
3 years ago
Alibek Omarov
f9d1d14848
engine: disable filtered command buffer for dedicated
3 years ago
Alibek Omarov
1a1d81de62
engine: add stuffcmd filtering, not wired to ClientCmd yet
3 years ago