cvar_s Struct Reference

This is a cvar defintion. Cvars can be user modified and used in our menus e.g. More...

#include <cvar.h>

Collaboration diagram for cvar_s:
Collaboration graph
[legend]

Data Fields

char * name
char * string
char * latchedString
char * defaultString
char * oldString
char * description
int flags
qboolean modified
float value
int integer
qboolean(* check )(struct cvar_s *cvar)
cvarChangeListener_tchangeListener
struct cvar_snext
struct cvar_sprev
struct cvar_shash_next

Detailed Description

This is a cvar defintion. Cvars can be user modified and used in our menus e.g.

Note:
nothing outside the Cvar_*() functions should modify these fields!

Definition at line 68 of file cvar.h.


Field Documentation

qboolean(* cvar_s::check)(struct cvar_s *cvar)

cvar check function

Referenced by Cvar_Set2(), and Cvar_SetCheckFunction().

default string set on first init - only set for CVAR_CHEAT

Definition at line 72 of file cvar.h.

Referenced by Cvar_Delete(), Cvar_FixCheatVars(), and Cvar_Get().

cvar description

Definition at line 74 of file cvar.h.

Referenced by Cvar_CompleteVariable(), Cvar_Delete(), Cvar_Get(), and Cvar_List_f().

Definition at line 83 of file cvar.h.

Referenced by Cvar_Delete(), and Cvar_FindVar().

value as integer

Definition at line 78 of file cvar.h.

Referenced by AI_CreatePlayer(), AI_FighterCalcBestAction(), AI_HideNeeded(), AI_Run(), AI_SetStats(), CL_ActorEquipmentSelect_f(), CL_ActorMouseTrace(), CL_ActorMoveMode(), CL_ActorMoveMouse(), CL_ActorSelectMouse(), CL_ActorUpdate_f(), CL_ActorVis(), CL_AddActor(), CL_AddPathing(), CL_AddTargeting(), CL_AddTargetingBox(), CL_CameraMove(), CL_CameraRoute(), CL_ChangeSkin_f(), CL_EntAppear(), CL_GameTimeStop(), CL_Init(), CL_InitAfter(), CL_LevelDown_f(), CL_LevelUp_f(), CL_LogEvent(), CL_ParseFileList(), CL_ParticleAppear(), CL_ParticleRun2(), CL_QueueHTTPDownload(), CL_SendCommand(), CL_ShowServer(), CL_TeamNum_f(), CL_ViewCalcFieldOfViewX(), CL_ViewPrecacheModels(), CL_ViewRender(), CL_ViewUpdateRenderData(), Com_DPrintf(), Com_SetGameType(), Com_vPrintf(), Con_DrawConsole(), Con_DrawNotify(), Con_LoadConsoleHistory(), Con_SaveConsoleHistory(), CP_CampaignExit(), CP_CheckLostCondition(), CP_ChooseMap(), CP_LoadXML(), CP_SaveXML(), Cvar_AssertValue(), Cvar_FixCheatVars(), Cvar_FullSet(), Cvar_Get(), Cvar_GetInteger(), Cvar_Mod_f(), Cvar_Set2(), Cvar_UpdateLatchedVars(), G_ActorSpawnIsAllowed(), G_CheckFlood(), G_CheckForceEndRound(), G_ClientBegin(), G_ClientEndRound(), G_ClientMove(), G_Damage(), G_GetStartingTeam(), G_GetTeam(), G_Init(), G_IsMoraleEnabled(), G_Morale(), G_MoraleBehaviour(), G_ReactionFireCheckExecution(), G_RunFrame(), G_Say_f(), G_SendBoundingBoxes(), G_SetTeamForPlayer(), G_SpawnEntities(), G_TestVis(), G_TraceDraw(), GAME_MP_GetTeam(), GAME_MP_StartServer_f(), GAME_SK_GetTeam(), HTTP_GetURL(), HUD_DisplayMessage(), HUD_DrawMouseCursorText(), HUD_MapDebugCursor(), HUD_Update(), HUD_UpdateCursor(), IN_EventEnqueue(), IN_Frame(), IN_JoystickMove(), IN_PrintKey(), IN_StartupJoystick(), IN_TranslateKey(), INV_UpdateObject_f(), Irc_AppendToBuffer(), Irc_Connect_f(), Irc_Proto_Enqueue(), Irc_Proto_ProcessServerMsg(), LE_AddAmbientSound(), LE_AddGrenade(), LE_AddProjectile(), LE_AddToScene(), LE_CenterView(), LE_PlayFootStepSound(), LM_AddToSceneOrder(), M_Frame(), MAP_AllMapToScreen(), MAP_AngleOfPath(), MAP_CenterOnPoint_f(), MAP_ConvertObjectPositionToGeoscapePosition(), MAP_Draw3DMarkerIfVisible(), MAP_DrawMap(), MAP_DrawMapMarkers(), MAP_DrawMapOneBase(), MAP_DrawMapOneInstallation(), MAP_DrawMapOneMission(), MAP_DrawMapOnePhalanxAircraft(), MAP_IsNationOverlayActivated(), MAP_IsRadarOverlayActivated(), MAP_IsXVIOverlayActivated(), MAP_MapClick(), MAP_MapDrawEquidistantPoints(), MAP_Scroll_f(), MAP_SelectObject_f(), MAP_SetOverlay(), MAP_StartCenter(), MAP_Zoom_f(), Master_Heartbeat(), Master_Shutdown(), MP_GetEquipment(), MP_TeamSelect_f(), MS_LoadXML(), MYgluPerspective(), NET_Connect(), NET_DatagramSocketNew(), Qcommon_Init(), R_AddLight(), R_AddSustainedLight(), R_BeginBuildingLightmaps(), R_BeginFrame(), R_BindBuffer(), R_BindColorAttachments(), R_BuildLightmap(), R_CheckErrorDebug(), R_ClearActiveLights(), R_CullBox(), R_CullEntity(), R_CullSphere(), R_CvarCheckDynamicLights(), R_CvarCheckLights(), R_CvarCheckMaxLightmap(), R_CvarPostProcess(), R_CvarPrograms(), R_Draw3DGlobe(), R_DrawBloom(), R_DrawBrushModel(), R_DrawBspNormals(), R_DrawCoronas(), R_DrawEntities(), R_DrawEntityEffects(), R_DrawFlareSurfaces(), R_DrawMaterialSurfaces(), R_DrawModelDirect(), R_DrawModelParticle(), R_DrawSurface(), R_EnableAnimation(), R_EnableBlur(), R_EnableDrawAsGlow(), R_EnableDynamicLights(), R_EnableFog(), R_EnableGlowMap(), R_EnableLighting(), R_EnableRenderbuffer(), R_EnableTexture(), R_EnableWarp(), R_EndFrame(), R_GetLevelSurfaceLists(), R_InitExtensions(), R_InitFBObjects(), R_InitGraphics(), R_InitPrograms(), R_InitWarpProgram(), R_InitWorldProgram(), R_RecursiveWorldNode(), R_RenderFrame(), R_RunThread(), R_ScreenShot(), R_SetArrayState(), R_SetMode(), R_SetupFrustum(), R_ShutdownPrograms(), R_SphereCheckGLSL(), R_SphereInit(), R_SphereShadeGLSL(), R_UploadTexture(), R_UseFramebuffer(), R_UseViewport(), R_VerifyDriver(), S_Init(), SAV_GameSave(), Schedule_Timer(), SCR_DrawCursor(), SCR_TouchPics(), SCR_UpdateScreen(), SEQ_Render3D(), SEQ_SetCamera(), SP_2x2_start(), SP_alien_start(), SP_civilian_start(), SP_human_start(), SP_player_start(), SP_worldspawn(), SV_AddMapTiles(), SV_AssembleMap(), SV_BroadcastPrintf(), SV_CalcRating(), SV_CheckGameStart(), SV_FilterPacket(), SV_Frame(), SV_GetNextClient(), SV_Init(), SV_InitGame(), SV_InitGameProgs(), SV_ParallelSearch(), SV_ParseAssembly(), SV_SetMaster_f(), SV_Start(), SVC_Info(), SVCmd_WriteIP_f(), Sys_SetAffinityAndPriority(), testMassAssemblyParallel(), testMassAssemblySequential(), testMassAssemblyTimeout(), tick_timer(), UFO_AddRandomMapAssemblyTests(), UI_ContainerNodeAutoPlace(), UI_DebugMode(), UI_Draw(), UI_MapNodeMouseDown(), UI_MapNodeZoom(), UI_PlaySound(), UI_RadarNodeDraw(), UI_RadarNodeGetActorColor(), UP_Article(), and VID_GetModeInfo().

for CVAR_LATCH vars

Definition at line 71 of file cvar.h.

Referenced by Cvar_Delete(), Cvar_Set2(), and Cvar_UpdateLatchedVars().

char* cvar_s::name

Definition at line 82 of file cvar.h.

Referenced by Cvar_Delete(), Cvar_Get(), and UI_InsertTimerInActiveList().

value as string

Definition at line 70 of file cvar.h.

Referenced by B_BuildBase_f(), B_SetUpFirstBase(), CheckNeedPass(), CL_HudRadarDown_f(), CL_HudRadarUp_f(), CL_Init(), CL_LanguageInit(), CL_LanguageTest(), CL_ParseResearchableCampaignStates(), CL_ParseResearchedCampaignItems(), CL_QueryMasterServerThread(), CL_Rcon_f(), CL_Reset(), CL_SequenceStart_f(), CL_SlowFrame(), CL_StartHTTPDownload(), Com_SetGameType(), Cvar_AssertString(), Cvar_BitInfo(), Cvar_Command(), Cvar_CompleteVariable(), Cvar_Delete(), Cvar_ExecuteChangeListener(), Cvar_FixCheatVars(), Cvar_FullSet(), Cvar_Get(), Cvar_GetString(), Cvar_GetValue(), Cvar_List_f(), Cvar_Set2(), Cvar_UpdateLatchedVars(), Cvar_WriteVariables(), G_ClientConnect(), GAME_CP_Spawn(), GAME_CP_Start_f(), GAME_MP_ChangeGametype_f(), GAME_MP_MapInfo(), GAME_StartBattlescape(), HTTP_GetURL(), HUD_DisplayMessage(), Irc_Client_CmdKick(), Irc_Client_CmdNick(), Irc_Client_CmdPrivmsg(), Irc_Client_Invite_f(), Irc_Client_Msg_f(), Irc_Connect_f(), Irc_Input_Activate_f(), Irc_Logic_Connect(), Irc_Logic_Frame(), Irc_Proto_ProcessServerMsg(), Irc_UserClick_f(), M_Change_f(), M_Frame(), Master_HeartbeatThread(), Master_Shutdown(), R_BeginFrame(), R_ScreenShot(), Rcon_Validate(), Rimp_Init(), SAV_GameContinue_f(), SAV_GameLoad_f(), SP_worldspawn(), SV_GetCvarToken(), SV_InitGame(), SV_SetMaster_f(), SVC_DirectConnect(), SVC_Info(), UI_GenInjectedString(), UI_GetActiveRenderRect(), UI_GetStringFromExpression(), UI_PopWindow(), UI_TextEntryFocusGained(), and UI_TextEntryNodeEdit().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2