aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundRL.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-17 15:35:07 -0700
committermaximius <none@none>2009-10-17 15:35:07 -0700
commit26b5e033ffde3d161382fc9addbfa99738379641 (patch)
treea344f369ca32945f787a02dee35c3dbe342bed7e /src/game/BattleGroundRL.h
parentf21f47005dcb6b76e1abc9f35fbcd03eed191bff (diff)
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGroundRL.h')
-rw-r--r--src/game/BattleGroundRL.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/game/BattleGroundRL.h b/src/game/BattleGroundRL.h
index 772c9dd0879..7fb7ef60c2d 100644
--- a/src/game/BattleGroundRL.h
+++ b/src/game/BattleGroundRL.h
@@ -19,9 +19,7 @@
*/
#ifndef __BATTLEGROUNDRL_H
#define __BATTLEGROUNDRL_H
-
class BattleGround;
-
enum BattleGroundRLObjectTypes
{
BG_RL_OBJECT_DOOR_1 = 0,
@@ -30,7 +28,6 @@ enum BattleGroundRLObjectTypes
BG_RL_OBJECT_BUFF_2 = 3,
BG_RL_OBJECT_MAX = 4
};
-
enum BattleGroundRLObjects
{
BG_RL_OBJECT_TYPE_DOOR_1 = 185918,
@@ -38,7 +35,6 @@ enum BattleGroundRLObjects
BG_RL_OBJECT_TYPE_BUFF_1 = 184663,
BG_RL_OBJECT_TYPE_BUFF_2 = 184664
};
-
class BattleGroundRLScore : public BattleGroundScore
{
public:
@@ -46,23 +42,19 @@ class BattleGroundRLScore : public BattleGroundScore
virtual ~BattleGroundRLScore() {};
//TODO fix me
};
-
class BattleGroundRL : public BattleGround
{
friend class BattleGroundMgr;
-
public:
BattleGroundRL();
~BattleGroundRL();
void Update(uint32 diff);
-
/* inherited from BattlegroundClass */
virtual void AddPlayer(Player *plr);
virtual void Reset();
virtual void FillInitialWorldStates(WorldPacket &d);
virtual void StartingEventCloseDoors();
virtual void StartingEventOpenDoors();
-
void RemovePlayer(Player *plr, uint64 guid);
void HandleAreaTrigger(Player *Source, uint32 Trigger);
bool SetupBattleGround();