4 float GL_CheckExtension(string ext);
5 float GL_Have_TextureCompression();
7 void forAllDescendants(entity root, void(entity, entity) funcPre, void(entity, entity) funcPost, entity pass);
8 void saveAllCvars(entity root);
9 void loadAllCvars(entity root);
11 void makeMulti(entity me, string otherCvars);
12 string getCvarsMulti(entity me);
13 void makeCallback(entity me, entity cbent, void(entity, entity) cbfunc);
15 void setDependent(entity e, string theCvarName, float theCvarMin, float theCvarMax);
16 void setDependentAND(entity e, string theCvarName, float theCvarMin, float theCvarMax, string theCvar2Name, float theCvar2Min, float theCvar2Max);
17 void setDependentOR(entity e, string theCvarName, float theCvarMin, float theCvarMax, string theCvar2Name, float theCvar2Min, float theCvar2Max);
18 void setDependentAND3(entity e, string theCvarName, float theCvarMin, float theCvarMax, string theCvar2Name, float theCvar2Min, float theCvar2Max, string theCvar3Name, float theCvar3Min, float theCvar3Max);
19 void setDependentStringNotEqual(entity e, string theCvarName, string theCvarValue);
20 void setDependentWeird(entity e, float(entity) func);
24 void unloadTooltips();
25 string getZonedTooltipForIdentifier(string s);
27 string resolvemod(string m);
29 float updateCompression();
31 void UpdateNotification_URI_Get_Callback(float id, float status, string data);
33 void URI_Get_Callback(float id, float status, string data);
35 // game type list box stuff (does not NEED to contain all game types, other
36 // types stay available via console)
37 int GameType_GetID(int cnt);
38 string GameType_GetName(int cnt);
39 string GameType_GetIcon(int cnt);
40 //string GameType_GetTeams(float cnt);
41 int GameType_GetCount();
43 void dialog_hudpanel_common_notoggle(entity me, string panelname);
44 #define DIALOG_HUDPANEL_COMMON_NOTOGGLE() \
45 dialog_hudpanel_common_notoggle(me, panelname)
46 #define DIALOG_HUDPANEL_COMMON() \
48 me.TD(me, 1, 4, e = makeXonoticCheckBox(0, strzone(strcat("hud_panel_", panelname)), _("Enable panel"))); \
49 DIALOG_HUDPANEL_COMMON_NOTOGGLE()
51 string _Nex_ExtResponseSystem_BannedServers;
52 float _Nex_ExtResponseSystem_BannedServersNeedsRefresh;
53 string _Nex_ExtResponseSystem_PromotedServers;
54 float _Nex_ExtResponseSystem_PromotedServersNeedsRefresh;
55 string _Nex_ExtResponseSystem_RecommendedServers;
56 float _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh;
58 void CheckSendCvars(entity me, string cvarnamestring);