From bba1cf9a178069eafe52ea275293deb320129461 Mon Sep 17 00:00:00 2001 From: Marisa the Magician Date: Sun, 12 Jun 2022 13:30:01 +0200 Subject: [PATCH] Post Pusher removal cleanup. --- language.version | 4 ++-- zscript/weapons/swwm_weapons_hud.zsc | 16 ---------------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/language.version b/language.version index 8e3e90e63..c73b44d09 100644 --- a/language.version +++ b/language.version @@ -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-"; diff --git a/zscript/weapons/swwm_weapons_hud.zsc b/zscript/weapons/swwm_weapons_hud.zsc index 80cb901f5..c1a9d0db6 100644 --- a/zscript/weapons/swwm_weapons_hud.zsc +++ b/zscript/weapons/swwm_weapons_hud.zsc @@ -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 {