X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Futil.qh;h=d8f66f4e967ec242cafb3da865da541619a2ac9f;hb=8f4d064a1d62a040e788fc0634baf93e888ba2f6;hp=99ede2a9b83167f187847f6a3880c11f986f2657;hpb=b4a1ddca5c05630b653deb8f28de24f8e241d9ec;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/util.qh b/qcsrc/menu/xonotic/util.qh index 99ede2a9b..d8f66f4e9 100644 --- a/qcsrc/menu/xonotic/util.qh +++ b/qcsrc/menu/xonotic/util.qh @@ -6,6 +6,7 @@ void saveAllCvars(entity root); void loadAllCvars(entity root); void makeMulti(entity me, string otherCvars); +string getCvarsMulti(entity me); void makeCallback(entity me, entity cbent, void(entity, entity) cbfunc); void setDependent(entity e, string theCvarName, float theCvarMin, float theCvarMax); @@ -22,8 +23,6 @@ string getZonedTooltipForIdentifier(string s); string resolvemod(string m); -string HUD_Panel_GetSettingName(float setting); - float URI_GET_DISCARD = 0; float URI_GET_UPDATENOTIFICATION = 1; @@ -40,3 +39,14 @@ void URI_Get_Callback(float id, float status, string data); float GameType_GetID(float cnt); string GameType_GetName(float cnt); float GameType_GetCount(); + +void dialog_hudpanel_common_notoggle(entity me, string panelname); +#define DIALOG_HUDPANEL_COMMON_NOTOGGLE() \ + dialog_hudpanel_common_notoggle(me, panelname) +#define DIALOG_HUDPANEL_COMMON() \ + me.TR(me); \ + me.TD(me, 1, 4, e = makeXonoticCheckBox(0, strzone(strcat("hud_panel_", panelname)), _("Enable panel"))); \ + DIALOG_HUDPANEL_COMMON_NOTOGGLE() + +string _Nex_ExtResponseSystem_BannedServers; +float _Nex_ExtResponseSystem_BannedServersNeedsRefresh;