# HG changeset patch # User nemo # Date 1421608686 18000 # Node ID f6df7d6e18e53adaf85fdf70f8143a3a1bcabcbc # Parent 0311c9fa749888aa6266bfec86de892df38baa21 Toss in scaled down underwater SD mine as "air mine" pending, er, cybernetic butterflies or whatever diff -r 0311c9fa7498 -r f6df7d6e18e5 hedgewars/uGearsRender.pas --- 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) diff -r 0311c9fa7498 -r f6df7d6e18e5 hedgewars/uTypes.pas --- 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 diff -r 0311c9fa7498 -r f6df7d6e18e5 hedgewars/uVariables.pas --- 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 diff -r 0311c9fa7498 -r f6df7d6e18e5 share/hedgewars/Data/Graphics/AirMine.png Binary file share/hedgewars/Data/Graphics/AirMine.png has changed