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
7cb06956c2
engine: platform: win32: fix compile
3 years ago
Alibek Omarov
ebfa8e6ffc
engine: platform: android: fix compile
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
2df27e14a8
engine: client: make connect command available through stufftext, for future use
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
ca3544d559
engine: server: don't assert for NULL player in FatPAS/PVS if we don't need it
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
a777e7c80d
engine, ref: add sprite and studio cvars to shared cvars list
3 years ago
Alibek Omarov
1350fd0b52
engine: ref: use right Cvar_Get function :)
3 years ago
Alibek Omarov
d7db48ce4b
engine, ref: create shared cvars list, register them at engine side, make a generic macro to declare, define and get all pointers at ref side
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
25c0557f7f
engine: platform: sdl: fix building with SDL1.2
3 years ago
SNMetamorph
f726793711
engine: client: cl_main: fixed compilation error
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
2356bc9905
engine: client: escape keybindings and rcon commands
3 years ago
Alibek Omarov
9159d406e3
engine: client: fix #673
3 years ago
Alibek Omarov
508eb7ab5f
engine: restore command escaping
3 years ago
Alibek Omarov
1de1852409
engine: client: fix build after merging into one ParseCvarValue function
3 years ago
Alibek Omarov
664506f79e
engine: client: touch security, add unprivileged for buttons added from server, force it and client flags
3 years ago
Alibek Omarov
06eb6838a9
engine: client: protect protected, privileged and server only cvars from server query
3 years ago
Alibek Omarov
f2a9f805b8
engine: client: redefine some cvars as filterable
3 years ago
Alibek Omarov
c6648a69ba
engine: client: protect messagemode from command injection too
3 years ago
Alibek Omarov
3203d9a043
engine: client: wire Cbuf_AddFilteredText to svc_stufftext commands
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
c79a649d97
engine: client: implement pfnFilteredClientCmd
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
SNMetamorph
c366e25a10
ref_gl: cvar gl_wgl_msaa_samples renamed to gl_msaa_samples
3 years ago