#define CF_PRIVATE (1<<11) // cvar should not be $ expanded or sent to the server under any circumstances (rcon_password, etc)
#define CF_MAXFLAGSVAL ((1<<12) - 1) // used to determine if flags is valid
// for internal use only!
+#define CF_REGISTERED (1<<29) // created by Cvar_RegisterVariable()
#define CF_DEFAULTSET (1<<30)
-#define CF_ALLOCATED (1<<31)
+#define CF_ALLOCATED (1<<31) // created by Cvar_Get() (console or QC)
#define CF_SHARED 3
const char *description;
xcommand_t function;
qbool qcfunc;
+ struct cmd_function_s *overridden; // the engine cmd overriden by this QC cmd, if applicable
qbool autofunc;
qbool initstate; // indicates this command existed at init
} cmd_function_t;
{
llist_t list;
cmd_state_t *source;
- double delay;
+ vec_t delay;
size_t size;
size_t length;
char *text;