#include "qcommon.h"
Go to the source code of this file.
Functions | |
static qboolean | Cvar_InfoValidate (char *s) |
static cvar_t * | Cvar_FindVar (char *var_name) |
float | Cvar_VariableValue (char *var_name) |
char * | Cvar_VariableString (char *var_name) |
char * | Cvar_CompleteVariable (char *partial) |
cvar_t * | Cvar_Get (char *var_name, char *var_value, int flags) |
cvar_t * | Cvar_Set2 (char *var_name, char *value, qboolean force) |
cvar_t * | Cvar_ForceSet (char *var_name, char *value) |
cvar_t * | Cvar_Set (char *var_name, char *value) |
cvar_t * | Cvar_FullSet (char *var_name, char *value, int flags) |
void | Cvar_SetValue (char *var_name, float value) |
void | Cvar_GetLatchedVars (void) |
qboolean | Cvar_Command (void) |
void | Cvar_Set_f (void) |
void | Cvar_WriteVariables (char *path) |
void | Cvar_List_f (void) |
char * | Cvar_BitInfo (int bit) |
char * | Cvar_Userinfo (void) |
char * | Cvar_Serverinfo (void) |
void | Cvar_Init (void) |
Variables | |
cvar_t * | cvar_vars |
qboolean | userinfo_modified |
char* Cvar_BitInfo | ( | int | bit | ) |
char* Cvar_CompleteVariable | ( | char * | partial | ) |
|
static |
Definition at line 47 of file cvar.c.
Referenced by Cvar_Command(), Cvar_FullSet(), Cvar_Get(), Cvar_Set2(), Cvar_VariableString(), and Cvar_VariableValue().
cvar_t* Cvar_ForceSet | ( | char * | var_name, |
char * | value | ||
) |
Definition at line 268 of file cvar.c.
Referenced by EasyGameFunc(), HardGameFunc(), MediumGameFunc(), SV_InitGameProgs(), and SV_ReadServerFile().
Definition at line 288 of file cvar.c.
Referenced by Cvar_Set_f(), FS_SetGamedir(), SV_InitGame(), and SV_SpawnServer().
Definition at line 127 of file cvar.c.
Referenced by AddressBook_MenuInit(), CDAudio_RandomPlay(), CL_FixCvarCheats(), CL_InitInput(), CL_InitLocal(), CL_PingServers_f(), CM_LoadMap(), Con_Init(), Cvar_FullSet(), Cvar_Set2(), FS_InitFilesystem(), IN_Init(), IN_StartupJoystick(), IN_StartupMouse(), NET_Init(), NET_OpenIP(), NET_OpenIPX(), Netchan_Init(), Options_MenuInit(), PlayerConfig_MenuInit(), Qcommon_Init(), S_Init(), SCR_Init(), SNDDMA_Init(), SV_Init(), SV_InitGameProgs(), V_Init(), VID_Init(), VID_LoadRefresh(), and VID_MenuInit().
|
static |
char* Cvar_Serverinfo | ( | void | ) |
Definition at line 510 of file cvar.c.
Referenced by SV_Serverinfo_f(), SV_ShowServerinfo_f(), and SV_StatusString().
cvar_t* Cvar_Set | ( | char * | var_name, |
char * | value | ||
) |
Definition at line 278 of file cvar.c.
Referenced by AddressBook_MenuKey(), ApplyChanges(), CL_FixCvarCheats(), CL_FixUpGender(), CL_ParseServerData(), Con_ToggleConsole_f(), Cvar_Command(), Cvar_Set_f(), Cvar_SetValue(), M_ForceMenuOff(), M_PushMenu(), PlayerConfig_MenuKey(), SCR_CalcVrect(), StartServerActionFunc(), SV_InitGameProgs(), SV_Map(), SV_Nextserver(), SV_SetMaster_f(), SV_SpawnServer(), VID_CheckChanges(), and VID_LoadRefresh().
void Cvar_SetValue | ( | char * | var_name, |
float | value | ||
) |
Definition at line 317 of file cvar.c.
Referenced by AlwaysRunFunc(), ApplyChanges(), BrightnessCallback(), CDShuffleFunc(), CL_Pause_f(), ControlsSetMenuItemValues(), CrosshairFunc(), DMFlagCallback(), DownloadCallback(), FreeLookFunc(), HandednessCallback(), InvertMouseFunc(), JoystickFunc(), LookspringFunc(), LookstrafeFunc(), MainWndProc(), MouseSpeedFunc(), PlayerConfig_MenuInit(), RateCallback(), SCR_DrawCrosshair(), SCR_PlayCinematic(), SCR_SizeDown_f(), SCR_SizeUp_f(), SCR_UpdateScreen(), ScreenSizeCallback(), StartGame(), StartServerActionFunc(), UpdateCDVolumeFunc(), UpdateSoundQualityFunc(), UpdateVolumeFunc(), VID_Init(), and VID_LoadRefresh().
char* Cvar_Userinfo | ( | void | ) |
Definition at line 504 of file cvar.c.
Referenced by CL_SendCmd(), CL_SendConnectPacket(), and CL_Userinfo_f().
char* Cvar_VariableString | ( | char * | var_name | ) |
Definition at line 79 of file cvar.c.
Referenced by CL_PingServers_f(), Cmd_AddCommand(), Cmd_MacroExpandString(), StartServer_MenuInit(), SV_New_f(), SV_Nextserver(), and SV_ServerRecord_f().
float Cvar_VariableValue | ( | char * | var_name | ) |
Definition at line 63 of file cvar.c.
Referenced by CDAudio_Play2(), CL_Pause_f(), CL_PrepRefresh(), CL_SendConnectPacket(), CM_LoadMap(), Con_ToggleConsole_f(), ControlsSetMenuItemValues(), DMFlagCallback(), DMOptions_MenuInit(), DownloadOptions_MenuInit(), IN_Frame(), M_PushMenu(), NET_OpenIP(), NET_OpenIPX(), Options_MenuInit(), PlayerConfig_MenuInit(), SCR_PlayCinematic(), StartServer_MenuInit(), SV_CheckForSavegame(), SV_InitGame(), SV_Map(), SV_Nextserver(), SV_Savegame_f(), and SV_SpawnServer().
void Cvar_WriteVariables | ( | char * | path | ) |
cvar_t* cvar_vars |
Definition at line 24 of file cvar.c.
Referenced by Cvar_BitInfo(), Cvar_CompleteVariable(), Cvar_FindVar(), Cvar_Get(), Cvar_GetLatchedVars(), Cvar_List_f(), Cvar_WriteVariables(), and SV_WriteServerFile().
qboolean userinfo_modified |
Definition at line 485 of file cvar.c.
Referenced by CL_SendCmd(), CL_SendConnectPacket(), Cvar_FullSet(), and Cvar_Set2().