Post Pusher removal cleanup.
This commit is contained in:
parent
834116c8c7
commit
bba1cf9a17
2 changed files with 2 additions and 18 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.23 r5 \cu(Sun 12 Jun 13:26:52 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.2.23 r5 \cu(2022-06-12 13:26:52)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.24 \cu(Sun 12 Jun 15:24:58 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.2.24 \cu(2022-06-12 15:24:58)\c-";
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue