Toss in scaled down underwater SD mine as "air mine" pending, er, cybernetic butterflies or whatever
--- a/hedgewars/uGearsRender.pas Sat Jan 17 10:07:12 2015 -0500
+++ b/hedgewars/uGearsRender.pas Sun Jan 18 14:18:06 2015 -0500
@@ -1120,7 +1120,7 @@
DrawSpriteRotated(sprMineOn, x, y, 0, Gear^.DirAngle)
else DrawSpriteRotated(sprMineDead, x, y, 0, Gear^.DirAngle);
end;
- gtAirMine: DrawSpriteRotated(sprMineOff, x, y, 0, 0);
+ gtAirMine: DrawSprite(sprAirMine, x, y, (RealTicks div 125) mod 16);
gtSMine: if (((Gear^.State and gstAttacking) = 0)or((Gear^.Timer and $3FF) < 420)) and (Gear^.Health <> 0) then
DrawSpriteRotated(sprSMineOff, x, y, 0, Gear^.DirAngle)
--- a/hedgewars/uTypes.pas Sat Jan 17 10:07:12 2015 -0500
+++ b/hedgewars/uTypes.pas Sun Jan 18 14:18:06 2015 -0500
@@ -87,7 +87,8 @@
sprHandResurrector, sprCross, sprAirDrill, sprNapalmBomb,
sprBulletHit, sprSnowball, sprHandSnowball, sprSnow,
sprSDFlake, sprSDWater, sprSDCloud, sprSDSplash, sprSDDroplet, sprTardis,
- sprSlider, sprBotlevels, sprHandKnife, sprKnife, sprStar, sprIceTexture, sprIceGun, sprFrozenHog, sprAmRubber, sprBoing, sprCustom1, sprCustom2
+ sprSlider, sprBotlevels, sprHandKnife, sprKnife, sprStar, sprIceTexture, sprIceGun,
+ sprFrozenHog, sprAmRubber, sprBoing, sprCustom1, sprCustom2, sprAirMine
);
// Gears that interact with other Gears and/or Land
--- a/hedgewars/uVariables.pas Sat Jan 17 10:07:12 2015 -0500
+++ b/hedgewars/uVariables.pas Sun Jan 18 14:18:06 2015 -0500
@@ -701,7 +701,9 @@
(FileName: 'custom1'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLow; getDimensions: true; getImageDimensions: true), // sprCustom1
(FileName: 'custom2'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
- Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLow; getDimensions: true; getImageDimensions: true) // sprCustom2
+ Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLow; getDimensions: true; getImageDimensions: true), // sprCustom2
+ (FileName: 'AirMine'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
+ Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true)// sprAirMine
);
const
Binary file share/hedgewars/Data/Graphics/AirMine.png has changed