This is a cvar defintion. Cvars can be user modified and used in our menus e.g. More...
#include <cvar.h>
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_t * | changeListener |
struct cvar_s * | next |
struct cvar_s * | prev |
struct cvar_s * | hash_next |
This is a cvar defintion. Cvars can be user modified and used in our menus e.g.
Definition at line 68 of file cvar.h.
Definition at line 80 of file cvar.h.
Referenced by Cvar_Delete(), Cvar_ExecuteChangeListener(), Cvar_RegisterChangeListener(), and Cvar_UnRegisterChangeListener().
qboolean(* cvar_s::check)(struct cvar_s *cvar) |
cvar check function
Referenced by Cvar_Set2(), and Cvar_SetCheckFunction().
char* cvar_s::defaultString |
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().
char* cvar_s::description |
cvar description
Definition at line 74 of file cvar.h.
Referenced by Cvar_CompleteVariable(), Cvar_Delete(), Cvar_Get(), and Cvar_List_f().
int cvar_s::flags |
cvar flags CVAR_ARCHIVE|CVAR_NOSET....
Definition at line 75 of file cvar.h.
Referenced by Cvar_BitInfo(), Cvar_ClearVars(), Cvar_CompleteVariable(), Cvar_Delete(), Cvar_FixCheatVars(), Cvar_FullSet(), Cvar_Get(), Cvar_List_f(), Cvar_PendingCvars(), Cvar_Set2(), Cvar_WriteVariables(), SV_InitGame(), SV_Shutdown(), and UI_CheckCvar().
struct cvar_s* cvar_s::hash_next |
Definition at line 83 of file cvar.h.
Referenced by Cvar_Delete(), and Cvar_FindVar().
int cvar_s::integer |
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().
char* cvar_s::latchedString |
for CVAR_LATCH vars
Definition at line 71 of file cvar.h.
Referenced by Cvar_Delete(), Cvar_Set2(), and Cvar_UpdateLatchedVars().
set each time the cvar is changed
Definition at line 76 of file cvar.h.
Referenced by CheckNeedPass(), CL_Frame(), CL_LanguageTryToSet(), CL_SlowFrame(), CL_StartGame(), CL_TeamNum_f(), Cvar_ClearVars(), Cvar_FullSet(), Cvar_Get(), Cvar_List_f(), Cvar_PendingCvars(), Cvar_Set2(), G_Init(), G_RunFrame(), HUD_InitStartup(), HUD_Update(), IN_Frame(), IN_JoystickMove(), IN_StartupJoystick(), Irc_Init(), Irc_Input_Deactivate_f(), Irc_Logic_Frame(), M_Frame(), M_Init(), Qcommon_Init(), R_BeginFrame(), R_EndFrame(), R_InitExtensions(), R_InitGraphics(), R_InitPrograms(), R_RegisterSystemVars(), R_SetArrayState(), R_VerifyDriver(), S_Frame(), S_Init(), SCR_DrawCursor(), SV_Frame(), SV_Init(), SV_NextMapcycle(), Sys_SetAffinityAndPriority(), and UI_CheckCvar().
char* cvar_s::name |
cvar name
Definition at line 69 of file cvar.h.
Referenced by Cvar_AssertString(), Cvar_AssertValue(), Cvar_BitInfo(), Cvar_Command(), Cvar_CompleteVariable(), Cvar_Delete(), Cvar_ExecuteChangeListener(), Cvar_FindVar(), Cvar_FixCheatVars(), Cvar_Get(), Cvar_List_f(), Cvar_WriteVariables(), R_CvarCheckDynamicLights(), R_CvarCheckMaxLightmap(), R_CvarPostProcess(), R_CvarPrograms(), SV_GetCvarToken(), tick_timer(), UI_SetCvar(), UI_TextEntryNodeAbortEdition(), and UI_TextEntryNodeEdit().
struct cvar_s* cvar_s::next |
Definition at line 81 of file cvar.h.
Referenced by Cvar_BitInfo(), Cvar_ClearVars(), Cvar_CompleteVariable(), Cvar_Delete(), Cvar_FixCheatVars(), Cvar_Get(), Cvar_List_f(), Cvar_PendingCvars(), Cvar_UpdateLatchedVars(), and Cvar_WriteVariables().
char* cvar_s::oldString |
value of the cvar before we changed it
Definition at line 73 of file cvar.h.
Referenced by Cvar_AssertString(), Cvar_Delete(), Cvar_ExecuteChangeListener(), Cvar_FixCheatVars(), Cvar_FullSet(), Cvar_Get(), Cvar_Set2(), Cvar_SetOld_f(), Cvar_UpdateLatchedVars(), and Cvar_VariableStringOld().
struct cvar_s* cvar_s::prev |
Definition at line 82 of file cvar.h.
Referenced by Cvar_Delete(), Cvar_Get(), and UI_InsertTimerInActiveList().
char* cvar_s::string |
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().
float cvar_s::value |
value as float
Definition at line 77 of file cvar.h.
Referenced by CL_CameraMove(), CL_CameraZoomIn(), CL_CameraZoomOut(), CL_CamSetZoom_f(), CL_ViewCalcFieldOfViewX(), Cvar_Add_f(), Cvar_AssertValue(), Cvar_FixCheatVars(), Cvar_FullSet(), Cvar_Get(), Cvar_Set2(), Cvar_UpdateLatchedVars(), G_CheckFlood(), G_ClientMove(), G_Morale(), G_MoraleBehaviour(), G_MoraleStopPanic(), G_MoraleStopRage(), G_ReactionFireIsPossible(), G_ShootSingle(), IN_JoystickMove(), Irc_Proto_Connect(), Irc_Proto_DrainBucket(), Irc_Proto_RefillBucket(), MAP_DrawMap(), MAP_Zoom_f(), R_AddCorona(), R_ArraysMask(), R_DrawFlareSurfaces(), R_EnableBumpmap(), R_EndFrame(), R_FilterTexture(), R_ResetArrayState(), R_SetSurfaceBumpMappingParameters(), R_SetVertexArrayState(), R_SetVertexBufferState(), R_SphereInit(), R_UploadTexture(), R_UseMaterial(), S_PlaySample(), S_SpatializeChannel(), SCR_RunConsole(), UI_GetFloatFromExpression(), UI_GetFloatFromNodeProperty(), UI_MapNodeCapturedMouseMove(), and UI_MapNodeZoom().