# HG changeset patch # User alfadur # Date 1558887136 -10800 # Node ID 9dbbb4bc1dcde616753fbfcf867a7132cfe66492 # Parent 5b245e8ed578b6e7894c69e1ad0a1bdaf5717c48 add idle shouryuuken animation diff -r 5b245e8ed578 -r 9dbbb4bc1dcd hedgewars/uGearsRender.pas --- a/hedgewars/uGearsRender.pas Sun May 26 17:53:14 2019 +0200 +++ b/hedgewars/uGearsRender.pas Sun May 26 19:12:16 2019 +0300 @@ -884,6 +884,7 @@ 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 + amFirePunch: DrawSpriteRotatedF(sprFirepunch, hx + 6 * sign + 1, hy - 5, (RealTicks div 50) mod 16, sign, 0); end; case amt of diff -r 5b245e8ed578 -r 9dbbb4bc1dcd hedgewars/uTypes.pas --- a/hedgewars/uTypes.pas Sun May 26 17:53:14 2019 +0200 +++ b/hedgewars/uTypes.pas Sun May 26 19:12:16 2019 +0300 @@ -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, sprHandLandGun + sprHaloHud, sprInvulnHUD, sprAmPiano, sprHandLandGun, sprFirepunch ); // Gears that interact with other Gears and/or Land diff -r 5b245e8ed578 -r 9dbbb4bc1dcd hedgewars/uVariables.pas --- a/hedgewars/uVariables.pas Sun May 26 17:53:14 2019 +0200 +++ b/hedgewars/uVariables.pas Sun May 26 19:12:16 2019 +0300 @@ -844,7 +844,9 @@ (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 (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 + Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprHandLandGun + (FileName: 'amShoryuken'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; + Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true) // sprFirepunch ); diff -r 5b245e8ed578 -r 9dbbb4bc1dcd share/hedgewars/Data/Graphics/Hedgehog/amShoryuken.png Binary file share/hedgewars/Data/Graphics/Hedgehog/amShoryuken.png has changed