icculus quake2 doxygen
1.0 dev
|
|
Go to the documentation of this file.
52 if (!strcmp (var_name, var->
name))
100 len = strlen(partial);
107 if (!strcmp (partial,cvar->
name))
112 if (!strncmp (partial,cvar->
name, len))
202 Com_Printf (
"%s is write protected.\n", var_name);
222 Com_Printf (
"%s will be changed for next game.\n", var_name);
229 if (!strcmp(var->
name,
"game"))
348 if (!strcmp(var->
name,
"game"))
397 if (c != 3 && c != 4)
399 Com_Printf (
"usage: set <variable> <value> [u / s]\n");
411 Com_Printf (
"flags can only be 'u' or 's'\n");
435 f = fopen (path,
"a");
441 fprintf (f,
"%s",
buffer);
497 if (var->
flags & bit)
qboolean Cvar_Command(void)
void FS_SetGamedir(char *dir)
char * Cvar_Userinfo(void)
void Cvar_WriteVariables(char *path)
char * CopyString(char *in)
cvar_t * Cvar_Get(char *var_name, char *var_value, int flags)
char * Cvar_BitInfo(int bit)
cvar_t * Cvar_ForceSet(char *var_name, char *value)
qboolean userinfo_modified
cvar_t * Cvar_FullSet(char *var_name, char *value, int flags)
void FS_ExecAutoexec(void)
void Cmd_AddCommand(char *cmd_name, xcommand_t function)
cvar_t * Cvar_Set2(char *var_name, char *value, qboolean force)
void Cvar_SetValue(char *var_name, float value)
char * Cvar_CompleteVariable(char *partial)
void * Z_Malloc(int size)
void Info_SetValueForKey(char *s, char *key, char *value)
static cvar_t * Cvar_FindVar(char *var_name)
int Com_ServerState(void)
static qboolean Cvar_InfoValidate(char *s)
void Cvar_GetLatchedVars(void)
cvar_t * Cvar_Set(char *var_name, char *value)
void Com_Printf(char *fmt,...)
char * Cvar_VariableString(char *var_name)
char * Cvar_Serverinfo(void)
void Com_sprintf(char *dest, int size, char *fmt,...)
float Cvar_VariableValue(char *var_name)