From: terencehill Date: Mon, 3 Jan 2011 16:59:56 +0000 (+0100) Subject: Get rid of unused code X-Git-Tag: xonotic-v0.5.0~329 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=add5ad70562273e00c318f7615d76b7840191f2d;p=xonotic%2Fxonotic-data.pk3dir.git Get rid of unused code --- diff --git a/qcsrc/common/constants.qh b/qcsrc/common/constants.qh index e8fa2fcb5..b520d2b19 100644 --- a/qcsrc/common/constants.qh +++ b/qcsrc/common/constants.qh @@ -664,7 +664,5 @@ string HUD_PANELNAME_ENGINEINFO = "engineinfo"; string HUD_PANELNAME_INFOMESSAGES = "infomessages"; string HUD_PANELNAME_PHYSICS = "physics"; -float HUD_MENU_ENABLE = 0; - #define SERVERFLAG_ALLOW_FULLBRIGHT 1 #define SERVERFLAG_TEAMPLAY 2 diff --git a/qcsrc/menu/xonotic/util.qc b/qcsrc/menu/xonotic/util.qc index f6ffa387c..7f775c041 100644 --- a/qcsrc/menu/xonotic/util.qc +++ b/qcsrc/menu/xonotic/util.qc @@ -457,14 +457,6 @@ string resolvemod(string m) return m; } -string HUD_Panel_GetSettingName(float theSetting) -{ - switch(theSetting) { - case HUD_MENU_ENABLE: return ""; break; - default: return ""; - } -} - float updateCompression() { float fh; diff --git a/qcsrc/menu/xonotic/util.qh b/qcsrc/menu/xonotic/util.qh index 053c50730..ed0de9fcf 100644 --- a/qcsrc/menu/xonotic/util.qh +++ b/qcsrc/menu/xonotic/util.qh @@ -22,8 +22,6 @@ string getZonedTooltipForIdentifier(string s); string resolvemod(string m); -string HUD_Panel_GetSettingName(float setting); - float URI_GET_DISCARD = 0; float URI_GET_UPDATENOTIFICATION = 1;