X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Futil.qh;h=3371dd8114637a90a4735b7204c7e59d87047e08;hb=498bd21f83049cfcca6e5336cb23c4fdef15ff92;hp=5962b9648ccc74ff091132952af3956ad0681fcf;hpb=032028bc6b28d76c43210256a5dadd0d3f71b4a1;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/util.qh b/qcsrc/menu/xonotic/util.qh index 5962b9648..3371dd811 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,21 +23,16 @@ string getZonedTooltipForIdentifier(string s); string resolvemod(string m); -float URI_GET_DISCARD = 0; - -float URI_GET_UPDATENOTIFICATION = 1; void UpdateNotification_URI_Get_Callback(float id, float status, string data); -float URI_GET_CURL = 2; -float URI_GET_CURL_END = 9; -void Curl_URI_Get_Callback(float id, float status, string data); - void URI_Get_Callback(float id, float status, string data); // game type list box stuff (does not NEED to contain all game types, other // types stay available via console) float GameType_GetID(float cnt); string GameType_GetName(float cnt); +string GameType_GetIcon(float cnt); +//string GameType_GetTeams(float cnt); float GameType_GetCount(); void dialog_hudpanel_common_notoggle(entity me, string panelname); @@ -46,3 +42,10 @@ void dialog_hudpanel_common_notoggle(entity me, string panelname); 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; +string _Nex_ExtResponseSystem_PromotedServers; +float _Nex_ExtResponseSystem_PromotedServersNeedsRefresh; +string _Nex_ExtResponseSystem_RecommendedServers; +float _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh;