mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Core/Instances: merged some master branch commits in preparation for merging the upcomming instance save rewrite
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
#include "Creature.h"
|
||||
#include "CreatureAI.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
|
||||
DoorData const doorData[] =
|
||||
{
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "AreaBoundary.h"
|
||||
#include "Creature.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
#include "obsidian_sanctum.h"
|
||||
|
||||
/* Obsidian Sanctum encounters:
|
||||
@@ -38,7 +37,7 @@ public:
|
||||
|
||||
struct instance_obsidian_sanctum_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_obsidian_sanctum_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_obsidian_sanctum_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
|
||||
struct instance_trial_of_the_champion_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_trial_of_the_champion_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_trial_of_the_champion_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
uiMovementDone = 0;
|
||||
|
||||
@@ -43,7 +43,7 @@ class instance_trial_of_the_crusader : public InstanceMapScript
|
||||
|
||||
struct instance_trial_of_the_crusader_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_trial_of_the_crusader_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_trial_of_the_crusader_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(MAX_ENCOUNTERS);
|
||||
|
||||
@@ -86,7 +86,7 @@ class instance_halls_of_reflection : public InstanceMapScript
|
||||
|
||||
struct instance_halls_of_reflection_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_halls_of_reflection_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_halls_of_reflection_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -63,7 +63,7 @@ class instance_gundrak : public InstanceMapScript
|
||||
|
||||
struct instance_gundrak_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_gundrak_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_gundrak_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -114,7 +114,7 @@ class instance_naxxramas : public InstanceMapScript
|
||||
|
||||
struct instance_naxxramas_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_naxxramas_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_naxxramas_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
|
||||
struct instance_eye_of_eternity_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_eye_of_eternity_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_eye_of_eternity_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(MAX_ENCOUNTER);
|
||||
|
||||
@@ -31,7 +31,7 @@ class instance_nexus : public InstanceMapScript
|
||||
|
||||
struct instance_nexus_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_nexus_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_nexus_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -43,7 +43,7 @@ class instance_oculus : public InstanceMapScript
|
||||
|
||||
struct instance_oculus_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_oculus_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_oculus_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -37,7 +37,7 @@ class instance_halls_of_lightning : public InstanceMapScript
|
||||
|
||||
struct instance_halls_of_lightning_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_halls_of_lightning_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_halls_of_lightning_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -36,7 +36,7 @@ class instance_halls_of_stone : public InstanceMapScript
|
||||
|
||||
struct instance_halls_of_stone_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_halls_of_stone_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_halls_of_stone_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 "utgarde_keep.h"
|
||||
|
||||
DoorData const doorData[] =
|
||||
@@ -42,7 +41,7 @@ class instance_utgarde_keep : public InstanceMapScript
|
||||
|
||||
struct instance_utgarde_keep_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_utgarde_keep_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_utgarde_keep_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "AreaBoundary.h"
|
||||
#include "GameObject.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
#include "utgarde_pinnacle.h"
|
||||
|
||||
BossBoundaryData const boundaries =
|
||||
@@ -64,7 +63,7 @@ class instance_utgarde_pinnacle : public InstanceMapScript
|
||||
|
||||
struct instance_utgarde_pinnacle_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_utgarde_pinnacle_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_utgarde_pinnacle_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include "ScriptMgr.h"
|
||||
#include "GameTime.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
#include "vault_of_archavon.h"
|
||||
|
||||
/* Vault of Archavon encounters:
|
||||
@@ -44,7 +43,7 @@ class instance_vault_of_archavon : public InstanceMapScript
|
||||
|
||||
struct instance_vault_of_archavon_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_vault_of_archavon_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_vault_of_archavon_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
@@ -195,7 +195,7 @@ class instance_violet_hold : public InstanceMapScript
|
||||
|
||||
struct instance_violet_hold_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_violet_hold_InstanceMapScript(Map* map) : InstanceScript(map)
|
||||
instance_violet_hold_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
|
||||
Reference in New Issue
Block a user