Xonotic
|
Go to the source code of this file.
Definition at line 841 of file util.qc.
References cmd(), cvar_string(), GAME_CONNECTED, GAME_ISSERVER, gamestatus, and LOG_INFOF.
Referenced by saveCvarsMulti(), XonoticCheckBox_saveCvars(), XonoticCheckBoxString_saveCvars(), XonoticInputBox_saveCvars(), XonoticSlider_saveCvars(), and XonoticTextSlider_saveCvars().
Definition at line 277 of file util.qc.
References setZonedTooltip(), and string_null.
Referenced by XonoticGametypeList_focusedItemChangeNotify(), XonoticRegisteredSettingsList_getTooltip_cb(), XonoticServerList_focusedItemChangeNotify(), and XonoticServerList_mouseMove().
Definition at line 764 of file util.qc.
References entity(), makeXonoticCheckBox(), strcat(), and strzone().
Referenced by XonoticHUDAmmoDialog_fill(), XonoticHUDCenterprintDialog_fill(), XonoticHUDChatDialog_fill(), XonoticHUDEngineInfoDialog_fill(), XonoticHUDHealthArmorDialog_fill(), XonoticHUDInfoMessagesDialog_fill(), XonoticHUDModIconsDialog_fill(), XonoticHUDNotificationDialog_fill(), XonoticHUDPowerupsDialog_fill(), XonoticHUDRaceTimerDialog_fill(), XonoticHUDScoreDialog_fill(), XonoticHUDTimerDialog_fill(), XonoticHUDVoteDialog_fill(), and XonoticHUDWeaponsDialog_fill().
Definition at line 773 of file util.qc.
References entity(), and makeXonoticTextLabel().
Referenced by XonoticHUDAmmoDialog_fill(), XonoticHUDCenterprintDialog_fill(), XonoticHUDChatDialog_fill(), XonoticHUDEngineInfoDialog_fill(), XonoticHUDHealthArmorDialog_fill(), XonoticHUDInfoMessagesDialog_fill(), XonoticHUDModIconsDialog_fill(), XonoticHUDNotificationDialog_fill(), XonoticHUDPowerupsDialog_fill(), XonoticHUDQuickMenuDialog_fill(), XonoticHUDRaceTimerDialog_fill(), XonoticHUDScoreDialog_fill(), XonoticHUDTimerDialog_fill(), XonoticHUDVoteDialog_fill(), and XonoticHUDWeaponsDialog_fill().
void forAllDescendants | ( | entity | root, |
void(entity, entity) | funcPre, | ||
void(entity, entity) | funcPost, | ||
entity | pass | ||
) |
Definition at line 24 of file util.qc.
References depthfirst(), firstChild, nextSibling, and parent.
Referenced by loadAllCvars(), and saveAllCvars().
int GameType_GetCount | ( | ) |
Definition at line 716 of file util.qc.
References cvar(), GAMETYPES, and HIDDEN_GAMETYPES.
Referenced by XonoticGametypeList_configureXonoticGametypeList(), XonoticGametypeList_draw(), and XonoticGametypeList_loadCvars().
Definition at line 745 of file util.qc.
References entity(), GameType_GetID(), makeXonoticCheckBox(), makeXonoticCheckBoxString(), makeXonoticColorpickerString(), makeXonoticTextLabel(), makeXonoticTextSlider(), MapInfo_Type_ToString(), and strcat().
Referenced by XonoticGametypeList_configureXonoticGametypeList(), and XonoticGametypeList_drawListBoxItem().
Definition at line 706 of file util.qc.
References GAMETYPES, HIDDEN_GAMETYPES, and NULL.
Referenced by GameType_GetIcon(), GameType_GetName(), XonoticGametypeList_drawListBoxItem(), XonoticGametypeList_focusedItemChangeNotify(), XonoticGametypeList_loadCvars(), XonoticGametypeList_saveCvars(), and XonoticMapInfoDialog_loadMapInfo().
Definition at line 739 of file util.qc.
References GameType_GetID(), and MapInfo_Type_ToText().
Referenced by XonoticGametypeList_drawListBoxItem().
int GameType_GetTotalCount | ( | ) |
Definition at line 729 of file util.qc.
References GAMETYPES, and HIDDEN_GAMETYPES.
Referenced by XonoticGametypeList_configureXonoticGametypeList(), and XonoticMapInfoDialog_loadMapInfo().
Definition at line 58 of file util.qc.
References string_null.
Referenced by gettooltip().
Definition at line 832 of file util.qc.
References frametime, max(), and min().
Referenced by XonoticCampaignList_drawListBoxItem(), XonoticCvarList_drawListBoxItem(), XonoticDemoList_drawListBoxItem(), XonoticGametypeList_drawListBoxItem(), XonoticHUDSkinList_drawListBoxItem(), XonoticKeyBinder_drawListBoxItem(), XonoticLanguageList_drawListBoxItem(), XonoticMapList_drawListBoxItem(), XonoticPicker_draw(), XonoticPlayList_drawListBoxItem(), XonoticRegisteredSettingsList_getTooltip_cb(), XonoticScreenshotList_drawListBoxItem(), XonoticServerList_drawListBoxItem(), XonoticSkinList_drawListBoxItem(), XonoticSoundList_drawListBoxItem(), XonoticStatsList_drawListBoxItem(), and XonoticWeaponsList_drawListBoxItem().
Definition at line 13 of file util.qc.
References cvar_string(), and strhasword.
Referenced by GL_Have_TextureCompression().
float GL_Have_TextureCompression | ( | ) |
Definition at line 18 of file util.qc.
References GL_CheckExtension().
Referenced by updateCompression().
Definition at line 51 of file util.qc.
References forAllDescendants(), loadCvarsOf(), NULL, and SUB_Null_ee().
Referenced by m_sync(), XonoticCvarsDialog_showNotify(), XonoticDamageTextSettings::XonoticDamageTextSettings ::showNotify(), XonoticGameCrosshairSettingsTab_showNotify(), XonoticGameHUDSettingsTab_showNotify(), XonoticGameMessageSettingsTab_showNotify(), XonoticGameModelSettingsTab_showNotify(), XonoticGameViewSettingsTab_showNotify(), XonoticGameWeaponsSettingsTab_showNotify(), XonoticMutatorsDialog_showNotify(), XonoticRootDialog_showNotify(), and XonoticTab_showNotify().
Definition at line 105 of file util.qc.
References entity(), and saveCvarsCallback().
Definition at line 90 of file util.qc.
References entity(), and saveCvarsMulti().
Definition at line 620 of file util.qc.
References getcurrentmod().
Referenced by XonoticServerList_refreshServerList().
Definition at line 47 of file util.qc.
References forAllDescendants(), NULL, saveCvarsOf(), and SUB_Null_ee().
Definition at line 178 of file util.qc.
References func_null(), setDependent_Check(), setDependent_Draw(), and string_null.
void setDependentAND | ( | entity | e, |
string | theCvarName, | ||
float | theCvarMin, | ||
float | theCvarMax, | ||
string | theCvar2Name, | ||
float | theCvar2Min, | ||
float | theCvar2Max | ||
) |
Definition at line 202 of file util.qc.
References func_null(), setDependent_Check(), setDependent_Draw(), and string_null.
void setDependentAND3 | ( | entity | e, |
string | theCvarName, | ||
float | theCvarMin, | ||
float | theCvarMax, | ||
string | theCvar2Name, | ||
float | theCvar2Min, | ||
float | theCvar2Max, | ||
string | theCvar3Name, | ||
float | theCvar3Min, | ||
float | theCvar3Max | ||
) |
Definition at line 232 of file util.qc.
References func_null(), setDependent_Check(), and setDependent_Draw().
void setDependentOR | ( | entity | e, |
string | theCvarName, | ||
float | theCvarMin, | ||
float | theCvarMax, | ||
string | theCvar2Name, | ||
float | theCvar2Min, | ||
float | theCvar2Max | ||
) |
Definition at line 217 of file util.qc.
References func_null(), setDependent_Check(), setDependent_Draw(), and string_null.
Definition at line 190 of file util.qc.
References func_null(), setDependent_Check(), setDependent_Draw(), and string_null.
Definition at line 249 of file util.qc.
References setDependent_Check(), and setDependent_Draw().
Definition at line 257 of file util.qc.
References prvm_language, strfree, string_null, and strzone().
Referenced by clearTooltip(), XonoticButton_configureXonoticButton(), XonoticCheckBox_configureXonoticCheckBox(), XonoticGametypeList_focusedItemChangeNotify(), XonoticInputBox_configureXonoticInputBox(), XonoticRadioButton_configureXonoticRadioButton(), XonoticRegisteredSettingsList_getTooltip_cb(), XonoticSlider_configureXonoticSlider(), and XonoticTextSlider_configureXonoticTextSlider().
float updateCompression | ( | ) |
Definition at line 628 of file util.qc.
References cvar_set(), fexists(), GL_Have_TextureCompression(), and LOG_INFO.
Referenced by m_init(), and m_sync().
Definition at line 321 of file util.qc.
References APPEND_TO_STRING, argv(), cvar(), cvar_string(), LOG_INFO, LOG_TRACE, LOG_TRACEF, strstrofs, strzone(), substring(), tokenizebyseparator, and vercmp().
Referenced by URI_Get_Callback().
string _Nex_ExtResponseSystem_BannedServers |
Definition at line 44 of file util.qh.
Referenced by XonoticServerList_refreshServerList().
float _Nex_ExtResponseSystem_BannedServersNeedsRefresh |
Definition at line 45 of file util.qh.
Referenced by XonoticServerList_draw().
float _Nex_ExtResponseSystem_NewToS |
Definition at line 50 of file util.qh.
Referenced by Close_Clicked(), and XonoticToSDialog_shouldShow().
float _Nex_ExtResponseSystem_PromotedServersNeedsRefresh |
Definition at line 47 of file util.qh.
Referenced by XonoticServerList_draw().
float _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh |
Definition at line 49 of file util.qh.
Referenced by XonoticServerList_draw().