X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Futil.qh;h=99ede2a9b83167f187847f6a3880c11f986f2657;hb=2c5f7f2b33fb403cbd719696cd42e6544318d79b;hp=78eb7c1c43caa7cea3019c50652e7ab4173497db;hpb=24c0e211b8a839afe6bb5fc5c603d450a72b9160;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/util.qh b/qcsrc/menu/xonotic/util.qh index 78eb7c1c4..99ede2a9b 100644 --- a/qcsrc/menu/xonotic/util.qh +++ b/qcsrc/menu/xonotic/util.qh @@ -1,3 +1,6 @@ +float GL_CheckExtension(string ext); +float GL_Have_TextureCompression(); + void forAllDescendants(entity root, void(entity, entity) funcPre, void(entity, entity) funcPost, entity pass); void saveAllCvars(entity root); void loadAllCvars(entity root); @@ -20,3 +23,20 @@ string getZonedTooltipForIdentifier(string s); string resolvemod(string m); string HUD_Panel_GetSettingName(float setting); + +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); +float GameType_GetCount();