graphic for sinegun, will probably tweak it soon(TM) though
authorsheepluva
Thu, 03 Feb 2011 07:00:38 +0100
changeset 4913 f0d48df35f86
parent 4912 862b134284b2
child 4914 5c33bb53c1e5
graphic for sinegun, will probably tweak it soon(TM) though
hedgewars/uGearsRender.pas
hedgewars/uVariables.pas
share/hedgewars/Data/Graphics/Hedgehog/amSineGun.png
--- a/hedgewars/uGearsRender.pas	Thu Feb 03 00:23:41 2011 +0100
+++ b/hedgewars/uGearsRender.pas	Thu Feb 03 07:00:38 2011 +0100
@@ -551,7 +551,7 @@
                 amRope: DrawRotated(sprHandRope, hx, hy, sign, aangle);
                 amShotgun: DrawRotated(sprHandShotgun, hx, hy, sign, aangle);
                 amDEagle: DrawRotated(sprHandDEagle, hx, hy, sign, aangle);
-                amSineGun: DrawRotated(sprHandShotgun, hx, hy, sign, aangle);
+                amSineGun: DrawRotatedF(sprHandSinegun, hx, hy, 73+(sign * (RealTicks div 73)) mod 8, sign, aangle);
                 amPortalGun: if (CurWeapon^.Timer and 2) <> 0 then // Add a new Hedgehog value instead of abusing timer?
                                 DrawRotatedF(sprPortalGun, hx, hy, 0, sign, aangle)
                         else
--- a/hedgewars/uVariables.pas	Thu Feb 03 00:23:41 2011 +0100
+++ b/hedgewars/uVariables.pas	Thu Feb 03 07:00:38 2011 +0100
@@ -507,7 +507,7 @@
             (FileName:  'Piano'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
             Width:  128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPiano
             (FileName:  'amSineGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
-            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSineGun
+            Width:  128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSineGun
             (FileName:  'amPortalGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
             Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPortalGun
             (FileName:  'Portal'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
Binary file share/hedgewars/Data/Graphics/Hedgehog/amSineGun.png has changed