X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Futil.qh;h=c7e7c0cd70b96d138e8f7c09fdf70a7d61693343;hb=641c47df604de42c11c68a7d80813b29affcefb2;hp=2564a86ed4b724f69640797542b083109d1fd4c5;hpb=6e12e42c14caa13f188ad12ce1fce1358428bee4;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/util.qh b/qcsrc/menu/xonotic/util.qh index 2564a86ed..c7e7c0cd7 100644 --- a/qcsrc/menu/xonotic/util.qh +++ b/qcsrc/menu/xonotic/util.qh @@ -1,5 +1,4 @@ -#ifndef MENU_UTIL_H -#define MENU_UTIL_H +#pragma once float GL_CheckExtension(string ext); float GL_Have_TextureCompression(); @@ -19,10 +18,8 @@ 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); -int tooltipdb; -void loadTooltips(); -void unloadTooltips(); -string getZonedTooltipForIdentifier(string s); +void setZonedTooltip(entity e, string theTooltip, string theCvar); +void clearTooltip(entity e); string resolvemod(string m); @@ -30,11 +27,9 @@ 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) -int GameType_GetID(int cnt); +entity GameType_GetID(int cnt); string GameType_GetName(int cnt); string GameType_GetIcon(int cnt); //string GameType_GetTeams(float cnt); @@ -58,4 +53,3 @@ string _Nex_ExtResponseSystem_RecommendedServers; float _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh; void CheckSendCvars(entity me, string cvarnamestring); -#endif