]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
accelerometer: remove the "glow"/fade out effects from the status bar image. They...
authorFruitieX <fruitiex@gmail.com>
Sat, 2 Apr 2011 14:46:48 +0000 (17:46 +0300)
committerFruitieX <fruitiex@gmail.com>
Sat, 2 Apr 2011 14:46:48 +0000 (17:46 +0300)
gfx/hud/luminos/accelbar.tga [new file with mode: 0644]
qcsrc/client/hud.qc

diff --git a/gfx/hud/luminos/accelbar.tga b/gfx/hud/luminos/accelbar.tga
new file mode 100644 (file)
index 0000000..fd93858
Binary files /dev/null and b/gfx/hud/luminos/accelbar.tga differ
index 4dfb60c2df4d040fb17aff874bcecf767902d313..07ca8841b2c8abc7848aebc150cf4efb221e6f60 100644 (file)
@@ -5097,9 +5097,9 @@ void HUD_ShowAcceleration(void)
        }
 
        if (acceleration > 0)
-        HUD_Panel_DrawProgressBar(pos, eX * (vid_conwidth - pos_x) + eY * sz, "statusbar", 0, 0, acceleration * scale, rgb, alpha * autocvar_hud_progressbar_alpha * panel_fg_alpha, DRAWFLAG_NORMAL);
+        HUD_Panel_DrawProgressBar(pos, eX * (vid_conwidth - pos_x) + eY * sz, "accelbar", 0, 0, acceleration * scale, rgb, alpha * autocvar_hud_progressbar_alpha * panel_fg_alpha, DRAWFLAG_NORMAL);
        else
-        HUD_Panel_DrawProgressBar(eY * pos_y, eX * pos_x + eY * sz, "statusbar", 0, 1, -acceleration * scale, rgb, alpha * autocvar_hud_progressbar_alpha * panel_fg_alpha, DRAWFLAG_NORMAL);
+        HUD_Panel_DrawProgressBar(eY * pos_y, eX * pos_x + eY * sz, "accelbar", 0, 1, -acceleration * scale, rgb, alpha * autocvar_hud_progressbar_alpha * panel_fg_alpha, DRAWFLAG_NORMAL);
 }
 
 void HUD_Reset (void)