|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Definition at line 825 of file util.qc.
References cvar_string(), entity(), GAME_CONNECTED, GAME_ISSERVER, gamestatus, localcmd(), and LOG_INFOF.
Referenced by saveCvarsMulti(), XonoticCheckBox_saveCvars(), XonoticCheckBoxString_saveCvars(), XonoticInputBox_saveCvars(), XonoticMixedSlider_saveCvars(), XonoticSlider_saveCvars(), and XonoticTextSlider_saveCvars().
Definition at line 277 of file util.qc.
References entity(), setZonedTooltip(), and string_null.
Referenced by XonoticRegisteredSettingsList::focusedItemChangeNotify(), XonoticGametypeList_focusedItemChangeNotify(), XonoticLanguageList_focusedItemChangeNotify(), XonoticServerList_focusedItemChangeNotify(), and XonoticServerList_mouseMove().
Definition at line 722 of file util.qc.
References entity(), makeXonoticCheckBox(), strcat(), and strzone().
Referenced by XonoticHUDAmmoDialog_fill(), XonoticHUDCenterprintDialog_fill(), XonoticHUDChatDialog_fill(), XonoticHUDCheckpointsDialog_fill(), XonoticHUDEngineInfoDialog_fill(), XonoticHUDHealthArmorDialog_fill(), XonoticHUDInfoMessagesDialog_fill(), XonoticHUDModIconsDialog_fill(), XonoticHUDNotificationDialog_fill(), XonoticHUDPickupDialog_fill(), XonoticHUDPowerupsDialog_fill(), XonoticHUDRaceTimerDialog_fill(), XonoticHUDScoreDialog_fill(), XonoticHUDTimerDialog_fill(), XonoticHUDVoteDialog_fill(), and XonoticHUDWeaponsDialog_fill().
Definition at line 731 of file util.qc.
References CVAR_TYPEFLAG_EXISTS, entity(), ftos(), ftos_decimals(), ftos_decimals_percentage(), ftos_mindecimals(), makeXonoticCheckBox(), makeXonoticCheckBoxString(), makeXonoticColorpickerString(), makeXonoticTextLabel(), makeXonoticTextSlider(), setDependentNOT(), setDependentStringNotEqual(), strcat(), and strzone().
Referenced by XonoticHUDAmmoDialog_fill(), XonoticHUDCenterprintDialog_fill(), XonoticHUDChatDialog_fill(), XonoticHUDCheckpointsDialog_fill(), XonoticHUDEngineInfoDialog_fill(), XonoticHUDHealthArmorDialog_fill(), XonoticHUDInfoMessagesDialog_fill(), XonoticHUDItemsTimeDialog_fill(), XonoticHUDModIconsDialog_fill(), XonoticHUDNotificationDialog_fill(), XonoticHUDPhysicsDialog_fill(), XonoticHUDPickupDialog_fill(), XonoticHUDPowerupsDialog_fill(), XonoticHUDPressedKeysDialog_fill(), XonoticHUDQuickMenuDialog_fill(), XonoticHUDRaceTimerDialog_fill(), XonoticHUDRadarDialog_fill(), XonoticHUDScoreDialog_fill(), XonoticHUDStrafeHUDDialog_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 26 of file util.qc.
References depthfirst(), entity(), firstChild, nextSibling, parent, and pass.
Referenced by loadAllCvars(), and saveAllCvars().
| int GameType_GetCount | ( | ) |
Definition at line 674 of file util.qc.
References autocvar_menu_create_show_all, GAMETYPES, and HIDDEN_GAMETYPES.
Referenced by XonoticGametypeList_configureXonoticGametypeList(), XonoticGametypeList_draw(), and XonoticGametypeList_loadCvars().
Definition at line 703 of file util.qc.
References cnt, GameType_GetID(), MapInfo_Type_ToString(), and strcat().
Referenced by XonoticGametypeList_configureXonoticGametypeList(), and XonoticGametypeList_drawListBoxItem().
Definition at line 664 of file util.qc.
References cnt, GAMETYPES, HIDDEN_GAMETYPES, and NULL.
Referenced by GameType_GetIcon(), GameType_GetName(), XonoticGametypeList_drawListBoxItem(), XonoticGametypeList_focusedItemChangeNotify(), XonoticGametypeList_loadCvars(), XonoticGametypeList_saveCvars(), XonoticMapInfoDialog_fill(), and XonoticMapInfoDialog_loadMapInfo().
Definition at line 697 of file util.qc.
References cnt, GameType_GetID(), and MapInfo_Type_ToText().
Referenced by XonoticGametypeList_drawListBoxItem().
| int GameType_GetTotalCount | ( | ) |
Definition at line 687 of file util.qc.
References GAMETYPES, and HIDDEN_GAMETYPES.
Referenced by XonoticGametypeList_configureXonoticGametypeList(), XonoticMapInfoDialog_fill(), and XonoticMapInfoDialog_loadMapInfo().
Definition at line 60 of file util.qc.
References entity(), and string_null.
Referenced by gettooltip().
Definition at line 816 of file util.qc.
References frametime, max(), and min().
Referenced by XonoticRegisteredSettingsList::drawListBoxItem(), XonoticCampaignList_drawListBoxItem(), XonoticCvarList_drawListBoxItem(), XonoticDemoList_drawListBoxItem(), XonoticEntryList_drawListBoxItem(), XonoticGametypeList_drawListBoxItem(), XonoticHUDSkinList_drawListBoxItem(), XonoticKeyBinder_drawListBoxItem(), XonoticLanguageList_drawListBoxItem(), XonoticMapList_drawListBoxItem(), XonoticPicker_draw(), XonoticPlayList_drawListBoxItem(), XonoticScreenshotList_drawListBoxItem(), XonoticServerList_drawListBoxItem(), XonoticSkinList_drawListBoxItem(), XonoticSoundList_drawListBoxItem(), XonoticStatsList_drawListBoxItem(), XonoticTopicList_drawListBoxItem(), and XonoticWeaponsList_drawListBoxItem().
Definition at line 15 of file util.qc.
References cvar_string(), and strhasword.
Referenced by GL_Have_TextureCompression().
| bool GL_Have_TextureCompression | ( | ) |
Definition at line 20 of file util.qc.
References GL_CheckExtension().
Referenced by updateCompression(), XonoticEffectsSettingsTab_fill(), and XonoticPicmipSlider_configureXonoticPicmipSlider().
| bool isServerSingleplayer | ( | ) |
Definition at line 804 of file util.qc.
References cvar_string().
Referenced by leaveMatchButton_getText(), and leaveMatchButton_getTooltip().
Definition at line 53 of file util.qc.
References entity(), forAllDescendants(), loadCvarsOf(), NULL, and SUB_Null_ee().
Referenced by m_sync(), XonoticCvarsDialog_showNotify(), XonoticDamageTextSettings_showNotify(), XonoticGameCrosshairSettingsTab_showNotify(), XonoticGameHUDSettingsTab_showNotify(), XonoticGameMessageSettingsTab_showNotify(), XonoticGameModelSettingsTab_showNotify(), XonoticGameViewSettingsTab_showNotify(), XonoticGameWeaponsSettingsTab_showNotify(), XonoticMutatorsDialog_showNotify(), XonoticRootDialog_showNotify(), and XonoticTab_showNotify().
Definition at line 107 of file util.qc.
References entity(), and saveCvarsCallback().
Referenced by XonoticServerCreateTab_fill().
Definition at line 92 of file util.qc.
References entity(), and saveCvarsMulti().
Referenced by XonoticAudioSettingsTab_fill(), XonoticEffectsSettingsTab_fill(), XonoticGameCrosshairSettingsTab_fill(), XonoticGameHUDSettingsTab_fill(), XonoticGameMessageSettingsTab_fill(), XonoticGameViewSettingsTab_fill(), XonoticGameWeaponsSettingsTab_fill(), XonoticInputSettingsTab_fill(), XonoticMiscSettingsTab_fill(), XonoticMutatorsDialog_fill(), and XonoticUserSettingsTab_fill().
| void makeServerSingleplayer | ( | ) |
Definition at line 809 of file util.qc.
References localcmd().
Referenced by CampaignSetup(), and InstantAction_LoadMap().
Definition at line 596 of file util.qc.
References getcurrentmod().
Referenced by XonoticServerList_refreshServerList().
Definition at line 49 of file util.qc.
References entity(), forAllDescendants(), NULL, saveCvarsOf(), and SUB_Null_ee().
Definition at line 180 of file util.qc.
References entity(), func_null(), setDependent_Check(), setDependent_Draw(), and string_null.
Referenced by XonoticAudioSettingsTab_fill(), XonoticDamageTextSettings_fill(), XonoticEffectsSettingsTab_fill(), XonoticGameCrosshairSettingsTab_fill(), XonoticGameHUDSettingsTab_fill(), XonoticGameMessageSettingsTab_fill(), XonoticGameModelSettingsTab_fill(), XonoticGameViewSettingsTab_fill(), XonoticGameWeaponsSettingsTab_fill(), XonoticHUDAmmoDialog_fill(), XonoticHUDExitDialog_fill(), XonoticHUDHealthArmorDialog_fill(), XonoticHUDItemsTimeDialog_fill(), XonoticHUDPhysicsDialog_fill(), XonoticHUDPowerupsDialog_fill(), XonoticHUDStrafeHUDDialog_fill(), XonoticHUDWeaponsDialog_fill(), XonoticInputSettingsTab_fill(), XonoticMapInfoDialog_fill(), XonoticMiscSettingsTab_fill(), XonoticMutatorsDialog_fill(), XonoticProfileTab_fill(), XonoticServerCreateTab_fill(), XonoticUserSettingsTab_fill(), and XonoticVideoSettingsTab_fill().
Definition at line 213 of file util.qc.
References BIT, entity(), func_null(), and setDependent_Check().
Referenced by XonoticDamageTextSettings_fill(), XonoticEffectsSettingsTab_fill(), XonoticGameCrosshairSettingsTab_fill(), XonoticGameHUDSettingsTab_fill(), XonoticGameMessageSettingsTab_fill(), XonoticGameViewSettingsTab_fill(), XonoticGameWeaponsSettingsTab_fill(), XonoticHUDAmmoDialog_fill(), XonoticHUDStrafeHUDDialog_fill(), XonoticHUDWeaponsDialog_fill(), and XonoticServerCreateTab_fill().
Definition at line 192 of file util.qc.
References BIT, entity(), func_null(), setDependent_Check(), setDependent_Draw(), and string_null.
Referenced by dialog_hudpanel_main_settings(), XonoticAudioSettingsTab_fill(), XonoticDamageTextSettings_fill(), XonoticEffectsSettingsTab_fill(), XonoticGameCrosshairSettingsTab_fill(), XonoticGameHUDSettingsTab_fill(), XonoticGameModelSettingsTab_fill(), XonoticGameViewSettingsTab_fill(), XonoticGameWeaponsSettingsTab_fill(), XonoticHUDAmmoDialog_fill(), XonoticHUDCenterprintDialog_fill(), XonoticHUDInfoMessagesDialog_fill(), XonoticHUDNotificationDialog_fill(), XonoticHUDPickupDialog_fill(), XonoticHUDRadarDialog_fill(), XonoticHUDStrafeHUDDialog_fill(), XonoticHUDWeaponsDialog_fill(), XonoticInputSettingsTab_fill(), and XonoticServerCreateTab_fill().
Definition at line 231 of file util.qc.
References BIT, entity(), func_null(), and setDependent_Check().
Referenced by XonoticEffectsSettingsTab_fill(), and XonoticHUDPhysicsDialog_fill().
Definition at line 204 of file util.qc.
References entity(), func_null(), setDependent_Check(), and setDependent_Draw().
Referenced by dialog_hudpanel_main_settings().
Definition at line 249 of file util.qc.
References entity(), setDependent_Check(), and setDependent_Draw().
Referenced by XonoticEffectsSettingsTab_fill(), XonoticFirstRunDialog_fill(), and XonoticMutatorsDialog_fill().
Definition at line 257 of file util.qc.
References entity(), prvm_language, strfree, string_null, and strzone().
Referenced by clearTooltip(), XonoticRegisteredSettingsList::focusedItemChangeNotify(), ServerList_Update_favoriteButton(), XonoticButton_configureXonoticButton(), XonoticCheckBox_configureXonoticCheckBox(), XonoticGametypeList_focusedItemChangeNotify(), XonoticInputBox_configureXonoticInputBox(), XonoticLanguageList_focusedItemChangeNotify(), XonoticLeaveMatchButton_draw(), XonoticMixedSlider_configureXonoticMixedSlider(), XonoticRadioButton_configureXonoticRadioButton(), XonoticServerInfoDialog_loadServerInfo(), XonoticServerList_drawListBoxItem(), XonoticSlider_configureXonoticSlider(), and XonoticTextSlider_configureXonoticTextSlider().
| void updateCompression | ( | ) |
Definition at line 604 of file util.qc.
References cvar_set(), fexists(), GL_Have_TextureCompression(), and LOG_WARN.
Definition at line 316 of file util.qc.
References _Nex_ExtResponseSystem_BannedServers, _Nex_ExtResponseSystem_BannedServersNeedsRefresh, _Nex_ExtResponseSystem_NewToS, _Nex_ExtResponseSystem_Packs, _Nex_ExtResponseSystem_PacksStep, _Nex_ExtResponseSystem_PromotedServers, _Nex_ExtResponseSystem_PromotedServersNeedsRefresh, _Nex_ExtResponseSystem_RecommendedServers, _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh, _Nex_ExtResponseSystem_UpdateTo, _Nex_ExtResponseSystem_UpdateToURL, APPEND_TO_STRING, argv(), cvar_string(), LOG_INFO, LOG_TRACE, LOG_TRACEF, stof(), strstrofs, strzone(), substring(), tokenizebyseparator, and vercmp().
Referenced by URI_Get_Callback().
| string _Nex_ExtResponseSystem_BannedServers |
Definition at line 62 of file util.qh.
Referenced by UpdateNotification_URI_Get_Callback(), and XonoticServerList_refreshServerList().
| float _Nex_ExtResponseSystem_BannedServersNeedsRefresh |
Definition at line 63 of file util.qh.
Referenced by UpdateNotification_URI_Get_Callback(), and XonoticServerList_draw().
| float _Nex_ExtResponseSystem_NewToS |
Definition at line 68 of file util.qh.
Referenced by Close_Clicked(), UpdateNotification_URI_Get_Callback(), and XonoticToSDialog_shouldShow().
| string _Nex_ExtResponseSystem_PromotedServers |
Definition at line 64 of file util.qh.
Referenced by UpdateNotification_URI_Get_Callback().
| float _Nex_ExtResponseSystem_PromotedServersNeedsRefresh |
Definition at line 65 of file util.qh.
Referenced by UpdateNotification_URI_Get_Callback(), and XonoticServerList_draw().
| string _Nex_ExtResponseSystem_RecommendedServers |
Definition at line 66 of file util.qh.
Referenced by UpdateNotification_URI_Get_Callback().
| float _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh |
Definition at line 67 of file util.qh.
Referenced by UpdateNotification_URI_Get_Callback(), and XonoticServerList_draw().
| string cvar1_setDependent |
Definition at line 3 of file util.qh.
Referenced by gettooltip().
| float cvar1Max_setDependent |
Definition at line 5 of file util.qh.
Referenced by gettooltip().
| float cvar1Min_setDependent |
Definition at line 4 of file util.qh.
Referenced by gettooltip().
| string cvar2_setDependent |
Definition at line 6 of file util.qh.
Referenced by gettooltip().
| float cvar2Max_setDependent |
Definition at line 8 of file util.qh.
Referenced by gettooltip().
| float cvar2Min_setDependent |
Definition at line 7 of file util.qh.
Referenced by gettooltip().
| string cvar3_setDependent |
Definition at line 9 of file util.qh.
Referenced by gettooltip().
| float cvar3Max_setDependent |
Definition at line 11 of file util.qh.
Referenced by gettooltip().
| float cvar3Min_setDependent |
Definition at line 10 of file util.qh.
Referenced by gettooltip().