# HG changeset patch # User sheepluva # Date 1296712838 -3600 # Node ID f0d48df35f8655d51d7f4aab669dc048f8924d91 # Parent 862b134284b240d94cdd3d61a9e856fab955a052 graphic for sinegun, will probably tweak it soon(TM) though diff -r 862b134284b2 -r f0d48df35f86 hedgewars/uGearsRender.pas --- 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 diff -r 862b134284b2 -r f0d48df35f86 hedgewars/uVariables.pas --- 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; diff -r 862b134284b2 -r f0d48df35f86 share/hedgewars/Data/Graphics/Hedgehog/amSineGun.png Binary file share/hedgewars/Data/Graphics/Hedgehog/amSineGun.png has changed