X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fmenu%2Fxonotic%2Futil.qh;h=aad853485fbc01960fb1844c26a6832f36779226;hb=ba0988ca930f50286f8cf3b6c114ebc6584964af;hp=6165fb3606b945968910c437bf76732d931c3ad5;hpb=737b9aa03c6796ac761630483cb5e9bf5ef56174;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/util.qh b/qcsrc/menu/xonotic/util.qh index 6165fb360..aad853485 100644 --- a/qcsrc/menu/xonotic/util.qh +++ b/qcsrc/menu/xonotic/util.qh @@ -1,3 +1,37 @@ +#ifndef MENU_UTIL_H +#define MENU_UTIL_H +#if defined(CSQC) +#elif defined(MENUQC) + #include "../../common/util-pre.qh" + #include "../sys-pre.qh" + #include "../../dpdefs/menudefs.qc" + #include "../../dpdefs/keycodes.qc" + #include "../sys-post.qh" + #include "../config.qh" + #include "../../warpzonelib/mathlib.qh" + #include "../../common/util.qh" + #include "../../common/test.qh" + #include "../oo/base.qh" + #include "../../common/playerstats.qh" + #include "../../common/teams.qh" + #include "../../common/constants.qh" + #include "../../common/mapinfo.qh" + #include "../../common/campaign_common.qh" + #include "../../common/weapons/weapons.qh" + #include "../../common/counting.qh" + #include "../../common/command/markup.qh" + #include "../../common/command/rpn.qh" + #include "../../common/command/generic.qh" + #include "../../common/command/shared_defs.qh" + #include "../../common/urllib.qh" + #include "../../common/monsters/monsters.qh" + #include "../command/menu_cmd.qh" + #include "../menu.qh" + #include "../draw.qh" + #include "../skin.qh" +#elif defined(SVQC) +#endif + float GL_CheckExtension(string ext); float GL_Have_TextureCompression(); @@ -23,20 +57,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); @@ -49,3 +79,10 @@ void dialog_hudpanel_common_notoggle(entity me, string panelname); string _Nex_ExtResponseSystem_BannedServers; float _Nex_ExtResponseSystem_BannedServersNeedsRefresh; +string _Nex_ExtResponseSystem_PromotedServers; +float _Nex_ExtResponseSystem_PromotedServersNeedsRefresh; +string _Nex_ExtResponseSystem_RecommendedServers; +float _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh; + +void CheckSendCvars(entity me, string cvarnamestring); +#endif \ No newline at end of file