From: FruitieX Date: Sat, 2 Apr 2011 14:46:48 +0000 (+0300) Subject: accelerometer: remove the "glow"/fade out effects from the status bar image. They... X-Git-Tag: xonotic-v0.5.0~307^2~15^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0ee0be1d6b08175b04c54a8145c5e834d0df7568;p=xonotic%2Fxonotic-data.pk3dir.git accelerometer: remove the "glow"/fade out effects from the status bar image. They created an annoying gap in the center of the accelerometer. --- diff --git a/gfx/hud/luminos/accelbar.tga b/gfx/hud/luminos/accelbar.tga new file mode 100644 index 000000000..fd938581f Binary files /dev/null and b/gfx/hud/luminos/accelbar.tga differ diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 4dfb60c2d..07ca8841b 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -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)