X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=inline;f=qcsrc%2Fmenu%2Fxonotic%2Futil.qh;h=96fef2ad4006f553a3bd8a5b22dd594b684df5c3;hb=87f7bb1e370243064beac5cb18ced5893d5c8e00;hp=9e989a4662070fea39b6ae7a8934dd2f1109f00a;hpb=5607e279fe7b0dc9f92e15556ed6dc33f17f549c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/util.qh b/qcsrc/menu/xonotic/util.qh index 9e989a466..96fef2ad4 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(); @@ -28,15 +27,14 @@ 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); int GameType_GetCount(); +int GameType_GetTotalCount(); void dialog_hudpanel_common_notoggle(entity me, string panelname); #define DIALOG_HUDPANEL_COMMON_NOTOGGLE() \ @@ -56,4 +54,3 @@ string _Nex_ExtResponseSystem_RecommendedServers; float _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh; void CheckSendCvars(entity me, string cvarnamestring); -#endif