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);
22 string getZonedTooltip(string theTooltip, string theCvar);
24 string resolvemod(string m);
26 float updateCompression();
28 void UpdateNotification_URI_Get_Callback(float id, float status, string data);
30 void URI_Get_Callback(float id, float status, string data);
32 // game type list box stuff (does not NEED to contain all game types, other
33 // types stay available via console)
34 int GameType_GetID(int cnt);
35 string GameType_GetName(int cnt);
36 string GameType_GetIcon(int cnt);
37 //string GameType_GetTeams(float cnt);
38 int GameType_GetCount();
40 void dialog_hudpanel_common_notoggle(entity me, string panelname);
41 #define DIALOG_HUDPANEL_COMMON_NOTOGGLE() \
42 dialog_hudpanel_common_notoggle(me, panelname)
43 #define DIALOG_HUDPANEL_COMMON() \
45 me.TD(me, 1, 4, e = makeXonoticCheckBox(0, strzone(strcat("hud_panel_", panelname)), _("Enable panel"))); \
46 DIALOG_HUDPANEL_COMMON_NOTOGGLE()
48 float getFadedAlpha(float currentAlpha, float startAlpha, float targetAlpha);
50 string _Nex_ExtResponseSystem_BannedServers;
51 float _Nex_ExtResponseSystem_BannedServersNeedsRefresh;
52 string _Nex_ExtResponseSystem_PromotedServers;
53 float _Nex_ExtResponseSystem_PromotedServersNeedsRefresh;
54 string _Nex_ExtResponseSystem_RecommendedServers;
55 float _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh;
57 void CheckSendCvars(entity me, string cvarnamestring);