X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Futil.qh;h=80803f8544df735f4363112b466441da3ad34f35;hp=33ecb8c4d4c984754975c1b3ea1d5a8267da1c77;hb=61a847dbaab291d205cc9684b6d1a6e9bdad6375;hpb=e6eb6e7fc36a3a243c5171b8cc3db88e823514d4 diff --git a/qcsrc/menu/xonotic/util.qh b/qcsrc/menu/xonotic/util.qh index 33ecb8c4d..80803f854 100644 --- a/qcsrc/menu/xonotic/util.qh +++ b/qcsrc/menu/xonotic/util.qh @@ -1,3 +1,6 @@ +#ifndef MENU_UTIL_H +#define MENU_UTIL_H + float GL_CheckExtension(string ext); float GL_Have_TextureCompression(); @@ -16,24 +19,26 @@ void setDependentAND3(entity e, string theCvarName, float theCvarMin, float theC void setDependentStringNotEqual(entity e, string theCvarName, string theCvarValue); void setDependentWeird(entity e, float(entity) func); -float tooltipdb; +int tooltipdb; void loadTooltips(); void unloadTooltips(); string getZonedTooltipForIdentifier(string s); string resolvemod(string m); +float updateCompression(); + void UpdateNotification_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); +int GameType_GetID(int cnt); +string GameType_GetName(int cnt); +string GameType_GetIcon(int cnt); //string GameType_GetTeams(float cnt); -float GameType_GetCount(); +int GameType_GetCount(); void dialog_hudpanel_common_notoggle(entity me, string panelname); #define DIALOG_HUDPANEL_COMMON_NOTOGGLE() \ @@ -51,3 +56,4 @@ string _Nex_ExtResponseSystem_RecommendedServers; float _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh; void CheckSendCvars(entity me, string cvarnamestring); +#endif