Post Pusher removal cleanup.

This commit is contained in:
Mari the Deer 2022-06-12 13:30:01 +02:00
commit bba1cf9a17
2 changed files with 2 additions and 18 deletions

View file

@ -18,22 +18,6 @@ extend Class DeepImpact
}
}
// Pusher
extend Class PusherWeapon
{
ui TextureID WeaponBox, ChargeBar;
override void DrawWeapon( double TicFrac, double bx, double by, double hs, Vector2 ss )
{
if ( !WeaponBox ) WeaponBox = TexMan.CheckForTexture("graphics/HUD/PusherDisplay.png",TexMan.Type_Any);
if ( !ChargeBar ) ChargeBar = TexMan.CheckForTexture("graphics/HUD/PusherBar.png",TexMan.Type_Any);
Screen.DrawTexture(WeaponBox,false,bx-60,by-9,DTA_VirtualWidthF,ss.x,DTA_VirtualHeightF,ss.y,DTA_KeepRatio,true);
int chg = clamp(ChargeInter?ChargeInter.GetValue():int(chargelevel*100),0,100);
double cw = chg*56./100.;
Screen.DrawTexture(ChargeBar,false,bx-58,by-7,DTA_VirtualWidthF,ss.x,DTA_VirtualHeightF,ss.y,DTA_KeepRatio,true,DTA_WindowRightF,cw);
}
}
// Explodium Gun
extend Class ExplodiumGun
{