mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Core/Instances: merged some master branch commits in preparation for merging the upcomming instance save rewrite
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#include "ScriptMgr.h"
|
||||
#include "auchenai_crypts.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
|
||||
class instance_auchenai_crypts : public InstanceMapScript
|
||||
{
|
||||
@@ -27,7 +26,7 @@ class instance_auchenai_crypts : public InstanceMapScript
|
||||
|
||||
struct instance_auchenai_crypts_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_auchenai_crypts_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_auchenai_crypts_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include "ScriptMgr.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "mana_tombs.h"
|
||||
#include "Map.h"
|
||||
|
||||
class instance_mana_tombs : public InstanceMapScript
|
||||
{
|
||||
@@ -27,7 +26,7 @@ class instance_mana_tombs : public InstanceMapScript
|
||||
|
||||
struct instance_mana_tombs_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_mana_tombs_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_mana_tombs_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "Creature.h"
|
||||
#include "GameObject.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
#include "sethekk_halls.h"
|
||||
|
||||
DoorData const doorData[] =
|
||||
@@ -41,7 +40,7 @@ class instance_sethekk_halls : public InstanceMapScript
|
||||
|
||||
struct instance_sethekk_halls_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_sethekk_halls_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_sethekk_halls_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -35,7 +35,7 @@ class instance_shadow_labyrinth : public InstanceMapScript
|
||||
|
||||
struct instance_shadow_labyrinth_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_shadow_labyrinth_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_shadow_labyrinth_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -94,7 +94,7 @@ class instance_black_temple : public InstanceMapScript
|
||||
|
||||
struct instance_black_temple_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_black_temple_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_black_temple_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -95,7 +95,7 @@ class instance_serpent_shrine : public InstanceMapScript
|
||||
|
||||
struct instance_serpentshrine_cavern_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_serpentshrine_cavern_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_serpentshrine_cavern_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
memset(&m_auiEncounter, 0, sizeof(m_auiEncounter));
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "GameObjectAI.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Log.h"
|
||||
#include "Map.h"
|
||||
#include "steam_vault.h"
|
||||
|
||||
class go_main_chambers_access_panel : public GameObjectScript
|
||||
@@ -69,7 +68,7 @@ class instance_steam_vault : public InstanceMapScript
|
||||
|
||||
struct instance_steam_vault_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_steam_vault_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_steam_vault_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -25,7 +25,6 @@ gets instead the deserter debuff.
|
||||
#include "ScriptMgr.h"
|
||||
#include "Creature.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
#include "the_slave_pens.h"
|
||||
|
||||
class instance_the_slave_pens : public InstanceMapScript
|
||||
@@ -35,7 +34,7 @@ public:
|
||||
|
||||
struct instance_the_slave_pens_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_the_slave_pens_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_the_slave_pens_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
counter = DATA_FLAMECALLER_000;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,6 @@ gets instead the deserter debuff.
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
#include "the_underbog.h"
|
||||
|
||||
class instance_the_underbog : public InstanceMapScript
|
||||
@@ -39,7 +38,7 @@ public:
|
||||
|
||||
struct instance_the_underbog_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_the_underbog_InstanceMapScript(Map* map) : InstanceScript(map) { }
|
||||
instance_the_underbog_InstanceMapScript(InstanceMap* map) : InstanceScript(map) { }
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "Creature.h"
|
||||
#include "gruuls_lair.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
|
||||
DoorData const doorData[] =
|
||||
{
|
||||
@@ -44,7 +43,7 @@ class instance_gruuls_lair : public InstanceMapScript
|
||||
|
||||
struct instance_gruuls_lair_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_gruuls_lair_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_gruuls_lair_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -40,7 +40,7 @@ class instance_blood_furnace : public InstanceMapScript
|
||||
|
||||
struct instance_blood_furnace_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_blood_furnace_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_blood_furnace_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -36,7 +36,7 @@ class instance_ramparts : public InstanceMapScript
|
||||
|
||||
struct instance_ramparts_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_ramparts_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_ramparts_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -71,7 +71,7 @@ class instance_magtheridons_lair : public InstanceMapScript
|
||||
|
||||
struct instance_magtheridons_lair_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_magtheridons_lair_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_magtheridons_lair_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -53,7 +53,7 @@ class instance_shattered_halls : public InstanceMapScript
|
||||
|
||||
struct instance_shattered_halls_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_shattered_halls_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_shattered_halls_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -26,7 +26,6 @@ EndScriptData */
|
||||
#include "ScriptMgr.h"
|
||||
#include "Creature.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
#include "the_eye.h"
|
||||
|
||||
/* The Eye encounters:
|
||||
@@ -58,7 +57,7 @@ class instance_the_eye : public InstanceMapScript
|
||||
|
||||
struct instance_the_eye_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_the_eye_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_the_eye_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
#include "mechanar.h"
|
||||
|
||||
static DoorData const doorData[] =
|
||||
@@ -36,7 +35,7 @@ class instance_mechanar : public InstanceMapScript
|
||||
|
||||
struct instance_mechanar_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_mechanar_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_mechanar_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "Creature.h"
|
||||
#include "GameObject.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
|
||||
DoorData const doorData[] =
|
||||
{
|
||||
@@ -36,7 +35,7 @@ class instance_arcatraz : public InstanceMapScript
|
||||
|
||||
struct instance_arcatraz_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_arcatraz_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_arcatraz_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include "ScriptMgr.h"
|
||||
#include "Creature.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
#include "the_botanica.h"
|
||||
|
||||
class instance_the_botanica : public InstanceMapScript
|
||||
@@ -28,7 +27,7 @@ class instance_the_botanica : public InstanceMapScript
|
||||
|
||||
struct instance_the_botanica_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_the_botanica_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_the_botanica_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user