hedgewars/uTypes.pas
changeset 14034 f9281c294a4c
parent 14019 1effb8b72b11
child 14035 ecfd13128100
equal deleted inserted replaced
14024:03a5d9f0bcc9 14034:f9281c294a4c
   152             sndPortalOpen, sndBlowTorch, sndCountdown1, sndCountdown2, sndCountdown3, sndCountdown4,
   152             sndPortalOpen, sndBlowTorch, sndCountdown1, sndCountdown2, sndCountdown3, sndCountdown4,
   153             sndCreeperDrop, sndCreeperWater, sndCreeperDie, sndCustom1, sndCustom2, sndCustom3, sndCustom4,
   153             sndCreeperDrop, sndCreeperWater, sndCreeperDie, sndCustom1, sndCustom2, sndCustom3, sndCustom4,
   154             sndCustom5, sndCustom6, sndCustom7, sndCustom8, sndMinigun, sndFlamethrower, sndIceBeamIdle,
   154             sndCustom5, sndCustom6, sndCustom7, sndCustom8, sndMinigun, sndFlamethrower, sndIceBeamIdle,
   155             sndLandGun, sndCaseImpact, sndExtraDamage, sndFirePunchHit, sndGrenade, sndThisOneIsMine,
   155             sndLandGun, sndCaseImpact, sndExtraDamage, sndFirePunchHit, sndGrenade, sndThisOneIsMine,
   156             sndWhatThe, sndSoLong, sndOhDear, sndGonnaGetYou, sndDrat, sndBugger, sndAmazing,
   156             sndWhatThe, sndSoLong, sndOhDear, sndGonnaGetYou, sndDrat, sndBugger, sndAmazing,
   157             sndBrilliant, sndExcellent, sndFire, sndWatchThis, sndRunAway);
   157             sndBrilliant, sndExcellent, sndFire, sndWatchThis, sndRunAway, sndRevenge);
   158 
   158 
   159     // Available ammo types to be used by hedgehogs
   159     // Available ammo types to be used by hedgehogs
   160     TAmmoType  = (amNothing, amGrenade, amClusterBomb, amBazooka, amBee, amShotgun, amPickHammer, // 6
   160     TAmmoType  = (amNothing, amGrenade, amClusterBomb, amBazooka, amBee, amShotgun, amPickHammer, // 6
   161             amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip, // 13
   161             amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip, // 13
   162             amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch, // 18
   162             amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch, // 18
   340         Sacrificed: boolean;
   340         Sacrificed: boolean;
   341         MaxStepDamageRecv,
   341         MaxStepDamageRecv,
   342         MaxStepDamageGiven,
   342         MaxStepDamageGiven,
   343         MaxStepKills: Longword;
   343         MaxStepKills: Longword;
   344         FinishedTurns: Longword;
   344         FinishedTurns: Longword;
       
   345         GotRevenge: boolean;     // True if hog got revenge in this turn
   345         end;
   346         end;
   346 
   347 
   347     TTeamStats = record
   348     TTeamStats = record
   348         Kills : Longword;
   349         Kills : Longword;
   349         Suicides: Longword;
   350         Suicides: Longword;
   410             King: boolean;  // Flag for a bunch of hedgehog attributes
   411             King: boolean;  // Flag for a bunch of hedgehog attributes
   411             Unplaced: boolean;  // Flag for hog placing mode
   412             Unplaced: boolean;  // Flag for hog placing mode
   412             Timer: Longword;
   413             Timer: Longword;
   413             HealthBarHealth: LongInt;
   414             HealthBarHealth: LongInt;
   414             Effects: array[THogEffect] of LongInt;
   415             Effects: array[THogEffect] of LongInt;
       
   416             RevengeHog: PHedgehog;   // For which hog this hog wants revenge most. For sndRevenge taunt
   415             end;
   417             end;
   416 
   418 
   417     TTeam = record
   419     TTeam = record
   418             Clan: PClan;
   420             Clan: PClan;
   419             TeamName: shortstring;
   421             TeamName: shortstring;