diff options
| author | megamage <none@none> | 2009-03-07 12:05:30 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-03-07 12:05:30 -0600 |
| commit | 520ce96257a07c0ad07a652e01a3927af0f48f6f (patch) | |
| tree | 3053b5b82332efbe2f6dbb79c9a3523859844ff2 /src/game/BattleGroundSA.cpp | |
| parent | f63c07e66975a9f55c0bf5f73a4f2a34bde3e848 (diff) | |
[7399] Rewrited BattleGround starting code - moved it to battleground class. Author: Triply
Fixed message color for premature finish warnings.
Fixed .debug bg command won't allow 1v0 arenas now, only battlegrounds 1v0.
Added battleground announcer message removed in [7384].
[7401] Fixed bgqueue invitation to already started battlegrounds - not tested. Author: Triply
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGroundSA.cpp')
| -rw-r--r-- | src/game/BattleGroundSA.cpp | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/game/BattleGroundSA.cpp b/src/game/BattleGroundSA.cpp index d5585fd93e9..68ef2af19be 100644 --- a/src/game/BattleGroundSA.cpp +++ b/src/game/BattleGroundSA.cpp @@ -16,13 +16,18 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include "Player.h" #include "BattleGround.h" #include "BattleGroundSA.h" -#include "Player.h" +#include "Language.h" BattleGroundSA::BattleGroundSA() { - + //TODO FIX ME! + m_StartMessageIds[BG_STARTING_EVENT_FIRST] = LANG_BG_WS_START_TWO_MINUTES; + m_StartMessageIds[BG_STARTING_EVENT_SECOND] = LANG_BG_WS_START_ONE_MINUTE; + m_StartMessageIds[BG_STARTING_EVENT_THIRD] = LANG_BG_WS_START_HALF_MINUTE; + m_StartMessageIds[BG_STARTING_EVENT_FOURTH] = LANG_BG_WS_HAS_BEGUN; } BattleGroundSA::~BattleGroundSA() @@ -35,6 +40,14 @@ void BattleGroundSA::Update(uint32 diff) BattleGround::Update(diff); } +void BattleGroundSA::StartingEventCloseDoors() +{ +} + +void BattleGroundSA::StartingEventOpenDoors() +{ +} + void BattleGroundSA::AddPlayer(Player *plr) { BattleGround::AddPlayer(plr); |
