aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGround.h
diff options
context:
space:
mode:
authorwin32 <none@none>2009-12-16 23:23:42 +0200
committerwin32 <none@none>2009-12-16 23:23:42 +0200
commitf64a11dfdc1a09e5734e76e87279091af26b04d6 (patch)
tree03b0a3756d5a0801a51e708ffd1a9677570f7ac2 /src/game/BattleGround.h
parentc645c993106cddf210d427ff74f8e0828e322dc2 (diff)
Restore work arena unit frame
Closes #289 --HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGround.h')
-rw-r--r--src/game/BattleGround.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/BattleGround.h b/src/game/BattleGround.h
index 38772f9fd33..275085f4ca7 100644
--- a/src/game/BattleGround.h
+++ b/src/game/BattleGround.h
@@ -210,6 +210,12 @@ enum ArenaType
ARENA_TYPE_5v5 = 5
};
+enum ArenaWorldUnitState
+{
+ HORDE_WORLD_STATE = 0xE10,
+ ALLIANCE_WORLD_STATE = 0xE11
+};
+
enum BattleGroundType
{
TYPE_BATTLEGROUND = 3,
@@ -478,6 +484,7 @@ class BattleGround
void SetArenaTeamRatingChangeForTeam(uint32 Team, int32 RatingChange) { m_ArenaTeamRatingChanges[GetTeamIndexByTeamId(Team)] = RatingChange; }
int32 GetArenaTeamRatingChangeForTeam(uint32 Team) const { return m_ArenaTeamRatingChanges[GetTeamIndexByTeamId(Team)]; }
void CheckArenaWinConditions();
+ void UpdateArenaUnitWorldState();
/* Triggers handle */
// must be implemented in BG subclass