210void Cmd_AddMacro(
char *
s,
char *(*f)(
void),
int disputableintentions);
211#define Cmd_AddMacroD(s,f,unsafe,desc) Cmd_AddMacro(s,f,unsafe)
223#define RESTRICT_MAX_TOTAL 31
224#define RESTRICT_MAX_USER 29
225#define RESTRICT_DEFAULT 20
226#define RESTRICT_MIN 1
227#define RESTRICT_TEAMPLAY 0
229#define RESTRICT_MAX RESTRICT_MAX_USER
231#define RESTRICT_LOCAL (RESTRICT_MAX)
232#define RESTRICT_INSECURE (RESTRICT_MAX+1)
233#define RESTRICT_SERVER (RESTRICT_MAX+2)
234#define RESTRICT_SERVERSEAT(x) (RESTRICT_SERVER+x)
235#define RESTRICT_RCON rcon_level.ival
238#define Cmd_FromGamecode() (Cmd_ExecLevel>=RESTRICT_SERVER)
239#define Cmd_IsInsecure() (Cmd_ExecLevel>=RESTRICT_INSECURE)
void(QDECL *vgui_frame)(void)
qboolean Cmd_Exists(const char *cmd_name)
Definition: cmd.c:2322
char *VARGS Cmd_Args(void)
Definition: cmd.c:1596
void Cmd_MessageTrigger(char *message, int type)
void Cmd_Args_Set(const char *newargs, size_t len)
Definition: cmd.c:1603
qboolean Cmd_AddCommandD(const char *cmd_name, xcommand_t function, const char *description)
Definition: cmd.c:2126
int Cmd_ExecLevel
Definition: cmd.c:36
char * Cmd_CompleteCommand(const char *partial, qboolean fullonly, qboolean caseinsens, int matchnum, const char **descptr)
Definition: cmd.c:2642
char * Cmd_ParseMultiline(qboolean checkheader)
Definition: cmd.c:1106
void Cmd_AddMacro(char *s, char *(*f)(void), int disputableintentions)
Definition: cmd.c:95
void Cmd_TokenizePunctation(char *text, char *punctuation)
Definition: cmd.c:2025
void Cmd_ExecuteString(const char *text, int restrictionlevel)
Definition: cmd.c:2959
char * Cbuf_GetNext(int level, qboolean ignoresemicolon)
Definition: cmd.c:392
void Cbuf_ExecuteLevel(int level)
Definition: cmd.c:458
void Cbuf_Execute(void)
Definition: cmd.c:554
cvar_t cmd_gamecodelevel
Definition: sv_user.c:84
void(* xcommand_t)(void)
Definition: cmd.h:133
int Cmd_CheckParm(const char *parm)
Definition: cmd.c:3129
qboolean Cmd_AddCommand(const char *cmd_name, xcommand_t function)
Definition: cmd.c:2130
int VARGS Cmd_Argc(void)
Definition: cmd.c:1571
void Alias_WipeStuffedAliases(void)
Definition: cmd.c:1513
void Cmd_Init(void)
Definition: cmd.c:4427
cmd_completion_t * Cmd_Complete(const char *partial, qboolean caseinsens)
Definition: cmd.c:2521
void Cmd_EnumerateLevel(int level, char *buf, size_t bufsize)
Definition: cmd.c:2266
void Cbuf_InsertText(const char *text, int level, qboolean addnl)
Definition: cmd.c:356
qboolean Cmd_FilterMessage(char *message, qboolean sameteam)
void Cbuf_Waited(void)
Definition: cmd.c:190
void Cmd_RemoveCommand(const char *cmd_name)
Definition: cmd.c:2135
cvar_t rcon_level
Definition: cmd.c:27
qboolean Cmd_IsCommand(const char *line)
Definition: keys.c:421
void Cbuf_AddText(const char *text, int level)
Definition: cmd.c:304
void Cmd_StuffCmds(void)
Definition: cmd.c:591
char * Cmd_AliasExist(const char *name, int restrictionlevel)
Definition: cmd.c:1380
void Cmd_ShiftArgs(int ammount, qboolean expandstring)
Definition: cmd.c:1629
const char * Cmd_TokenizeString(const char *text, qboolean expandmacros, qboolean qctokenize)
Definition: cmd.c:1968
void Cmd_AddTimer(float delay, void(*callback)(int iarg, void *data), int iarg, void *data, size_t datasize)
Definition: cmd.c:246
void Cbuf_Init(void)
Definition: cmd.c:285
void(* xcommandargcompletion_t)(int argn, const char *partial, struct xcommandargcompletioncb_s *ctx)
Definition: cmd.h:140
const char * Cmd_Describe(const char *cmd_name)
Definition: cmd.c:2340
void Cmd_ForwardToServer(void)
Definition: cmd.c:2777
void Cmd_RemoveCommands(xcommand_t function)
Definition: cmd.c:2157
int Cmd_Level(const char *name)
Definition: cmd.c:2296
char *VARGS Cmd_Argv(int arg)
Definition: cmd.c:1581
cvar_t cmd_allowaccess
Definition: cmd.h:198
qboolean cmd_blockwait
Definition: cmd.c:38
char * Cmd_ExpandString(const char *data, char *dest, int destlen, int *accesslevel, qboolean expandargs, qboolean expandcvars, qboolean expandmacros)
Definition: cmd.c:1787
qboolean Cmd_AddCommandAD(const char *cmd_name, xcommand_t function, xcommandargcompletion_t argcomplete, const char *description)
Definition: cmd.c:2085
void Cmd_Shutdown(void)
Definition: cmd.c:4305
qboolean If_EvaluateBoolean(const char *text, int restriction)
Definition: cmd.c:3544
void dNearCallback * callback
Definition: com_phys_ode.c:655
int num
Definition: com_phys_ode.c:314
char * text
Definition: decomp.c:375
s
Definition: execloop.h:53
GLenum GLuint GLenum GLsizei const GLchar * message
Definition: gl_vidcommon.c:351
GLint level
Definition: gl_vidcommon.c:42
GLsizei bufsize
Definition: gl_vidcommon.c:312
static EGLSurface EGLSurface EGLContext ctx
Definition: gl_videgl.c:47
GLint GLenum type
Definition: glquake.h:157
GLuint GLcharARB * name
Definition: glquake.h:155
GLenum GLsizei len
Definition: glsupp.h:502
const char * desc
Definition: m_options.c:1101
char ** data
Definition: p_script.c:63
static LPCSTR LPCSTR LPVOID parm
Definition: snd_directx.c:1076
qboolean text_alloced
Definition: cmd.h:173
qboolean desc_alloced
Definition: cmd.h:174
const char * desc
Definition: cmd.h:177
const char * repl
Definition: cmd.h:176
const char * text
Definition: cmd.h:175
char * guessed
Definition: cmd.h:168
size_t extra
Definition: cmd.h:171
char * partial
Definition: cmd.h:169
qboolean caseinsens
Definition: cmd.h:170
void(* cb)(const char *arg, const char *desc, const char *repl, struct xcommandargcompletioncb_s *ctx)
Definition: cmd.h:137
static enum mysql_option option const char * arg
Definition: sv_sql.c:28
unsigned char buf[KBRINGSIZE]
Definition: sys_dos.c:27