whip: visual enhancements (hat'n'dust) as suggested by nemo
authorsheepluva
Fri, 29 Nov 2013 18:46:32 +0100
changeset 9723 31d10d684e90
parent 9722 22dba2d8de93
child 9724 b3fefde4cff7
whip: visual enhancements (hat'n'dust) as suggested by nemo
ChangeLog.txt
hedgewars/uGearsHandlersMess.pas
hedgewars/uVariables.pas
share/hedgewars/Data/Graphics/Hedgehog/amWhip.png
--- a/ChangeLog.txt	Fri Nov 29 15:53:46 2013 +0400
+++ b/ChangeLog.txt	Fri Nov 29 18:46:32 2013 +0100
@@ -3,6 +3,7 @@
 
 0.9.19 -> ???:
  * increase precision in damage calcs; extra damage affects fire properly now
+ * visual enhancements for whip
 
 0.9.18 -> 0.9.19:
  + New Freezer weapon - freezes terrain, water, hedgehogs, mines, cases, explosives
--- a/hedgewars/uGearsHandlersMess.pas	Fri Nov 29 15:53:46 2013 +0400
+++ b/hedgewars/uGearsHandlersMess.pas	Fri Nov 29 18:46:32 2013 +0100
@@ -2068,6 +2068,7 @@
 
     for i:= 0 to 3 do
         begin
+        AddVisualGear(hwRound(Gear^.X) + hwSign(Gear^.dX) * (10 + 6 * i), hwRound(Gear^.Y) + 12 + Random(6), vgtDust);
         AmmoShove(Gear, 30, 25);
         Gear^.X := Gear^.X + Gear^.dX * 5
         end;
--- a/hedgewars/uVariables.pas	Fri Nov 29 15:53:46 2013 +0400
+++ b/hedgewars/uVariables.pas	Fri Nov 29 18:46:32 2013 +0100
@@ -450,7 +450,7 @@
             (FileName: 'amKamikaze'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
             Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprKamikaze
             (FileName:     'amWhip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
-            Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWhip
+            Width: 128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWhip
             (FileName:     'Kowtow'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprKowtow
             (FileName:        'Sad'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
Binary file share/hedgewars/Data/Graphics/Hedgehog/amWhip.png has changed