# HG changeset patch # User nemo # Date 1301357583 14400 # Node ID 0c2c509ccc7b17ba026bb7492ab36e686e62c3ff # Parent 8de3d20b501e8317ebf55b3d6f0a19931a2cd7bb mikade really likes the snow dust diff -r 8de3d20b501e -r 0c2c509ccc7b hedgewars/uTypes.pas --- a/hedgewars/uTypes.pas Mon Mar 28 21:44:39 2011 +0400 +++ b/hedgewars/uTypes.pas Mon Mar 28 20:13:03 2011 -0400 @@ -64,7 +64,7 @@ sprThoughtCorner, sprThoughtEdge, sprThoughtTail, sprShoutCorner, sprShoutEdge, sprShoutTail, sprSniperRifle, sprBubbles, sprJetpack, sprHealth, sprHandMolotov, sprMolotov, - sprSmoke, sprSmokeWhite, sprShell, sprDust, sprExplosives, sprExplosivesRoll, + sprSmoke, sprSmokeWhite, sprShell, sprDust, sprSnowDust, sprExplosives, sprExplosivesRoll, sprAmTeleport, sprSplash, sprDroplet, sprBirdy, sprHandCake, sprHandConstruction, sprHandGrenade, sprHandMelon, sprHandMortar, sprHandSkip, sprHandCluster, sprHandDynamite, sprHandHellish, sprHandMine, sprHandSeduction, sprHandVamp, diff -r 8de3d20b501e -r 0c2c509ccc7b hedgewars/uVariables.pas --- a/hedgewars/uVariables.pas Mon Mar 28 21:44:39 2011 +0400 +++ b/hedgewars/uVariables.pas Mon Mar 28 20:13:03 2011 -0400 @@ -476,6 +476,8 @@ Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: true),// sprShell (FileName: 'Dust'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; Width: 22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprDust + (FileName: 'SnowDust'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; + Width: 22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSnowDust (FileName: 'Explosives'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplosives (FileName: 'ExplosivesRoll'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; diff -r 8de3d20b501e -r 0c2c509ccc7b hedgewars/uVisualGears.pas --- a/hedgewars/uVisualGears.pas Mon Mar 28 21:44:39 2011 +0400 +++ b/hedgewars/uVisualGears.pas Mon Mar 28 20:13:03 2011 -0400 @@ -429,7 +429,10 @@ case Gear^.Kind of vgtSmoke: DrawSprite(sprSmoke, round(Gear^.X) + WorldDx - 11, round(Gear^.Y) + WorldDy - 11, 7 - Gear^.Frame); vgtSmokeWhite: DrawSprite(sprSmokeWhite, round(Gear^.X) + WorldDx - 11, round(Gear^.Y) + WorldDy - 11, 7 - Gear^.Frame); - vgtDust: DrawSprite(sprDust, round(Gear^.X) + WorldDx - 11, round(Gear^.Y) + WorldDy - 11, 7 - Gear^.Frame); + vgtDust: if Gear^.State = 1 then + DrawSprite(sprSnowDust, round(Gear^.X) + WorldDx - 11, round(Gear^.Y) + WorldDy - 11, 7 - Gear^.Frame) + else + DrawSprite(sprDust, round(Gear^.X) + WorldDx - 11, round(Gear^.Y) + WorldDy - 11, 7 - Gear^.Frame); vgtFire: if (Gear^.State and gstTmpFlag) = 0 then DrawSprite(sprFlame, round(Gear^.X) + WorldDx - 8, round(Gear^.Y) + WorldDy, (RealTicks shr 6 + Gear^.Frame) mod 8) else diff -r 8de3d20b501e -r 0c2c509ccc7b share/hedgewars/Data/Graphics/SnowDust.png Binary file share/hedgewars/Data/Graphics/SnowDust.png has changed