295adcf222
engine: con_utils: don't also prepend backslash in autocompletion~
2022-01-04 02:31:41 +03:00
3351ecd754
console: ignore whitespace commands on history, ignore backslash
2022-01-04 02:31:07 +03:00
46fd27eb14
console: remove prepending backslashes
...
This is a leftover from Quake, where the console and chat were
in fact same entity. Because Xash splits it, there is no need
in prepending backslashes to separate commands from chat messages
2022-01-04 02:14:34 +03:00
210137c325
engine: increase model limit to the possible maximum without breaking the protocol
2022-01-03 23:07:33 +03:00
947b94d29f
engine: client: delete unused test data :)
2021-12-31 04:10:06 +03:00
f007374866
engine: client: rewrite console history
...
Fix duplicate and empty lines saved into history
Fix backup copied too early
Add tests
2021-12-31 03:49:11 +03:00
7cb06956c2
engine: platform: win32: fix compile
2021-12-28 00:16:06 +03:00
ebfa8e6ffc
engine: platform: android: fix compile
2021-12-27 03:19:50 +03:00
4f89288ccf
common: cleanup port.h
2021-12-23 19:17:11 +03:00
2df27e14a8
engine: client: make connect command available through stufftext, for future use
2021-12-23 01:25:03 +03:00
764ef93984
common: add fs_size_t typedef, for read()/write() return value
2021-12-23 01:21:33 +03:00
d8b3ab4dcc
engine: filesystem: fix unused result warnings
2021-12-22 05:03:06 +03:00
08e72bad35
engine: crashhandler: clean up code
2021-12-22 05:02:34 +03:00
7e574ea42e
engine: filesystem: do not create folders for files in rodir mode
2021-12-22 01:52:47 +03:00
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
2021-12-20 18:12:36 +03:00
ca3544d559
engine: server: don't assert for NULL player in FatPAS/PVS if we don't need it
2021-12-18 03:32:40 +03:00
37aa5b1e99
engine: gamma: use FBitSet
2021-12-08 20:28:30 +03:00
SNMetamorph
aa07dab8ab
engine: added feature flag ENGINE_LINEAR_GAMMA_SPACE
2021-12-08 20:27:02 +03:00
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
2021-12-07 09:09:45 +03:00
a777e7c80d
engine, ref: add sprite and studio cvars to shared cvars list
2021-12-06 05:17:25 +03:00
1350fd0b52
engine: ref: use right Cvar_Get function :)
2021-12-06 05:02:30 +03:00
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
2021-12-06 04:57:32 +03:00
293482fbd5
engine: FCVAR_GLCONFIG are not readonly anymore. To make truly readonly cvar for renderer, one must apply FCVAR_READ_ONLY flag
2021-12-06 03:56:18 +03:00
07f1f7ded1
engine: launcher: use our Q_strncpy instead of standard strncpy
2021-12-03 09:41:58 +03:00
1cac321c00
engine: enable filtered command buffer for dedicated to pass the tests
2021-12-03 09:41:23 +03:00
aa7bfb4819
engine: check for non-standard alloca header
2021-12-03 09:22:40 +03:00
0c18a06946
engine: sequence: use Q_strncpy instead of standard strcpy
2021-12-03 09:22:40 +03:00
24edcf7d9e
engine: swap lumps back after they were swapped for blue-shift maps
2021-11-29 16:28:42 +03:00
c00e77c02e
engine: fix const qualifier discard
2021-11-27 05:27:45 +03:00
25c0557f7f
engine: platform: sdl: fix building with SDL1.2
2021-11-27 05:26:09 +03:00
SNMetamorph
f726793711
engine: client: cl_main: fixed compilation error
2021-11-23 13:10:39 +03:00
1944f48516
engine: common: allow unlimited commands for unprivileged mode at this time to not break mods like GGM
2021-11-23 05:23:38 +03:00
992bcd89ef
engine: add cmd and cvar tests for privileged mode
2021-11-23 05:23:38 +03:00
2356bc9905
engine: client: escape keybindings and rcon commands
2021-11-23 05:23:38 +03:00
9159d406e3
engine: client: fix #673
2021-11-23 05:23:38 +03:00
508eb7ab5f
engine: restore command escaping
2021-11-23 05:23:38 +03:00
1de1852409
engine: client: fix build after merging into one ParseCvarValue function
2021-11-23 05:23:38 +03:00
664506f79e
engine: client: touch security, add unprivileged for buttons added from server, force it and client flags
2021-11-23 05:23:38 +03:00
06eb6838a9
engine: client: protect protected, privileged and server only cvars from server query
2021-11-23 05:23:38 +03:00
f2a9f805b8
engine: client: redefine some cvars as filterable
2021-11-23 05:23:38 +03:00
c6648a69ba
engine: client: protect messagemode from command injection too
2021-11-23 05:23:38 +03:00
3203d9a043
engine: client: wire Cbuf_AddFilteredText to svc_stufftext commands
2021-11-23 05:23:38 +03:00
8599119c8d
engine: add filterable flag support for cvars and cmds
2021-11-23 05:23:38 +03:00
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
2021-11-23 05:23:38 +03:00
b93938956e
engine: allow exec command with config filenames whitelist
2021-11-23 05:23:38 +03:00
c96f10d40b
engine: client: restrict LOCALONLY cvars regardless of cl_filterstuffcmd value
2021-11-23 05:23:38 +03:00
8a9231628e
engine: restrict potentially harmful or related to user settings engine cvars
2021-11-23 05:23:38 +03:00
66d66eb835
common: define FCVAR_LOCALONLY the same bit used in GoldSource, move FCVAR_MOVEVARS into internal engine flags
2021-11-23 05:23:38 +03:00
9a4dec64f9
engine: describe protected and privileged cvars
2021-11-23 05:23:38 +03:00
94dc74a37f
engine: restrict potentially harmful engine commands
2021-11-23 05:23:38 +03:00