[HL25] Rename extra CVAR flags and update descriptions

This commit is contained in:
Joël Troch 2024-08-28 11:07:36 +02:00
parent 6d95ec7d03
commit 392e9646c0

View file

@ -25,10 +25,10 @@
#define FCVAR_PRINTABLEONLY (1 << 7) // This cvar's string cannot contain unprintable characters ( e.g., used for player name etc ).
#define FCVAR_UNLOGGED (1 << 8) // If this is a FCVAR_SERVER, don't log changes to the log file / console if we are creating a log
#define FCVAR_NOEXTRAWHITEPACE (1 << 9) // strip trailing/leading white space from this cvar
#define FCVAR_PRIVILEGED (1 << 10) // only available in privileged mode
#define FCVAR_FILTERABLE (1 << 11) // filtered in unprivileged mode if cl_filterstuffcmd is 1
#define FCVAR_ISEXECUTED (1 << 12) // This cvar's string contains a value that will be executed as a cfg file; don't allow commands to be appended to it
#define FCVAR_ISPATH (1 << 13) // This cvar's string is a path or filename; don't allow absolute paths, escaping to another directory or backslashes
#define FCVAR_PRIVILEGED (1 << 10) // Not queryable/settable by unprivileged sources
#define FCVAR_FILTERSTUFFTEXT (1 << 11) // Not queryable/settable if unprivileged and filterstufftext is enabled
#define FCVAR_FILTERCHARS (1 << 12) // This cvar's string will be filtered for 'bad' characters (e.g. ';', '\n')
#define FCVAR_NOBADPATHS (1 << 13) // This cvar's string cannot contain file paths that are above the current directory
typedef struct cvar_s
{