|
| 1 | +/* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/> |
| 2 | + * This program is free software; you can redistribute it and/or modify |
| 3 | + * it under the terms of the GNU General Public License as published by |
| 4 | + * the Free Software Foundation; either version 2 of the License, or |
| 5 | + * (at your option) any later version. |
| 6 | + * |
| 7 | + * This program is distributed in the hope that it will be useful, |
| 8 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | + * GNU General Public License for more details. |
| 11 | + * |
| 12 | + * You should have received a copy of the GNU General Public License |
| 13 | + * along with this program; if not, write to the Free Software |
| 14 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 15 | + */ |
| 16 | + |
| 17 | +/* ScriptData |
| 18 | +SDName: world_map_ebon_hold |
| 19 | +SD%Complete: 0 |
| 20 | +SDComment: |
| 21 | +SDCategory: Ebon Hold |
| 22 | +EndScriptData */ |
| 23 | + |
| 24 | +#include "precompiled.h" |
| 25 | +#include "world_map_ebon_hold.h" |
| 26 | + |
| 27 | +world_map_ebon_hold::world_map_ebon_hold(Map* pMap) : ScriptedInstance(pMap), |
| 28 | + m_uiBattleEncounter(0) |
| 29 | +{ |
| 30 | + Initialize(); |
| 31 | +} |
| 32 | + |
| 33 | +void world_map_ebon_hold::Initialize() {} |
| 34 | + |
| 35 | + |
| 36 | +InstanceData* GetInstance_world_map_ebon_hold(Map* pMap) |
| 37 | +{ |
| 38 | + return new world_map_ebon_hold(pMap); |
| 39 | +} |
| 40 | + |
| 41 | +void AddSC_world_map_ebon_hold() |
| 42 | +{ |
| 43 | + Script* pNewScript; |
| 44 | + |
| 45 | + pNewScript = new Script; |
| 46 | + pNewScript->Name = "world_map_ebon_hold"; |
| 47 | + pNewScript->GetInstanceData = &GetInstance_world_map_ebon_hold; |
| 48 | + pNewScript->RegisterSelf(); |
| 49 | +} |
0 commit comments