|
|
|
@ -26,13 +26,17 @@
@@ -26,13 +26,17 @@
|
|
|
|
|
#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_LATCH (1<<11) // notify client what this cvar will be applied only after server restart (but don't does more nothing)
|
|
|
|
|
// Xash3D extensions
|
|
|
|
|
#define FCVAR_GLCONFIG (1<<12) // write it into <renderer>.cfg(see RefAPI)
|
|
|
|
|
#define FCVAR_CHANGED (1<<13) // set each time the cvar is changed
|
|
|
|
|
#define FCVAR_GAMEUIDLL (1<<14) // defined by the menu DLL
|
|
|
|
|
#define FCVAR_CHEAT (1<<15) // can not be changed if cheats are disabled
|
|
|
|
|
|
|
|
|
|
// a1ba: let's reuse higher bits for flags extensions from now on
|
|
|
|
|
#define FCVAR_LATCH (1<<30) // notify client what this cvar will be applied only after server restart (but don't does more nothing)
|
|
|
|
|
|
|
|
|
|
typedef struct cvar_s |
|
|
|
|
{ |
|
|
|
|
char *name; |
|
|
|
|