diff --git a/modules/acore/framework/Database/Field.h b/modules/acore/framework/Database/Field.h index 568532fb0..6ba3c9e92 100644 --- a/modules/acore/framework/Database/Field.h +++ b/modules/acore/framework/Database/Field.h @@ -5,8 +5,8 @@ * Copyright (C) 2005-2009 MaNGOS */ -#ifndef _FIELD_H -#define _FIELD_H +#ifndef AZEROTHCORE_FIELD_H +#define AZEROTHCORE_FIELD_H #include "Common.h" #include "Log.h" diff --git a/modules/acore/framework/Database/QueryResult.h b/modules/acore/framework/Database/QueryResult.h index 72973b4c8..dd6cec32d 100644 --- a/modules/acore/framework/Database/QueryResult.h +++ b/modules/acore/framework/Database/QueryResult.h @@ -10,6 +10,7 @@ #include "AutoPtr.h" #include +#include "Errors.h" #include "Field.h" #ifdef _WIN32 diff --git a/modules/acore/framework/Packets/ByteBuffer.h b/modules/acore/framework/Packets/ByteBuffer.h index 7531a60f7..7c6cdb2d4 100644 --- a/modules/acore/framework/Packets/ByteBuffer.h +++ b/modules/acore/framework/Packets/ByteBuffer.h @@ -7,7 +7,7 @@ #ifndef _BYTEBUFFER_H #define _BYTEBUFFER_H -#include "Define.h" +#include "Common.h" #include "Errors.h" #include "ByteConverter.h" diff --git a/modules/acore/framework/Utilities/Util.cpp b/modules/acore/framework/Utilities/Util.cpp index 00ef6a11a..ea3d81e8e 100644 --- a/modules/acore/framework/Utilities/Util.cpp +++ b/modules/acore/framework/Utilities/Util.cpp @@ -7,6 +7,11 @@ #include "Util.h" #include "Common.h" #include "utf8.h" +#include "Log.h" +#include "DatabaseWorker.h" +#include "SQLOperation.h" +#include "Errors.h" +#include "TypeList.h" #include "SFMT.h" #include "Errors.h" // for ASSERT #include diff --git a/src/game/DungeonFinding/LFG.h b/src/game/DungeonFinding/LFG.h index fca86260d..b6249a994 100644 --- a/src/game/DungeonFinding/LFG.h +++ b/src/game/DungeonFinding/LFG.h @@ -9,6 +9,9 @@ #define _LFG_H #include "Common.h" +#include "ObjectDefines.h" +#include "SharedDefines.h" +#include "WorldPacket.h" namespace lfg { diff --git a/src/game/DungeonFinding/LFGMgr.cpp b/src/game/DungeonFinding/LFGMgr.cpp index 09f9c6c7a..ef2144d51 100644 --- a/src/game/DungeonFinding/LFGMgr.cpp +++ b/src/game/DungeonFinding/LFGMgr.cpp @@ -23,6 +23,7 @@ #include "GroupMgr.h" #include "GameEventMgr.h" #include "WorldSession.h" +#include "Opcodes.h" namespace lfg { diff --git a/src/game/DungeonFinding/LFGMgr.h b/src/game/DungeonFinding/LFGMgr.h index 5854d1734..a87c2971d 100644 --- a/src/game/DungeonFinding/LFGMgr.h +++ b/src/game/DungeonFinding/LFGMgr.h @@ -15,6 +15,7 @@ #include "LFGQueue.h" #include "LFGGroupData.h" #include "LFGPlayerData.h" +#include "Map.h" class Group; class Player; diff --git a/src/game/Entities/Vehicle/VehicleDefines.h b/src/game/Entities/Vehicle/VehicleDefines.h index 11256c993..1c1f0da97 100644 --- a/src/game/Entities/Vehicle/VehicleDefines.h +++ b/src/game/Entities/Vehicle/VehicleDefines.h @@ -8,6 +8,8 @@ #define __TRINITY_VEHICLEDEFINES_H #include "Define.h" +#include "Map.h" +#include "Object.h" #include #include diff --git a/src/game/Handlers/LootHandler.cpp b/src/game/Handlers/LootHandler.cpp index ff2a23f27..8b56e2150 100644 --- a/src/game/Handlers/LootHandler.cpp +++ b/src/game/Handlers/LootHandler.cpp @@ -19,6 +19,7 @@ #include "World.h" #include "WorldPacket.h" #include "WorldSession.h" +#include "ObjectMgr.h" void WorldSession::HandleAutostoreLootItemOpcode(WorldPacket& recvData) { diff --git a/src/game/Loot/LootItemStorage.cpp b/src/game/Loot/LootItemStorage.cpp index 65789973e..beaecc87c 100644 --- a/src/game/Loot/LootItemStorage.cpp +++ b/src/game/Loot/LootItemStorage.cpp @@ -2,7 +2,11 @@ Xinef */ +#include + #include "LootItemStorage.h" +#include "PreparedStatement.h" +#include "ObjectMgr.h" LootItemStorage::LootItemStorage() { diff --git a/src/game/Loot/LootItemStorage.h b/src/game/Loot/LootItemStorage.h index 3c6962dca..a55cda847 100644 --- a/src/game/Loot/LootItemStorage.h +++ b/src/game/Loot/LootItemStorage.h @@ -5,9 +5,14 @@ Xinef #ifndef TRINITY_LOOTITEMSTORAGE_H #define TRINITY_LOOTITEMSTORAGE_H +#include "Common.h" #include #include +#include "ace/Singleton.h" +#include "LootMgr.h" +#include "Item.h" + struct StoredLootItem { StoredLootItem(uint32 i, uint32 c, int32 ri, uint32 rs) : @@ -47,4 +52,4 @@ class LootItemStorage }; #define sLootItemStorage ACE_Singleton::instance() -#endif \ No newline at end of file +#endif diff --git a/src/game/Misc/AsyncAuctionListing.cpp b/src/game/Misc/AsyncAuctionListing.cpp index ca6deb99b..af1c4a526 100644 --- a/src/game/Misc/AsyncAuctionListing.cpp +++ b/src/game/Misc/AsyncAuctionListing.cpp @@ -3,6 +3,8 @@ #include "Creature.h" #include "AuctionHouseMgr.h" #include "ObjectAccessor.h" +#include "Opcodes.h" +#include "SpellAuraEffects.h" uint32 AsyncAuctionListingMgr::auctionListingDiff = 0; bool AsyncAuctionListingMgr::auctionListingAllowed = false; diff --git a/src/game/Misc/AsyncAuctionListing.h b/src/game/Misc/AsyncAuctionListing.h index cd467c026..710f53173 100644 --- a/src/game/Misc/AsyncAuctionListing.h +++ b/src/game/Misc/AsyncAuctionListing.h @@ -2,6 +2,8 @@ #define __ASYNCAUCTIONLISTING_H #include "Common.h" +#include "EventProcessor.h" +#include "WorldPacket.h" class AuctionListOwnerItemsDelayEvent : public BasicEvent { diff --git a/src/game/Misc/WhoListCache.h b/src/game/Misc/WhoListCache.h index 8ec43826d..bd82883e6 100644 --- a/src/game/Misc/WhoListCache.h +++ b/src/game/Misc/WhoListCache.h @@ -2,6 +2,7 @@ #define __WHOLISTCACHE_H #include "Common.h" +#include "SharedDefines.h" struct WhoListPlayerInfo { diff --git a/src/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp b/src/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp index aeeac6be3..297f43865 100644 --- a/src/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp +++ b/src/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp @@ -17,6 +17,7 @@ #include "BattlegroundRV.h" #include "VehicleDefines.h" #include "Transport.h" +#include "MapManager.h" #include diff --git a/src/game/Movement/Spline/MoveSplineInit.h b/src/game/Movement/Spline/MoveSplineInit.h index 013ccacb8..b468f708b 100644 --- a/src/game/Movement/Spline/MoveSplineInit.h +++ b/src/game/Movement/Spline/MoveSplineInit.h @@ -21,6 +21,7 @@ #include "MoveSplineInitArgs.h" #include "PathGenerator.h" +#include "Unit.h" class Unit; diff --git a/src/game/Petitions/PetitionMgr.cpp b/src/game/Petitions/PetitionMgr.cpp index 41c53ebc4..7011c19ab 100644 --- a/src/game/Petitions/PetitionMgr.cpp +++ b/src/game/Petitions/PetitionMgr.cpp @@ -3,6 +3,11 @@ Xinef */ #include "PetitionMgr.h" +#include "Timer.h" +#include "QueryResult.h" +#include "Log.h" +#include "DatabaseEnv.h" + PetitionMgr::PetitionMgr() { diff --git a/src/game/Petitions/PetitionMgr.h b/src/game/Petitions/PetitionMgr.h index 40c2e3f61..67476e600 100644 --- a/src/game/Petitions/PetitionMgr.h +++ b/src/game/Petitions/PetitionMgr.h @@ -5,6 +5,9 @@ Xinef #ifndef _PETITIONMGR_H #define _PETITIONMGR_H +#include "Common.h" +#include + typedef std::map SignatureMap; struct Petition diff --git a/src/game/Scripting/ScriptMgr.h b/src/game/Scripting/ScriptMgr.h index 65dc095ab..7ed1bb151 100644 --- a/src/game/Scripting/ScriptMgr.h +++ b/src/game/Scripting/ScriptMgr.h @@ -18,6 +18,7 @@ #include "World.h" #include "Weather.h" #include "AchievementMgr.h" +#include "DynamicObject.h" class AuctionHouseObject; class AuraScript; diff --git a/src/game/Spells/Auras/SpellAuraEffects.h b/src/game/Spells/Auras/SpellAuraEffects.h index 31cbbe7d7..e5e00956a 100644 --- a/src/game/Spells/Auras/SpellAuraEffects.h +++ b/src/game/Spells/Auras/SpellAuraEffects.h @@ -10,9 +10,11 @@ class Unit; class AuraEffect; class Aura; +class SpellInfo; #include "SpellAuras.h" #include "Spell.h" +#include "SpellInfo.h" typedef void(AuraEffect::*pAuraEffectHandler)(AuraApplication const* aurApp, uint8 mode, bool apply) const; diff --git a/src/game/Spells/SpellInfo.h b/src/game/Spells/SpellInfo.h index 6cc274530..bfd891aeb 100644 --- a/src/game/Spells/SpellInfo.h +++ b/src/game/Spells/SpellInfo.h @@ -18,6 +18,7 @@ class Player; class Item; class Spell; class SpellInfo; +class AuraEffect; struct SpellChainNode; struct SpellTargetPosition; struct SpellDurationEntry; @@ -507,4 +508,4 @@ public: void _UnloadImplicitTargetConditionLists(); }; -#endif // _SPELLINFO_H \ No newline at end of file +#endif // _SPELLINFO_H diff --git a/src/scripts/Commands/cs_account.cpp b/src/scripts/Commands/cs_account.cpp index 13b7923e0..e3a165efa 100644 --- a/src/scripts/Commands/cs_account.cpp +++ b/src/scripts/Commands/cs_account.cpp @@ -16,6 +16,7 @@ EndScriptData */ #include "AccountMgr.h" #include "Chat.h" #include "Language.h" +#include "Player.h" class account_commandscript : public CommandScript { diff --git a/src/scripts/Commands/cs_cast.cpp b/src/scripts/Commands/cs_cast.cpp index 9b8052f9c..598a76391 100644 --- a/src/scripts/Commands/cs_cast.cpp +++ b/src/scripts/Commands/cs_cast.cpp @@ -17,6 +17,7 @@ EndScriptData */ #include "Creature.h" #include "Language.h" #include "Player.h" +#include "SpellInfo.h" class cast_commandscript : public CommandScript { diff --git a/src/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.h b/src/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.h index aae0503c9..4e2f2e5ac 100644 --- a/src/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.h +++ b/src/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.h @@ -7,6 +7,8 @@ #ifndef DEF_BRD_H #define DEF_BRD_H +#include "ScriptPCH.h" + enum FactionIds { FACTION_NEUTRAL = 734, diff --git a/src/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/blackrock_spire.h b/src/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/blackrock_spire.h index 4d4525b60..bcc8e3ee4 100644 --- a/src/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/blackrock_spire.h +++ b/src/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/blackrock_spire.h @@ -8,6 +8,8 @@ #ifndef DEF_BLACKROCK_SPIRE_H #define DEF_BLACKROCK_SPIRE_H +#include "ScriptPCH.h" + uint32 const EncounterCount = 23; #define BRSScriptName "instance_blackrock_spire" diff --git a/src/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/blackwing_lair.h b/src/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/blackwing_lair.h index bbd8751f5..3cd4fa5be 100644 --- a/src/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/blackwing_lair.h +++ b/src/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/blackwing_lair.h @@ -8,6 +8,8 @@ #ifndef DEF_BLACKWING_LAIR_H #define DEF_BLACKWING_LAIR_H +#include "ScriptPCH.h" + uint32 const EncounterCount = 8; #define BRLScriptName "instance_blackwing_lair" @@ -68,4 +70,4 @@ enum BWLMisc DATA_EGG_EVENT }; -#endif \ No newline at end of file +#endif diff --git a/src/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/molten_core.h b/src/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/molten_core.h index ef8e1495d..4c2f6ca39 100644 --- a/src/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/molten_core.h +++ b/src/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/molten_core.h @@ -7,6 +7,8 @@ #ifndef DEF_MOLTEN_CORE_H #define DEF_MOLTEN_CORE_H +#include "ScriptPCH.h" + enum Encounters { BOSS_LUCIFRON = 0, diff --git a/src/scripts/EasternKingdoms/Deadmines/deadmines.h b/src/scripts/EasternKingdoms/Deadmines/deadmines.h index 00d89eb9e..f0b68d220 100644 --- a/src/scripts/EasternKingdoms/Deadmines/deadmines.h +++ b/src/scripts/EasternKingdoms/Deadmines/deadmines.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_DEADMINES_H #define DEF_DEADMINES_H +#include "ScriptPCH.h" + enum DataTypes { TYPE_RHAHK_ZOR = 0, diff --git a/src/scripts/EasternKingdoms/Gnomeregan/instance_gnomeregan.cpp b/src/scripts/EasternKingdoms/Gnomeregan/instance_gnomeregan.cpp index 68eadf5a3..ee2eec74a 100644 --- a/src/scripts/EasternKingdoms/Gnomeregan/instance_gnomeregan.cpp +++ b/src/scripts/EasternKingdoms/Gnomeregan/instance_gnomeregan.cpp @@ -3,7 +3,9 @@ REWRITTEN BY XINEF */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "InstanceScript.h" +#include "PassiveAI.h" class instance_gnomeregan : public InstanceMapScript { diff --git a/src/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp b/src/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp index d4438558d..e77cca82a 100644 --- a/src/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp +++ b/src/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp @@ -12,6 +12,7 @@ SDCategory: Karazhan EndScriptData */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "karazhan.h" diff --git a/src/scripts/EasternKingdoms/Karazhan/instance_karazhan.cpp b/src/scripts/EasternKingdoms/Karazhan/instance_karazhan.cpp index cc5f17929..3baa43250 100644 --- a/src/scripts/EasternKingdoms/Karazhan/instance_karazhan.cpp +++ b/src/scripts/EasternKingdoms/Karazhan/instance_karazhan.cpp @@ -3,6 +3,7 @@ REWRITTEN BY XINEF */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "InstanceScript.h" #include "karazhan.h" diff --git a/src/scripts/EasternKingdoms/Karazhan/karazhan.h b/src/scripts/EasternKingdoms/Karazhan/karazhan.h index d2c914f37..79259020f 100644 --- a/src/scripts/EasternKingdoms/Karazhan/karazhan.h +++ b/src/scripts/EasternKingdoms/Karazhan/karazhan.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_KARAZHAN_H #define DEF_KARAZHAN_H +#include "ScriptPCH.h" + enum DataTypes { TYPE_SERVANT_QUARTERS = 0, diff --git a/src/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp b/src/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp index 51905233b..7b8cca5df 100644 --- a/src/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp +++ b/src/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp @@ -3,6 +3,7 @@ REWRITTEN BY XINEF */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "magisters_terrace.h" #include "WorldPacket.h" diff --git a/src/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp b/src/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp index 90366cbea..db13f2503 100644 --- a/src/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp +++ b/src/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp @@ -3,6 +3,7 @@ REWRITTEN BY XINEF */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "InstanceScript.h" #include "magisters_terrace.h" diff --git a/src/scripts/EasternKingdoms/MagistersTerrace/magisters_terrace.h b/src/scripts/EasternKingdoms/MagistersTerrace/magisters_terrace.h index edea0f9f6..85901e095 100644 --- a/src/scripts/EasternKingdoms/MagistersTerrace/magisters_terrace.h +++ b/src/scripts/EasternKingdoms/MagistersTerrace/magisters_terrace.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_MAGISTERS_TERRACE_H #define DEF_MAGISTERS_TERRACE_H +#include "ScriptPCH.h" + enum MTData { DATA_SELIN_EVENT = 0, diff --git a/src/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp index 4994654be..0cb485dc8 100644 --- a/src/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp +++ b/src/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp @@ -6,6 +6,7 @@ */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "Vehicle.h" diff --git a/src/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp b/src/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp index 65b9c951c..f6c490654 100644 --- a/src/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp +++ b/src/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp @@ -6,6 +6,7 @@ */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "Player.h" diff --git a/src/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp b/src/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp index d1cd84ec1..55ac386c4 100644 --- a/src/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp +++ b/src/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp @@ -6,6 +6,7 @@ */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "ScriptedEscortAI.h" diff --git a/src/scripts/EasternKingdoms/Scholomance/instance_scholomance.cpp b/src/scripts/EasternKingdoms/Scholomance/instance_scholomance.cpp index bdcf0c99f..97461154d 100644 --- a/src/scripts/EasternKingdoms/Scholomance/instance_scholomance.cpp +++ b/src/scripts/EasternKingdoms/Scholomance/instance_scholomance.cpp @@ -7,6 +7,7 @@ REWRITTEN BY XINEF #include "Player.h" #include "scholomance.h" #include "GameObjectAI.h" +#include "SpellScript.h" class instance_scholomance : public InstanceMapScript { diff --git a/src/scripts/EasternKingdoms/Scholomance/scholomance.h b/src/scripts/EasternKingdoms/Scholomance/scholomance.h index 4a010006b..00ccc17be 100644 --- a/src/scripts/EasternKingdoms/Scholomance/scholomance.h +++ b/src/scripts/EasternKingdoms/Scholomance/scholomance.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_SCHOLOMANCE_H #define DEF_SCHOLOMANCE_H +#include "ScriptPCH.h" + enum DataTypes { DATA_KIRTONOS_THE_HERALD = 0, diff --git a/src/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp b/src/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp index 31f5109ac..b5a843173 100644 --- a/src/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp +++ b/src/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp @@ -2,8 +2,8 @@ REWRITTEN BY XINEF */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "InstanceScript.h" #include "shadowfang_keep.h" #include "TemporarySummon.h" diff --git a/src/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h b/src/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h index fdf315f72..63d2c1300 100644 --- a/src/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h +++ b/src/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_SHADOWFANG_H #define DEF_SHADOWFANG_H +#include "ScriptPCH.h" + enum DataTypes { TYPE_COURTYARD = 0, diff --git a/src/scripts/EasternKingdoms/Stratholme/stratholme.h b/src/scripts/EasternKingdoms/Stratholme/stratholme.h index b27fde684..351d9ad95 100644 --- a/src/scripts/EasternKingdoms/Stratholme/stratholme.h +++ b/src/scripts/EasternKingdoms/Stratholme/stratholme.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_STRATHOLME_H #define DEF_STRATHOLME_H +#include "ScriptPCH.h" + enum DataTypes { TYPE_BARON_RUN = 0, diff --git a/src/scripts/EasternKingdoms/SunkenTemple/instance_sunken_temple.cpp b/src/scripts/EasternKingdoms/SunkenTemple/instance_sunken_temple.cpp index 6cadcfa17..dafd2cb2b 100644 --- a/src/scripts/EasternKingdoms/SunkenTemple/instance_sunken_temple.cpp +++ b/src/scripts/EasternKingdoms/SunkenTemple/instance_sunken_temple.cpp @@ -3,8 +3,11 @@ REWRITTEN BY XINEF */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "InstanceScript.h" #include "sunken_temple.h" +#include "Player.h" +#include "CreatureAI.h" class instance_sunken_temple : public InstanceMapScript { diff --git a/src/scripts/EasternKingdoms/SunkenTemple/sunken_temple.h b/src/scripts/EasternKingdoms/SunkenTemple/sunken_temple.h index 744cf4d86..b15a0d493 100644 --- a/src/scripts/EasternKingdoms/SunkenTemple/sunken_temple.h +++ b/src/scripts/EasternKingdoms/SunkenTemple/sunken_temple.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_SUNKEN_TEMPLE_H #define DEF_SUNKEN_TEMPLE_H +#include "ScriptPCH.h" + enum DataTypes { DATA_STATUES = 10, diff --git a/src/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp b/src/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp index 14930066e..793c7e70e 100644 --- a/src/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp +++ b/src/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp @@ -3,6 +3,7 @@ REWRITTEN BY XINEF */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "sunwell_plateau.h" diff --git a/src/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp b/src/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp index 92e3e76e5..a9847ea42 100644 --- a/src/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp +++ b/src/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp @@ -3,6 +3,7 @@ REWRITTEN BY XINEF */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "sunwell_plateau.h" #include "SpellInfo.h" diff --git a/src/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h b/src/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h index 01875f268..a3b0ea294 100644 --- a/src/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h +++ b/src/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef SUNWELL_PLATEAU_H #define SUNWELL_PLATEAU_H +#include "ScriptPCH.h" + enum DataTypes { DATA_KALECGOS = 0, diff --git a/src/scripts/EasternKingdoms/Uldaman/instance_uldaman.cpp b/src/scripts/EasternKingdoms/Uldaman/instance_uldaman.cpp index 659e050ee..221ce0304 100644 --- a/src/scripts/EasternKingdoms/Uldaman/instance_uldaman.cpp +++ b/src/scripts/EasternKingdoms/Uldaman/instance_uldaman.cpp @@ -3,6 +3,7 @@ REWRITTEN BY XINEF */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "InstanceScript.h" #include "uldaman.h" diff --git a/src/scripts/EasternKingdoms/Uldaman/uldaman.h b/src/scripts/EasternKingdoms/Uldaman/uldaman.h index 8685c7ea9..ed16fbd72 100644 --- a/src/scripts/EasternKingdoms/Uldaman/uldaman.h +++ b/src/scripts/EasternKingdoms/Uldaman/uldaman.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_ULDAMAN_H #define DEF_ULDAMAN_H +#include "ScriptPCH.h" + enum DataTypes { DATA_IRONAYA_DOORS = 0, diff --git a/src/scripts/EasternKingdoms/ZulAman/zulaman.h b/src/scripts/EasternKingdoms/ZulAman/zulaman.h index 6f6365fa7..68c35c72c 100644 --- a/src/scripts/EasternKingdoms/ZulAman/zulaman.h +++ b/src/scripts/EasternKingdoms/ZulAman/zulaman.h @@ -7,6 +7,8 @@ #ifndef DEF_ZULAMAN_H #define DEF_ZULAMAN_H +#include "ScriptPCH.h" + enum DataTypes { DATA_GONGEVENT = 0, diff --git a/src/scripts/EasternKingdoms/ZulGurub/zulgurub.h b/src/scripts/EasternKingdoms/ZulGurub/zulgurub.h index a6e4a28d8..c9c6fb592 100644 --- a/src/scripts/EasternKingdoms/ZulGurub/zulgurub.h +++ b/src/scripts/EasternKingdoms/ZulGurub/zulgurub.h @@ -8,6 +8,8 @@ #ifndef DEF_ZULGURUB_H #define DEF_ZULGURUB_H +#include "ScriptPCH.h" + uint32 const EncounterCount = 13; #define ZGScriptName "instance_zulgurub" diff --git a/src/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp b/src/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp index dd6c6ff31..39980e04b 100644 --- a/src/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp +++ b/src/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp @@ -19,6 +19,7 @@ npc_tirion_fordring EndContentData */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "Player.h" diff --git a/src/scripts/EasternKingdoms/zone_isle_of_queldanas.cpp b/src/scripts/EasternKingdoms/zone_isle_of_queldanas.cpp index 59eda86ae..faa88510f 100644 --- a/src/scripts/EasternKingdoms/zone_isle_of_queldanas.cpp +++ b/src/scripts/EasternKingdoms/zone_isle_of_queldanas.cpp @@ -17,10 +17,12 @@ npc_greengill_slave EndContentData */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "Player.h" #include "Pet.h" #include "SpellInfo.h" +#include "PassiveAI.h" /*###### OUR: ######*/ diff --git a/src/scripts/Events/brewfest.cpp b/src/scripts/Events/brewfest.cpp index 1489df864..7b0426bd4 100644 --- a/src/scripts/Events/brewfest.cpp +++ b/src/scripts/Events/brewfest.cpp @@ -1,6 +1,7 @@ // Scripted by Xinef #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "SpellAuras.h" @@ -1784,4 +1785,4 @@ void AddSC_event_brewfest_scripts() // beer effect new npc_brew_bubble(); -} \ No newline at end of file +} diff --git a/src/scripts/Events/love_in_air.cpp b/src/scripts/Events/love_in_air.cpp index fa7a01671..b0a12e6f4 100644 --- a/src/scripts/Events/love_in_air.cpp +++ b/src/scripts/Events/love_in_air.cpp @@ -1,6 +1,7 @@ // Scripted by Xinef #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" @@ -774,4 +775,4 @@ void AddSC_event_love_in_the_air() new spell_item_create_heart_candy(); new spell_love_is_in_the_air_romantic_picnic(); new spell_gen_aura_service_uniform(); -} \ No newline at end of file +} diff --git a/src/scripts/Events/pilgrims_bounty.cpp b/src/scripts/Events/pilgrims_bounty.cpp index 6d8f20ccb..fa366a282 100644 --- a/src/scripts/Events/pilgrims_bounty.cpp +++ b/src/scripts/Events/pilgrims_bounty.cpp @@ -1,6 +1,7 @@ // Scripted by Xinef #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "CombatAI.h" diff --git a/src/scripts/Kalimdor/BlackfathomDeeps/blackfathom_deeps.h b/src/scripts/Kalimdor/BlackfathomDeeps/blackfathom_deeps.h index 836dca339..ec96c18ec 100644 --- a/src/scripts/Kalimdor/BlackfathomDeeps/blackfathom_deeps.h +++ b/src/scripts/Kalimdor/BlackfathomDeeps/blackfathom_deeps.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef BFD_H_ #define BFD_H_ +#include "ScriptPCH.h" + enum Data { TYPE_GELIHAST = 0, diff --git a/src/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.h b/src/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.h index 8b6cbc4fe..5e09cd6c1 100644 --- a/src/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.h +++ b/src/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.h @@ -7,6 +7,8 @@ #ifndef DEF_HYJAL_H #define DEF_HYJAL_H +#include "ScriptPCH.h" + #define ERROR_INST_DATA "TSCR: Instance data not set properly for Mount Hyjal. Encounters will be buggy." uint32 const EncounterCount = 5; diff --git a/src/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.h b/src/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.h index 820089d83..5a047c4ea 100644 --- a/src/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.h +++ b/src/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.h @@ -5,6 +5,8 @@ #ifndef DEF_CULLING_OF_STRATHOLME_H #define DEF_CULLING_OF_STRATHOLME_H +#include "ScriptPCH.h" + enum Data { DATA_ARTHAS_EVENT, diff --git a/src/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.h b/src/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.h index 09500d605..c7818c1a0 100644 --- a/src/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.h +++ b/src/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_OLD_HILLSBRAD_H #define DEF_OLD_HILLSBRAD_H +#include "ScriptPCH.h" + enum DataIds { DATA_ESCORT_PROGRESS = 0, diff --git a/src/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/the_black_morass.h b/src/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/the_black_morass.h index 0923449e4..de669008f 100644 --- a/src/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/the_black_morass.h +++ b/src/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/the_black_morass.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_THEBLACKMORASS_H #define DEF_THEBLACKMORASS_H +#include "ScriptPCH.h" + enum DataTypes { TYPE_CHRONO_LORD_DEJA = 0, diff --git a/src/scripts/Kalimdor/DireMaul/dire_maul.h b/src/scripts/Kalimdor/DireMaul/dire_maul.h index b3d4bef39..21571c2f1 100644 --- a/src/scripts/Kalimdor/DireMaul/dire_maul.h +++ b/src/scripts/Kalimdor/DireMaul/dire_maul.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_DIRE_MAUL_H #define DEF_DIRE_MAUL_H +#include "ScriptPCH.h" + enum DataTypes { TYPE_EAST_WING_PROGRESS = 0, diff --git a/src/scripts/Kalimdor/Maraudon/maraudon.h b/src/scripts/Kalimdor/Maraudon/maraudon.h index 1f3c29ace..b95e7ea84 100644 --- a/src/scripts/Kalimdor/Maraudon/maraudon.h +++ b/src/scripts/Kalimdor/Maraudon/maraudon.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_MARAUDON_H #define DEF_MARAUDON_H +#include "ScriptPCH.h" + enum DataTypes { TYPE_NOXXION = 0, diff --git a/src/scripts/Kalimdor/OnyxiasLair/onyxias_lair.h b/src/scripts/Kalimdor/OnyxiasLair/onyxias_lair.h index 8c29a7c8c..37102f512 100644 --- a/src/scripts/Kalimdor/OnyxiasLair/onyxias_lair.h +++ b/src/scripts/Kalimdor/OnyxiasLair/onyxias_lair.h @@ -5,6 +5,8 @@ #ifndef DEF_ONYXIAS_LAIR_H #define DEF_ONYXIAS_LAIR_H +#include "ScriptPCH.h" + enum eInstanceData { DATA_ONYXIA = 0, diff --git a/src/scripts/Kalimdor/RazorfenDowns/razorfen_downs.h b/src/scripts/Kalimdor/RazorfenDowns/razorfen_downs.h index fe27d1fef..fc87f7c06 100644 --- a/src/scripts/Kalimdor/RazorfenDowns/razorfen_downs.h +++ b/src/scripts/Kalimdor/RazorfenDowns/razorfen_downs.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_RAZORFEN_DOWNS_H #define DEF_RAZORFEN_DOWNS_H +#include "ScriptPCH.h" + enum CreatureIds { NPC_IDOL_ROOM_SPAWNER = 8611, diff --git a/src/scripts/Kalimdor/RuinsOfAhnQiraj/ruins_of_ahnqiraj.h b/src/scripts/Kalimdor/RuinsOfAhnQiraj/ruins_of_ahnqiraj.h index a0aa02376..c1c0e3c82 100644 --- a/src/scripts/Kalimdor/RuinsOfAhnQiraj/ruins_of_ahnqiraj.h +++ b/src/scripts/Kalimdor/RuinsOfAhnQiraj/ruins_of_ahnqiraj.h @@ -8,6 +8,8 @@ #ifndef DEF_RUINS_OF_AHNQIRAJ_H #define DEF_RUINS_OF_AHNQIRAJ_H +#include "ScriptPCH.h" + enum DataTypes { DATA_KURINNAXX = 0, diff --git a/src/scripts/Kalimdor/TempleOfAhnQiraj/temple_of_ahnqiraj.h b/src/scripts/Kalimdor/TempleOfAhnQiraj/temple_of_ahnqiraj.h index 0463cac1f..12e6bad3d 100644 --- a/src/scripts/Kalimdor/TempleOfAhnQiraj/temple_of_ahnqiraj.h +++ b/src/scripts/Kalimdor/TempleOfAhnQiraj/temple_of_ahnqiraj.h @@ -7,6 +7,8 @@ #ifndef DEF_TEMPLE_OF_AHNQIRAJ_H #define DEF_TEMPLE_OF_AHNQIRAJ_H +#include "ScriptPCH.h" + enum DataTypes { DATA_SKERAM = 1, diff --git a/src/scripts/Kalimdor/WailingCaverns/wailing_caverns.h b/src/scripts/Kalimdor/WailingCaverns/wailing_caverns.h index 301453cff..d2f89bf25 100644 --- a/src/scripts/Kalimdor/WailingCaverns/wailing_caverns.h +++ b/src/scripts/Kalimdor/WailingCaverns/wailing_caverns.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_WAILING_CAVERNS_H #define DEF_WAILING_CAVERNS_H +#include "ScriptPCH.h" + enum DataTypes { TYPE_LORD_COBRAHN = 0, diff --git a/src/scripts/Kalimdor/ZulFarrak/zulfarrak.h b/src/scripts/Kalimdor/ZulFarrak/zulfarrak.h index aea47c9bb..5401da71d 100644 --- a/src/scripts/Kalimdor/ZulFarrak/zulfarrak.h +++ b/src/scripts/Kalimdor/ZulFarrak/zulfarrak.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_ZULFARRACK_H #define DEF_ZULFARRACK_H +#include "ScriptPCH.h" + enum ZulFarrakData { TYPE_PYRAMID_EVENT = 0, diff --git a/src/scripts/Kalimdor/zone_silithus.cpp b/src/scripts/Kalimdor/zone_silithus.cpp index a8a3c1ef1..abb9dc6fc 100644 --- a/src/scripts/Kalimdor/zone_silithus.cpp +++ b/src/scripts/Kalimdor/zone_silithus.cpp @@ -17,6 +17,7 @@ quest_a_pawn_on_the_eternal_pawn EndContentData */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "Group.h" diff --git a/src/scripts/Northrend/AzjolNerub/AzjolNerub/azjol_nerub.h b/src/scripts/Northrend/AzjolNerub/AzjolNerub/azjol_nerub.h index 6fcb6a635..5afe6e007 100644 --- a/src/scripts/Northrend/AzjolNerub/AzjolNerub/azjol_nerub.h +++ b/src/scripts/Northrend/AzjolNerub/AzjolNerub/azjol_nerub.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_AZJOL_NERUB_H #define DEF_AZJOL_NERUB_H +#include "ScriptPCH.h" + enum ANData { DATA_KRIKTHIR_THE_GATEWATCHER_EVENT = 0, diff --git a/src/scripts/Northrend/AzjolNerub/ahnkahet/ahnkahet.h b/src/scripts/Northrend/AzjolNerub/ahnkahet/ahnkahet.h index 4b473c42d..d90c32b27 100644 --- a/src/scripts/Northrend/AzjolNerub/ahnkahet/ahnkahet.h +++ b/src/scripts/Northrend/AzjolNerub/ahnkahet/ahnkahet.h @@ -2,6 +2,8 @@ #ifndef DEF_AHNKAHET_H #define DEF_AHNKAHET_H +#include "ScriptPCH.h" + #define MAX_ENCOUNTER 5 enum Data64 { diff --git a/src/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/obsidian_sanctum.h b/src/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/obsidian_sanctum.h index 1648580b6..1962bf094 100644 --- a/src/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/obsidian_sanctum.h +++ b/src/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/obsidian_sanctum.h @@ -5,6 +5,8 @@ #ifndef DEF_OBSIDIAN_SANCTUM_H #define DEF_OBSIDIAN_SANCTUM_H +#include "ScriptPCH.h" + enum Data { // Encounter diff --git a/src/scripts/Northrend/ChamberOfAspects/RubySanctum/ruby_sanctum.h b/src/scripts/Northrend/ChamberOfAspects/RubySanctum/ruby_sanctum.h index be7006015..4fba4ff43 100644 --- a/src/scripts/Northrend/ChamberOfAspects/RubySanctum/ruby_sanctum.h +++ b/src/scripts/Northrend/ChamberOfAspects/RubySanctum/ruby_sanctum.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef RUBY_SANCTUM_H_ #define RUBY_SANCTUM_H_ +#include "ScriptPCH.h" + #include "SpellScript.h" #include "Map.h" #include "Creature.h" diff --git a/src/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.h b/src/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.h index a939a0aea..5db3b9571 100644 --- a/src/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.h +++ b/src/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.h @@ -5,6 +5,8 @@ #ifndef DEF_TOC_H #define DEF_TOC_H +#include "ScriptPCH.h" + enum eData { BOSS_GRAND_CHAMPIONS = 0, diff --git a/src/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.h b/src/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.h index cea30b62c..e1da98fd2 100644 --- a/src/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.h +++ b/src/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.h @@ -5,6 +5,8 @@ #ifndef DEF_CRUSADER_H #define DEF_CRUSADER_H +#include "ScriptPCH.h" + enum DataTypes { TYPE_NONE = 0, diff --git a/src/scripts/Northrend/DraktharonKeep/drak_tharon_keep.h b/src/scripts/Northrend/DraktharonKeep/drak_tharon_keep.h index 966212020..a6d9728b6 100644 --- a/src/scripts/Northrend/DraktharonKeep/drak_tharon_keep.h +++ b/src/scripts/Northrend/DraktharonKeep/drak_tharon_keep.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_DRAK_THARON_H #define DEF_DRAK_THARON_H +#include "ScriptPCH.h" + enum Data { DATA_TROLLGORE = 0, diff --git a/src/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.h b/src/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.h index 97d82dc85..da7889aa6 100644 --- a/src/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.h +++ b/src/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.h @@ -5,6 +5,8 @@ #ifndef DEF_FORGE_OF_SOULS_H #define DEF_FORGE_OF_SOULS_H +#include "ScriptPCH.h" + enum Data { DATA_BRONJAHM, diff --git a/src/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.h b/src/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.h index 01ad1d169..2cf78d335 100644 --- a/src/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.h +++ b/src/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.h @@ -5,6 +5,8 @@ #ifndef DEF_HALLS_OF_REFLECTION_H #define DEF_HALLS_OF_REFLECTION_H +#include "ScriptPCH.h" + enum Data { DATA_INTRO, diff --git a/src/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.h b/src/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.h index 0b033a83d..9239906a7 100644 --- a/src/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.h +++ b/src/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.h @@ -5,6 +5,8 @@ #ifndef DEF_PIT_OF_SARON_H #define DEF_PIT_OF_SARON_H +#include "ScriptPCH.h" + enum DataTypes { DATA_GARFROST, diff --git a/src/scripts/Northrend/Gundrak/gundrak.h b/src/scripts/Northrend/Gundrak/gundrak.h index f8fa15b7e..e1304da91 100644 --- a/src/scripts/Northrend/Gundrak/gundrak.h +++ b/src/scripts/Northrend/Gundrak/gundrak.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_GUNDRAK_H #define DEF_GUNDRAK_H +#include "ScriptPCH.h" + enum Data { DATA_SLAD_RAN = 0, diff --git a/src/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h b/src/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h index 7003cc28d..4087d115d 100644 --- a/src/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h +++ b/src/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h @@ -5,6 +5,7 @@ #ifndef ICECROWN_CITADEL_H_ #define ICECROWN_CITADEL_H_ +#include "ScriptPCH.h" #include "SpellScript.h" #include "Map.h" #include "Creature.h" diff --git a/src/scripts/Northrend/Naxxramas/naxxramas.h b/src/scripts/Northrend/Naxxramas/naxxramas.h index 0973024c0..10bce8cbb 100644 --- a/src/scripts/Northrend/Naxxramas/naxxramas.h +++ b/src/scripts/Northrend/Naxxramas/naxxramas.h @@ -5,6 +5,8 @@ #ifndef DEF_NAXXRAMAS_H #define DEF_NAXXRAMAS_H +#include "ScriptPCH.h" + enum NXEncounter { EVENT_PATCHWERK = 0, diff --git a/src/scripts/Northrend/Nexus/EyeOfEternity/eye_of_eternity.h b/src/scripts/Northrend/Nexus/EyeOfEternity/eye_of_eternity.h index 388c785cb..b6e462ba4 100644 --- a/src/scripts/Northrend/Nexus/EyeOfEternity/eye_of_eternity.h +++ b/src/scripts/Northrend/Nexus/EyeOfEternity/eye_of_eternity.h @@ -5,6 +5,8 @@ #ifndef DEF_EYE_OF_ETERNITY_H #define DEF_EYE_OF_ETERNITY_H +#include "ScriptPCH.h" + enum Objects { GO_NEXUS_PLATFORM = 193070, diff --git a/src/scripts/Northrend/Nexus/Nexus/nexus.h b/src/scripts/Northrend/Nexus/Nexus/nexus.h index 8d275edbc..605ad8121 100644 --- a/src/scripts/Northrend/Nexus/Nexus/nexus.h +++ b/src/scripts/Northrend/Nexus/Nexus/nexus.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_NEXUS_H #define DEF_NEXUS_H +#include "ScriptPCH.h" + enum eTypes { DATA_MAGUS_TELESTRA_EVENT = 0, diff --git a/src/scripts/Northrend/Nexus/Oculus/oculus.h b/src/scripts/Northrend/Nexus/Oculus/oculus.h index 912c6c666..e4c7e108c 100644 --- a/src/scripts/Northrend/Nexus/Oculus/oculus.h +++ b/src/scripts/Northrend/Nexus/Oculus/oculus.h @@ -5,6 +5,8 @@ #ifndef DEF_OCULUS_H #define DEF_OCULUS_H +#include "ScriptPCH.h" + enum Data { DATA_DRAKOS, // Drakos the Interrogator diff --git a/src/scripts/Northrend/Ulduar/HallsOfLightning/halls_of_lightning.h b/src/scripts/Northrend/Ulduar/HallsOfLightning/halls_of_lightning.h index 0a95e0eb8..7e28179c0 100644 --- a/src/scripts/Northrend/Ulduar/HallsOfLightning/halls_of_lightning.h +++ b/src/scripts/Northrend/Ulduar/HallsOfLightning/halls_of_lightning.h @@ -5,6 +5,7 @@ #ifndef DEF_HALLS_OF_LIGHTNING_H #define DEF_HALLS_OF_LIGHTNING_H +#include "ScriptPCH.h" enum HoLEvents { diff --git a/src/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.h b/src/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.h index 8c7774c0c..b0b90ca89 100644 --- a/src/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.h +++ b/src/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.h @@ -5,6 +5,8 @@ #ifndef DEF_HALLS_OF_STONE_H #define DEF_HALLS_OF_STONE_H +#include "ScriptPCH.h" + enum Encounter { BOSS_KRYSTALLUS = 0, @@ -42,4 +44,4 @@ enum npcs NPC_BRANN = 28070, }; -#endif \ No newline at end of file +#endif diff --git a/src/scripts/Northrend/Ulduar/Ulduar/ulduar.h b/src/scripts/Northrend/Ulduar/Ulduar/ulduar.h index e63218321..e0c45592e 100644 --- a/src/scripts/Northrend/Ulduar/Ulduar/ulduar.h +++ b/src/scripts/Northrend/Ulduar/Ulduar/ulduar.h @@ -5,6 +5,8 @@ #ifndef DEF_ULDUAR_H #define DEF_ULDUAR_H +#include "ScriptPCH.h" + enum UlduarEncounters { MAX_ENCOUNTER = 15, diff --git a/src/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.h b/src/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.h index 9d4d86e21..1c5d445b2 100644 --- a/src/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.h +++ b/src/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.h @@ -5,6 +5,8 @@ #ifndef DEF_UTGARDE_KEEP_H #define DEF_UTGARDE_KEEP_H +#include "ScriptPCH.h" + enum eData { DATA_KELESETH, diff --git a/src/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h b/src/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h index 4486ed64f..893b302d8 100644 --- a/src/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h +++ b/src/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h @@ -1,6 +1,8 @@ #ifndef DEF_PINNACLE_H #define DEF_PINNACLE_H +#include "ScriptPCH.h" + enum Data { DATA_SVALA_SORROWGRAVE = 0, @@ -50,4 +52,4 @@ enum Objects NPC_GARUF = 26893, }; -#endif \ No newline at end of file +#endif diff --git a/src/scripts/Northrend/VaultOfArchavon/vault_of_archavon.h b/src/scripts/Northrend/VaultOfArchavon/vault_of_archavon.h index 42531f356..743de2546 100644 --- a/src/scripts/Northrend/VaultOfArchavon/vault_of_archavon.h +++ b/src/scripts/Northrend/VaultOfArchavon/vault_of_archavon.h @@ -8,6 +8,8 @@ #ifndef DEF_ARCHAVON_H #define DEF_ARCHAVON_H +#include "ScriptPCH.h" + enum Creatures { CREATURE_ARCHAVON = 31125, diff --git a/src/scripts/Northrend/VioletHold/violet_hold.h b/src/scripts/Northrend/VioletHold/violet_hold.h index 7a2327683..95221eb1e 100644 --- a/src/scripts/Northrend/VioletHold/violet_hold.h +++ b/src/scripts/Northrend/VioletHold/violet_hold.h @@ -5,6 +5,8 @@ #ifndef DEF_VIOLET_HOLD_H #define DEF_VIOLET_HOLD_H +#include "ScriptPCH.h" + #define MAX_ENCOUNTER 3 enum Creatures diff --git a/src/scripts/Northrend/zone_borean_tundra.cpp b/src/scripts/Northrend/zone_borean_tundra.cpp index af77a805c..a88a56359 100644 --- a/src/scripts/Northrend/zone_borean_tundra.cpp +++ b/src/scripts/Northrend/zone_borean_tundra.cpp @@ -23,6 +23,7 @@ npc_nexus_drake_hatchling EndContentData */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "ScriptedEscortAI.h" diff --git a/src/scripts/Northrend/zone_crystalsong_forest.cpp b/src/scripts/Northrend/zone_crystalsong_forest.cpp index 44fb267db..69c36ed44 100644 --- a/src/scripts/Northrend/zone_crystalsong_forest.cpp +++ b/src/scripts/Northrend/zone_crystalsong_forest.cpp @@ -14,6 +14,7 @@ SDCategory: CrystalsongForest Script Data End */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "Player.h" #include "SmartScriptMgr.h" diff --git a/src/scripts/Northrend/zone_dragonblight.cpp b/src/scripts/Northrend/zone_dragonblight.cpp index c92629ca4..5df89e79f 100644 --- a/src/scripts/Northrend/zone_dragonblight.cpp +++ b/src/scripts/Northrend/zone_dragonblight.cpp @@ -15,6 +15,7 @@ EndScriptData */ EndContentData */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "ScriptedEscortAI.h" diff --git a/src/scripts/Northrend/zone_grizzly_hills.cpp b/src/scripts/Northrend/zone_grizzly_hills.cpp index f8d8b6c44..10d4c5b89 100644 --- a/src/scripts/Northrend/zone_grizzly_hills.cpp +++ b/src/scripts/Northrend/zone_grizzly_hills.cpp @@ -5,6 +5,7 @@ */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "Vehicle.h" diff --git a/src/scripts/Northrend/zone_icecrown.cpp b/src/scripts/Northrend/zone_icecrown.cpp index d0d4356fc..2fd6daccd 100644 --- a/src/scripts/Northrend/zone_icecrown.cpp +++ b/src/scripts/Northrend/zone_icecrown.cpp @@ -16,6 +16,7 @@ npc_arete EndContentData */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "SpellAuras.h" diff --git a/src/scripts/Northrend/zone_sholazar_basin.cpp b/src/scripts/Northrend/zone_sholazar_basin.cpp index 70a31a239..af0eff614 100644 --- a/src/scripts/Northrend/zone_sholazar_basin.cpp +++ b/src/scripts/Northrend/zone_sholazar_basin.cpp @@ -19,6 +19,7 @@ avatar_of_freya EndContentData */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "ScriptedEscortAI.h" diff --git a/src/scripts/Northrend/zone_zuldrak.cpp b/src/scripts/Northrend/zone_zuldrak.cpp index b9f8a5ced..9d225071a 100644 --- a/src/scripts/Northrend/zone_zuldrak.cpp +++ b/src/scripts/Northrend/zone_zuldrak.cpp @@ -6,6 +6,7 @@ */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "ScriptedEscortAI.h" diff --git a/src/scripts/OutdoorPvP/OutdoorPvPEP.h b/src/scripts/OutdoorPvP/OutdoorPvPEP.h index 524d9c591..b3f8fc59a 100644 --- a/src/scripts/OutdoorPvP/OutdoorPvPEP.h +++ b/src/scripts/OutdoorPvP/OutdoorPvPEP.h @@ -8,6 +8,7 @@ #ifndef OUTDOOR_PVP_EP_ #define OUTDOOR_PVP_EP_ +#include "ScriptPCH.h" #include "DBCStructure.h" #include "OutdoorPvP.h" diff --git a/src/scripts/OutdoorPvP/OutdoorPvPGH.h b/src/scripts/OutdoorPvP/OutdoorPvPGH.h index be7f85272..8f8e90acf 100644 --- a/src/scripts/OutdoorPvP/OutdoorPvPGH.h +++ b/src/scripts/OutdoorPvP/OutdoorPvPGH.h @@ -8,6 +8,7 @@ #ifndef OUTDOOR_PVP_GH_ #define OUTDOOR_PVP_GH_ +#include "ScriptPCH.h" #include "OutdoorPvP.h" enum OutdoorPvPGHenum diff --git a/src/scripts/OutdoorPvP/OutdoorPvPHP.h b/src/scripts/OutdoorPvP/OutdoorPvPHP.h index 61f81a90f..95494ee66 100644 --- a/src/scripts/OutdoorPvP/OutdoorPvPHP.h +++ b/src/scripts/OutdoorPvP/OutdoorPvPHP.h @@ -8,6 +8,7 @@ #ifndef OUTDOOR_PVP_HP_ #define OUTDOOR_PVP_HP_ +#include "ScriptPCH.h" #include "OutdoorPvP.h" #define OutdoorPvPHPBuffZonesNum 6 diff --git a/src/scripts/OutdoorPvP/OutdoorPvPNA.h b/src/scripts/OutdoorPvP/OutdoorPvPNA.h index 0ca02597c..21d475f87 100644 --- a/src/scripts/OutdoorPvP/OutdoorPvPNA.h +++ b/src/scripts/OutdoorPvP/OutdoorPvPNA.h @@ -8,6 +8,7 @@ #ifndef OUTDOOR_PVP_NA_ #define OUTDOOR_PVP_NA_ +#include "ScriptPCH.h" #include "OutdoorPvP.h" // TODO: "sometimes" set to neutral diff --git a/src/scripts/OutdoorPvP/OutdoorPvPSI.h b/src/scripts/OutdoorPvP/OutdoorPvPSI.h index ce75ccdf7..1cdd52808 100644 --- a/src/scripts/OutdoorPvP/OutdoorPvPSI.h +++ b/src/scripts/OutdoorPvP/OutdoorPvPSI.h @@ -8,6 +8,7 @@ #ifndef OUTDOOR_PVP_SI_ #define OUTDOOR_PVP_SI_ +#include "ScriptPCH.h" #include "OutdoorPvP.h" enum OutdoorPvPSISpells diff --git a/src/scripts/OutdoorPvP/OutdoorPvPTF.h b/src/scripts/OutdoorPvP/OutdoorPvPTF.h index 72d6edef5..7513d001a 100644 --- a/src/scripts/OutdoorPvP/OutdoorPvPTF.h +++ b/src/scripts/OutdoorPvP/OutdoorPvPTF.h @@ -8,6 +8,7 @@ #ifndef OUTDOOR_PVP_TF_ #define OUTDOOR_PVP_TF_ +#include "ScriptPCH.h" #include "OutdoorPvP.h" const uint8 OutdoorPvPTFBuffZonesNum = 5; diff --git a/src/scripts/OutdoorPvP/OutdoorPvPZM.h b/src/scripts/OutdoorPvP/OutdoorPvPZM.h index 65559a16d..31891070e 100644 --- a/src/scripts/OutdoorPvP/OutdoorPvPZM.h +++ b/src/scripts/OutdoorPvP/OutdoorPvPZM.h @@ -8,6 +8,7 @@ #ifndef OUTDOOR_PVP_ZM_ #define OUTDOOR_PVP_ZM_ +#include "ScriptPCH.h" #include "Language.h" #include "OutdoorPvP.h" diff --git a/src/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp b/src/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp index 3bd74a369..44e334b58 100644 --- a/src/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp +++ b/src/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp @@ -3,6 +3,7 @@ REWRITTEN BY XINEF */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "Player.h" diff --git a/src/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp b/src/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp index df5a467bf..8bc260b62 100644 --- a/src/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp +++ b/src/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp @@ -4,6 +4,7 @@ REWRITTEN BY XINEF #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" enum ePrince diff --git a/src/scripts/Outland/Auchindoun/SethekkHalls/sethekk_halls.h b/src/scripts/Outland/Auchindoun/SethekkHalls/sethekk_halls.h index 2899bb5a4..be822ea94 100644 --- a/src/scripts/Outland/Auchindoun/SethekkHalls/sethekk_halls.h +++ b/src/scripts/Outland/Auchindoun/SethekkHalls/sethekk_halls.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_SETHEKK_HALLS_H #define DEF_SETHEKK_HALLS_H +#include "ScriptPCH.h" + enum eTypes { DATA_IKISSDOOREVENT = 1, diff --git a/src/scripts/Outland/Auchindoun/ShadowLabyrinth/shadow_labyrinth.h b/src/scripts/Outland/Auchindoun/ShadowLabyrinth/shadow_labyrinth.h index 731b99b3e..f95ea24a5 100644 --- a/src/scripts/Outland/Auchindoun/ShadowLabyrinth/shadow_labyrinth.h +++ b/src/scripts/Outland/Auchindoun/ShadowLabyrinth/shadow_labyrinth.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_SHADOW_LABYRINTH_H #define DEF_SHADOW_LABYRINTH_H +#include "ScriptPCH.h" + enum slData { TYPE_OVERSEER = 0, diff --git a/src/scripts/Outland/BlackTemple/black_temple.h b/src/scripts/Outland/BlackTemple/black_temple.h index 71b6d6255..8478a1688 100644 --- a/src/scripts/Outland/BlackTemple/black_temple.h +++ b/src/scripts/Outland/BlackTemple/black_temple.h @@ -5,6 +5,7 @@ REWRITTEN BY XINEF #ifndef BLACK_TEMPLE_H_ #define BLACK_TEMPLE_H_ +#include "ScriptPCH.h" enum DataTypes { diff --git a/src/scripts/Outland/CoilfangReservoir/SerpentShrine/serpent_shrine.h b/src/scripts/Outland/CoilfangReservoir/SerpentShrine/serpent_shrine.h index 18d9fab7a..f69f59bca 100644 --- a/src/scripts/Outland/CoilfangReservoir/SerpentShrine/serpent_shrine.h +++ b/src/scripts/Outland/CoilfangReservoir/SerpentShrine/serpent_shrine.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_SERPENT_SHRINE_H #define DEF_SERPENT_SHRINE_H +#include "ScriptPCH.h" + enum DataTypes { DATA_HYDROSS_THE_UNSTABLE = 0, diff --git a/src/scripts/Outland/CoilfangReservoir/SteamVault/steam_vault.h b/src/scripts/Outland/CoilfangReservoir/SteamVault/steam_vault.h index 6f3376e24..5d0538206 100644 --- a/src/scripts/Outland/CoilfangReservoir/SteamVault/steam_vault.h +++ b/src/scripts/Outland/CoilfangReservoir/SteamVault/steam_vault.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_STEAM_VAULT_H #define DEF_STEAM_VAULT_H +#include "ScriptPCH.h" + enum steamVault { TYPE_HYDROMANCER_THESPIA = 0, diff --git a/src/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp b/src/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp index e315758c3..7a9270541 100644 --- a/src/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp +++ b/src/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp @@ -12,6 +12,7 @@ SDCategory: Coilfang Resevoir, Underbog EndScriptData */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" enum eBlackStalker diff --git a/src/scripts/Outland/GruulsLair/gruuls_lair.h b/src/scripts/Outland/GruulsLair/gruuls_lair.h index 751764caf..651270128 100644 --- a/src/scripts/Outland/GruulsLair/gruuls_lair.h +++ b/src/scripts/Outland/GruulsLair/gruuls_lair.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef GRUULS_LAIR_H_ #define GRUULS_LAIR_H_ +#include "ScriptPCH.h" + enum DataTypes { DATA_MAULGAR = 0, diff --git a/src/scripts/Outland/HellfireCitadel/BloodFurnace/blood_furnace.h b/src/scripts/Outland/HellfireCitadel/BloodFurnace/blood_furnace.h index f5aef7836..cecee6ec4 100644 --- a/src/scripts/Outland/HellfireCitadel/BloodFurnace/blood_furnace.h +++ b/src/scripts/Outland/HellfireCitadel/BloodFurnace/blood_furnace.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_BLOOD_FURNACE_H #define DEF_BLOOD_FURNACE_H +#include "ScriptPCH.h" + enum bloodFurnace { DATA_THE_MAKER = 0, diff --git a/src/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp b/src/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp index 4af468583..f681c442b 100644 --- a/src/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp +++ b/src/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp @@ -3,6 +3,7 @@ REWRITTEN BY XINEF */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "blood_furnace.h" diff --git a/src/scripts/Outland/HellfireCitadel/HellfireRamparts/hellfire_ramparts.h b/src/scripts/Outland/HellfireCitadel/HellfireRamparts/hellfire_ramparts.h index ae1880259..972abb59d 100644 --- a/src/scripts/Outland/HellfireCitadel/HellfireRamparts/hellfire_ramparts.h +++ b/src/scripts/Outland/HellfireCitadel/HellfireRamparts/hellfire_ramparts.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_RAMPARTS_H #define DEF_RAMPARTS_H +#include "ScriptPCH.h" + enum DataTypes { DATA_WATCHKEEPER_GARGOLMAR = 0, diff --git a/src/scripts/Outland/HellfireCitadel/MagtheridonsLair/magtheridons_lair.h b/src/scripts/Outland/HellfireCitadel/MagtheridonsLair/magtheridons_lair.h index d82a2eb14..36d5f2d01 100644 --- a/src/scripts/Outland/HellfireCitadel/MagtheridonsLair/magtheridons_lair.h +++ b/src/scripts/Outland/HellfireCitadel/MagtheridonsLair/magtheridons_lair.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_MAGTHERIDONS_LAIR_H #define DEF_MAGTHERIDONS_LAIR_H +#include "ScriptPCH.h" + enum DataTypes { TYPE_MAGTHERIDON = 0, diff --git a/src/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp b/src/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp index ea336d9c0..a521b038b 100644 --- a/src/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp +++ b/src/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp @@ -3,6 +3,7 @@ REWRITTEN BY XINEF */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "shattered_halls.h" diff --git a/src/scripts/Outland/HellfireCitadel/ShatteredHalls/shattered_halls.h b/src/scripts/Outland/HellfireCitadel/ShatteredHalls/shattered_halls.h index 4031e21bb..3653dc821 100644 --- a/src/scripts/Outland/HellfireCitadel/ShatteredHalls/shattered_halls.h +++ b/src/scripts/Outland/HellfireCitadel/ShatteredHalls/shattered_halls.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_SHATTERED_H #define DEF_SHATTERED_H +#include "ScriptPCH.h" + enum DataTypes { DATA_NETHEKURSE = 0, diff --git a/src/scripts/Outland/TempestKeep/Eye/the_eye.h b/src/scripts/Outland/TempestKeep/Eye/the_eye.h index 12d300789..3809800b9 100644 --- a/src/scripts/Outland/TempestKeep/Eye/the_eye.h +++ b/src/scripts/Outland/TempestKeep/Eye/the_eye.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_THE_EYE_H #define DEF_THE_EYE_H +#include "ScriptPCH.h" + enum EyeData { DATA_ALAR = 0, diff --git a/src/scripts/Outland/TempestKeep/Mechanar/mechanar.h b/src/scripts/Outland/TempestKeep/Mechanar/mechanar.h index d9074b0dd..08428066b 100644 --- a/src/scripts/Outland/TempestKeep/Mechanar/mechanar.h +++ b/src/scripts/Outland/TempestKeep/Mechanar/mechanar.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_MECHANAR_H #define DEF_MECHANAR_H +#include "ScriptPCH.h" + enum DataTypes { DATA_GATEWATCHER_GYROKILL = 0, diff --git a/src/scripts/Outland/TempestKeep/arcatraz/arcatraz.h b/src/scripts/Outland/TempestKeep/arcatraz/arcatraz.h index cf801c4bb..42c2f4f06 100644 --- a/src/scripts/Outland/TempestKeep/arcatraz/arcatraz.h +++ b/src/scripts/Outland/TempestKeep/arcatraz/arcatraz.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef ARCATRAZ_H #define ARCATRAZ_H +#include "ScriptPCH.h" + enum DataTypes { // Encounter States/Boss GUIDs diff --git a/src/scripts/Outland/TempestKeep/botanica/the_botanica.h b/src/scripts/Outland/TempestKeep/botanica/the_botanica.h index 386bfcf42..5ac559b0f 100644 --- a/src/scripts/Outland/TempestKeep/botanica/the_botanica.h +++ b/src/scripts/Outland/TempestKeep/botanica/the_botanica.h @@ -5,6 +5,8 @@ REWRITTEN BY XINEF #ifndef DEF_THE_BOTANICA_H #define DEF_THE_BOTANICA_H +#include "ScriptPCH.h" + enum DataTypes { DATA_COMMANDER_SARANNIS = 0, diff --git a/src/scripts/Outland/zone_hellfire_peninsula.cpp b/src/scripts/Outland/zone_hellfire_peninsula.cpp index 14ab40650..116785af5 100644 --- a/src/scripts/Outland/zone_hellfire_peninsula.cpp +++ b/src/scripts/Outland/zone_hellfire_peninsula.cpp @@ -19,6 +19,7 @@ npc_fel_guard_hound EndContentData */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "ScriptedEscortAI.h" diff --git a/src/scripts/Outland/zone_terokkar_forest.cpp b/src/scripts/Outland/zone_terokkar_forest.cpp index 8ada90567..495cb9b9f 100644 --- a/src/scripts/Outland/zone_terokkar_forest.cpp +++ b/src/scripts/Outland/zone_terokkar_forest.cpp @@ -22,6 +22,7 @@ npc_slim EndContentData */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "ScriptedEscortAI.h" diff --git a/src/scripts/Pet/pet_dk.cpp b/src/scripts/Pet/pet_dk.cpp index 3ab4fe694..73e39bf5c 100644 --- a/src/scripts/Pet/pet_dk.cpp +++ b/src/scripts/Pet/pet_dk.cpp @@ -11,6 +11,7 @@ */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "CombatAI.h" #include "Cell.h" diff --git a/src/scripts/Pet/pet_generic.cpp b/src/scripts/Pet/pet_generic.cpp index 0a38c048c..774ccbf4c 100644 --- a/src/scripts/Pet/pet_generic.cpp +++ b/src/scripts/Pet/pet_generic.cpp @@ -11,6 +11,7 @@ */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "Player.h" #include "Group.h" diff --git a/src/scripts/Pet/pet_hunter.cpp b/src/scripts/Pet/pet_hunter.cpp index e9104c63f..4f93b2ae2 100644 --- a/src/scripts/Pet/pet_hunter.cpp +++ b/src/scripts/Pet/pet_hunter.cpp @@ -11,6 +11,7 @@ */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" enum HunterSpells diff --git a/src/scripts/Pet/pet_mage.cpp b/src/scripts/Pet/pet_mage.cpp index ca7ae55e7..2f360e1fe 100644 --- a/src/scripts/Pet/pet_mage.cpp +++ b/src/scripts/Pet/pet_mage.cpp @@ -11,6 +11,7 @@ */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "CombatAI.h" #include "Pet.h" diff --git a/src/scripts/Pet/pet_priest.cpp b/src/scripts/Pet/pet_priest.cpp index e026b5c89..44e19c2c1 100644 --- a/src/scripts/Pet/pet_priest.cpp +++ b/src/scripts/Pet/pet_priest.cpp @@ -11,6 +11,7 @@ */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" #include "PassiveAI.h" #include "PetAI.h" diff --git a/src/scripts/Pet/pet_shaman.cpp b/src/scripts/Pet/pet_shaman.cpp index b8ec32f0f..f4a7bb7aa 100644 --- a/src/scripts/Pet/pet_shaman.cpp +++ b/src/scripts/Pet/pet_shaman.cpp @@ -11,6 +11,7 @@ */ #include "ScriptMgr.h" +#include "ScriptPCH.h" #include "ScriptedCreature.h" enum ShamanSpells diff --git a/src/scripts/Spells/spell_dk.cpp b/src/scripts/Spells/spell_dk.cpp index 239f4f222..9cc30ad16 100644 --- a/src/scripts/Spells/spell_dk.cpp +++ b/src/scripts/Spells/spell_dk.cpp @@ -18,6 +18,7 @@ #include "SpellInfo.h" #include "Totem.h" #include "PetDefines.h" +#include "UnitAI.h" enum DeathKnightSpells { diff --git a/src/scripts/Spells/spell_druid.cpp b/src/scripts/Spells/spell_druid.cpp index 4ea71c45a..814a0d03d 100644 --- a/src/scripts/Spells/spell_druid.cpp +++ b/src/scripts/Spells/spell_druid.cpp @@ -16,6 +16,7 @@ #include "SpellScript.h" #include "SpellAuraEffects.h" #include "Containers.h" +#include "GridNotifiers.h" enum DruidSpells { diff --git a/src/scripts/Spells/spell_paladin.cpp b/src/scripts/Spells/spell_paladin.cpp index 49851f25e..20744de67 100644 --- a/src/scripts/Spells/spell_paladin.cpp +++ b/src/scripts/Spells/spell_paladin.cpp @@ -16,6 +16,7 @@ #include "SpellScript.h" #include "SpellAuraEffects.h" #include "Group.h" +#include "UnitAI.h" enum PaladinSpells { diff --git a/src/scripts/Spells/spell_quest.cpp b/src/scripts/Spells/spell_quest.cpp index 6eb97e323..d3eedb860 100644 --- a/src/scripts/Spells/spell_quest.cpp +++ b/src/scripts/Spells/spell_quest.cpp @@ -19,6 +19,7 @@ #include "GridNotifiers.h" #include "MapManager.h" #include "CreatureTextMgr.h" +#include "SpellAuraEffects.h" // Ours class spell_q11065_wrangle_some_aether_rays : public SpellScriptLoader diff --git a/src/scripts/World/boss_emerald_dragons.cpp b/src/scripts/World/boss_emerald_dragons.cpp index ec35bc5b8..43e697f76 100644 --- a/src/scripts/World/boss_emerald_dragons.cpp +++ b/src/scripts/World/boss_emerald_dragons.cpp @@ -11,6 +11,7 @@ #include "Spell.h" #include "SpellAuraEffects.h" #include "PassiveAI.h" +#include "GridNotifiers.h" // // Emerald Dragon NPCs and IDs (kept here for reference) diff --git a/src/worldserver/CMakeLists.txt b/src/worldserver/CMakeLists.txt index c7fc088d6..7313c1c94 100644 --- a/src/worldserver/CMakeLists.txt +++ b/src/worldserver/CMakeLists.txt @@ -114,6 +114,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/src/game/Maps ${CMAKE_SOURCE_DIR}/src/game/Miscellaneous ${CMAKE_SOURCE_DIR}/src/game/Movement + ${CMAKE_SOURCE_DIR}/src/game/Movement/Spline ${CMAKE_SOURCE_DIR}/src/game/Movement/MovementGenerators ${CMAKE_SOURCE_DIR}/src/game/Movement/Waypoints ${CMAKE_SOURCE_DIR}/src/game/OutdoorPvP @@ -133,6 +134,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/src/game/Weather ${CMAKE_SOURCE_DIR}/src/game/World ${CMAKE_SOURCE_DIR}/src/game/Misc + ${CMAKE_SOURCE_DIR}/src/scripts/PrecompiledHeaders ${CMAKE_SOURCE_DIR}/src/authserver/Server ${CMAKE_SOURCE_DIR}/src/authserver/Realms ${CMAKE_CURRENT_SOURCE_DIR} diff --git a/src/worldserver/TCSoap/TCSoap.cpp b/src/worldserver/TCSoap/TCSoap.cpp index f60a2bc34..f2549ed2c 100644 --- a/src/worldserver/TCSoap/TCSoap.cpp +++ b/src/worldserver/TCSoap/TCSoap.cpp @@ -8,6 +8,8 @@ #include "TCSoap.h" #include "soapH.h" #include "soapStub.h" +#include "Log.h" +#include "World.h" void TCSoapRunnable::run() {