First real reserved hats. Thanks Tiy! Also, seeing if blowtorch looks ok w/ hat on.
authornemo
Sat, 27 Feb 2010 19:54:03 +0000
changeset 2877 7c0d17ac0902
parent 2876 c4b50efa5095
child 2878 f43465842625
First real reserved hats. Thanks Tiy! Also, seeing if blowtorch looks ok w/ hat on.
hedgewars/uGears.pas
share/hedgewars/Data/Graphics/Hats/Reserved/e587f6146ebfbdefdc028c591643f220Bob.png
share/hedgewars/Data/Graphics/Hats/Reserved/e587f6146ebfbdefdc028c591643f220Bub.png
share/hedgewars/Data/Graphics/Hats/Reserved/e587f6146ebfbdefdc028c591643f220Cororon.png
share/hedgewars/Data/Graphics/Hats/Reserved/e587f6146ebfbdefdc028c591643f220Kululun.png
--- a/hedgewars/uGears.pas	Sat Feb 27 16:29:40 2010 +0000
+++ b/hedgewars/uGears.pas	Sat Feb 27 19:54:03 2010 +0000
@@ -1028,6 +1028,16 @@
 						3,
 						PHedgehog(Gear^.Hedgehog)^.visStepPos div 2,
 						0);
+                with PHedgehog(Gear^.Hedgehog)^ do
+                    if (HatTex <> nil) then
+                       DrawTextureF(HatTex,
+                           1,
+                           sx,
+                           hwRound(Gear^.Y) - 8 + WorldDy,
+                           0,
+                           hwSign(Gear^.dX),
+                           32,
+                           32);
 				stepSounds:= true;
 				defaultPos:= false
 				end;
@@ -1179,11 +1189,6 @@
 						1,
 						2,
 						0);
-			amBlowTorch: DrawHedgehog(sx, sy,
-						hwSign(Gear^.dX),
-						1,
-						3,
-						0);
 			amTeleport: DrawRotatedF(sprTeleport, sx, sy, 0, hwSign(Gear^.dX), 0);
 			amKamikaze: DrawHedgehog(sx, sy,
 						hwSign(Gear^.dX),
Binary file share/hedgewars/Data/Graphics/Hats/Reserved/e587f6146ebfbdefdc028c591643f220Bob.png has changed
Binary file share/hedgewars/Data/Graphics/Hats/Reserved/e587f6146ebfbdefdc028c591643f220Bub.png has changed
Binary file share/hedgewars/Data/Graphics/Hats/Reserved/e587f6146ebfbdefdc028c591643f220Cororon.png has changed
Binary file share/hedgewars/Data/Graphics/Hats/Reserved/e587f6146ebfbdefdc028c591643f220Kululun.png has changed