From 0b84c36300db7086740e3c31adba2b29504ecd90 Mon Sep 17 00:00:00 2001 From: FruitieX Date: Tue, 18 May 2010 16:52:07 +0300 Subject: [PATCH] draw accuracy bar as a background to the weapon icon, with the size == weapon icon size for better skinning options. Adapt accuracy bar from old HUD to this --- defaultXonotic.cfg | 1 - .../{accuracy_bar.tga => weapon_accuracy.tga} | Bin 8252 -> 8492 bytes qcsrc/client/hud.qc | 16 +++++++++------- 3 files changed, 9 insertions(+), 8 deletions(-) rename gfx/hud/old/{accuracy_bar.tga => weapon_accuracy.tga} (95%) diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 4752f9100..c669f3f11 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1341,7 +1341,6 @@ seta hud_weaponicons 1 "enable/disable this panel" seta hud_weaponicons_pos "-0.635295 -0.134116" "position of this panel" seta hud_weaponicons_size "0.352942 0.064845" "size of this panel" seta hud_weaponicons_number 1 "show number of weapon" -seta hud_weaponicons_accuracy_height 3 "height of accuracy bar" seta hud_weaponicons_accuracy_yellow 40 "percentage at which the accuracy color is yellow" seta hud_weaponicons_bg "" "if set to something else than \"\" = override default background, if set to 0 = disable background" seta hud_weaponicons_bg_color "" "optional R G B string of the background color, otherwise use hud default" diff --git a/gfx/hud/old/accuracy_bar.tga b/gfx/hud/old/weapon_accuracy.tga similarity index 95% rename from gfx/hud/old/accuracy_bar.tga rename to gfx/hud/old/weapon_accuracy.tga index 96e853d705cf96db9bc49ef1cd7c3d2b33767467..0e0c26f3e70743a15493b66290fbd870ef13551a 100644 GIT binary patch delta 293 zcmdnvu*Qj>fq{zw1{xR~Hu4KA)c*$w3>;BUciUkB5E2yX8s^Cp?CI~P8{y{Z