X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Futil.qh;fp=qcsrc%2Fmenu%2Fxonotic%2Futil.qh;h=d433352cf5a1734e70429d8ed33e0faf0d11fc9f;hb=e2fd71a5add1338f211d84d6b1de8c3a552b76ad;hp=80803f8544df735f4363112b466441da3ad34f35;hpb=33f268f100a4fb570ba5143195376b704079fdbd;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/util.qh b/qcsrc/menu/xonotic/util.qh index 80803f854..d433352cf 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,8 +27,6 @@ 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); @@ -48,6 +43,8 @@ void dialog_hudpanel_common_notoggle(entity me, string panelname); me.TD(me, 1, 4, e = makeXonoticCheckBox(0, strzone(strcat("hud_panel_", panelname)), _("Enable panel"))); \ DIALOG_HUDPANEL_COMMON_NOTOGGLE() +float getFadedAlpha(float currentAlpha, float startAlpha, float targetAlpha); + string _Nex_ExtResponseSystem_BannedServers; float _Nex_ExtResponseSystem_BannedServersNeedsRefresh; string _Nex_ExtResponseSystem_PromotedServers; @@ -56,4 +53,3 @@ string _Nex_ExtResponseSystem_RecommendedServers; float _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh; void CheckSendCvars(entity me, string cvarnamestring); -#endif