chore(PCH): remove "ScriptPCH.h" from cpp scripts (#1423)

remove "ScriptPCH.h" from cpp scripts as it is intended to be used as precompiled header for the build process only
This commit is contained in:
Stoabrogga
2019-02-10 14:50:44 +01:00
committed by GitHub
parent 2d3ea3a308
commit 7a9f09341f
114 changed files with 156 additions and 140 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
#include "ScriptPCH.h" #include "Player.h"
#include "ScriptMgr.h"
#include "Chat.h"
#include "Channel.h" #include "Channel.h"
#include "Language.h" #include "Language.h"
#include "Group.h" #include "Group.h"
@@ -7,8 +7,6 @@
#ifndef DEF_BRD_H #ifndef DEF_BRD_H
#define DEF_BRD_H #define DEF_BRD_H
#include "ScriptPCH.h"
enum FactionIds enum FactionIds
{ {
FACTION_NEUTRAL = 734, FACTION_NEUTRAL = 734,
@@ -7,8 +7,6 @@
#ifndef DEF_BLACKROCK_SPIRE_H #ifndef DEF_BLACKROCK_SPIRE_H
#define DEF_BLACKROCK_SPIRE_H #define DEF_BLACKROCK_SPIRE_H
#include "ScriptPCH.h"
uint32 const EncounterCount = 23; uint32 const EncounterCount = 23;
#define BRSScriptName "instance_blackrock_spire" #define BRSScriptName "instance_blackrock_spire"
@@ -7,8 +7,6 @@
#ifndef DEF_BLACKWING_LAIR_H #ifndef DEF_BLACKWING_LAIR_H
#define DEF_BLACKWING_LAIR_H #define DEF_BLACKWING_LAIR_H
#include "ScriptPCH.h"
uint32 const EncounterCount = 8; uint32 const EncounterCount = 8;
#define BRLScriptName "instance_blackwing_lair" #define BRLScriptName "instance_blackwing_lair"
@@ -7,8 +7,6 @@
#ifndef DEF_MOLTEN_CORE_H #ifndef DEF_MOLTEN_CORE_H
#define DEF_MOLTEN_CORE_H #define DEF_MOLTEN_CORE_H
#include "ScriptPCH.h"
enum Encounters enum Encounters
{ {
BOSS_LUCIFRON = 0, BOSS_LUCIFRON = 0,
@@ -5,8 +5,6 @@
#ifndef DEF_DEADMINES_H #ifndef DEF_DEADMINES_H
#define DEF_DEADMINES_H #define DEF_DEADMINES_H
#include "ScriptPCH.h"
enum DataTypes enum DataTypes
{ {
TYPE_RHAHK_ZOR = 0, TYPE_RHAHK_ZOR = 0,
@@ -2,8 +2,9 @@
* Originally written by Xinef - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 * Originally written by Xinef - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
*/ */
#include "Player.h"
#include "SpellScript.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "InstanceScript.h" #include "InstanceScript.h"
#include "PassiveAI.h" #include "PassiveAI.h"
@@ -11,8 +11,8 @@ SDComment: SDComment: Timers may incorrect
SDCategory: Karazhan SDCategory: Karazhan
EndScriptData */ EndScriptData */
#include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "karazhan.h" #include "karazhan.h"
@@ -3,7 +3,6 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "magisters_terrace.h" #include "magisters_terrace.h"
#include "WorldPacket.h" #include "WorldPacket.h"
@@ -3,7 +3,6 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "InstanceScript.h" #include "InstanceScript.h"
#include "magisters_terrace.h" #include "magisters_terrace.h"
@@ -5,7 +5,9 @@
#ifndef DEF_MAGISTERS_TERRACE_H #ifndef DEF_MAGISTERS_TERRACE_H
#define DEF_MAGISTERS_TERRACE_H #define DEF_MAGISTERS_TERRACE_H
#include "ScriptPCH.h" #include "Player.h"
#include "CreatureAI.h"
#include "SpellScript.h"
enum MTData enum MTData
{ {
@@ -5,7 +5,6 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "Vehicle.h" #include "Vehicle.h"
@@ -17,6 +16,7 @@
#include "SpellInfo.h" #include "SpellInfo.h"
#include "CreatureTextMgr.h" #include "CreatureTextMgr.h"
#include "PetAI.h" #include "PetAI.h"
#include "SpellScript.h"
// Ours // Ours
enum eyeOfAcherus enum eyeOfAcherus
@@ -5,12 +5,13 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedEscortAI.h" #include "ScriptedEscortAI.h"
#include "Player.h" #include "Player.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "CreatureTextMgr.h" #include "CreatureTextMgr.h"
#include "CombatAI.h"
#include "SpellScript.h"
//How to win friends and influence enemies //How to win friends and influence enemies
// texts signed for creature 28939 but used for 28939, 28940, 28610 // texts signed for creature 28939 but used for 28939, 28940, 28610
@@ -5,11 +5,11 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "ScriptedEscortAI.h" #include "ScriptedEscortAI.h"
#include "Player.h" #include "Player.h"
#include "SpellScript.h"
enum LightOfDawnSays enum LightOfDawnSays
{ {
@@ -5,8 +5,6 @@
#ifndef DEF_SCHOLOMANCE_H #ifndef DEF_SCHOLOMANCE_H
#define DEF_SCHOLOMANCE_H #define DEF_SCHOLOMANCE_H
#include "ScriptPCH.h"
enum DataTypes enum DataTypes
{ {
DATA_KIRTONOS_THE_HERALD = 0, DATA_KIRTONOS_THE_HERALD = 0,
@@ -3,7 +3,6 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "InstanceScript.h" #include "InstanceScript.h"
#include "shadowfang_keep.h" #include "shadowfang_keep.h"
#include "TemporarySummon.h" #include "TemporarySummon.h"
@@ -5,7 +5,8 @@
#ifndef DEF_SHADOWFANG_H #ifndef DEF_SHADOWFANG_H
#define DEF_SHADOWFANG_H #define DEF_SHADOWFANG_H
#include "ScriptPCH.h" #include "SpellAuraEffects.h"
#include "SpellScript.h"
enum DataTypes enum DataTypes
{ {
@@ -5,7 +5,7 @@
#ifndef DEF_STRATHOLME_H #ifndef DEF_STRATHOLME_H
#define DEF_STRATHOLME_H #define DEF_STRATHOLME_H
#include "ScriptPCH.h" #include "SpellAuras.h"
enum DataTypes enum DataTypes
{ {
@@ -3,11 +3,11 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "InstanceScript.h" #include "InstanceScript.h"
#include "sunken_temple.h" #include "sunken_temple.h"
#include "Player.h" #include "Player.h"
#include "CreatureAI.h" #include "CreatureAI.h"
#include "SpellScript.h"
class instance_sunken_temple : public InstanceMapScript class instance_sunken_temple : public InstanceMapScript
{ {
@@ -5,8 +5,6 @@
#ifndef DEF_SUNKEN_TEMPLE_H #ifndef DEF_SUNKEN_TEMPLE_H
#define DEF_SUNKEN_TEMPLE_H #define DEF_SUNKEN_TEMPLE_H
#include "ScriptPCH.h"
enum DataTypes enum DataTypes
{ {
DATA_STATUES = 10, DATA_STATUES = 10,
@@ -3,7 +3,6 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "sunwell_plateau.h" #include "sunwell_plateau.h"
@@ -3,7 +3,6 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "sunwell_plateau.h" #include "sunwell_plateau.h"
#include "SpellInfo.h" #include "SpellInfo.h"
@@ -5,7 +5,11 @@
#ifndef SUNWELL_PLATEAU_H #ifndef SUNWELL_PLATEAU_H
#define SUNWELL_PLATEAU_H #define SUNWELL_PLATEAU_H
#include "ScriptPCH.h" #include "Player.h"
#include "SpellScript.h"
#include "PassiveAI.h"
#include "SpellAuraEffects.h"
#include "CreatureAIImpl.h"
enum DataTypes enum DataTypes
{ {
@@ -3,8 +3,9 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "InstanceScript.h" #include "InstanceScript.h"
#include "SpellScript.h"
#include "CreatureAI.h"
#include "uldaman.h" #include "uldaman.h"
enum Spells enum Spells
@@ -5,8 +5,6 @@
#ifndef DEF_ULDAMAN_H #ifndef DEF_ULDAMAN_H
#define DEF_ULDAMAN_H #define DEF_ULDAMAN_H
#include "ScriptPCH.h"
enum DataTypes enum DataTypes
{ {
DATA_IRONAYA_DOORS = 0, DATA_IRONAYA_DOORS = 0,
@@ -7,8 +7,6 @@
#ifndef DEF_ZULAMAN_H #ifndef DEF_ZULAMAN_H
#define DEF_ZULAMAN_H #define DEF_ZULAMAN_H
#include "ScriptPCH.h"
enum DataTypes enum DataTypes
{ {
DATA_GONGEVENT = 0, DATA_GONGEVENT = 0,
@@ -7,8 +7,6 @@
#ifndef DEF_ZULGURUB_H #ifndef DEF_ZULGURUB_H
#define DEF_ZULGURUB_H #define DEF_ZULGURUB_H
#include "ScriptPCH.h"
uint32 const EncounterCount = 13; uint32 const EncounterCount = 13;
#define ZGScriptName "instance_zulgurub" #define ZGScriptName "instance_zulgurub"
@@ -19,11 +19,12 @@ npc_tirion_fordring
EndContentData */ EndContentData */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "Player.h" #include "Player.h"
#include "WorldSession.h" #include "WorldSession.h"
#include "PassiveAI.h"
#include "SpellInfo.h"
// Ours // Ours
@@ -17,12 +17,12 @@ npc_greengill_slave
EndContentData */ EndContentData */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "Player.h" #include "Player.h"
#include "Pet.h" #include "Pet.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "PassiveAI.h" #include "PassiveAI.h"
#include "SpellScript.h"
/*###### OUR: ######*/ /*###### OUR: ######*/
+2 -1
View File
@@ -1,7 +1,6 @@
// Scripted by Xinef // Scripted by Xinef
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellAuras.h" #include "SpellAuras.h"
@@ -11,6 +10,8 @@
#include "GameEventMgr.h" #include "GameEventMgr.h"
#include "Group.h" #include "Group.h"
#include "LFGMgr.h" #include "LFGMgr.h"
#include "PassiveAI.h"
#include "CellImpl.h"
/////////////////////////////////////// ///////////////////////////////////////
////// GOS ////// GOS
+1 -1
View File
@@ -1,7 +1,6 @@
// Scripted by Xinef // Scripted by Xinef
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "GridNotifiers.h" #include "GridNotifiers.h"
#include "GridNotifiersImpl.h" #include "GridNotifiersImpl.h"
@@ -10,6 +9,7 @@
#include "SpellScript.h" #include "SpellScript.h"
#include "LFGMgr.h" #include "LFGMgr.h"
#include "Group.h" #include "Group.h"
#include "PassiveAI.h"
/////////////////////////////////////// ///////////////////////////////////////
////// GOS ////// GOS
@@ -1,13 +1,13 @@
// Scripted by Xinef // Scripted by Xinef
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "CombatAI.h" #include "CombatAI.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "Player.h" #include "Player.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "PassiveAI.h"
/////////////////////////////////////// ///////////////////////////////////////
////// TABLE EVENT ////// TABLE EVENT
@@ -5,8 +5,6 @@
#ifndef BFD_H_ #ifndef BFD_H_
#define BFD_H_ #define BFD_H_
#include "ScriptPCH.h"
enum Data enum Data
{ {
TYPE_GELIHAST = 0, TYPE_GELIHAST = 0,
@@ -7,7 +7,7 @@
#ifndef DEF_HYJAL_H #ifndef DEF_HYJAL_H
#define DEF_HYJAL_H #define DEF_HYJAL_H
#include "ScriptPCH.h" #include "GridNotifiers.h"
#define ERROR_INST_DATA "TSCR: Instance data not set properly for Mount Hyjal. Encounters will be buggy." #define ERROR_INST_DATA "TSCR: Instance data not set properly for Mount Hyjal. Encounters will be buggy."
@@ -5,8 +5,6 @@
#ifndef DEF_CULLING_OF_STRATHOLME_H #ifndef DEF_CULLING_OF_STRATHOLME_H
#define DEF_CULLING_OF_STRATHOLME_H #define DEF_CULLING_OF_STRATHOLME_H
#include "ScriptPCH.h"
enum Data enum Data
{ {
DATA_ARTHAS_EVENT, DATA_ARTHAS_EVENT,
@@ -5,8 +5,6 @@
#ifndef DEF_OLD_HILLSBRAD_H #ifndef DEF_OLD_HILLSBRAD_H
#define DEF_OLD_HILLSBRAD_H #define DEF_OLD_HILLSBRAD_H
#include "ScriptPCH.h"
enum DataIds enum DataIds
{ {
DATA_ESCORT_PROGRESS = 0, DATA_ESCORT_PROGRESS = 0,
@@ -5,7 +5,8 @@
#ifndef DEF_THEBLACKMORASS_H #ifndef DEF_THEBLACKMORASS_H
#define DEF_THEBLACKMORASS_H #define DEF_THEBLACKMORASS_H
#include "ScriptPCH.h" #include "SpellScript.h"
#include "PassiveAI.h"
enum DataTypes enum DataTypes
{ {
@@ -5,7 +5,7 @@
#ifndef DEF_DIRE_MAUL_H #ifndef DEF_DIRE_MAUL_H
#define DEF_DIRE_MAUL_H #define DEF_DIRE_MAUL_H
#include "ScriptPCH.h" #include "UnitAI.h"
enum DataTypes enum DataTypes
{ {
@@ -5,8 +5,6 @@
#ifndef DEF_MARAUDON_H #ifndef DEF_MARAUDON_H
#define DEF_MARAUDON_H #define DEF_MARAUDON_H
#include "ScriptPCH.h"
enum DataTypes enum DataTypes
{ {
TYPE_NOXXION = 0, TYPE_NOXXION = 0,
@@ -5,8 +5,6 @@
#ifndef DEF_ONYXIAS_LAIR_H #ifndef DEF_ONYXIAS_LAIR_H
#define DEF_ONYXIAS_LAIR_H #define DEF_ONYXIAS_LAIR_H
#include "ScriptPCH.h"
enum eInstanceData enum eInstanceData
{ {
DATA_ONYXIA = 0, DATA_ONYXIA = 0,
@@ -5,7 +5,7 @@
#ifndef DEF_RAZORFEN_DOWNS_H #ifndef DEF_RAZORFEN_DOWNS_H
#define DEF_RAZORFEN_DOWNS_H #define DEF_RAZORFEN_DOWNS_H
#include "ScriptPCH.h" #include "PassiveAI.h"
enum CreatureIds enum CreatureIds
{ {
@@ -7,8 +7,6 @@
#ifndef DEF_RUINS_OF_AHNQIRAJ_H #ifndef DEF_RUINS_OF_AHNQIRAJ_H
#define DEF_RUINS_OF_AHNQIRAJ_H #define DEF_RUINS_OF_AHNQIRAJ_H
#include "ScriptPCH.h"
enum DataTypes enum DataTypes
{ {
DATA_KURINNAXX = 0, DATA_KURINNAXX = 0,
@@ -7,8 +7,6 @@
#ifndef DEF_TEMPLE_OF_AHNQIRAJ_H #ifndef DEF_TEMPLE_OF_AHNQIRAJ_H
#define DEF_TEMPLE_OF_AHNQIRAJ_H #define DEF_TEMPLE_OF_AHNQIRAJ_H
#include "ScriptPCH.h"
enum DataTypes enum DataTypes
{ {
DATA_SKERAM = 1, DATA_SKERAM = 1,
@@ -5,7 +5,7 @@
#ifndef DEF_WAILING_CAVERNS_H #ifndef DEF_WAILING_CAVERNS_H
#define DEF_WAILING_CAVERNS_H #define DEF_WAILING_CAVERNS_H
#include "ScriptPCH.h" #include "CreatureAI.h"
enum DataTypes enum DataTypes
{ {
@@ -5,7 +5,9 @@
#ifndef DEF_ZULFARRACK_H #ifndef DEF_ZULFARRACK_H
#define DEF_ZULFARRACK_H #define DEF_ZULFARRACK_H
#include "ScriptPCH.h" #include "SpellScript.h"
#include "GridNotifiers.h"
#include "CellImpl.h"
enum ZulFarrakData enum ZulFarrakData
{ {
@@ -17,12 +17,13 @@ quest_a_pawn_on_the_eternal_pawn
EndContentData */ EndContentData */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "Group.h" #include "Group.h"
#include "Player.h" #include "Player.h"
#include "AccountMgr.h" #include "AccountMgr.h"
#include "SpellInfo.h"
#include "Spell.h"
/*### /*###
## npcs_rutgar_and_frankal ## npcs_rutgar_and_frankal
@@ -5,7 +5,9 @@
#ifndef DEF_AZJOL_NERUB_H #ifndef DEF_AZJOL_NERUB_H
#define DEF_AZJOL_NERUB_H #define DEF_AZJOL_NERUB_H
#include "ScriptPCH.h" #include "SpellScript.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h"
enum ANData enum ANData
{ {
@@ -2,8 +2,6 @@
#ifndef DEF_AHNKAHET_H #ifndef DEF_AHNKAHET_H
#define DEF_AHNKAHET_H #define DEF_AHNKAHET_H
#include "ScriptPCH.h"
#define MAX_ENCOUNTER 5 #define MAX_ENCOUNTER 5
enum Data64 enum Data64
{ {
@@ -5,8 +5,6 @@
#ifndef DEF_OBSIDIAN_SANCTUM_H #ifndef DEF_OBSIDIAN_SANCTUM_H
#define DEF_OBSIDIAN_SANCTUM_H #define DEF_OBSIDIAN_SANCTUM_H
#include "ScriptPCH.h"
enum Data enum Data
{ {
// Encounter // Encounter
@@ -5,13 +5,13 @@
#ifndef RUBY_SANCTUM_H_ #ifndef RUBY_SANCTUM_H_
#define RUBY_SANCTUM_H_ #define RUBY_SANCTUM_H_
#include "ScriptPCH.h" #include "Player.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "Map.h" #include "Map.h"
#include "Creature.h" #include "Creature.h"
#include "GameObjectAI.h" #include "GameObjectAI.h"
#include "PassiveAI.h"
#include "Opcodes.h"
enum DataTypes enum DataTypes
{ {
@@ -5,7 +5,7 @@
#ifndef DEF_TOC_H #ifndef DEF_TOC_H
#define DEF_TOC_H #define DEF_TOC_H
#include "ScriptPCH.h" #include "CombatAI.h"
enum eData enum eData
{ {
@@ -5,7 +5,8 @@
#ifndef DEF_CRUSADER_H #ifndef DEF_CRUSADER_H
#define DEF_CRUSADER_H #define DEF_CRUSADER_H
#include "ScriptPCH.h" #include "GridNotifiers.h"
#include "SpellAuraEffects.h"
enum DataTypes enum DataTypes
{ {
@@ -5,7 +5,8 @@
#ifndef DEF_DRAK_THARON_H #ifndef DEF_DRAK_THARON_H
#define DEF_DRAK_THARON_H #define DEF_DRAK_THARON_H
#include "ScriptPCH.h" #include "SpellScript.h"
#include "SpellAuraEffects.h"
enum Data enum Data
{ {
@@ -5,7 +5,7 @@
#ifndef DEF_FORGE_OF_SOULS_H #ifndef DEF_FORGE_OF_SOULS_H
#define DEF_FORGE_OF_SOULS_H #define DEF_FORGE_OF_SOULS_H
#include "ScriptPCH.h" #include "GridNotifiers.h"
enum Data enum Data
{ {
@@ -2,7 +2,6 @@
* Originally written by Pussywizard - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 * Originally written by Pussywizard - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
*/ */
#include "ScriptPCH.h"
#include "halls_of_reflection.h" #include "halls_of_reflection.h"
enum Yells enum Yells
@@ -2,7 +2,6 @@
* Originally written by Pussywizard - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 * Originally written by Pussywizard - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
*/ */
#include "ScriptPCH.h"
#include "halls_of_reflection.h" #include "halls_of_reflection.h"
enum Yells enum Yells
@@ -2,7 +2,6 @@
* Originally written by Pussywizard - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 * Originally written by Pussywizard - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
*/ */
#include "ScriptPCH.h"
#include "halls_of_reflection.h" #include "halls_of_reflection.h"
#include "MotionMaster.h" #include "MotionMaster.h"
@@ -5,7 +5,14 @@
#ifndef DEF_HALLS_OF_REFLECTION_H #ifndef DEF_HALLS_OF_REFLECTION_H
#define DEF_HALLS_OF_REFLECTION_H #define DEF_HALLS_OF_REFLECTION_H
#include "ScriptPCH.h" #include "Player.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h"
#include "ScriptedCreature.h"
#include "PassiveAI.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "ScriptMgr.h"
enum Data enum Data
{ {
@@ -2,7 +2,6 @@
* Originally written by Pussywizard - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 * Originally written by Pussywizard - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
*/ */
#include "ScriptPCH.h"
#include "halls_of_reflection.h" #include "halls_of_reflection.h"
#include "Transport.h" #include "Transport.h"
#include "MapManager.h" #include "MapManager.h"
@@ -5,7 +5,7 @@
#ifndef DEF_PIT_OF_SARON_H #ifndef DEF_PIT_OF_SARON_H
#define DEF_PIT_OF_SARON_H #define DEF_PIT_OF_SARON_H
#include "ScriptPCH.h" #include "Chat.h"
enum DataTypes enum DataTypes
{ {
@@ -5,7 +5,7 @@
#ifndef DEF_GUNDRAK_H #ifndef DEF_GUNDRAK_H
#define DEF_GUNDRAK_H #define DEF_GUNDRAK_H
#include "ScriptPCH.h" #include "SpellScript.h"
enum Data enum Data
{ {
@@ -5,11 +5,18 @@
#ifndef ICECROWN_CITADEL_H_ #ifndef ICECROWN_CITADEL_H_
#define ICECROWN_CITADEL_H_ #define ICECROWN_CITADEL_H_
#include "ScriptPCH.h" #include "Player.h"
#include "Chat.h"
#include "SpellAuras.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "Map.h" #include "Map.h"
#include "Creature.h" #include "Creature.h"
#include "SpellMgr.h" #include "SpellMgr.h"
#include "PassiveAI.h"
#include "SpellAuraEffects.h"
#include "InstanceScript.h"
#include "ScriptedGossip.h"
#include "ScriptedCreature.h"
#define ICCScriptName "instance_icecrown_citadel" #define ICCScriptName "instance_icecrown_citadel"
@@ -5,7 +5,7 @@
#ifndef DEF_NAXXRAMAS_H #ifndef DEF_NAXXRAMAS_H
#define DEF_NAXXRAMAS_H #define DEF_NAXXRAMAS_H
#include "ScriptPCH.h" #include "SpellScript.h"
enum Encouters enum Encouters
{ {
@@ -5,7 +5,7 @@
#ifndef DEF_EYE_OF_ETERNITY_H #ifndef DEF_EYE_OF_ETERNITY_H
#define DEF_EYE_OF_ETERNITY_H #define DEF_EYE_OF_ETERNITY_H
#include "ScriptPCH.h" #include "Chat.h"
enum Objects enum Objects
{ {
@@ -5,7 +5,12 @@
#ifndef DEF_NEXUS_H #ifndef DEF_NEXUS_H
#define DEF_NEXUS_H #define DEF_NEXUS_H
#include "ScriptPCH.h" #include "Player.h"
#include "SpellScript.h"
#include "PassiveAI.h"
#include "SpellAuras.h"
#include "GridNotifiers.h"
#include "GameEventMgr.h"
enum eTypes enum eTypes
{ {
@@ -5,7 +5,9 @@
#ifndef DEF_OCULUS_H #ifndef DEF_OCULUS_H
#define DEF_OCULUS_H #define DEF_OCULUS_H
#include "ScriptPCH.h" #include "SpellScript.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h"
enum Data enum Data
{ {
@@ -5,8 +5,6 @@
#ifndef DEF_HALLS_OF_LIGHTNING_H #ifndef DEF_HALLS_OF_LIGHTNING_H
#define DEF_HALLS_OF_LIGHTNING_H #define DEF_HALLS_OF_LIGHTNING_H
#include "ScriptPCH.h"
enum HoLEvents enum HoLEvents
{ {
TYPE_BJARNGRIM = 0, TYPE_BJARNGRIM = 0,
@@ -5,8 +5,6 @@
#ifndef DEF_HALLS_OF_STONE_H #ifndef DEF_HALLS_OF_STONE_H
#define DEF_HALLS_OF_STONE_H #define DEF_HALLS_OF_STONE_H
#include "ScriptPCH.h"
enum Encounter enum Encounter
{ {
BOSS_KRYSTALLUS = 0, BOSS_KRYSTALLUS = 0,
@@ -5,7 +5,10 @@
#ifndef DEF_ULDUAR_H #ifndef DEF_ULDUAR_H
#define DEF_ULDUAR_H #define DEF_ULDUAR_H
#include "ScriptPCH.h" #include "Chat.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "CellImpl.h"
enum UlduarEncounters enum UlduarEncounters
{ {
@@ -5,7 +5,7 @@
#ifndef DEF_UTGARDE_KEEP_H #ifndef DEF_UTGARDE_KEEP_H
#define DEF_UTGARDE_KEEP_H #define DEF_UTGARDE_KEEP_H
#include "ScriptPCH.h" #include "SpellScript.h"
enum eData enum eData
{ {
@@ -1,7 +1,7 @@
#ifndef DEF_PINNACLE_H #ifndef DEF_PINNACLE_H
#define DEF_PINNACLE_H #define DEF_PINNACLE_H
#include "ScriptPCH.h" #include "Opcodes.h"
enum Data enum Data
{ {
@@ -7,8 +7,6 @@
#ifndef DEF_ARCHAVON_H #ifndef DEF_ARCHAVON_H
#define DEF_ARCHAVON_H #define DEF_ARCHAVON_H
#include "ScriptPCH.h"
enum Creatures enum Creatures
{ {
CREATURE_ARCHAVON = 31125, CREATURE_ARCHAVON = 31125,
@@ -5,8 +5,6 @@
#ifndef DEF_VIOLET_HOLD_H #ifndef DEF_VIOLET_HOLD_H
#define DEF_VIOLET_HOLD_H #define DEF_VIOLET_HOLD_H
#include "ScriptPCH.h"
#define MAX_ENCOUNTER 3 #define MAX_ENCOUNTER 3
enum Creatures enum Creatures
@@ -23,7 +23,6 @@ npc_nexus_drake_hatchling
EndContentData */ EndContentData */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "ScriptedEscortAI.h" #include "ScriptedEscortAI.h"
@@ -31,6 +30,9 @@ EndContentData */
#include "Player.h" #include "Player.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "WorldSession.h" #include "WorldSession.h"
#include "SpellScript.h"
#include "PassiveAI.h"
#include "SpellAuras.h"
// Ours // Ours
enum eDrakeHunt enum eDrakeHunt
@@ -13,12 +13,12 @@ SDCategory: CrystalsongForest
Script Data End */ Script Data End */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "Player.h" #include "Player.h"
#include "SmartScriptMgr.h" #include "SmartScriptMgr.h"
#include "Transport.h" #include "Transport.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "PassiveAI.h"
enum ePreparationsForWar enum ePreparationsForWar
{ {
@@ -15,7 +15,6 @@ EndScriptData */
EndContentData */ EndContentData */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "ScriptedEscortAI.h" #include "ScriptedEscortAI.h"
@@ -23,6 +22,11 @@ EndContentData */
#include "Player.h" #include "Player.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "CreatureTextMgr.h" #include "CreatureTextMgr.h"
#include "PassiveAI.h"
#include "CombatAI.h"
#include "SpellAuras.h"
#include "Chat.h"
#include "CellImpl.h"
// Ours // Ours
/******** /********
@@ -5,7 +5,6 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedEscortAI.h" #include "ScriptedEscortAI.h"
#include "Vehicle.h" #include "Vehicle.h"
@@ -14,6 +13,7 @@
#include "Pet.h" #include "Pet.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "CreatureTextMgr.h" #include "CreatureTextMgr.h"
#include "SpellScript.h"
// Ours // Ours
enum qRedRocket enum qRedRocket
@@ -16,7 +16,6 @@ npc_arete
EndContentData */ EndContentData */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellAuras.h" #include "SpellAuras.h"
@@ -26,6 +25,8 @@ EndContentData */
#include "ScriptedEscortAI.h" #include "ScriptedEscortAI.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "SmartScriptMgr.h" #include "SmartScriptMgr.h"
#include "SpellScript.h"
#include "PassiveAI.h"
// Ours // Ours
enum eBKG enum eBKG
@@ -18,7 +18,6 @@ avatar_of_freya
EndContentData */ EndContentData */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "ScriptedEscortAI.h" #include "ScriptedEscortAI.h"
@@ -27,6 +26,8 @@ EndContentData */
#include "Player.h" #include "Player.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "WaypointManager.h" #include "WaypointManager.h"
#include "PassiveAI.h"
#include "CombatAI.h"
// Ours // Ours
enum songOfWindandWater enum songOfWindandWater
@@ -5,7 +5,6 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "ScriptedEscortAI.h" #include "ScriptedEscortAI.h"
@@ -14,6 +13,7 @@
#include "PassiveAI.h" #include "PassiveAI.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "SpellAuras.h"
// Ours // Ours
enum AlchemistItemRequirements enum AlchemistItemRequirements
@@ -7,7 +7,6 @@
#ifndef OUTDOOR_PVP_EP_ #ifndef OUTDOOR_PVP_EP_
#define OUTDOOR_PVP_EP_ #define OUTDOOR_PVP_EP_
#include "ScriptPCH.h"
#include "DBCStructure.h" #include "DBCStructure.h"
#include "OutdoorPvP.h" #include "OutdoorPvP.h"
@@ -7,7 +7,6 @@
#ifndef OUTDOOR_PVP_GH_ #ifndef OUTDOOR_PVP_GH_
#define OUTDOOR_PVP_GH_ #define OUTDOOR_PVP_GH_
#include "ScriptPCH.h"
#include "OutdoorPvP.h" #include "OutdoorPvP.h"
enum OutdoorPvPGHenum enum OutdoorPvPGHenum
@@ -7,7 +7,6 @@
#ifndef OUTDOOR_PVP_HP_ #ifndef OUTDOOR_PVP_HP_
#define OUTDOOR_PVP_HP_ #define OUTDOOR_PVP_HP_
#include "ScriptPCH.h"
#include "OutdoorPvP.h" #include "OutdoorPvP.h"
#define OutdoorPvPHPBuffZonesNum 6 #define OutdoorPvPHPBuffZonesNum 6
@@ -7,7 +7,6 @@
#ifndef OUTDOOR_PVP_NA_ #ifndef OUTDOOR_PVP_NA_
#define OUTDOOR_PVP_NA_ #define OUTDOOR_PVP_NA_
#include "ScriptPCH.h"
#include "OutdoorPvP.h" #include "OutdoorPvP.h"
// TODO: "sometimes" set to neutral // TODO: "sometimes" set to neutral
@@ -7,7 +7,6 @@
#ifndef OUTDOOR_PVP_SI_ #ifndef OUTDOOR_PVP_SI_
#define OUTDOOR_PVP_SI_ #define OUTDOOR_PVP_SI_
#include "ScriptPCH.h"
#include "OutdoorPvP.h" #include "OutdoorPvP.h"
enum OutdoorPvPSISpells enum OutdoorPvPSISpells
@@ -7,7 +7,6 @@
#ifndef OUTDOOR_PVP_TF_ #ifndef OUTDOOR_PVP_TF_
#define OUTDOOR_PVP_TF_ #define OUTDOOR_PVP_TF_
#include "ScriptPCH.h"
#include "OutdoorPvP.h" #include "OutdoorPvP.h"
const uint8 OutdoorPvPTFBuffZonesNum = 5; const uint8 OutdoorPvPTFBuffZonesNum = 5;
@@ -7,7 +7,6 @@
#ifndef OUTDOOR_PVP_ZM_ #ifndef OUTDOOR_PVP_ZM_
#define OUTDOOR_PVP_ZM_ #define OUTDOOR_PVP_ZM_
#include "ScriptPCH.h"
#include "Language.h" #include "Language.h"
#include "OutdoorPvP.h" #include "OutdoorPvP.h"
@@ -3,9 +3,10 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "Player.h" #include "Player.h"
#include "SpellScript.h"
#include "SpellAuras.h"
enum eShirrak enum eShirrak
{ {
@@ -4,8 +4,8 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "Player.h"
enum ePrince enum ePrince
{ {
@@ -5,8 +5,6 @@
#ifndef DEF_SETHEKK_HALLS_H #ifndef DEF_SETHEKK_HALLS_H
#define DEF_SETHEKK_HALLS_H #define DEF_SETHEKK_HALLS_H
#include "ScriptPCH.h"
enum eTypes enum eTypes
{ {
DATA_IKISSDOOREVENT = 1, DATA_IKISSDOOREVENT = 1,
@@ -5,7 +5,9 @@
#ifndef DEF_SHADOW_LABYRINTH_H #ifndef DEF_SHADOW_LABYRINTH_H
#define DEF_SHADOW_LABYRINTH_H #define DEF_SHADOW_LABYRINTH_H
#include "ScriptPCH.h" #include "SpellScript.h"
#include "CreatureAI.h"
#include "GridNotifiers.h"
enum slData enum slData
{ {
@@ -5,7 +5,12 @@
#ifndef BLACK_TEMPLE_H_ #ifndef BLACK_TEMPLE_H_
#define BLACK_TEMPLE_H_ #define BLACK_TEMPLE_H_
#include "ScriptPCH.h" #include "Player.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "PassiveAI.h"
#include "GridNotifiers.h"
enum DataTypes enum DataTypes
{ {
@@ -5,7 +5,11 @@
#ifndef DEF_SERPENT_SHRINE_H #ifndef DEF_SERPENT_SHRINE_H
#define DEF_SERPENT_SHRINE_H #define DEF_SERPENT_SHRINE_H
#include "ScriptPCH.h" #include "Player.h"
#include "SpellScript.h"
#include "CreatureAI.h"
#include "SpellAuraEffects.h"
#include "GridNotifiers.h"
enum DataTypes enum DataTypes
{ {
@@ -5,7 +5,7 @@
#ifndef DEF_STEAM_VAULT_H #ifndef DEF_STEAM_VAULT_H
#define DEF_STEAM_VAULT_H #define DEF_STEAM_VAULT_H
#include "ScriptPCH.h" #include "PassiveAI.h"
enum steamVault enum steamVault
{ {
@@ -12,8 +12,8 @@ SDCategory: Coilfang Resevoir, Underbog
EndScriptData */ EndScriptData */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h"
enum eBlackStalker enum eBlackStalker
{ {
@@ -5,7 +5,8 @@
#ifndef GRUULS_LAIR_H_ #ifndef GRUULS_LAIR_H_
#define GRUULS_LAIR_H_ #define GRUULS_LAIR_H_
#include "ScriptPCH.h" #include "SpellAuraEffects.h"
#include "CreatureAI.h"
enum DataTypes enum DataTypes
{ {
@@ -5,7 +5,7 @@
#ifndef DEF_BLOOD_FURNACE_H #ifndef DEF_BLOOD_FURNACE_H
#define DEF_BLOOD_FURNACE_H #define DEF_BLOOD_FURNACE_H
#include "ScriptPCH.h" #include "Player.h"
enum bloodFurnace enum bloodFurnace
{ {
@@ -3,8 +3,9 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "blood_furnace.h" #include "blood_furnace.h"
enum eEnums enum eEnums
@@ -5,7 +5,7 @@
#ifndef DEF_RAMPARTS_H #ifndef DEF_RAMPARTS_H
#define DEF_RAMPARTS_H #define DEF_RAMPARTS_H
#include "ScriptPCH.h" #include "SpellScript.h"
enum DataTypes enum DataTypes
{ {
@@ -5,7 +5,7 @@
#ifndef DEF_MAGTHERIDONS_LAIR_H #ifndef DEF_MAGTHERIDONS_LAIR_H
#define DEF_MAGTHERIDONS_LAIR_H #define DEF_MAGTHERIDONS_LAIR_H
#include "ScriptPCH.h" #include "SpellScript.h"
enum DataTypes enum DataTypes
{ {

Some files were not shown because too many files have changed in this diff Show More