Home | History | Annotate | Download | only in client

Lines Matching refs:variable

20 // cvar.c -- dynamic variable tracking
124 Con_Printf ("Cvar_Set: variable %s not found\n", var_name);
172 Adds a freestanding variable to the variable list.
175 void Cvar_RegisterVariable (cvar_t *variable)
180 if (Cvar_FindVar (variable->name))
182 Con_Printf ("Can't register variable %s, allready defined\n", variable->name);
187 if (Cmd_Exists (variable->name))
189 Con_Printf ("Cvar_RegisterVariable: %s is a command\n", variable->name);
193 // link the variable in
194 variable->next = cvar_vars;
195 cvar_vars = variable;
198 strcpy (value, variable->string);
199 variable->string = Z_Malloc (1);
202 Cvar_Set (variable->name, value);
209 Handles variable inspection and changing from the console
221 // perform a variable print or set
237 Writes lines containing "set variable value" for all variables