Engine:
authorsmaxx
Tue, 14 Sep 2010 13:45:19 +0200
changeset 3863 95040bd7ace4
parent 3862 4d462b29428e
child 3864 cbd37f91d9a2
Engine: * Added clan colored boxes to death animations
hedgewars/GearDrawing.inc
share/hedgewars/Data/Graphics/AmmoMenu/SlotKeys.png
share/hedgewars/Data/Graphics/HHDeath.png
--- a/hedgewars/GearDrawing.inc	Tue Sep 14 13:05:49 2010 +0200
+++ b/hedgewars/GearDrawing.inc	Tue Sep 14 13:45:19 2010 +0200
@@ -15,6 +15,9 @@
 if (Gear^.State and gstHHDeath) <> 0 then
     begin
     DrawSprite(sprHHDeath, hwRound(Gear^.X) - 16 + WorldDx, hwRound(Gear^.Y) - 26 + WorldDy, Gear^.Pos);
+    Tint(HH^.Team^.Clan^.Color);
+    DrawSprite(sprHHDeath, hwRound(Gear^.X) - 16 + WorldDx, hwRound(Gear^.Y) - 26 + WorldDy, Gear^.Pos + 8);
+    Tint($FF, $FF, $FF, $FF);
     exit
     end
 else if (Gear^.State and gstHHGone) <> 0 then
Binary file share/hedgewars/Data/Graphics/AmmoMenu/SlotKeys.png has changed
Binary file share/hedgewars/Data/Graphics/HHDeath.png has changed