Engine:
authorsmxx
Fri, 28 May 2010 13:04:11 +0000
changeset 3482 106d1f983b48
parent 3481 c385a7dad025
child 3483 54ff8cbabaa6
Engine: * Added some animation to Vampirism's hand graphic
hedgewars/GearDrawing.inc
hedgewars/uConsts.pas
share/hedgewars/Data/Graphics/Hedgehog/amVamp.png
--- a/hedgewars/GearDrawing.inc	Fri May 28 12:47:17 2010 +0000
+++ b/hedgewars/GearDrawing.inc	Fri May 28 13:04:11 2010 +0000
@@ -388,7 +388,7 @@
             amGasBomb: DrawRotated(sprHandCheese, hx, hy, hwSign(Gear^.dX), aangle);
             amMine: DrawRotated(sprHandMine, hx, hy, hwSign(Gear^.dX), aangle);
             amSeduction: DrawRotated(sprHandSeduction, hx, hy, hwSign(Gear^.dX), aangle);
-            amVampiric: DrawRotated(sprHandVamp, hx, hy, hwSign(Gear^.dX), aangle);
+            amVampiric: DrawRotatedF(sprHandVamp, hx, hy, (RealTicks div 125) mod 4, hwSign(Gear^.dX), aangle);
             amRCPlane: begin
                 DrawRotated(sprHandPlane, hx, hy, hwSign(Gear^.dX), 0);
                 defaultPos:= false
--- a/hedgewars/uConsts.pas	Fri May 28 12:47:17 2010 +0000
+++ b/hedgewars/uConsts.pas	Fri May 28 13:04:11 2010 +0000
@@ -727,7 +727,7 @@
             (FileName:  'amSeduction'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprHandSeduction
             (FileName:  'amVamp'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
-            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprHandVamp
+            Width:  128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprHandVamp
             (FileName:  'BigExplosion'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
             Width:  385; Height: 385; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprBigExplosion
             (FileName:  'SmokeRing'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
Binary file share/hedgewars/Data/Graphics/Hedgehog/amVamp.png has changed