hedgewars/uTypes.pas
changeset 14055 f9281c294a4c
parent 14040 1effb8b72b11
child 14056 ecfd13128100
--- a/hedgewars/uTypes.pas	Sun Oct 28 00:49:00 2018 +0200
+++ b/hedgewars/uTypes.pas	Sun Oct 28 02:24:06 2018 +0200
@@ -154,7 +154,7 @@
             sndCustom5, sndCustom6, sndCustom7, sndCustom8, sndMinigun, sndFlamethrower, sndIceBeamIdle,
             sndLandGun, sndCaseImpact, sndExtraDamage, sndFirePunchHit, sndGrenade, sndThisOneIsMine,
             sndWhatThe, sndSoLong, sndOhDear, sndGonnaGetYou, sndDrat, sndBugger, sndAmazing,
-            sndBrilliant, sndExcellent, sndFire, sndWatchThis, sndRunAway);
+            sndBrilliant, sndExcellent, sndFire, sndWatchThis, sndRunAway, sndRevenge);
 
     // Available ammo types to be used by hedgehogs
     TAmmoType  = (amNothing, amGrenade, amClusterBomb, amBazooka, amBee, amShotgun, amPickHammer, // 6
@@ -342,6 +342,7 @@
         MaxStepDamageGiven,
         MaxStepKills: Longword;
         FinishedTurns: Longword;
+        GotRevenge: boolean;     // True if hog got revenge in this turn
         end;
 
     TTeamStats = record
@@ -412,6 +413,7 @@
             Timer: Longword;
             HealthBarHealth: LongInt;
             Effects: array[THogEffect] of LongInt;
+            RevengeHog: PHedgehog;   // For which hog this hog wants revenge most. For sndRevenge taunt
             end;
 
     TTeam = record