]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/util.qh
Merge branch 'master' into samual/keepaway
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / util.qh
1 float GL_CheckExtension(string ext);
2 float GL_Have_TextureCompression();
3
4 void forAllDescendants(entity root, void(entity, entity) funcPre, void(entity, entity) funcPost, entity pass);
5 void saveAllCvars(entity root);
6 void loadAllCvars(entity root);
7
8 void makeMulti(entity me, string otherCvars);
9 void makeCallback(entity me, entity cbent, void(entity, entity) cbfunc);
10
11 void setDependent(entity e, string theCvarName, float theCvarMin, float theCvarMax);
12 void setDependentAND(entity e, string theCvarName, float theCvarMin, float theCvarMax, string theCvar2Name, float theCvar2Min, float theCvar2Max);
13 void setDependentOR(entity e, string theCvarName, float theCvarMin, float theCvarMax, string theCvar2Name, float theCvar2Min, float theCvar2Max);
14 void setDependentAND3(entity e, string theCvarName, float theCvarMin, float theCvarMax, string theCvar2Name, float theCvar2Min, float theCvar2Max, string theCvar3Name, float theCvar3Min, float theCvar3Max);
15 void setDependentStringNotEqual(entity e, string theCvarName, string theCvarValue);
16 void setDependentWeird(entity e, float(entity) func);
17
18 float tooltipdb;
19 void loadTooltips();
20 void unloadTooltips();
21 string getZonedTooltipForIdentifier(string s);
22
23 string resolvemod(string m);
24
25 string HUD_Panel_GetSettingName(float setting);
26
27 float URI_GET_DISCARD = 0;
28
29 float URI_GET_UPDATENOTIFICATION = 1;
30 void UpdateNotification_URI_Get_Callback(float id, float status, string data);
31
32 float URI_GET_CURL = 2;
33 float URI_GET_CURL_END = 9;
34 void Curl_URI_Get_Callback(float id, float status, string data);
35
36 void URI_Get_Callback(float id, float status, string data);