# HG changeset patch # User Wuzzy # Date 1558133759 -7200 # Node ID 39dd40aca1b10c809b3a6e189bcca28c708905c5 # Parent 216376ea0df148b9ed1ab623c3bb58d5aa70aadc Add separate hand image for landspray diff -r 216376ea0df1 -r 39dd40aca1b1 hedgewars/uGearsRender.pas --- a/hedgewars/uGearsRender.pas Sat May 18 00:21:58 2019 +0200 +++ b/hedgewars/uGearsRender.pas Sat May 18 00:55:59 2019 +0200 @@ -760,7 +760,7 @@ defaultPos:= false end; gtFlamethrower: DrawSpriteRotatedF(sprHandFlamethrower, hx, hy, (RealTicks div 125) mod 4, sign, aangle); - gtLandGun: DrawSpriteRotated(sprHandBallgun, hx, hy, sign, aangle); + gtLandGun: DrawSpriteRotated(sprHandLandGun, hx, hy, sign, aangle); gtIceGun: DrawSpriteRotated(sprIceGun, hx, hy, sign, aangle); end; @@ -919,7 +919,7 @@ end; amBee: DrawSpriteRotatedF(sprHandBee, hx, hy, (RealTicks div 125) mod 4, sign, aangle); amFlamethrower: DrawSpriteRotatedF(sprHandFlamethrower, hx, hy, (RealTicks div 125) mod 4, sign, aangle); - amLandGun: DrawSpriteRotated(sprHandBallgun, hx, hy, sign, aangle); + amLandGun: DrawSpriteRotated(sprHandLandGun, hx, hy, sign, aangle); amIceGun: DrawSpriteRotated(sprIceGun, hx, hy, sign, aangle); amResurrector: DrawCircle(ox, oy, 98, 4, $F5, $DB, $35, $AA); // I'd rather not like to hardcode 100 here end; diff -r 216376ea0df1 -r 39dd40aca1b1 hedgewars/uTypes.pas --- a/hedgewars/uTypes.pas Sat May 18 00:21:58 2019 +0200 +++ b/hedgewars/uTypes.pas Sat May 18 00:55:59 2019 +0200 @@ -94,7 +94,7 @@ sprFlakeL, sprSDFlakeL, sprCloudL, sprSDCloudL, sprCreeper, sprHandCreeper, sprMinigun, sprSliderInverted, sprFingerBack, sprFingerBackInv, sprTargetPBack, sprTargetPBackInv, sprHealthHud, sprHealthPoisonHud, sprVampHud, sprKarmaHud, sprMedicHud, sprMedicPoisonHud, - sprHaloHud, sprInvulnHUD, sprAmPiano + sprHaloHud, sprInvulnHUD, sprAmPiano, sprHandLandGun ); // Gears that interact with other Gears and/or Land diff -r 216376ea0df1 -r 39dd40aca1b1 hedgewars/uVariables.pas --- a/hedgewars/uVariables.pas Sat May 18 00:21:58 2019 +0200 +++ b/hedgewars/uVariables.pas Sat May 18 00:55:59 2019 +0200 @@ -841,7 +841,9 @@ (FileName: 'InvulnHUD'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; Width: 18; Height: 18; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprInvulnHUD (FileName: 'amPiano'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; - Width: 42; Height: 42; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true)// sprAmPiano + Width: 42; Height: 42; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmPiano + (FileName: 'amLandGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; + Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true)// sprHandLandGun ); diff -r 216376ea0df1 -r 39dd40aca1b1 share/hedgewars/Data/Graphics/Hedgehog/amLandGun.png Binary file share/hedgewars/Data/Graphics/Hedgehog/amLandGun.png has changed