X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=cmd.h;h=c80fdf9078307f31f2f0afe5f9715af6fad25170;hb=b99206803156d4bdfe4ce0c83a2db8f9486e09d4;hp=58c8a742067520430f77872f1dc0993e4ac53c72;hpb=775c0f6d056c37d2e23f9a96ec827023fe5e3404;p=xonotic%2Fdarkplaces.git diff --git a/cmd.h b/cmd.h index 58c8a742..c80fdf90 100644 --- a/cmd.h +++ b/cmd.h @@ -57,7 +57,7 @@ struct cmd_state_s; #define CF_USERINFO (1<<9) // command or cvar used to communicate userinfo to the server #define CF_PERSISTENT (1<<10) // cvar must not be reset on gametype switch (such as scr_screenshot_name, which otherwise isn't set to the mod name properly) #define CF_PRIVATE (1<<11) // cvar should not be $ expanded or sent to the server under any circumstances (rcon_password, etc) -#define CF_MAXFLAGSVAL 4095 // used to determine if flags is valid +#define CF_MAXFLAGSVAL ((1<<12) - 1) // used to determine if flags is valid // for internal use only! #define CF_DEFAULTSET (1<<30) #define CF_ALLOCATED (1<<31) @@ -278,5 +278,7 @@ qbool Cmd_QuoteString(char *out, size_t outlen, const char *in, const char *quot void Cmd_ClearCSQCCommands (cmd_state_t *cmd); +void Cmd_NoOperation_f(cmd_state_t *cmd); + #endif