diff --git a/src/common/Logging/enuminfo_LogCommon.cpp b/src/common/Logging/enuminfo_LogCommon.cpp index da8cbc449..9f8ae2511 100644 --- a/src/common/Logging/enuminfo_LogCommon.cpp +++ b/src/common/Logging/enuminfo_LogCommon.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "LogCommon.h" #include "Define.h" +#include "LogCommon.h" #include "SmartEnum.h" #include diff --git a/src/common/Metric/Metric.cpp b/src/common/Metric/Metric.cpp index fb0e39a8c..312726399 100644 --- a/src/common/Metric/Metric.cpp +++ b/src/common/Metric/Metric.cpp @@ -21,8 +21,8 @@ #include "DeadlineTimer.h" #include "Log.h" #include "Strand.h" -#include "Util.h" #include "Tokenize.h" +#include "Util.h" #include #include diff --git a/src/common/Metric/Metric.h b/src/common/Metric/Metric.h index 550630328..e629a5b31 100644 --- a/src/common/Metric/Metric.h +++ b/src/common/Metric/Metric.h @@ -26,8 +26,8 @@ #include #include #include -#include #include +#include namespace Acore::Asio { diff --git a/src/common/Threading/MPSCQueue.h b/src/common/Threading/MPSCQueue.h index 3f6b42457..ce26db40b 100644 --- a/src/common/Threading/MPSCQueue.h +++ b/src/common/Threading/MPSCQueue.h @@ -19,6 +19,7 @@ #define MPSCQueue_h__ #include +#include #include namespace Acore::Impl diff --git a/src/common/Utilities/StartProcess.cpp b/src/common/Utilities/StartProcess.cpp index 2c4297fc9..2bd58b2e8 100644 --- a/src/common/Utilities/StartProcess.cpp +++ b/src/common/Utilities/StartProcess.cpp @@ -20,7 +20,6 @@ #include "Log.h" #include "Optional.h" #include "Util.h" -#include #include #include #include @@ -30,6 +29,7 @@ #include #include #include +#include using namespace boost::process; using namespace boost::iostreams; diff --git a/src/common/Utilities/Util.cpp b/src/common/Utilities/Util.cpp index a942fd9a9..45ed122ac 100644 --- a/src/common/Utilities/Util.cpp +++ b/src/common/Utilities/Util.cpp @@ -21,13 +21,13 @@ #include "IpAddress.h" #include "StringFormat.h" #include +#include #include #include #include #include #include #include -#include #include Tokenizer::Tokenizer(const std::string& src, const char sep, uint32 vectorReserve) diff --git a/src/common/Utilities/Util.h b/src/common/Utilities/Util.h index 4fbe54108..a3032ac91 100644 --- a/src/common/Utilities/Util.h +++ b/src/common/Utilities/Util.h @@ -28,9 +28,6 @@ #include #include #include -#include -#include -#include // Searcher for map of structs template struct Finder diff --git a/src/server/authserver/Main.cpp b/src/server/authserver/Main.cpp index e5a39d9a1..6a79401f7 100644 --- a/src/server/authserver/Main.cpp +++ b/src/server/authserver/Main.cpp @@ -33,8 +33,8 @@ #include "DeadlineTimer.h" #include "GitRevision.h" #include "IPLocation.h" -#include "Log.h" #include "IoContext.h" +#include "Log.h" #include "MySQLThreading.h" #include "ProcessPriority.h" #include "RealmList.h" diff --git a/src/server/authserver/PrecompiledHeaders/authPCH.h b/src/server/authserver/PrecompiledHeaders/authPCH.h index 3bd6189ce..e252912e7 100644 --- a/src/server/authserver/PrecompiledHeaders/authPCH.h +++ b/src/server/authserver/PrecompiledHeaders/authPCH.h @@ -15,8 +15,8 @@ * with this program. If not, see . */ +#include "Common.h" #include "Config.h" #include "DatabaseEnv.h" #include "Log.h" #include "RealmList.h" -#include "Common.h" diff --git a/src/server/authserver/Server/AuthSession.cpp b/src/server/authserver/Server/AuthSession.cpp index a516b328c..74aed6fe2 100644 --- a/src/server/authserver/Server/AuthSession.cpp +++ b/src/server/authserver/Server/AuthSession.cpp @@ -20,16 +20,16 @@ #include "AuthCodes.h" #include "Config.h" #include "CryptoGenerics.h" +#include "CryptoHash.h" #include "CryptoRandom.h" #include "DatabaseEnv.h" #include "Errors.h" -#include "CryptoHash.h" #include "IPLocation.h" #include "Log.h" #include "RealmList.h" #include "SecretMgr.h" -#include "Timer.h" #include "TOTP.h" +#include "Timer.h" #include "Util.h" #include #include diff --git a/src/server/authserver/Server/AuthSession.h b/src/server/authserver/Server/AuthSession.h index cf1d9ec80..4a333c816 100644 --- a/src/server/authserver/Server/AuthSession.h +++ b/src/server/authserver/Server/AuthSession.h @@ -24,11 +24,11 @@ #include "Common.h" #include "CryptoHash.h" #include "Optional.h" -#include "Socket.h" -#include "SRP6.h" #include "QueryResult.h" -#include +#include "SRP6.h" +#include "Socket.h" #include +#include using boost::asio::ip::tcp; diff --git a/src/server/authserver/Server/AuthSocketMgr.h b/src/server/authserver/Server/AuthSocketMgr.h index eb25b5fad..53f46ff92 100644 --- a/src/server/authserver/Server/AuthSocketMgr.h +++ b/src/server/authserver/Server/AuthSocketMgr.h @@ -18,8 +18,8 @@ #ifndef AuthSocketMgr_h__ #define AuthSocketMgr_h__ -#include "SocketMgr.h" #include "AuthSession.h" +#include "SocketMgr.h" class AuthSocketMgr : public SocketMgr { diff --git a/src/server/database/Database/DatabaseWorkerPool.cpp b/src/server/database/Database/DatabaseWorkerPool.cpp index 6e7da4bf1..ea74da357 100644 --- a/src/server/database/Database/DatabaseWorkerPool.cpp +++ b/src/server/database/Database/DatabaseWorkerPool.cpp @@ -25,8 +25,8 @@ #include "Log.h" #include "MySQLPreparedStatement.h" #include "MySQLWorkaround.h" -#include "PreparedStatement.h" #include "PCQueue.h" +#include "PreparedStatement.h" #include "QueryCallback.h" #include "QueryHolder.h" #include "QueryResult.h" diff --git a/src/server/database/PrecompiledHeaders/databasePCH.h b/src/server/database/PrecompiledHeaders/databasePCH.h index 8853e2b2d..eeecef212 100644 --- a/src/server/database/PrecompiledHeaders/databasePCH.h +++ b/src/server/database/PrecompiledHeaders/databasePCH.h @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "Define.h" #include "DatabaseEnvFwd.h" +#include "Define.h" #include "Errors.h" #include "Field.h" #include "Log.h" diff --git a/src/server/database/Updater/DBUpdater.h b/src/server/database/Updater/DBUpdater.h index 7d7d88f53..a086ab435 100644 --- a/src/server/database/Updater/DBUpdater.h +++ b/src/server/database/Updater/DBUpdater.h @@ -20,8 +20,8 @@ #include "DatabaseEnv.h" #include "Define.h" -#include #include +#include template class DatabaseWorkerPool; diff --git a/src/server/database/Updater/UpdateFetcher.cpp b/src/server/database/Updater/UpdateFetcher.cpp index 254615263..648d739b8 100644 --- a/src/server/database/Updater/UpdateFetcher.cpp +++ b/src/server/database/Updater/UpdateFetcher.cpp @@ -23,8 +23,8 @@ #include "QueryResult.h" #include "Tokenize.h" #include "Util.h" -#include #include +#include using namespace std::filesystem; diff --git a/src/server/database/Updater/UpdateFetcher.h b/src/server/database/Updater/UpdateFetcher.h index bb97e29f3..c2b29936f 100644 --- a/src/server/database/Updater/UpdateFetcher.h +++ b/src/server/database/Updater/UpdateFetcher.h @@ -20,11 +20,11 @@ #include "DatabaseEnv.h" #include "Define.h" +#include #include #include #include #include -#include struct AC_DATABASE_API UpdateResult { diff --git a/src/server/game/AI/CoreAI/GuardAI.cpp b/src/server/game/AI/CoreAI/GuardAI.cpp index f0228abc2..3ece7c191 100644 --- a/src/server/game/AI/CoreAI/GuardAI.cpp +++ b/src/server/game/AI/CoreAI/GuardAI.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "CreatureAIImpl.h" #include "GuardAI.h" +#include "CreatureAIImpl.h" #include "Player.h" int GuardAI::Permissible(Creature const* creature) diff --git a/src/server/game/AI/CoreAI/PassiveAI.cpp b/src/server/game/AI/CoreAI/PassiveAI.cpp index 2a0badb57..12a134490 100644 --- a/src/server/game/AI/CoreAI/PassiveAI.cpp +++ b/src/server/game/AI/CoreAI/PassiveAI.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "Creature.h" #include "PassiveAI.h" +#include "Creature.h" #include "TemporarySummon.h" PassiveAI::PassiveAI(Creature* c) : CreatureAI(c) { me->SetReactState(REACT_PASSIVE); } diff --git a/src/server/game/AI/CoreAI/PetAI.cpp b/src/server/game/AI/CoreAI/PetAI.cpp index 9ab8a54cf..27da4a5af 100644 --- a/src/server/game/AI/CoreAI/PetAI.cpp +++ b/src/server/game/AI/CoreAI/PetAI.cpp @@ -15,18 +15,19 @@ * with this program. If not, see . */ +#include "PetAI.h" #include "Creature.h" #include "Errors.h" #include "Group.h" #include "ObjectAccessor.h" #include "Pet.h" -#include "PetAI.h" #include "Player.h" #include "Spell.h" #include "SpellAuraEffects.h" #include "SpellInfo.h" #include "SpellMgr.h" #include "Util.h" +#include "WorldSession.h" int PetAI::Permissible(const Creature* creature) { diff --git a/src/server/game/AI/CoreAI/ReactorAI.cpp b/src/server/game/AI/CoreAI/ReactorAI.cpp index 8796b60bf..a584b2d10 100644 --- a/src/server/game/AI/CoreAI/ReactorAI.cpp +++ b/src/server/game/AI/CoreAI/ReactorAI.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "ReactorAI.h" #include "CreatureAIImpl.h" #include "Errors.h" -#include "ReactorAI.h" int ReactorAI::Permissible(const Creature* creature) { diff --git a/src/server/game/AI/CoreAI/TotemAI.cpp b/src/server/game/AI/CoreAI/TotemAI.cpp index ab54644f4..141d5dacb 100644 --- a/src/server/game/AI/CoreAI/TotemAI.cpp +++ b/src/server/game/AI/CoreAI/TotemAI.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "TotemAI.h" #include "CellImpl.h" #include "Creature.h" #include "DBCStores.h" @@ -23,7 +24,6 @@ #include "ObjectAccessor.h" #include "SpellMgr.h" #include "Totem.h" -#include "TotemAI.h" int TotemAI::Permissible(Creature const* creature) { diff --git a/src/server/game/AI/CoreAI/UnitAI.cpp b/src/server/game/AI/CoreAI/UnitAI.cpp index e373888ad..0922a4f29 100644 --- a/src/server/game/AI/CoreAI/UnitAI.cpp +++ b/src/server/game/AI/CoreAI/UnitAI.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "UnitAI.h" #include "Creature.h" #include "CreatureAIImpl.h" #include "Player.h" @@ -23,7 +24,6 @@ #include "SpellAuras.h" #include "SpellInfo.h" #include "SpellMgr.h" -#include "UnitAI.h" void UnitAI::AttackStart(Unit* victim) { diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp index 6aed4ea32..4e2c04e52 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "Creature.h" #include "CreatureAI.h" +#include "Creature.h" #include "CreatureAIImpl.h" #include "CreatureGroups.h" #include "CreatureTextMgr.h" diff --git a/src/server/game/AI/CreatureAIRegistry.cpp b/src/server/game/AI/CreatureAIRegistry.cpp index 0c2cf8717..f3d29e5be 100644 --- a/src/server/game/AI/CreatureAIRegistry.cpp +++ b/src/server/game/AI/CreatureAIRegistry.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "CreatureAIRegistry.h" #include "CombatAI.h" #include "CreatureAIFactory.h" -#include "CreatureAIRegistry.h" #include "GuardAI.h" #include "MovementGeneratorImpl.h" #include "PassiveAI.h" diff --git a/src/server/game/AI/CreatureAISelector.cpp b/src/server/game/AI/CreatureAISelector.cpp index 410f266de..9d32ee724 100644 --- a/src/server/game/AI/CreatureAISelector.cpp +++ b/src/server/game/AI/CreatureAISelector.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "CreatureAISelector.h" #include "Creature.h" #include "CreatureAIFactory.h" -#include "CreatureAISelector.h" #include "MovementGenerator.h" #include "PassiveAI.h" #include "Pet.h" diff --git a/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp b/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp index 43e1fe18b..4aa630162 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ +#include "ScriptedCreature.h" #include "Cell.h" #include "CellImpl.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" #include "ObjectMgr.h" -#include "ScriptedCreature.h" #include "Spell.h" #include "TemporarySummon.h" diff --git a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp index 427c6eeeb..ce5f3d144 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp @@ -22,10 +22,10 @@ SDComment: SDCategory: Npc EndScriptData */ +#include "ScriptedEscortAI.h" #include "Group.h" #include "Player.h" #include "ScriptedCreature.h" -#include "ScriptedEscortAI.h" enum ePoints { diff --git a/src/server/game/AI/ScriptedAI/ScriptedFollowerAI.cpp b/src/server/game/AI/ScriptedAI/ScriptedFollowerAI.cpp index d5bebe896..be9c327f6 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedFollowerAI.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedFollowerAI.cpp @@ -22,10 +22,10 @@ SDComment: This AI is under development SDCategory: Npc EndScriptData */ +#include "ScriptedFollowerAI.h" #include "Group.h" #include "Player.h" #include "ScriptedCreature.h" -#include "ScriptedFollowerAI.h" const float MAX_PLAYER_DISTANCE = 100.0f; diff --git a/src/server/game/AI/ScriptedAI/ScriptedFollowerAI.h b/src/server/game/AI/ScriptedAI/ScriptedFollowerAI.h index 3686ebabd..1f77602b5 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedFollowerAI.h +++ b/src/server/game/AI/ScriptedAI/ScriptedFollowerAI.h @@ -19,6 +19,7 @@ #define SC_FOLLOWERAI_H #include "ScriptSystem.h" +#include "ScriptedCreature.h" enum eFollowState { @@ -35,7 +36,7 @@ class FollowerAI : public ScriptedAI { public: explicit FollowerAI(Creature* creature); - ~FollowerAI() override {} + ~FollowerAI() override { } //virtual void WaypointReached(uint32 uiPointId) = 0; diff --git a/src/server/game/AI/ScriptedAI/ScriptedGossip.cpp b/src/server/game/AI/ScriptedAI/ScriptedGossip.cpp index d162b6949..5f960b1ca 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedGossip.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedGossip.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "ScriptedGossip.h" #include "Creature.h" #include "Player.h" -#include "ScriptedGossip.h" void ClearGossipMenuFor(Player* player) { diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index 619be1fac..8ac1fb64b 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "SmartAI.h" #include "Cell.h" #include "CellImpl.h" #include "DatabaseEnv.h" @@ -25,9 +26,8 @@ #include "InstanceScript.h" #include "ObjectDefines.h" #include "ObjectMgr.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" -#include "SmartAI.h" +#include "ScriptedCreature.h" #include "SpellMgr.h" #include "Vehicle.h" diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 290d7575f..cd48f9676 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "SmartScript.h" #include "Cell.h" #include "CellImpl.h" #include "ChatTextBuilder.h" @@ -33,7 +34,6 @@ #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "SmartAI.h" -#include "SmartScript.h" #include "SpellMgr.h" #include "Vehicle.h" diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp index 1c99074af..eafc2c828 100644 --- a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp +++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "SmartScriptMgr.h" #include "Cell.h" #include "CellImpl.h" #include "CreatureTextMgr.h" @@ -27,7 +28,6 @@ #include "ObjectDefines.h" #include "ObjectMgr.h" #include "ScriptedCreature.h" -#include "SmartScriptMgr.h" #include "SpellMgr.h" SmartWaypointMgr* SmartWaypointMgr::instance() diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.h b/src/server/game/AI/SmartScripts/SmartScriptMgr.h index 9ab0d9dd1..91428c2d6 100644 --- a/src/server/game/AI/SmartScripts/SmartScriptMgr.h +++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.h @@ -21,9 +21,9 @@ #include "Common.h" #include "Creature.h" #include "CreatureAI.h" +#include "DBCStores.h" #include "Spell.h" -//#include "SmartAI.h" -//#include "SmartScript.h" +#include "SpellMgr.h" #include "Unit.h" struct WayPoint diff --git a/src/server/game/Accounts/AccountMgr.cpp b/src/server/game/Accounts/AccountMgr.cpp index 93271f228..62c75712e 100644 --- a/src/server/game/Accounts/AccountMgr.cpp +++ b/src/server/game/Accounts/AccountMgr.cpp @@ -19,8 +19,8 @@ #include "DatabaseEnv.h" #include "ObjectAccessor.h" #include "Player.h" -#include "ScriptMgr.h" #include "SRP6.h" +#include "ScriptMgr.h" #include "Util.h" #include "WorldSession.h" diff --git a/src/server/game/Achievements/AchievementMgr.cpp b/src/server/game/Achievements/AchievementMgr.cpp index d3af277c5..94228f976 100644 --- a/src/server/game/Achievements/AchievementMgr.cpp +++ b/src/server/game/Achievements/AchievementMgr.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "AccountMgr.h" #include "AchievementMgr.h" +#include "AccountMgr.h" #include "ArenaTeam.h" #include "ArenaTeamMgr.h" #include "Battleground.h" @@ -25,8 +25,8 @@ #include "Chat.h" #include "ChatTextBuilder.h" #include "Common.h" -#include "DatabaseEnv.h" #include "DBCEnums.h" +#include "DatabaseEnv.h" #include "DisableMgr.h" #include "GameEventMgr.h" #include "GridNotifiersImpl.h" diff --git a/src/server/game/Achievements/AchievementMgr.h b/src/server/game/Achievements/AchievementMgr.h index 60c1c07b9..d5b83ee13 100644 --- a/src/server/game/Achievements/AchievementMgr.h +++ b/src/server/game/Achievements/AchievementMgr.h @@ -18,15 +18,14 @@ #ifndef __ACORE_ACHIEVEMENTMGR_H #define __ACORE_ACHIEVEMENTMGR_H -#include -#include -#include - #include "Common.h" -#include "DatabaseEnv.h" #include "DBCEnums.h" #include "DBCStores.h" +#include "DatabaseEnv.h" #include "ObjectGuid.h" +#include +#include +#include typedef std::list AchievementCriteriaEntryList; typedef std::list AchievementEntryList; diff --git a/src/server/game/ArenaSpectator/ArenaSpectator.cpp b/src/server/game/ArenaSpectator/ArenaSpectator.cpp index d69635d10..40f5a0084 100644 --- a/src/server/game/ArenaSpectator/ArenaSpectator.cpp +++ b/src/server/game/ArenaSpectator/ArenaSpectator.cpp @@ -23,6 +23,7 @@ #include "Player.h" #include "SpellAuraEffects.h" #include "SpellAuras.h" +#include "Types.h" #include "World.h" bool ArenaSpectator::HandleSpectatorSpectateCommand(ChatHandler* handler, std::string const& name) diff --git a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp index 8c3fed695..49cf8f5b3 100644 --- a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp +++ b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ +#include "AuctionHouseMgr.h" #include "AccountMgr.h" #include "AsyncAuctionListing.h" -#include "AuctionHouseMgr.h" #include "AvgDiffTracker.h" #include "Common.h" -#include "DatabaseEnv.h" #include "DBCStores.h" +#include "DatabaseEnv.h" #include "Item.h" #include "Logging/Log.h" #include "ObjectMgr.h" diff --git a/src/server/game/AuctionHouse/AuctionHouseMgr.h b/src/server/game/AuctionHouse/AuctionHouseMgr.h index fdeb6c08d..732bcb04c 100644 --- a/src/server/game/AuctionHouse/AuctionHouseMgr.h +++ b/src/server/game/AuctionHouse/AuctionHouseMgr.h @@ -19,8 +19,8 @@ #define _AUCTION_HOUSE_MGR_H #include "Common.h" -#include "DatabaseEnv.h" #include "DBCStructure.h" +#include "DatabaseEnv.h" #include "EventProcessor.h" #include "ObjectGuid.h" #include "WorldPacket.h" diff --git a/src/server/game/Battlefield/Zones/BattlefieldWG.h b/src/server/game/Battlefield/Zones/BattlefieldWG.h index 550e4133a..902c4848b 100644 --- a/src/server/game/Battlefield/Zones/BattlefieldWG.h +++ b/src/server/game/Battlefield/Zones/BattlefieldWG.h @@ -19,8 +19,8 @@ #define BATTLEFIELD_WG_ #include "Battlefield.h" -#include "ObjectAccessor.h" #include "Log.h" +#include "ObjectAccessor.h" #include "World.h" #include "WorldPacket.h" diff --git a/src/server/game/Battlegrounds/ArenaTeam.h b/src/server/game/Battlegrounds/ArenaTeam.h index 6fce979c6..316737727 100644 --- a/src/server/game/Battlegrounds/ArenaTeam.h +++ b/src/server/game/Battlegrounds/ArenaTeam.h @@ -70,7 +70,7 @@ enum ArenaTeamEvents }; // PLAYER_FIELD_ARENA_TEAM_INFO_1_1 offsets -enum ArenaTeamInfoType +enum ArenaTeamInfoType : uint8 { ARENA_TEAM_ID = 0, ARENA_TEAM_TYPE = 1, // new in 3.2 - team type? diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp index 7f1415d8c..1e5be91dc 100644 --- a/src/server/game/Battlegrounds/Battleground.cpp +++ b/src/server/game/Battlegrounds/Battleground.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "Battleground.h" #include "ArenaSpectator.h" #include "ArenaTeam.h" #include "ArenaTeamMgr.h" -#include "Battleground.h" #include "BattlegroundBE.h" #include "BattlegroundDS.h" #include "BattlegroundMgr.h" diff --git a/src/server/game/Battlegrounds/BattlegroundMgr.cpp b/src/server/game/Battlegrounds/BattlegroundMgr.cpp index 89f7584ef..b31cfab92 100644 --- a/src/server/game/Battlegrounds/BattlegroundMgr.cpp +++ b/src/server/game/Battlegrounds/BattlegroundMgr.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "BattlegroundMgr.h" #include "ArenaTeam.h" #include "ArenaTeamMgr.h" #include "BattlegroundAB.h" @@ -23,7 +24,6 @@ #include "BattlegroundDS.h" #include "BattlegroundEY.h" #include "BattlegroundIC.h" -#include "BattlegroundMgr.h" #include "BattlegroundNA.h" #include "BattlegroundQueue.h" #include "BattlegroundRL.h" diff --git a/src/server/game/Battlegrounds/BattlegroundQueue.h b/src/server/game/Battlegrounds/BattlegroundQueue.h index 9594d59a5..bdc0f2a01 100644 --- a/src/server/game/Battlegrounds/BattlegroundQueue.h +++ b/src/server/game/Battlegrounds/BattlegroundQueue.h @@ -22,8 +22,8 @@ #include "Common.h" #include "DBCEnums.h" #include "EventProcessor.h" -#include #include +#include #define COUNT_OF_PLAYERS_TO_AVERAGE_WAIT_TIME 10 diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundBE.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundBE.cpp index 6887da7c4..2801ffe3c 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundBE.cpp +++ b/src/server/game/Battlegrounds/Zones/BattlegroundBE.cpp @@ -17,6 +17,7 @@ #include "BattlegroundBE.h" #include "Language.h" +#include "Log.h" #include "Object.h" #include "ObjectMgr.h" #include "Player.h" diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundDS.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundDS.cpp index 4c1624bdf..38ebe13e2 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundDS.cpp +++ b/src/server/game/Battlegrounds/Zones/BattlegroundDS.cpp @@ -19,6 +19,7 @@ #include "Creature.h" #include "GameObject.h" #include "Language.h" +#include "Log.h" #include "ObjectAccessor.h" #include "Player.h" #include "WorldPacket.h" diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp index a3984cb08..cf033f7ee 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp +++ b/src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "Battleground.h" #include "BattlegroundIC.h" +#include "Battleground.h" #include "GameGraveyard.h" #include "GameObject.h" #include "Language.h" diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundRL.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundRL.cpp index 1482efe88..1647022b4 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundRL.cpp +++ b/src/server/game/Battlegrounds/Zones/BattlegroundRL.cpp @@ -17,6 +17,7 @@ #include "BattlegroundRL.h" #include "Language.h" +#include "Log.h" #include "Player.h" #include "WorldPacket.h" #include "WorldSession.h" diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundRV.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundRV.cpp index 4e8d23b58..b608050cc 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundRV.cpp +++ b/src/server/game/Battlegrounds/Zones/BattlegroundRV.cpp @@ -15,10 +15,11 @@ * with this program. If not, see . */ -#include "Battleground.h" #include "BattlegroundRV.h" +#include "Battleground.h" #include "GameObject.h" #include "Language.h" +#include "Log.h" #include "ObjectAccessor.h" #include "Pet.h" #include "Player.h" diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundWS.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundWS.cpp index db6191c6f..f8a30fe5f 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundWS.cpp +++ b/src/server/game/Battlegrounds/Zones/BattlegroundWS.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "BattlegroundMgr.h" #include "BattlegroundWS.h" +#include "BattlegroundMgr.h" #include "GameGraveyard.h" #include "GameObject.h" #include "Language.h" diff --git a/src/server/game/Cache/WhoListCacheMgr.h b/src/server/game/Cache/WhoListCacheMgr.h index ebeab820e..067c6246a 100644 --- a/src/server/game/Cache/WhoListCacheMgr.h +++ b/src/server/game/Cache/WhoListCacheMgr.h @@ -19,8 +19,8 @@ #define _WHO_LISTCACHE_H_ #include "Common.h" -#include "SharedDefines.h" #include "ObjectGuid.h" +#include "SharedDefines.h" class WhoListPlayerInfo { diff --git a/src/server/game/Calendar/CalendarMgr.h b/src/server/game/Calendar/CalendarMgr.h index 35c51cafe..e853a734e 100644 --- a/src/server/game/Calendar/CalendarMgr.h +++ b/src/server/game/Calendar/CalendarMgr.h @@ -20,8 +20,8 @@ #include "Common.h" #include "DatabaseEnv.h" -#include "WorldPacket.h" #include "ObjectGuid.h" +#include "WorldPacket.h" #include enum CalendarMailAnswers diff --git a/src/server/game/Chat/Channels/ChannelMgr.cpp b/src/server/game/Chat/Channels/ChannelMgr.cpp index 6769d7338..3eaa64802 100644 --- a/src/server/game/Chat/Channels/ChannelMgr.cpp +++ b/src/server/game/Chat/Channels/ChannelMgr.cpp @@ -16,6 +16,7 @@ */ #include "ChannelMgr.h" +#include "Log.h" #include "Player.h" #include "World.h" diff --git a/src/server/game/Chat/Chat.h b/src/server/game/Chat/Chat.h index 4b9f3ce21..d8c73611f 100644 --- a/src/server/game/Chat/Chat.h +++ b/src/server/game/Chat/Chat.h @@ -19,8 +19,8 @@ #define AZEROTHCORE_CHAT_H #include "ChatCommand.h" -#include "SharedDefines.h" #include "Errors.h" +#include "SharedDefines.h" #include "WorldSession.h" #include diff --git a/src/server/game/Chat/ChatCommands/ChatCommand.h b/src/server/game/Chat/ChatCommands/ChatCommand.h index 7caf20881..2fd8a1883 100644 --- a/src/server/game/Chat/ChatCommands/ChatCommand.h +++ b/src/server/game/Chat/ChatCommands/ChatCommand.h @@ -18,7 +18,6 @@ #ifndef _CHATCOMMAND_H #define _CHATCOMMAND_H -#include "advstd.h" #include "ChatCommandArgs.h" #include "ChatCommandTags.h" #include "Define.h" @@ -28,11 +27,12 @@ #include "Optional.h" #include "StringFormat.h" #include "Util.h" +#include "advstd.h" #include #include -#include #include #include +#include #include #include diff --git a/src/server/game/Chat/ChatCommands/ChatCommandTags.h b/src/server/game/Chat/ChatCommands/ChatCommandTags.h index 70e86c305..75dd4cc53 100644 --- a/src/server/game/Chat/ChatCommands/ChatCommandTags.h +++ b/src/server/game/Chat/ChatCommands/ChatCommandTags.h @@ -18,14 +18,14 @@ #ifndef _CHATCOMMANDTAGS_H #define _CHATCOMMANDTAGS_H -#include "advstd.h" #include "ChatCommandHelpers.h" #include "Hyperlinks.h" #include "ObjectGuid.h" #include "Optional.h" #include "Util.h" -#include +#include "advstd.h" #include +#include #include #include #include diff --git a/src/server/game/Chat/HyperlinkTags.cpp b/src/server/game/Chat/HyperlinkTags.cpp index 9d2fe62f1..49efa0b2f 100644 --- a/src/server/game/Chat/HyperlinkTags.cpp +++ b/src/server/game/Chat/HyperlinkTags.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "Hyperlinks.h" #include "AchievementMgr.h" +#include "Hyperlinks.h" #include "ObjectMgr.h" #include "SpellInfo.h" #include "SpellMgr.h" diff --git a/src/server/game/Chat/Hyperlinks.cpp b/src/server/game/Chat/Hyperlinks.cpp index b29624296..e817ac461 100644 --- a/src/server/game/Chat/Hyperlinks.cpp +++ b/src/server/game/Chat/Hyperlinks.cpp @@ -16,15 +16,15 @@ */ #include "Hyperlinks.h" -#include "advstd.h" #include "Common.h" #include "DBCStores.h" #include "Errors.h" #include "ObjectMgr.h" +#include "QuestDef.h" #include "SharedDefines.h" #include "SpellInfo.h" #include "SpellMgr.h" -#include "QuestDef.h" +#include "advstd.h" using namespace Acore::Hyperlinks; diff --git a/src/server/game/Combat/HostileRefMgr.cpp b/src/server/game/Combat/HostileRefMgr.cpp index 63762da8a..20b30a27a 100644 --- a/src/server/game/Combat/HostileRefMgr.cpp +++ b/src/server/game/Combat/HostileRefMgr.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "CreatureAI.h" #include "HostileRefMgr.h" +#include "CreatureAI.h" #include "SpellInfo.h" #include "SpellMgr.h" #include "ThreatMgr.h" diff --git a/src/server/game/Combat/ThreatMgr.cpp b/src/server/game/Combat/ThreatMgr.cpp index 9b0ce1e3d..81db04fa4 100644 --- a/src/server/game/Combat/ThreatMgr.cpp +++ b/src/server/game/Combat/ThreatMgr.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "ThreatMgr.h" #include "Creature.h" #include "CreatureAI.h" #include "Map.h" @@ -23,7 +24,6 @@ #include "SpellAuras.h" #include "SpellInfo.h" #include "SpellMgr.h" -#include "ThreatMgr.h" #include "Unit.h" #include "UnitEvents.h" diff --git a/src/server/game/Combat/ThreatMgr.h b/src/server/game/Combat/ThreatMgr.h index 04f183637..b09466ddc 100644 --- a/src/server/game/Combat/ThreatMgr.h +++ b/src/server/game/Combat/ThreatMgr.h @@ -19,7 +19,8 @@ #define _THREATMANAGER #include "Common.h" -#include "LinkedReference/Reference.h" +#include "ObjectGuid.h" +#include "Reference.h" #include "SharedDefines.h" #include "UnitEvents.h" #include diff --git a/src/server/game/DataStores/DBCStores.cpp b/src/server/game/DataStores/DBCStores.cpp index fd4af3f55..fed9bd4b5 100644 --- a/src/server/game/DataStores/DBCStores.cpp +++ b/src/server/game/DataStores/DBCStores.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "DBCStores.h" #include "BattlegroundMgr.h" #include "DBCFileLoader.h" #include "DBCfmt.h" -#include "DBCStores.h" #include "Errors.h" #include "Log.h" #include "SharedDefines.h" diff --git a/src/server/game/DungeonFinding/LFG.cpp b/src/server/game/DungeonFinding/LFG.cpp index 0f37ecbc1..2277a0784 100644 --- a/src/server/game/DungeonFinding/LFG.cpp +++ b/src/server/game/DungeonFinding/LFG.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "Language.h" #include "LFG.h" +#include "Language.h" #include "ObjectMgr.h" namespace lfg diff --git a/src/server/game/DungeonFinding/LFGGroupData.cpp b/src/server/game/DungeonFinding/LFGGroupData.cpp index bfe6528ca..c6fb1ce7a 100644 --- a/src/server/game/DungeonFinding/LFGGroupData.cpp +++ b/src/server/game/DungeonFinding/LFGGroupData.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "LFG.h" #include "LFGGroupData.h" +#include "LFG.h" #include "World.h" namespace lfg diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index 97ff244ab..4a9bfb552 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "LFGMgr.h" #include "CharacterCache.h" #include "Common.h" #include "DBCStores.h" @@ -22,12 +23,12 @@ #include "GameEventMgr.h" #include "Group.h" #include "GroupMgr.h" -#include "Language.h" +#include "InstanceSaveMgr.h" #include "LFGGroupData.h" -#include "LFGMgr.h" #include "LFGPlayerData.h" #include "LFGQueue.h" #include "LFGScripts.h" +#include "Language.h" #include "ObjectMgr.h" #include "Opcodes.h" #include "Player.h" @@ -38,7 +39,6 @@ namespace lfg { - LFGMgr::LFGMgr(): m_lfgProposalId(1), m_options(sWorld->getIntConfig(CONFIG_LFG_OPTIONSMASK)), m_Testing(false) { new LFGPlayerScript(); diff --git a/src/server/game/DungeonFinding/LFGPlayerData.cpp b/src/server/game/DungeonFinding/LFGPlayerData.cpp index fae09e736..a063453ab 100644 --- a/src/server/game/DungeonFinding/LFGPlayerData.cpp +++ b/src/server/game/DungeonFinding/LFGPlayerData.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "LFGMgr.h" #include "LFGPlayerData.h" +#include "LFGMgr.h" namespace lfg { diff --git a/src/server/game/DungeonFinding/LFGQueue.cpp b/src/server/game/DungeonFinding/LFGQueue.cpp index 8f47db421..408760220 100644 --- a/src/server/game/DungeonFinding/LFGQueue.cpp +++ b/src/server/game/DungeonFinding/LFGQueue.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ +#include "LFGQueue.h" #include "Containers.h" #include "DBCStores.h" #include "Group.h" #include "InstanceScript.h" #include "LFGMgr.h" -#include "LFGQueue.h" #include "Log.h" #include "ObjectDefines.h" #include "ObjectMgr.h" diff --git a/src/server/game/DungeonFinding/LFGScripts.cpp b/src/server/game/DungeonFinding/LFGScripts.cpp index e6a46362d..15f03494b 100644 --- a/src/server/game/DungeonFinding/LFGScripts.cpp +++ b/src/server/game/DungeonFinding/LFGScripts.cpp @@ -19,20 +19,18 @@ * Interaction between core and LFGScripts */ +#include "LFGScripts.h" #include "Group.h" #include "LFGMgr.h" -#include "LFGScripts.h" #include "ObjectAccessor.h" #include "Player.h" #include "ScriptMgr.h" #include "SharedDefines.h" +#include "WorldSession.h" namespace lfg { - - LFGPlayerScript::LFGPlayerScript() : PlayerScript("LFGPlayerScript") - { - } + LFGPlayerScript::LFGPlayerScript() : PlayerScript("LFGPlayerScript") { } void LFGPlayerScript::OnLevelChanged(Player* player, uint8 /*oldLevel*/) { diff --git a/src/server/game/Entities/Corpse/Corpse.cpp b/src/server/game/Entities/Corpse/Corpse.cpp index 4fa4a667e..fd204e4eb 100644 --- a/src/server/game/Entities/Corpse/Corpse.cpp +++ b/src/server/game/Entities/Corpse/Corpse.cpp @@ -15,10 +15,11 @@ * with this program. If not, see . */ +#include "Corpse.h" #include "CharacterCache.h" #include "Common.h" -#include "Corpse.h" #include "DatabaseEnv.h" +#include "Log.h" #include "ObjectAccessor.h" #include "Opcodes.h" #include "Player.h" diff --git a/src/server/game/Entities/Creature/Creature.cpp b/src/server/game/Entities/Creature/Creature.cpp index c878b4321..175647843 100644 --- a/src/server/game/Entities/Creature/Creature.cpp +++ b/src/server/game/Entities/Creature/Creature.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "Creature.h" #include "BattlegroundMgr.h" #include "CellImpl.h" #include "Common.h" -#include "Creature.h" #include "CreatureAI.h" #include "CreatureAISelector.h" #include "CreatureGroups.h" diff --git a/src/server/game/Entities/Creature/CreatureData.h b/src/server/game/Entities/Creature/CreatureData.h index 6ce556565..4e51a9c2c 100644 --- a/src/server/game/Entities/Creature/CreatureData.h +++ b/src/server/game/Entities/Creature/CreatureData.h @@ -18,9 +18,9 @@ #ifndef AZEROTHCORE_CREATUREDATA_H #define AZEROTHCORE_CREATUREDATA_H -#include "DBCEnums.h" #include "Cell.h" #include "Common.h" +#include "DBCEnums.h" #include "DatabaseEnv.h" #include "ItemTemplate.h" #include "LootMgr.h" diff --git a/src/server/game/Entities/Creature/CreatureGroups.cpp b/src/server/game/Entities/Creature/CreatureGroups.cpp index 86ffb9ca1..783a10788 100644 --- a/src/server/game/Entities/Creature/CreatureGroups.cpp +++ b/src/server/game/Entities/Creature/CreatureGroups.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ +#include "CreatureGroups.h" #include "Creature.h" #include "CreatureAI.h" -#include "CreatureGroups.h" +#include "Log.h" #include "MoveSplineInit.h" #include "ObjectMgr.h" -#include "Log.h" FormationMgr::~FormationMgr() { diff --git a/src/server/game/Entities/Creature/TemporarySummon.cpp b/src/server/game/Entities/Creature/TemporarySummon.cpp index 0d3335a3b..38d63299a 100644 --- a/src/server/game/Entities/Creature/TemporarySummon.cpp +++ b/src/server/game/Entities/Creature/TemporarySummon.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ +#include "TemporarySummon.h" #include "CreatureAI.h" #include "Log.h" #include "ObjectAccessor.h" #include "Pet.h" #include "Player.h" #include "ScriptMgr.h" -#include "TemporarySummon.h" TempSummon::TempSummon(SummonPropertiesEntry const* properties, ObjectGuid owner, bool isWorldObject) : Creature(isWorldObject), m_Properties(properties), m_type(TEMPSUMMON_MANUAL_DESPAWN), diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp index 82e8d0247..ba01eba05 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -34,9 +34,9 @@ #include "Transport.h" #include "UpdateFieldFlags.h" #include "World.h" -#include #include #include +#include #ifdef ELUNA #include "LuaEngine.h" diff --git a/src/server/game/Entities/Item/Item.cpp b/src/server/game/Entities/Item/Item.cpp index cb27a9b2e..9777846a8 100644 --- a/src/server/game/Entities/Item/Item.cpp +++ b/src/server/game/Entities/Item/Item.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "Item.h" #include "Common.h" #include "ConditionMgr.h" #include "DatabaseEnv.h" -#include "Item.h" #include "ItemEnchantmentMgr.h" #include "ObjectMgr.h" #include "Player.h" @@ -26,6 +26,7 @@ #include "SpellInfo.h" #include "SpellMgr.h" #include "WorldPacket.h" +#include "WorldSession.h" void AddItemsSetItem(Player* player, Item* item) { diff --git a/src/server/game/Entities/Item/ItemEnchantmentMgr.cpp b/src/server/game/Entities/Item/ItemEnchantmentMgr.cpp index 048f60159..e016b7f5e 100644 --- a/src/server/game/Entities/Item/ItemEnchantmentMgr.cpp +++ b/src/server/game/Entities/Item/ItemEnchantmentMgr.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "DatabaseEnv.h" -#include "DBCStores.h" #include "ItemEnchantmentMgr.h" +#include "DBCStores.h" +#include "DatabaseEnv.h" #include "Log.h" #include "ObjectMgr.h" #include "Util.h" diff --git a/src/server/game/Entities/Item/enuminfo_Item.cpp b/src/server/game/Entities/Item/enuminfo_Item.cpp index a7b1ecc35..d43ff6470 100644 --- a/src/server/game/Entities/Item/enuminfo_Item.cpp +++ b/src/server/game/Entities/Item/enuminfo_Item.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "Item.h" #include "Define.h" +#include "Item.h" #include "SmartEnum.h" #include diff --git a/src/server/game/Entities/Object/Object.cpp b/src/server/game/Entities/Object/Object.cpp index 8ec4c85c8..e01d4f3b0 100644 --- a/src/server/game/Entities/Object/Object.cpp +++ b/src/server/game/Entities/Object/Object.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "Object.h" #include "Battlefield.h" #include "BattlefieldMgr.h" #include "CellImpl.h" @@ -28,7 +29,6 @@ #include "Log.h" #include "MapMgr.h" #include "MovementPacketBuilder.h" -#include "Object.h" #include "ObjectAccessor.h" #include "ObjectMgr.h" #include "Opcodes.h" diff --git a/src/server/game/Entities/Object/Object.h b/src/server/game/Entities/Object/Object.h index a57b5e0f7..e43022d16 100644 --- a/src/server/game/Entities/Object/Object.h +++ b/src/server/game/Entities/Object/Object.h @@ -20,6 +20,7 @@ #include "Common.h" #include "DataMap.h" +#include "G3D/Vector3.h" #include "GridDefines.h" #include "GridReference.h" #include "Map.h" @@ -29,9 +30,8 @@ #include "UpdateData.h" #include "UpdateMask.h" #include -#include #include -#include "G3D/Vector3.h" +#include #ifdef ELUNA class ElunaEventProcessor; diff --git a/src/server/game/Entities/Object/ObjectGuid.cpp b/src/server/game/Entities/Object/ObjectGuid.cpp index 0db14d83d..3c943adf4 100644 --- a/src/server/game/Entities/Object/ObjectGuid.cpp +++ b/src/server/game/Entities/Object/ObjectGuid.cpp @@ -18,8 +18,8 @@ #include "ObjectGuid.h" #include "Log.h" #include "World.h" -#include #include +#include ObjectGuid const ObjectGuid::Empty = ObjectGuid(); diff --git a/src/server/game/Entities/Object/ObjectGuid.h b/src/server/game/Entities/Object/ObjectGuid.h index 003ddd188..25180008e 100644 --- a/src/server/game/Entities/Object/ObjectGuid.h +++ b/src/server/game/Entities/Object/ObjectGuid.h @@ -26,8 +26,8 @@ #include #include #include -#include #include +#include enum TypeID { diff --git a/src/server/game/Entities/Object/ObjectPosSelector.h b/src/server/game/Entities/Object/ObjectPosSelector.h index 4c53f52e3..4baf0268c 100644 --- a/src/server/game/Entities/Object/ObjectPosSelector.h +++ b/src/server/game/Entities/Object/ObjectPosSelector.h @@ -19,8 +19,8 @@ #define _OBJECT_POS_SELECTOR_H #include "Define.h" -#include #include +#include enum UsedPosType { USED_POS_PLUS, USED_POS_MINUS }; diff --git a/src/server/game/Entities/Player/KillRewarder.cpp b/src/server/game/Entities/Player/KillRewarder.cpp index 382783540..c3b26ee89 100644 --- a/src/server/game/Entities/Player/KillRewarder.cpp +++ b/src/server/game/Entities/Player/KillRewarder.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "KillRewarder.h" #include "Formulas.h" #include "Group.h" #include "Pet.h" @@ -77,7 +78,7 @@ KillRewarder::KillRewarder(Player* killer, Unit* victim, bool isBattleGround) : _InitGroupData(); } -inline void KillRewarder::_InitGroupData() +void KillRewarder::_InitGroupData() { if (_group) { @@ -117,7 +118,7 @@ inline void KillRewarder::_InitGroupData() _count = 1; } -inline void KillRewarder::_InitXP(Player* player) +void KillRewarder::_InitXP(Player* player) { // Get initial value of XP for kill. // XP is given: @@ -134,14 +135,14 @@ inline void KillRewarder::_InitXP(Player* player) _xp = uint32(_xp * ct->ModHealth); } -inline void KillRewarder::_RewardHonor(Player* player) +void KillRewarder::_RewardHonor(Player* player) { // Rewarded player must be alive. if (player->IsAlive()) player->RewardHonor(_victim, _count, -1); } -inline void KillRewarder::_RewardXP(Player* player, float rate) +void KillRewarder::_RewardXP(Player* player, float rate) { uint32 xp(_xp); if (_group) @@ -172,14 +173,14 @@ inline void KillRewarder::_RewardXP(Player* player, float rate) } } -inline void KillRewarder::_RewardReputation(Player* player, float rate) +void KillRewarder::_RewardReputation(Player* player, float rate) { // 4.3. Give reputation (player must not be on BG). // Even dead players and corpses are rewarded. player->RewardReputation(_victim, rate); } -inline void KillRewarder::_RewardKillCredit(Player* player) +void KillRewarder::_RewardKillCredit(Player* player) { // 4.4. Give kill credit (player must not be in group, or he must be alive or without corpse). if (!_group || player->IsAlive() || !player->GetCorpse()) diff --git a/src/server/game/Entities/Player/KillRewarder.h b/src/server/game/Entities/Player/KillRewarder.h index a835753bd..ab6a3a635 100644 --- a/src/server/game/Entities/Player/KillRewarder.h +++ b/src/server/game/Entities/Player/KillRewarder.h @@ -15,7 +15,16 @@ * with this program. If not, see . */ -class KillRewarder +#ifndef __KILL_REWARDER_H__ +#define __KILL_REWARDER_H__ + +#include "Define.h" + +class Group; +class Player; +class Unit; + +class AC_GAME_API KillRewarder { public: KillRewarder(Player* killer, Unit* victim, bool isBattleGround); @@ -47,3 +56,5 @@ private: bool _isBattleGround; bool _isPvP; }; + +#endif diff --git a/src/server/game/Entities/Player/PlayerGossip.cpp b/src/server/game/Entities/Player/PlayerGossip.cpp index 4db935221..99504f253 100644 --- a/src/server/game/Entities/Player/PlayerGossip.cpp +++ b/src/server/game/Entities/Player/PlayerGossip.cpp @@ -16,10 +16,13 @@ */ #include "BattlegroundMgr.h" +#include "GossipDef.h" #include "Language.h" +#include "ObjectMgr.h" #include "OutdoorPvPMgr.h" #include "Pet.h" #include "Player.h" +#include "WorldSession.h" /*********************************************************/ /*** GOSSIP SYSTEM ***/ diff --git a/src/server/game/Entities/Player/PlayerMisc.cpp b/src/server/game/Entities/Player/PlayerMisc.cpp index c14ff97fc..2b153b2c7 100644 --- a/src/server/game/Entities/Player/PlayerMisc.cpp +++ b/src/server/game/Entities/Player/PlayerMisc.cpp @@ -15,9 +15,11 @@ * with this program. If not, see . */ +#include "AccountMgr.h" #include "MapMgr.h" #include "Player.h" #include "ScriptMgr.h" +#include "WorldSession.h" /*********************************************************/ /*** FLOOD FILTER SYSTEM ***/ diff --git a/src/server/game/Entities/Player/PlayerQuest.cpp b/src/server/game/Entities/Player/PlayerQuest.cpp index 06be32c20..840b334d3 100644 --- a/src/server/game/Entities/Player/PlayerQuest.cpp +++ b/src/server/game/Entities/Player/PlayerQuest.cpp @@ -18,14 +18,17 @@ #include "CreatureAI.h" #include "DisableMgr.h" #include "GameObjectAI.h" +#include "GitRevision.h" +#include "GossipDef.h" #include "Group.h" #include "MapMgr.h" #include "Player.h" #include "PoolMgr.h" #include "ReputationMgr.h" -#include "GitRevision.h" #include "ScriptMgr.h" #include "SpellAuraEffects.h" +#include "SpellMgr.h" +#include "WorldSession.h" #ifdef ELUNA #include "LuaEngine.h" diff --git a/src/server/game/Entities/Player/PlayerStorage.cpp b/src/server/game/Entities/Player/PlayerStorage.cpp index 1451b696c..bee02a614 100644 --- a/src/server/game/Entities/Player/PlayerStorage.cpp +++ b/src/server/game/Entities/Player/PlayerStorage.cpp @@ -28,9 +28,9 @@ #include "Channel.h" #include "CharacterDatabaseCleaner.h" #include "Chat.h" -#include "Config.h" #include "Common.h" #include "ConditionMgr.h" +#include "Config.h" #include "CreatureAI.h" #include "DatabaseEnv.h" #include "DisableMgr.h" @@ -43,8 +43,8 @@ #include "Guild.h" #include "InstanceSaveMgr.h" #include "InstanceScript.h" -#include "Language.h" #include "LFGMgr.h" +#include "Language.h" #include "Log.h" #include "LootItemStorage.h" #include "MapMgr.h" @@ -55,8 +55,8 @@ #include "OutdoorPvPMgr.h" #include "Pet.h" #include "Player.h" -#include "QuestDef.h" #include "QueryHolder.h" +#include "QuestDef.h" #include "ReputationMgr.h" #include "SavingSystem.h" #include "ScriptMgr.h" @@ -74,6 +74,7 @@ #include "WeatherMgr.h" #include "World.h" #include "WorldPacket.h" +#include "WorldSession.h" #ifdef ELUNA #include "LuaEngine.h" diff --git a/src/server/game/Entities/Player/PlayerTaxi.cpp b/src/server/game/Entities/Player/PlayerTaxi.cpp index ae32ac690..ac1cb461c 100644 --- a/src/server/game/Entities/Player/PlayerTaxi.cpp +++ b/src/server/game/Entities/Player/PlayerTaxi.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "ObjectMgr.h" #include "Player.h" PlayerTaxi::PlayerTaxi() : _taxiSegment(0) diff --git a/src/server/game/Entities/Player/PlayerTaxi.h b/src/server/game/Entities/Player/PlayerTaxi.h index d319421cc..fc47874ff 100644 --- a/src/server/game/Entities/Player/PlayerTaxi.h +++ b/src/server/game/Entities/Player/PlayerTaxi.h @@ -15,11 +15,20 @@ * with this program. If not, see . */ -class PlayerTaxi +#ifndef __PLAYER_TAXI_H__ +#define __PLAYER_TAXI_H__ + +#include "DBCStructure.h" +#include + +class ByteBuffer; + +class AC_GAME_API PlayerTaxi { public: PlayerTaxi(); ~PlayerTaxi() = default; + // Nodes void InitTaxiNodesForLevel(uint32 race, uint32 chrClass, uint8 level); void LoadTaxiMask(std::string const& data); @@ -30,6 +39,7 @@ public: uint32 submask = 1 << ((nodeidx - 1) % 32); return (m_taximask[field] & submask) == submask; } + bool SetTaximaskNode(uint32 nodeidx) { uint8 field = uint8((nodeidx - 1) / 32); @@ -42,6 +52,7 @@ public: else return false; } + void AppendTaximaskTo(ByteBuffer& data, bool all); // Destinations @@ -72,3 +83,5 @@ private: std::vector m_TaxiDestinations; uint32 _taxiSegment; }; + +#endif diff --git a/src/server/game/Entities/Player/PlayerUpdates.cpp b/src/server/game/Entities/Player/PlayerUpdates.cpp index e5511d932..ae2a0f8ce 100644 --- a/src/server/game/Entities/Player/PlayerUpdates.cpp +++ b/src/server/game/Entities/Player/PlayerUpdates.cpp @@ -33,6 +33,7 @@ #include "ScriptMgr.h" #include "SkillDiscovery.h" #include "SpellAuraEffects.h" +#include "SpellMgr.h" #include "UpdateFieldFlags.h" #include "Vehicle.h" #include "WeatherMgr.h" @@ -797,8 +798,7 @@ bool Player::UpdateCraftSkill(uint32 spellid) { LOG_DEBUG("entities.player.skills", "UpdateCraftSkill spellid %d", spellid); - SkillLineAbilityMapBounds bounds = - sSpellMgr->GetSkillLineAbilityMapBounds(spellid); + SkillLineAbilityMapBounds bounds = sSpellMgr->GetSkillLineAbilityMapBounds(spellid); for (SkillLineAbilityMap::const_iterator _spell_idx = bounds.first; _spell_idx != bounds.second; ++_spell_idx) diff --git a/src/server/game/Entities/Player/SocialMgr.cpp b/src/server/game/Entities/Player/SocialMgr.cpp index 3352e1e40..5c09c7fa7 100644 --- a/src/server/game/Entities/Player/SocialMgr.cpp +++ b/src/server/game/Entities/Player/SocialMgr.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "SocialMgr.h" #include "AccountMgr.h" #include "DatabaseEnv.h" #include "ObjectMgr.h" #include "Player.h" -#include "SocialMgr.h" #include "Util.h" #include "WorldPacket.h" #include "WorldSession.h" diff --git a/src/server/game/Entities/Player/SocialMgr.h b/src/server/game/Entities/Player/SocialMgr.h index 503078d1d..cf495705d 100644 --- a/src/server/game/Entities/Player/SocialMgr.h +++ b/src/server/game/Entities/Player/SocialMgr.h @@ -20,6 +20,7 @@ #include "Common.h" #include "DatabaseEnv.h" +#include "ObjectGuid.h" #include class Player; diff --git a/src/server/game/Entities/Player/TradeData.cpp b/src/server/game/Entities/Player/TradeData.cpp index d2698d886..363e338e6 100644 --- a/src/server/game/Entities/Player/TradeData.cpp +++ b/src/server/game/Entities/Player/TradeData.cpp @@ -16,6 +16,7 @@ */ #include "Player.h" +#include "WorldSession.h" TradeData* TradeData::GetTraderData() const { diff --git a/src/server/game/Entities/Player/TradeData.h b/src/server/game/Entities/Player/TradeData.h index 266cd33fb..997726140 100644 --- a/src/server/game/Entities/Player/TradeData.h +++ b/src/server/game/Entities/Player/TradeData.h @@ -15,6 +15,15 @@ * with this program. If not, see . */ +#ifndef __TRADE_DATA_H__ +#define __TRADE_DATA_H__ + +#include "Define.h" + +class Item; +class ObjectGuid; +class Player; + enum TradeSlots { TRADE_SLOT_COUNT = 7, @@ -23,12 +32,11 @@ enum TradeSlots TRADE_SLOT_INVALID = -1, }; -class TradeData +class AC_GAME_API TradeData { public: // constructors - TradeData(Player* player, Player* trader) : m_player(player), m_trader(trader), m_accepted(false), m_acceptProccess(false), m_money(0), m_spell(0) - { - } + TradeData(Player* player, Player* trader) : + m_player(player), m_trader(trader), m_accepted(false), m_acceptProccess(false), m_money(0), m_spell(0) { } [[nodiscard]] Player* GetTrader() const { return m_trader; } [[nodiscard]] TradeData* GetTraderData() const; @@ -70,3 +78,5 @@ private: // fields ObjectGuid m_items[TRADE_SLOT_COUNT]; // traded itmes from m_player side including non-traded slot }; + +#endif diff --git a/src/server/game/Entities/Totem/Totem.cpp b/src/server/game/Entities/Totem/Totem.cpp index 4f37f628f..691a059d6 100644 --- a/src/server/game/Entities/Totem/Totem.cpp +++ b/src/server/game/Entities/Totem/Totem.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "Totem.h" #include "Group.h" #include "ObjectMgr.h" #include "Opcodes.h" @@ -22,7 +23,6 @@ #include "SpellAuraEffects.h" #include "SpellInfo.h" #include "SpellMgr.h" -#include "Totem.h" #include "WorldPacket.h" Totem::Totem(SummonPropertiesEntry const* properties, ObjectGuid owner) : Minion(properties, owner, false) diff --git a/src/server/game/Entities/Transport/Transport.cpp b/src/server/game/Entities/Transport/Transport.cpp index 95ab73dd2..ce4252761 100644 --- a/src/server/game/Entities/Transport/Transport.cpp +++ b/src/server/game/Entities/Transport/Transport.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "Transport.h" #include "Cell.h" #include "CellImpl.h" #include "Common.h" @@ -26,7 +27,6 @@ #include "Player.h" #include "ScriptMgr.h" #include "Spell.h" -#include "Transport.h" #include "Vehicle.h" #include "World.h" #include "WorldModel.h" diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 6d4e2c310..a29934519 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "Unit.h" #include "AccountMgr.h" #include "ArenaSpectator.h" #include "Battlefield.h" @@ -61,7 +62,6 @@ #include "Totem.h" #include "TotemAI.h" #include "Transport.h" -#include "Unit.h" #include "UpdateFieldFlags.h" #include "Util.h" #include "Vehicle.h" @@ -71,8 +71,8 @@ #include #ifdef ELUNA -#include "LuaEngine.h" #include "ElunaEventMgr.h" +#include "LuaEngine.h" #endif float baseMoveSpeed[MAX_MOVE_TYPE] = diff --git a/src/server/game/Entities/Unit/Unit.h b/src/server/game/Entities/Unit/Unit.h index b820dd455..b8cca9380 100644 --- a/src/server/game/Entities/Unit/Unit.h +++ b/src/server/game/Entities/Unit/Unit.h @@ -19,8 +19,8 @@ #define __UNIT_H #include "EventProcessor.h" -#include "FollowerReference.h" #include "FollowerRefMgr.h" +#include "FollowerReference.h" #include "HostileRefMgr.h" #include "MotionMaster.h" #include "Object.h" diff --git a/src/server/game/Entities/Unit/enuminfo_Unit.cpp b/src/server/game/Entities/Unit/enuminfo_Unit.cpp index 8444ba3d4..1e72b7187 100644 --- a/src/server/game/Entities/Unit/enuminfo_Unit.cpp +++ b/src/server/game/Entities/Unit/enuminfo_Unit.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "Unit.h" #include "Define.h" #include "SmartEnum.h" +#include "Unit.h" #include namespace Acore::Impl::EnumUtilsImpl diff --git a/src/server/game/Entities/Vehicle/Vehicle.cpp b/src/server/game/Entities/Vehicle/Vehicle.cpp index d4bf26983..7af38fdb8 100644 --- a/src/server/game/Entities/Vehicle/Vehicle.cpp +++ b/src/server/game/Entities/Vehicle/Vehicle.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "Vehicle.h" #include "BattlefieldWG.h" #include "Common.h" #include "CreatureAI.h" @@ -27,7 +28,6 @@ #include "TemporarySummon.h" #include "Unit.h" #include "Util.h" -#include "Vehicle.h" #include "WorldPacket.h" Vehicle::Vehicle(Unit* unit, VehicleEntry const* vehInfo, uint32 creatureEntry) : diff --git a/src/server/game/Events/GameEventMgr.cpp b/src/server/game/Events/GameEventMgr.cpp index 4b6bb0c69..11254ccd6 100644 --- a/src/server/game/Events/GameEventMgr.cpp +++ b/src/server/game/Events/GameEventMgr.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "GameEventMgr.h" #include "BattlegroundMgr.h" #include "DisableMgr.h" -#include "GameEventMgr.h" #include "GameObjectAI.h" #include "GossipDef.h" #include "Language.h" diff --git a/src/server/game/Globals/ObjectAccessor.cpp b/src/server/game/Globals/ObjectAccessor.cpp index 3d22c0d31..3eebae4d8 100644 --- a/src/server/game/Globals/ObjectAccessor.cpp +++ b/src/server/game/Globals/ObjectAccessor.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "ObjectAccessor.h" #include "Corpse.h" #include "Creature.h" #include "DynamicObject.h" @@ -25,7 +26,6 @@ #include "Map.h" #include "MapInstanced.h" #include "MapMgr.h" -#include "ObjectAccessor.h" #include "ObjectDefines.h" #include "ObjectMgr.h" #include "Opcodes.h" diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index 340072607..1c7243135 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "ObjectMgr.h" #include "AccountMgr.h" #include "AchievementMgr.h" #include "ArenaTeamMgr.h" @@ -27,11 +28,10 @@ #include "GossipDef.h" #include "GroupMgr.h" #include "GuildMgr.h" -#include "Language.h" #include "LFGMgr.h" +#include "Language.h" #include "Log.h" #include "MapMgr.h" -#include "ObjectMgr.h" #include "Pet.h" #include "PoolMgr.h" #include "ReputationMgr.h" diff --git a/src/server/game/Grids/GridDefines.h b/src/server/game/Grids/GridDefines.h index 981a8aae6..fe3124aa5 100644 --- a/src/server/game/Grids/GridDefines.h +++ b/src/server/game/Grids/GridDefines.h @@ -19,8 +19,8 @@ #define ACORE_GRIDDEFINES_H #include "Common.h" -#include "NGrid.h" #include "MapDefines.h" +#include "NGrid.h" #include // Forward class definitions diff --git a/src/server/game/Grids/Notifiers/GridNotifiers.cpp b/src/server/game/Grids/Notifiers/GridNotifiers.cpp index 6e0099335..a85a7285a 100644 --- a/src/server/game/Grids/Notifiers/GridNotifiers.cpp +++ b/src/server/game/Grids/Notifiers/GridNotifiers.cpp @@ -20,6 +20,7 @@ #include "Map.h" #include "ObjectAccessor.h" #include "SpellInfo.h" +#include "SpellMgr.h" #include "Transport.h" #include "UpdateData.h" #include "WorldPacket.h" diff --git a/src/server/game/Grids/Notifiers/GridNotifiersImpl.h b/src/server/game/Grids/Notifiers/GridNotifiersImpl.h index 8b8626ea2..4cb57cfdf 100644 --- a/src/server/game/Grids/Notifiers/GridNotifiersImpl.h +++ b/src/server/game/Grids/Notifiers/GridNotifiersImpl.h @@ -21,11 +21,13 @@ #include "Corpse.h" #include "CreatureAI.h" #include "GridNotifiers.h" +#include "Object.h" #include "Opcodes.h" #include "Player.h" #include "SpellAuras.h" #include "UpdateData.h" #include "WorldPacket.h" +#include "WorldSession.h" template inline void Acore::VisibleNotifier::Visit(GridRefMgr& m) diff --git a/src/server/game/Grids/ObjectGridLoader.cpp b/src/server/game/Grids/ObjectGridLoader.cpp index 15d53230d..5533ea559 100644 --- a/src/server/game/Grids/ObjectGridLoader.cpp +++ b/src/server/game/Grids/ObjectGridLoader.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "ObjectGridLoader.h" #include "CellImpl.h" #include "Corpse.h" #include "Creature.h" @@ -22,7 +23,6 @@ #include "DynamicObject.h" #include "GameObject.h" #include "ObjectAccessor.h" -#include "ObjectGridLoader.h" #include "ObjectMgr.h" #include "Transport.h" #include "Vehicle.h" diff --git a/src/server/game/Groups/Group.cpp b/src/server/game/Groups/Group.cpp index 80ca74ee7..87e8103e5 100644 --- a/src/server/game/Groups/Group.cpp +++ b/src/server/game/Groups/Group.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "Group.h" #include "Battleground.h" #include "BattlegroundMgr.h" #include "DatabaseEnv.h" -#include "Group.h" #include "GroupMgr.h" #include "InstanceSaveMgr.h" #include "LFG.h" diff --git a/src/server/game/Groups/GroupMgr.cpp b/src/server/game/Groups/GroupMgr.cpp index 2b8c9e453..b6b6fb6a6 100644 --- a/src/server/game/Groups/GroupMgr.cpp +++ b/src/server/game/Groups/GroupMgr.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "GroupMgr.h" #include "Common.h" #include "DBCStores.h" -#include "GroupMgr.h" -#include "Log.h" #include "InstanceSaveMgr.h" +#include "Log.h" #include "World.h" GroupMgr::GroupMgr() diff --git a/src/server/game/Groups/GroupReference.cpp b/src/server/game/Groups/GroupReference.cpp index 8c57263d5..3e12577aa 100644 --- a/src/server/game/Groups/GroupReference.cpp +++ b/src/server/game/Groups/GroupReference.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "Group.h" #include "GroupReference.h" +#include "Group.h" void GroupReference::targetObjectBuildLink() { diff --git a/src/server/game/Guilds/Guild.cpp b/src/server/game/Guilds/Guild.cpp index f2352be02..72737afe0 100644 --- a/src/server/game/Guilds/Guild.cpp +++ b/src/server/game/Guilds/Guild.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ +#include "Guild.h" #include "CalendarMgr.h" -#include "Chat.h" #include "CharacterCache.h" +#include "Chat.h" #include "Config.h" #include "DatabaseEnv.h" -#include "Guild.h" #include "GuildMgr.h" #include "Language.h" #include "Log.h" diff --git a/src/server/game/Guilds/GuildMgr.cpp b/src/server/game/Guilds/GuildMgr.cpp index ecc521448..24c7d204f 100644 --- a/src/server/game/Guilds/GuildMgr.cpp +++ b/src/server/game/Guilds/GuildMgr.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "Common.h" #include "GuildMgr.h" +#include "Common.h" GuildMgr::GuildMgr() : NextGuildId(1) { } diff --git a/src/server/game/Handlers/AuctionHouseHandler.cpp b/src/server/game/Handlers/AuctionHouseHandler.cpp index da01ff540..df3920f21 100644 --- a/src/server/game/Handlers/AuctionHouseHandler.cpp +++ b/src/server/game/Handlers/AuctionHouseHandler.cpp @@ -22,8 +22,8 @@ #include "Log.h" #include "ObjectMgr.h" #include "Opcodes.h" -#include "ScriptMgr.h" #include "Player.h" +#include "ScriptMgr.h" #include "UpdateMask.h" #include "Util.h" #include "World.h" diff --git a/src/server/game/Handlers/CalendarHandler.cpp b/src/server/game/Handlers/CalendarHandler.cpp index 975c9e216..3c4990540 100644 --- a/src/server/game/Handlers/CalendarHandler.cpp +++ b/src/server/game/Handlers/CalendarHandler.cpp @@ -45,8 +45,8 @@ Copied events should probably have a new owner #include "Opcodes.h" #include "Player.h" #include "SocialMgr.h" -#include "utf8.h" #include "WorldSession.h" +#include "utf8.h" void WorldSession::HandleCalendarGetCalendar(WorldPacket& /*recvData*/) { diff --git a/src/server/game/Handlers/CharacterHandler.cpp b/src/server/game/Handlers/CharacterHandler.cpp index d15d625c8..29345c533 100644 --- a/src/server/game/Handlers/CharacterHandler.cpp +++ b/src/server/game/Handlers/CharacterHandler.cpp @@ -28,6 +28,7 @@ #include "Group.h" #include "Guild.h" #include "GuildMgr.h" +#include "InstanceSaveMgr.h" #include "Language.h" #include "Log.h" #include "Metric.h" diff --git a/src/server/game/Handlers/DuelHandler.cpp b/src/server/game/Handlers/DuelHandler.cpp index e034f6c0e..14f9afd74 100644 --- a/src/server/game/Handlers/DuelHandler.cpp +++ b/src/server/game/Handlers/DuelHandler.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "Log.h" #include "Opcodes.h" #include "Player.h" #include "UpdateData.h" diff --git a/src/server/game/Handlers/ItemHandler.cpp b/src/server/game/Handlers/ItemHandler.cpp index a2f6c003c..fa80baff3 100644 --- a/src/server/game/Handlers/ItemHandler.cpp +++ b/src/server/game/Handlers/ItemHandler.cpp @@ -24,6 +24,7 @@ #include "Player.h" #include "ScriptMgr.h" #include "SpellInfo.h" +#include "SpellMgr.h" #include "UpdateData.h" #include "WorldPacket.h" #include "WorldSession.h" diff --git a/src/server/game/Handlers/MailHandler.cpp b/src/server/game/Handlers/MailHandler.cpp index f3ba761b6..a1e51c86b 100644 --- a/src/server/game/Handlers/MailHandler.cpp +++ b/src/server/game/Handlers/MailHandler.cpp @@ -17,8 +17,8 @@ #include "AccountMgr.h" #include "CharacterCache.h" -#include "DatabaseEnv.h" #include "DBCStores.h" +#include "DatabaseEnv.h" #include "Item.h" #include "Language.h" #include "Log.h" diff --git a/src/server/game/Handlers/MovementHandler.cpp b/src/server/game/Handlers/MovementHandler.cpp index 0b66552ea..b1a5fd732 100644 --- a/src/server/game/Handlers/MovementHandler.cpp +++ b/src/server/game/Handlers/MovementHandler.cpp @@ -24,8 +24,8 @@ #include "GameGraveyard.h" #include "InstanceSaveMgr.h" #include "Log.h" -#include "MathUtil.h" #include "MapMgr.h" +#include "MathUtil.h" #include "ObjectMgr.h" #include "Opcodes.h" #include "Pet.h" @@ -33,10 +33,10 @@ #include "ScriptMgr.h" #include "SpellAuras.h" #include "Transport.h" +#include "Vehicle.h" #include "WaypointMovementGenerator.h" #include "WorldPacket.h" #include "WorldSession.h" -#include "Vehicle.h" #define MOVEMENT_PACKET_TIME_DELAY 0 diff --git a/src/server/game/Handlers/PetHandler.cpp b/src/server/game/Handlers/PetHandler.cpp index 0dc3b262b..57a3b3fbe 100644 --- a/src/server/game/Handlers/PetHandler.cpp +++ b/src/server/game/Handlers/PetHandler.cpp @@ -26,6 +26,7 @@ #include "Opcodes.h" #include "Pet.h" #include "Player.h" +#include "QueryHolder.h" #include "Spell.h" #include "SpellInfo.h" #include "SpellMgr.h" @@ -33,7 +34,6 @@ #include "World.h" #include "WorldPacket.h" #include "WorldSession.h" -#include "QueryHolder.h" class LoadPetFromDBQueryHolder : public CharacterDatabaseQueryHolder { diff --git a/src/server/game/Handlers/SkillHandler.cpp b/src/server/game/Handlers/SkillHandler.cpp index c55cc0e87..86d2d1fae 100644 --- a/src/server/game/Handlers/SkillHandler.cpp +++ b/src/server/game/Handlers/SkillHandler.cpp @@ -15,10 +15,12 @@ * with this program. If not, see . */ +#include "Log.h" #include "ObjectAccessor.h" #include "Opcodes.h" #include "Pet.h" #include "Player.h" +#include "SpellMgr.h" #include "WorldPacket.h" #include "WorldSession.h" diff --git a/src/server/game/Handlers/TradeHandler.cpp b/src/server/game/Handlers/TradeHandler.cpp index 41074f7f0..3011605e2 100644 --- a/src/server/game/Handlers/TradeHandler.cpp +++ b/src/server/game/Handlers/TradeHandler.cpp @@ -24,6 +24,7 @@ #include "ScriptMgr.h" #include "SocialMgr.h" #include "Spell.h" +#include "SpellMgr.h" #include "World.h" #include "WorldPacket.h" #include "WorldSession.h" diff --git a/src/server/game/Instances/InstanceSaveMgr.cpp b/src/server/game/Instances/InstanceSaveMgr.cpp index 1226c5bfb..de35e2467 100644 --- a/src/server/game/Instances/InstanceSaveMgr.cpp +++ b/src/server/game/Instances/InstanceSaveMgr.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ +#include "InstanceSaveMgr.h" #include "Common.h" #include "Config.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" #include "Group.h" -#include "InstanceSaveMgr.h" #include "InstanceScript.h" #include "Log.h" #include "Map.h" diff --git a/src/server/game/Instances/InstanceSaveMgr.h b/src/server/game/Instances/InstanceSaveMgr.h index b070f5a00..a59644d03 100644 --- a/src/server/game/Instances/InstanceSaveMgr.h +++ b/src/server/game/Instances/InstanceSaveMgr.h @@ -18,8 +18,8 @@ #ifndef _INSTANCESAVEMGR_H #define _INSTANCESAVEMGR_H -#include "DatabaseEnv.h" #include "DBCEnums.h" +#include "DatabaseEnv.h" #include "Define.h" #include "ObjectDefines.h" #include "ObjectGuid.h" diff --git a/src/server/game/Instances/InstanceScript.cpp b/src/server/game/Instances/InstanceScript.cpp index cc5e19e3e..8631fb3c0 100644 --- a/src/server/game/Instances/InstanceScript.cpp +++ b/src/server/game/Instances/InstanceScript.cpp @@ -15,12 +15,13 @@ * with this program. If not, see . */ +#include "InstanceScript.h" #include "Creature.h" #include "CreatureAI.h" #include "DatabaseEnv.h" #include "GameObject.h" #include "Group.h" -#include "InstanceScript.h" +#include "InstanceSaveMgr.h" #include "LFGMgr.h" #include "Log.h" #include "Map.h" @@ -28,6 +29,7 @@ #include "Pet.h" #include "Player.h" #include "Spell.h" +#include "WorldSession.h" void InstanceScript::SaveToDB() { diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h index 07e12b4c0..47f677d90 100644 --- a/src/server/game/Instances/InstanceScript.h +++ b/src/server/game/Instances/InstanceScript.h @@ -18,8 +18,6 @@ #ifndef ACORE_INSTANCE_DATA_H #define ACORE_INSTANCE_DATA_H -//#include "GameObject.h" -//#include "Map.h" #include "ObjectMgr.h" #include "World.h" #include "ZoneScript.h" diff --git a/src/server/game/Loot/LootMgr.cpp b/src/server/game/Loot/LootMgr.cpp index a8bcabfec..acec63413 100644 --- a/src/server/game/Loot/LootMgr.cpp +++ b/src/server/game/Loot/LootMgr.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "LootMgr.h" #include "Containers.h" #include "Group.h" #include "Log.h" -#include "LootMgr.h" #include "ObjectMgr.h" #include "Player.h" #include "ScriptMgr.h" diff --git a/src/server/game/Mails/Mail.cpp b/src/server/game/Mails/Mail.cpp index 7ad3c832f..1d5cdb9a0 100644 --- a/src/server/game/Mails/Mail.cpp +++ b/src/server/game/Mails/Mail.cpp @@ -15,19 +15,20 @@ * with this program. If not, see . */ +#include "Mail.h" #include "AuctionHouseMgr.h" #include "BattlegroundMgr.h" -#include "CharacterCache.h" #include "CalendarMgr.h" +#include "CharacterCache.h" #include "DatabaseEnv.h" #include "Item.h" #include "Log.h" -#include "Mail.h" #include "ObjectMgr.h" #include "Player.h" #include "ScriptMgr.h" #include "Unit.h" #include "World.h" +#include "WorldSession.h" MailSender::MailSender(Object* sender, MailStationery stationery) : m_stationery(stationery) { diff --git a/src/server/game/Mails/Mail.h b/src/server/game/Mails/Mail.h index 179f50a92..f73dffb5f 100644 --- a/src/server/game/Mails/Mail.h +++ b/src/server/game/Mails/Mail.h @@ -19,6 +19,8 @@ #define ACORE_MAIL_H #include "Common.h" +#include "DatabaseEnvFwd.h" +#include "ObjectGuid.h" #include #include diff --git a/src/server/game/Maps/Map.cpp b/src/server/game/Maps/Map.cpp index 06d36e9a3..46c4307bc 100644 --- a/src/server/game/Maps/Map.cpp +++ b/src/server/game/Maps/Map.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "Map.h" #include "Battleground.h" #include "CellImpl.h" #include "Chat.h" @@ -26,18 +27,18 @@ #include "Group.h" #include "InstanceScript.h" #include "LFGMgr.h" -#include "Map.h" #include "MapInstanced.h" #include "Metric.h" #include "Object.h" #include "ObjectAccessor.h" +#include "ObjectGridLoader.h" #include "ObjectMgr.h" #include "Pet.h" #include "ScriptMgr.h" #include "Transport.h" -#include "Vehicle.h" #include "VMapFactory.h" #include "VMapMgr2.h" +#include "Vehicle.h" #ifdef ELUNA #include "LuaEngine.h" diff --git a/src/server/game/Maps/Map.h b/src/server/game/Maps/Map.h index b0977dc61..c674004f0 100644 --- a/src/server/game/Maps/Map.h +++ b/src/server/game/Maps/Map.h @@ -19,8 +19,8 @@ #define ACORE_MAP_H #include "Cell.h" -#include "DataMap.h" #include "DBCStructure.h" +#include "DataMap.h" #include "Define.h" #include "DynamicTree.h" #include "GameObjectModel.h" @@ -59,6 +59,7 @@ class Transport; class StaticTransport; class MotionTransport; class PathGenerator; + namespace Acore { struct ObjectUpdater; @@ -440,6 +441,7 @@ public: [[nodiscard]] bool IsBattleground() const { return i_mapEntry && i_mapEntry->IsBattleground(); } [[nodiscard]] bool IsBattleArena() const { return i_mapEntry && i_mapEntry->IsBattleArena(); } [[nodiscard]] bool IsBattlegroundOrArena() const { return i_mapEntry && i_mapEntry->IsBattlegroundOrArena(); } + bool GetEntrancePos(int32& mapid, float& x, float& y) { if (!i_mapEntry) diff --git a/src/server/game/Maps/MapInstanced.cpp b/src/server/game/Maps/MapInstanced.cpp index f812c9d0d..5fe2169cd 100644 --- a/src/server/game/Maps/MapInstanced.cpp +++ b/src/server/game/Maps/MapInstanced.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ +#include "MapInstanced.h" #include "Battleground.h" #include "Group.h" #include "InstanceSaveMgr.h" -#include "MapInstanced.h" -#include "MapMgr.h" #include "MMapFactory.h" +#include "MapMgr.h" #include "ObjectMgr.h" #include "Player.h" #include "VMapFactory.h" diff --git a/src/server/game/Maps/MapMgr.cpp b/src/server/game/Maps/MapMgr.cpp index 40e571d29..39f4b55dc 100644 --- a/src/server/game/Maps/MapMgr.cpp +++ b/src/server/game/Maps/MapMgr.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "MapMgr.h" #include "AvgDiffTracker.h" #include "Chat.h" #include "DatabaseEnv.h" @@ -22,16 +23,15 @@ #include "Group.h" #include "InstanceSaveMgr.h" #include "InstanceScript.h" -#include "Language.h" #include "LFGMgr.h" +#include "Language.h" #include "Log.h" #include "MapInstanced.h" -#include "MapMgr.h" #include "ObjectAccessor.h" #include "ObjectMgr.h" #include "Opcodes.h" -#include "ScriptMgr.h" #include "Player.h" +#include "ScriptMgr.h" #include "Transport.h" #include "World.h" #include "WorldPacket.h" diff --git a/src/server/game/Maps/MapMgr.h b/src/server/game/Maps/MapMgr.h index 1284899e0..c17cfd591 100644 --- a/src/server/game/Maps/MapMgr.h +++ b/src/server/game/Maps/MapMgr.h @@ -21,9 +21,9 @@ #include "Common.h" #include "Define.h" #include "Map.h" +#include "MapInstanced.h" #include "MapUpdater.h" #include "Object.h" -#include "MapInstanced.h" #include diff --git a/src/server/game/Maps/MapUpdater.cpp b/src/server/game/Maps/MapUpdater.cpp index 75e6bc996..6f4b9d62f 100644 --- a/src/server/game/Maps/MapUpdater.cpp +++ b/src/server/game/Maps/MapUpdater.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "MapUpdater.h" #include "AvgDiffTracker.h" #include "LFGMgr.h" #include "Map.h" -#include "MapUpdater.h" #include "Metric.h" class UpdateRequest diff --git a/src/server/game/Maps/TransportMgr.cpp b/src/server/game/Maps/TransportMgr.cpp index 972f09676..2818ef35c 100644 --- a/src/server/game/Maps/TransportMgr.cpp +++ b/src/server/game/Maps/TransportMgr.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "TransportMgr.h" #include "InstanceScript.h" #include "MapMgr.h" #include "MoveSpline.h" #include "Transport.h" -#include "TransportMgr.h" TransportTemplate::~TransportTemplate() { diff --git a/src/server/game/Maps/TransportMgr.h b/src/server/game/Maps/TransportMgr.h index 7aa761ce4..9767ab335 100644 --- a/src/server/game/Maps/TransportMgr.h +++ b/src/server/game/Maps/TransportMgr.h @@ -19,6 +19,7 @@ #define TRANSPORTMGR_H #include "DBCStores.h" +#include "ObjectGuid.h" #include "Spline.h" #include diff --git a/src/server/game/Misc/AsyncAuctionListing.cpp b/src/server/game/Misc/AsyncAuctionListing.cpp index d52908e1e..e40de57ad 100644 --- a/src/server/game/Misc/AsyncAuctionListing.cpp +++ b/src/server/game/Misc/AsyncAuctionListing.cpp @@ -21,6 +21,7 @@ #include "Opcodes.h" #include "Player.h" #include "SpellAuraEffects.h" +#include "WorldSession.h" uint32 AsyncAuctionListingMgr::auctionListingDiff = 0; bool AsyncAuctionListingMgr::auctionListingAllowed = false; diff --git a/src/server/game/Misc/BanMgr.cpp b/src/server/game/Misc/BanMgr.cpp index 775587d0b..90f0c4539 100644 --- a/src/server/game/Misc/BanMgr.cpp +++ b/src/server/game/Misc/BanMgr.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "AccountMgr.h" #include "BanMgr.h" +#include "AccountMgr.h" #include "DatabaseEnv.h" #include "Language.h" #include "ObjectAccessor.h" diff --git a/src/server/game/Misc/GameGraveyard.cpp b/src/server/game/Misc/GameGraveyard.cpp index 1cca11a8d..4cb799ed5 100644 --- a/src/server/game/Misc/GameGraveyard.cpp +++ b/src/server/game/Misc/GameGraveyard.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "DatabaseEnv.h" -#include "DBCStores.h" #include "GameGraveyard.h" +#include "DBCStores.h" +#include "DatabaseEnv.h" #include "Log.h" #include "MapMgr.h" diff --git a/src/server/game/Miscellaneous/Formulas.cpp b/src/server/game/Miscellaneous/Formulas.cpp index 37110348c..779bae46a 100644 --- a/src/server/game/Miscellaneous/Formulas.cpp +++ b/src/server/game/Miscellaneous/Formulas.cpp @@ -16,8 +16,8 @@ */ #include "Formulas.h" -#include "Log.h" #include "Creature.h" +#include "Log.h" #include "Player.h" #include "World.h" diff --git a/src/server/game/Motd/ServerMotd.cpp b/src/server/game/Motd/ServerMotd.cpp index 04e194bb4..2ae805a60 100644 --- a/src/server/game/Motd/ServerMotd.cpp +++ b/src/server/game/Motd/ServerMotd.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "ServerMotd.h" #include "Common.h" #include "Opcodes.h" #include "ScriptMgr.h" -#include "ServerMotd.h" #include "Util.h" #include "WorldPacket.h" #include diff --git a/src/server/game/Movement/MotionMaster.cpp b/src/server/game/Movement/MotionMaster.cpp index a13365348..a53f4afdf 100644 --- a/src/server/game/Movement/MotionMaster.cpp +++ b/src/server/game/Movement/MotionMaster.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "MotionMaster.h" #include "ConfusedMovementGenerator.h" #include "Creature.h" #include "CreatureAISelector.h" @@ -22,7 +23,7 @@ #include "FleeingMovementGenerator.h" #include "HomeMovementGenerator.h" #include "IdleMovementGenerator.h" -#include "MotionMaster.h" +#include "Log.h" #include "MoveSpline.h" #include "MoveSplineInit.h" #include "PointMovementGenerator.h" diff --git a/src/server/game/Movement/MovementGenerators/EscortMovementGenerator.cpp b/src/server/game/Movement/MovementGenerators/EscortMovementGenerator.cpp index 42d48857e..a453b7e4e 100644 --- a/src/server/game/Movement/MovementGenerators/EscortMovementGenerator.cpp +++ b/src/server/game/Movement/MovementGenerators/EscortMovementGenerator.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "EscortMovementGenerator.h" #include "Creature.h" #include "CreatureAI.h" #include "Errors.h" -#include "EscortMovementGenerator.h" #include "MoveSpline.h" #include "MoveSplineInit.h" #include "Player.h" diff --git a/src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp b/src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp index 9175c3133..b3aa71b96 100644 --- a/src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp +++ b/src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "FleeingMovementGenerator.h" #include "Creature.h" #include "CreatureAI.h" -#include "FleeingMovementGenerator.h" #include "MapMgr.h" #include "MoveSplineInit.h" #include "ObjectAccessor.h" diff --git a/src/server/game/Movement/MovementGenerators/IdleMovementGenerator.cpp b/src/server/game/Movement/MovementGenerators/IdleMovementGenerator.cpp index 6638fa961..da3058c76 100644 --- a/src/server/game/Movement/MovementGenerators/IdleMovementGenerator.cpp +++ b/src/server/game/Movement/MovementGenerators/IdleMovementGenerator.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "IdleMovementGenerator.h" #include "Creature.h" #include "CreatureAI.h" -#include "IdleMovementGenerator.h" IdleMovementGenerator si_idleMovement; diff --git a/src/server/game/Movement/MovementGenerators/PathGenerator.cpp b/src/server/game/Movement/MovementGenerators/PathGenerator.cpp index a465d9658..c8702d8b4 100644 --- a/src/server/game/Movement/MovementGenerators/PathGenerator.cpp +++ b/src/server/game/Movement/MovementGenerators/PathGenerator.cpp @@ -15,15 +15,15 @@ * with this program. If not, see . */ +#include "PathGenerator.h" #include "Creature.h" #include "DetourCommon.h" #include "Geometry.h" #include "Log.h" -#include "Map.h" -#include "Metric.h" #include "MMapFactory.h" #include "MMapMgr.h" -#include "PathGenerator.h" +#include "Map.h" +#include "Metric.h" ////////////////// PathGenerator ////////////////// PathGenerator::PathGenerator(WorldObject const* owner) : diff --git a/src/server/game/Movement/MovementGenerators/PathGenerator.h b/src/server/game/Movement/MovementGenerators/PathGenerator.h index 47849cace..e5970be37 100644 --- a/src/server/game/Movement/MovementGenerators/PathGenerator.h +++ b/src/server/game/Movement/MovementGenerators/PathGenerator.h @@ -20,9 +20,9 @@ #include "DetourNavMesh.h" #include "DetourNavMeshQuery.h" -#include "MapDefines.h" #include "MMapFactory.h" #include "MMapMgr.h" +#include "MapDefines.h" #include "MoveSplineInitArgs.h" #include "SharedDefines.h" #include diff --git a/src/server/game/Movement/MovementGenerators/PointMovementGenerator.cpp b/src/server/game/Movement/MovementGenerators/PointMovementGenerator.cpp index 982f2c34a..c2db60942 100644 --- a/src/server/game/Movement/MovementGenerators/PointMovementGenerator.cpp +++ b/src/server/game/Movement/MovementGenerators/PointMovementGenerator.cpp @@ -15,13 +15,14 @@ * with this program. If not, see . */ +#include "PointMovementGenerator.h" #include "Creature.h" #include "CreatureAI.h" #include "Errors.h" #include "MoveSpline.h" #include "MoveSplineInit.h" +#include "ObjectAccessor.h" #include "Player.h" -#include "PointMovementGenerator.h" #include "World.h" //----- Point Movement Generator diff --git a/src/server/game/Movement/MovementGenerators/RandomMovementGenerator.cpp b/src/server/game/Movement/MovementGenerators/RandomMovementGenerator.cpp index 8f4b300a1..e788789df 100644 --- a/src/server/game/Movement/MovementGenerators/RandomMovementGenerator.cpp +++ b/src/server/game/Movement/MovementGenerators/RandomMovementGenerator.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "RandomMovementGenerator.h" #include "Creature.h" #include "CreatureGroups.h" #include "Map.h" @@ -22,7 +23,6 @@ #include "MoveSpline.h" #include "MoveSplineInit.h" #include "ObjectAccessor.h" -#include "RandomMovementGenerator.h" #include "Spell.h" #include "Util.h" diff --git a/src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp b/src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp index 202311528..ac0d69d95 100644 --- a/src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp +++ b/src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ +#include "TargetedMovementGenerator.h" #include "Creature.h" #include "CreatureAI.h" #include "MoveSplineInit.h" #include "Pet.h" #include "Player.h" #include "Spell.h" -#include "TargetedMovementGenerator.h" #include "Transport.h" static bool IsMutualChase(Unit* owner, Unit* target) diff --git a/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp b/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp index 2412bb0c2..67b8c2752 100644 --- a/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp +++ b/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "WaypointMovementGenerator.h" #include "Creature.h" #include "CreatureAI.h" #include "CreatureGroups.h" @@ -25,7 +26,6 @@ #include "Player.h" #include "Spell.h" #include "Transport.h" -#include "WaypointMovementGenerator.h" #include "World.h" void WaypointMovementGenerator::LoadPath(Creature* creature) diff --git a/src/server/game/Movement/Spline/MoveSpline.cpp b/src/server/game/Movement/Spline/MoveSpline.cpp index 7158ee54d..840f0497d 100644 --- a/src/server/game/Movement/Spline/MoveSpline.cpp +++ b/src/server/game/Movement/Spline/MoveSpline.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "MoveSpline.h" #include "Creature.h" #include "Log.h" -#include "MoveSpline.h" #include namespace Movement diff --git a/src/server/game/Movement/Spline/MoveSplineInit.cpp b/src/server/game/Movement/Spline/MoveSplineInit.cpp index d73c097bc..95ac5b010 100644 --- a/src/server/game/Movement/Spline/MoveSplineInit.cpp +++ b/src/server/game/Movement/Spline/MoveSplineInit.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "MovementPacketBuilder.h" -#include "MoveSpline.h" #include "MoveSplineInit.h" +#include "MoveSpline.h" +#include "MovementPacketBuilder.h" #include "Opcodes.h" #include "Transport.h" #include "Unit.h" diff --git a/src/server/game/Movement/Spline/MovementPacketBuilder.cpp b/src/server/game/Movement/Spline/MovementPacketBuilder.cpp index 852543c13..a624b0766 100644 --- a/src/server/game/Movement/Spline/MovementPacketBuilder.cpp +++ b/src/server/game/Movement/Spline/MovementPacketBuilder.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ByteBuffer.h" #include "MovementPacketBuilder.h" +#include "ByteBuffer.h" #include "MoveSpline.h" namespace Movement diff --git a/src/server/game/Movement/Spline/Spline.h b/src/server/game/Movement/Spline/Spline.h index 0de811038..36f127447 100644 --- a/src/server/game/Movement/Spline/Spline.h +++ b/src/server/game/Movement/Spline/Spline.h @@ -18,8 +18,8 @@ #ifndef TRINITYSERVER_SPLINE_H #define TRINITYSERVER_SPLINE_H -#include "MovementTypedefs.h" #include "Errors.h" +#include "MovementTypedefs.h" #include #include diff --git a/src/server/game/Movement/Waypoints/WaypointMgr.cpp b/src/server/game/Movement/Waypoints/WaypointMgr.cpp index 78753d3ab..362257b36 100644 --- a/src/server/game/Movement/Waypoints/WaypointMgr.cpp +++ b/src/server/game/Movement/Waypoints/WaypointMgr.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "WaypointMgr.h" #include "DatabaseEnv.h" #include "GridDefines.h" #include "Log.h" -#include "WaypointMgr.h" WaypointMgr::WaypointMgr() { diff --git a/src/server/game/OutdoorPvP/OutdoorPvP.cpp b/src/server/game/OutdoorPvP/OutdoorPvP.cpp index 424d334cf..df0cdc4a9 100644 --- a/src/server/game/OutdoorPvP/OutdoorPvP.cpp +++ b/src/server/game/OutdoorPvP/OutdoorPvP.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "OutdoorPvP.h" #include "CellImpl.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" @@ -23,7 +24,6 @@ #include "MapMgr.h" #include "ObjectAccessor.h" #include "ObjectMgr.h" -#include "OutdoorPvP.h" #include "OutdoorPvPMgr.h" #include "WorldPacket.h" diff --git a/src/server/game/OutdoorPvP/OutdoorPvPMgr.cpp b/src/server/game/OutdoorPvP/OutdoorPvPMgr.cpp index 36c7c64b2..f637d8e15 100644 --- a/src/server/game/OutdoorPvP/OutdoorPvPMgr.cpp +++ b/src/server/game/OutdoorPvP/OutdoorPvPMgr.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "OutdoorPvPMgr.h" #include "DisableMgr.h" #include "ObjectMgr.h" -#include "OutdoorPvPMgr.h" #include "Player.h" #include "ScriptMgr.h" diff --git a/src/server/game/Petitions/PetitionMgr.cpp b/src/server/game/Petitions/PetitionMgr.cpp index e38a9021e..22bc4433f 100644 --- a/src/server/game/Petitions/PetitionMgr.cpp +++ b/src/server/game/Petitions/PetitionMgr.cpp @@ -15,9 +15,10 @@ * with this program. If not, see . */ +#include "PetitionMgr.h" #include "DatabaseEnv.h" #include "Log.h" -#include "PetitionMgr.h" +#include "ObjectAccessor.h" #include "Player.h" #include "QueryResult.h" #include "Timer.h" diff --git a/src/server/game/Pools/PoolMgr.cpp b/src/server/game/Pools/PoolMgr.cpp index 3790b8f27..56f1f2175 100644 --- a/src/server/game/Pools/PoolMgr.cpp +++ b/src/server/game/Pools/PoolMgr.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "PoolMgr.h" #include "Containers.h" #include "Log.h" #include "MapMgr.h" #include "ObjectMgr.h" -#include "PoolMgr.h" #include "Transport.h" //////////////////////////////////////////////////////////// diff --git a/src/server/game/Quests/QuestDef.cpp b/src/server/game/Quests/QuestDef.cpp index efd966eef..23025d9c8 100644 --- a/src/server/game/Quests/QuestDef.cpp +++ b/src/server/game/Quests/QuestDef.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "QuestDef.h" #include "Formulas.h" #include "Opcodes.h" #include "Player.h" -#include "QuestDef.h" #include "World.h" Quest::Quest(Field* questRecord) diff --git a/src/server/game/Quests/QuestDef.h b/src/server/game/Quests/QuestDef.h index 6b42415dc..82842d620 100644 --- a/src/server/game/Quests/QuestDef.h +++ b/src/server/game/Quests/QuestDef.h @@ -18,8 +18,8 @@ #ifndef AZEROTHCORE_QUEST_H #define AZEROTHCORE_QUEST_H -#include "DatabaseEnv.h" #include "DBCEnums.h" +#include "DatabaseEnv.h" #include "Define.h" #include "SharedDefines.h" #include "WorldPacket.h" @@ -107,7 +107,7 @@ enum QuestStatus : uint8 MAX_QUEST_STATUS }; -enum QuestGiverStatus +enum QuestGiverStatus : uint32 { DIALOG_STATUS_NONE = 0, DIALOG_STATUS_UNAVAILABLE = 1, diff --git a/src/server/game/Quests/enuminfo_QuestDef.cpp b/src/server/game/Quests/enuminfo_QuestDef.cpp index aec7b5de3..cf4651adc 100644 --- a/src/server/game/Quests/enuminfo_QuestDef.cpp +++ b/src/server/game/Quests/enuminfo_QuestDef.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "QuestDef.h" #include "Define.h" +#include "QuestDef.h" #include "SmartEnum.h" #include diff --git a/src/server/game/Reputation/ReputationMgr.cpp b/src/server/game/Reputation/ReputationMgr.cpp index 4eafa9265..5e8be476e 100644 --- a/src/server/game/Reputation/ReputationMgr.cpp +++ b/src/server/game/Reputation/ReputationMgr.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "DatabaseEnv.h" +#include "ReputationMgr.h" #include "DBCStores.h" +#include "DatabaseEnv.h" #include "ObjectMgr.h" #include "Player.h" -#include "ReputationMgr.h" #include "ScriptMgr.h" #include "World.h" #include "WorldPacket.h" diff --git a/src/server/game/Scripting/MapScripts.cpp b/src/server/game/Scripting/MapScripts.cpp index 27afdcf94..f755e3cb0 100644 --- a/src/server/game/Scripting/MapScripts.cpp +++ b/src/server/game/Scripting/MapScripts.cpp @@ -23,8 +23,8 @@ #include "MapRefMgr.h" #include "ObjectMgr.h" #include "Pet.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Transport.h" #include "WaypointMgr.h" #include "World.h" diff --git a/src/server/game/Scripting/ScriptMgr.cpp b/src/server/game/Scripting/ScriptMgr.cpp index cd4bc46d2..1ff0d7c3f 100644 --- a/src/server/game/Scripting/ScriptMgr.cpp +++ b/src/server/game/Scripting/ScriptMgr.cpp @@ -15,24 +15,24 @@ * with this program. If not, see . */ +#include "ScriptMgr.h" #include "Chat.h" #include "Config.h" #include "CreatureAI.h" -#include "DatabaseEnv.h" #include "DBCStores.h" +#include "DatabaseEnv.h" #include "GossipDef.h" #include "InstanceScript.h" #include "ObjectMgr.h" #include "OutdoorPvPMgr.h" #include "Player.h" -#include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "ScriptSystem.h" +#include "ScriptedGossip.h" +#include "SmartAI.h" #include "SpellInfo.h" #include "SpellScript.h" #include "Transport.h" #include "Vehicle.h" -#include "SmartAI.h" #include "WorldPacket.h" #ifdef ELUNA diff --git a/src/server/game/Scripting/ScriptSystem.cpp b/src/server/game/Scripting/ScriptSystem.cpp index 159190341..af8b6eb2c 100644 --- a/src/server/game/Scripting/ScriptSystem.cpp +++ b/src/server/game/Scripting/ScriptSystem.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "ScriptSystem.h" #include "DatabaseEnv.h" #include "ObjectMgr.h" #include "ScriptMgr.h" -#include "ScriptSystem.h" ScriptPointVector const SystemMgr::_empty; diff --git a/src/server/game/Server/Packets/PacketUtilities.cpp b/src/server/game/Server/Packets/PacketUtilities.cpp index ba1753e47..9e86d9438 100644 --- a/src/server/game/Server/Packets/PacketUtilities.cpp +++ b/src/server/game/Server/Packets/PacketUtilities.cpp @@ -16,10 +16,10 @@ */ #include "PacketUtilities.h" -#include "Hyperlinks.h" #include "Errors.h" -#include +#include "Hyperlinks.h" #include +#include WorldPackets::InvalidStringValueException::InvalidStringValueException(std::string const& value) : ByteBufferInvalidValueException("string", value.c_str()) { } diff --git a/src/server/game/Server/Protocol/Opcodes.cpp b/src/server/game/Server/Protocol/Opcodes.cpp index 4ab3b6419..532b10c66 100644 --- a/src/server/game/Server/Protocol/Opcodes.cpp +++ b/src/server/game/Server/Protocol/Opcodes.cpp @@ -18,9 +18,9 @@ #include "Opcodes.h" #include "Log.h" #include "WorldSession.h" -//#include "Packets/AllPackets.h" #include #include +//#include "Packets/AllPackets.h" template class PacketHandler : public ClientOpcodeHandler diff --git a/src/server/game/Server/WorldPacket.h b/src/server/game/Server/WorldPacket.h index d88e7090d..c651cf4af 100644 --- a/src/server/game/Server/WorldPacket.h +++ b/src/server/game/Server/WorldPacket.h @@ -18,10 +18,10 @@ #ifndef _WORLDPACKET_H_ #define _WORLDPACKET_H_ -#include "Common.h" -#include "Opcodes.h" #include "ByteBuffer.h" +#include "Common.h" #include "Duration.h" +#include "Opcodes.h" class WorldPacket : public ByteBuffer { diff --git a/src/server/game/Server/WorldSession.h b/src/server/game/Server/WorldSession.h index afac89758..1b3250a01 100644 --- a/src/server/game/Server/WorldSession.h +++ b/src/server/game/Server/WorldSession.h @@ -23,8 +23,8 @@ #define __WORLDSESSION_H #include "AccountMgr.h" -#include "AuthDefines.h" #include "AddonMgr.h" +#include "AuthDefines.h" #include "BanMgr.h" #include "CircularBuffer.h" #include "Common.h" @@ -33,8 +33,8 @@ #include "Packet.h" #include "SharedDefines.h" #include "World.h" -#include #include +#include class Creature; class GameObject; diff --git a/src/server/game/Server/WorldSocket.h b/src/server/game/Server/WorldSocket.h index d1fdbba56..dbad55fb5 100644 --- a/src/server/game/Server/WorldSocket.h +++ b/src/server/game/Server/WorldSocket.h @@ -18,14 +18,14 @@ #ifndef __WORLDSOCKET_H__ #define __WORLDSOCKET_H__ -#include "Common.h" #include "AuthCrypt.h" +#include "Common.h" +#include "MPSCQueue.h" #include "ServerPktHeader.h" #include "Socket.h" #include "Util.h" #include "WorldPacket.h" #include "WorldSession.h" -#include "MPSCQueue.h" #include using boost::asio::ip::tcp; diff --git a/src/server/game/Server/WorldSocketMgr.cpp b/src/server/game/Server/WorldSocketMgr.cpp index 3ea3e5324..75eb730bd 100644 --- a/src/server/game/Server/WorldSocketMgr.cpp +++ b/src/server/game/Server/WorldSocketMgr.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "WorldSocketMgr.h" #include "Config.h" #include "NetworkThread.h" #include "ScriptMgr.h" #include "WorldSocket.h" -#include "WorldSocketMgr.h" #include class WorldSocketThread : public NetworkThread diff --git a/src/server/game/Skills/SkillDiscovery.cpp b/src/server/game/Skills/SkillDiscovery.cpp index d351cb550..9f1762996 100644 --- a/src/server/game/Skills/SkillDiscovery.cpp +++ b/src/server/game/Skills/SkillDiscovery.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "SkillDiscovery.h" #include "DatabaseEnv.h" #include "Log.h" #include "Player.h" -#include "SkillDiscovery.h" #include "SpellInfo.h" #include "SpellMgr.h" #include "Util.h" diff --git a/src/server/game/Skills/SkillExtraItems.cpp b/src/server/game/Skills/SkillExtraItems.cpp index 510f02ba1..237ac9266 100644 --- a/src/server/game/Skills/SkillExtraItems.cpp +++ b/src/server/game/Skills/SkillExtraItems.cpp @@ -15,11 +15,12 @@ * with this program. If not, see . */ +#include "SkillExtraItems.h" #include "DatabaseEnv.h" #include "Log.h" #include "ObjectMgr.h" #include "Player.h" -#include "SkillExtraItems.h" +#include "SpellMgr.h" #include // some type definitions diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index eab51874b..3863df70d 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "SpellAuraEffects.h" #include "BattlefieldMgr.h" #include "Battleground.h" #include "CellImpl.h" @@ -33,7 +34,6 @@ #include "ReputationMgr.h" #include "ScriptMgr.h" #include "Spell.h" -#include "SpellAuraEffects.h" #include "SpellMgr.h" #include "Unit.h" #include "Util.h" diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 30117b472..9f6859ce3 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -16,10 +16,11 @@ */ #ifdef ELUNA -#include "LuaEngine.h" #include "ElunaUtility.h" +#include "LuaEngine.h" #endif +#include "Spell.h" #include "ArenaSpectator.h" #include "BattlefieldMgr.h" #include "Battleground.h" @@ -37,9 +38,9 @@ #include "InstanceScript.h" #include "Log.h" #include "LootMgr.h" -#include "MapMgr.h" #include "MMapFactory.h" #include "MMapMgr.h" +#include "MapMgr.h" #include "ObjectAccessor.h" #include "ObjectMgr.h" #include "Opcodes.h" @@ -47,7 +48,6 @@ #include "Player.h" #include "ScriptMgr.h" #include "SharedDefines.h" -#include "Spell.h" #include "SpellAuraEffects.h" #include "SpellInfo.h" #include "SpellMgr.h" @@ -58,8 +58,8 @@ #include "UpdateData.h" #include "UpdateMask.h" #include "Util.h" -#include "Vehicle.h" #include "VMapFactory.h" +#include "Vehicle.h" #include "World.h" #include "WorldPacket.h" #include "WorldSession.h" diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index a96d5c08d..7ff4e4045 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -60,6 +60,7 @@ #include "Vehicle.h" #include "World.h" #include "WorldPacket.h" +#include "WorldSession.h" #ifdef ELUNA #include "LuaEngine.h" diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 4a1272d6a..91416768e 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "SpellInfo.h" #include "Battleground.h" #include "Chat.h" #include "ConditionMgr.h" @@ -24,7 +25,6 @@ #include "Spell.h" #include "SpellAuraDefines.h" #include "SpellAuraEffects.h" -#include "SpellInfo.h" #include "SpellMgr.h" uint32 GetTargetFlagMask(SpellTargetObjectTypes objType) diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 927f2728e..303e55a5e 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "SpellMgr.h" #include "BattlefieldMgr.h" #include "BattlefieldWG.h" #include "BattlegroundIC.h" @@ -31,7 +32,6 @@ #include "SpellAuraDefines.h" #include "SpellAuras.h" #include "SpellInfo.h" -#include "SpellMgr.h" #include "World.h" bool IsPrimaryProfessionSkill(uint32 skill) diff --git a/src/server/game/Spells/SpellScript.cpp b/src/server/game/Spells/SpellScript.cpp index 3242f7405..f427e14b2 100644 --- a/src/server/game/Spells/SpellScript.cpp +++ b/src/server/game/Spells/SpellScript.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "SpellScript.h" #include "Spell.h" #include "SpellAuras.h" #include "SpellMgr.h" -#include "SpellScript.h" #include bool _SpellScript::_Validate(SpellInfo const* entry) diff --git a/src/server/game/Texts/CreatureTextMgr.cpp b/src/server/game/Texts/CreatureTextMgr.cpp index 637f034c1..4f113cf01 100644 --- a/src/server/game/Texts/CreatureTextMgr.cpp +++ b/src/server/game/Texts/CreatureTextMgr.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "CreatureTextMgr.h" #include "Cell.h" #include "CellImpl.h" #include "Chat.h" #include "Common.h" -#include "CreatureTextMgr.h" #include "DatabaseEnv.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" diff --git a/src/server/game/Texts/CreatureTextMgr.h b/src/server/game/Texts/CreatureTextMgr.h index 34276876c..aa54ad798 100644 --- a/src/server/game/Texts/CreatureTextMgr.h +++ b/src/server/game/Texts/CreatureTextMgr.h @@ -23,6 +23,7 @@ #include "ObjectAccessor.h" #include "Opcodes.h" #include "SharedDefines.h" +#include "WorldSession.h" enum CreatureTextRange { diff --git a/src/server/game/Tickets/TicketMgr.cpp b/src/server/game/Tickets/TicketMgr.cpp index abbc45bc0..e25706da3 100644 --- a/src/server/game/Tickets/TicketMgr.cpp +++ b/src/server/game/Tickets/TicketMgr.cpp @@ -15,6 +15,8 @@ * with this program. If not, see . */ +#include "TicketMgr.h" +#include "CharacterCache.h" #include "Chat.h" #include "Common.h" #include "DatabaseEnv.h" @@ -22,7 +24,6 @@ #include "Log.h" #include "Opcodes.h" #include "Player.h" -#include "TicketMgr.h" #include "World.h" #include "WorldPacket.h" #include "WorldSession.h" diff --git a/src/server/game/Tickets/TicketMgr.h b/src/server/game/Tickets/TicketMgr.h index ed3916559..3e1b2a9a1 100644 --- a/src/server/game/Tickets/TicketMgr.h +++ b/src/server/game/Tickets/TicketMgr.h @@ -18,6 +18,7 @@ #ifndef _TICKETMGR_H #define _TICKETMGR_H +#include "CharacterCache.h" #include "ObjectMgr.h" #include diff --git a/src/server/game/Tools/CharacterDatabaseCleaner.cpp b/src/server/game/Tools/CharacterDatabaseCleaner.cpp index c84585a83..ee7a1cddb 100644 --- a/src/server/game/Tools/CharacterDatabaseCleaner.cpp +++ b/src/server/game/Tools/CharacterDatabaseCleaner.cpp @@ -17,8 +17,8 @@ #include "CharacterDatabaseCleaner.h" #include "Common.h" -#include "Database/DatabaseEnv.h" #include "DBCStores.h" +#include "Database/DatabaseEnv.h" #include "Log.h" #include "SpellMgr.h" #include "World.h" diff --git a/src/server/game/Tools/PlayerDump.cpp b/src/server/game/Tools/PlayerDump.cpp index 4cecbd817..c66061e9a 100644 --- a/src/server/game/Tools/PlayerDump.cpp +++ b/src/server/game/Tools/PlayerDump.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ +#include "PlayerDump.h" #include "AccountMgr.h" -#include "Common.h" #include "CharacterCache.h" +#include "Common.h" #include "DatabaseEnv.h" #include "ObjectMgr.h" -#include "PlayerDump.h" #include "World.h" #define DUMP_TABLE_COUNT 27 diff --git a/src/server/game/Tools/PlayerDump.h b/src/server/game/Tools/PlayerDump.h index 98d2d292f..0d085ab31 100644 --- a/src/server/game/Tools/PlayerDump.h +++ b/src/server/game/Tools/PlayerDump.h @@ -18,6 +18,7 @@ #ifndef _PLAYER_DUMP_H #define _PLAYER_DUMP_H +#include "Define.h" #include #include #include @@ -69,7 +70,7 @@ protected: class PlayerDumpWriter : public PlayerDump { public: - PlayerDumpWriter() {} + PlayerDumpWriter() { } bool GetDump(uint32 guid, std::string& dump); DumpReturn WriteDump(std::string const& file, uint32 guid); @@ -88,7 +89,7 @@ private: class PlayerDumpReader : public PlayerDump { public: - PlayerDumpReader() {} + PlayerDumpReader() { } DumpReturn LoadDump(std::string const& file, uint32 account, std::string name, uint32 guid); }; diff --git a/src/server/game/Warden/Warden.cpp b/src/server/game/Warden/Warden.cpp index fe6364e3d..57b977dca 100644 --- a/src/server/game/Warden/Warden.cpp +++ b/src/server/game/Warden/Warden.cpp @@ -15,6 +15,7 @@ * with this program. If not, see . */ +#include "Warden.h" #include "AccountMgr.h" #include "BanMgr.h" #include "ByteBuffer.h" @@ -24,7 +25,6 @@ #include "Player.h" #include "SharedDefines.h" #include "Util.h" -#include "Warden.h" #include "World.h" #include "WorldPacket.h" #include "WorldSession.h" diff --git a/src/server/game/Warden/WardenCheckMgr.cpp b/src/server/game/Warden/WardenCheckMgr.cpp index b07d1baf6..75ecf6fc9 100644 --- a/src/server/game/Warden/WardenCheckMgr.cpp +++ b/src/server/game/Warden/WardenCheckMgr.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "WardenCheckMgr.h" #include "Database/DatabaseEnv.h" #include "Log.h" #include "Util.h" #include "Warden.h" -#include "WardenCheckMgr.h" #include "WorldSession.h" WardenCheckMgr::WardenCheckMgr() diff --git a/src/server/game/Warden/WardenMac.cpp b/src/server/game/Warden/WardenMac.cpp index 2cde684fa..09613b4f9 100644 --- a/src/server/game/Warden/WardenMac.cpp +++ b/src/server/game/Warden/WardenMac.cpp @@ -15,12 +15,13 @@ * with this program. If not, see . */ +#include "WardenMac.h" #include "ByteBuffer.h" +#include "Log.h" #include "Opcodes.h" #include "Player.h" #include "SessionKeyGenerator.h" #include "Util.h" -#include "WardenMac.h" #include "WardenModuleMac.h" #include "WorldPacket.h" #include "WorldSession.h" diff --git a/src/server/game/Warden/WardenMac.h b/src/server/game/Warden/WardenMac.h index 6e0a5c4f1..aad419897 100644 --- a/src/server/game/Warden/WardenMac.h +++ b/src/server/game/Warden/WardenMac.h @@ -18,8 +18,8 @@ #ifndef _WARDEN_MAC_H #define _WARDEN_MAC_H -#include "ByteBuffer.h" #include "ARC4.h" +#include "ByteBuffer.h" #include "Warden.h" #include diff --git a/src/server/game/Warden/WardenWin.cpp b/src/server/game/Warden/WardenWin.cpp index d85c587a8..a209c17ef 100644 --- a/src/server/game/Warden/WardenWin.cpp +++ b/src/server/game/Warden/WardenWin.cpp @@ -15,17 +15,18 @@ * with this program. If not, see . */ +#include "WardenWin.h" #include "ByteBuffer.h" #include "Common.h" #include "CryptoRandom.h" #include "HMAC.h" +#include "Log.h" #include "Opcodes.h" #include "Player.h" #include "SessionKeyGenerator.h" #include "Util.h" #include "WardenCheckMgr.h" #include "WardenModuleWin.h" -#include "WardenWin.h" #include "World.h" #include "WorldPacket.h" #include "WorldSession.h" diff --git a/src/server/game/Warden/WardenWin.h b/src/server/game/Warden/WardenWin.h index d06d86364..a079fa56b 100644 --- a/src/server/game/Warden/WardenWin.h +++ b/src/server/game/Warden/WardenWin.h @@ -22,7 +22,7 @@ #include "Cryptography/ARC4.h" #include "Cryptography/BigNumber.h" #include "Warden.h" -#include +#include #if defined(__GNUC__) #pragma pack(1) diff --git a/src/server/game/Warden/enuminfo_WardenCheckMgr.cpp b/src/server/game/Warden/enuminfo_WardenCheckMgr.cpp index f76872a82..f4d906b69 100644 --- a/src/server/game/Warden/enuminfo_WardenCheckMgr.cpp +++ b/src/server/game/Warden/enuminfo_WardenCheckMgr.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "WardenCheckMgr.h" #include "Define.h" #include "SmartEnum.h" +#include "WardenCheckMgr.h" #include namespace Acore::Impl::EnumUtilsImpl diff --git a/src/server/game/Weather/Weather.cpp b/src/server/game/Weather/Weather.cpp index 23a801558..1546f4bd9 100644 --- a/src/server/game/Weather/Weather.cpp +++ b/src/server/game/Weather/Weather.cpp @@ -19,10 +19,10 @@ \ingroup world */ +#include "Weather.h" #include "Player.h" #include "ScriptMgr.h" #include "Util.h" -#include "Weather.h" #include "World.h" #include "WorldPacket.h" diff --git a/src/server/game/Weather/WeatherMgr.cpp b/src/server/game/Weather/WeatherMgr.cpp index 516b88b66..3c46d0bb3 100644 --- a/src/server/game/Weather/WeatherMgr.cpp +++ b/src/server/game/Weather/WeatherMgr.cpp @@ -19,11 +19,11 @@ \ingroup world */ +#include "WeatherMgr.h" #include "Log.h" #include "ObjectMgr.h" #include "Player.h" #include "Weather.h" -#include "WeatherMgr.h" #include "WorldPacket.h" #include "WorldSession.h" #include diff --git a/src/server/scripts/Commands/PlayerCommand.cpp b/src/server/scripts/Commands/PlayerCommand.cpp index d842f9281..4e1453008 100644 --- a/src/server/scripts/Commands/PlayerCommand.cpp +++ b/src/server/scripts/Commands/PlayerCommand.cpp @@ -15,9 +15,11 @@ * with this program. If not, see . */ -#include "SpellInfo.h" #include "PlayerCommand.h" #include "Language.h" +#include "Player.h" +#include "SpellInfo.h" +#include "SpellMgr.h" bool Acore::PlayerCommand::HandleLearnSpellCommand(ChatHandler* handler, Player* targetPlayer, SpellInfo const* spell, Optional allRanks) { @@ -31,23 +33,34 @@ bool Acore::PlayerCommand::HandleLearnSpellCommand(ChatHandler* handler, Player* if (!allRanks && targetPlayer->HasSpell(spell->Id)) { if (targetPlayer == handler->GetPlayer()) + { handler->SendSysMessage(LANG_YOU_KNOWN_SPELL); + } else + { handler->PSendSysMessage(LANG_TARGET_KNOWN_SPELL, handler->GetNameLink(targetPlayer).c_str()); + } + handler->SetSentErrorMessage(true); return false; } targetPlayer->learnSpell(spell->Id, false); + if (allRanks) { uint32 spellId = spell->Id; + while ((spellId = sSpellMgr->GetNextSpellInChain(spellId))) + { targetPlayer->learnSpell(spellId, false); + } } if (GetTalentSpellCost(spell->GetFirstRankSpell()->Id)) + { targetPlayer->SendTalentsInfoData(false); + } return true; } @@ -55,16 +68,25 @@ bool Acore::PlayerCommand::HandleLearnSpellCommand(ChatHandler* handler, Player* bool Acore::PlayerCommand::HandleUnlearnSpellCommand(ChatHandler* handler, Player* target, SpellInfo const* spell, Optional allRanks) { uint32 spellId = spell->Id; + if (allRanks) - spellId = sSpellMgr->GetFirstSpellInChain (spellId); + { + spellId = sSpellMgr->GetFirstSpellInChain(spellId); + } if (target->HasSpell(spellId)) + { target->removeSpell(spellId, SPEC_MASK_ALL, false); + } else + { handler->SendSysMessage(LANG_FORGET_SPELL); + } if (GetTalentSpellCost(spellId)) + { target->SendTalentsInfoData(false); + } return true; } diff --git a/src/server/scripts/Commands/PlayerCommand.h b/src/server/scripts/Commands/PlayerCommand.h index 0d8807bbd..08603edb8 100644 --- a/src/server/scripts/Commands/PlayerCommand.h +++ b/src/server/scripts/Commands/PlayerCommand.h @@ -17,17 +17,17 @@ #ifndef _PLAYER_COMMAND_H #define _PLAYER_COMMAND_H -#include "Chat.h" -#include "Player.h" -namespace Acore +#include "Chat.h" +#include "Common.h" + +class Player; +class SpellInfo; + +namespace Acore::PlayerCommand { - // Used in player/character commands - namespace PlayerCommand - { - bool HandleLearnSpellCommand(ChatHandler* handler, Player* targetPlayer, SpellInfo const* spell, Optional allRanks); - bool HandleUnlearnSpellCommand(ChatHandler* handler, Player* targetPlayer, SpellInfo const* spell, Optional allRanks); - }; + bool HandleLearnSpellCommand(ChatHandler* handler, Player* targetPlayer, SpellInfo const* spell, Optional allRanks); + bool HandleUnlearnSpellCommand(ChatHandler* handler, Player* targetPlayer, SpellInfo const* spell, Optional allRanks); }; #endif // _PLAYER_COMMAND_H diff --git a/src/server/scripts/Commands/cs_account.cpp b/src/server/scripts/Commands/cs_account.cpp index cde632cb4..7d8125bfa 100644 --- a/src/server/scripts/Commands/cs_account.cpp +++ b/src/server/scripts/Commands/cs_account.cpp @@ -22,8 +22,8 @@ Comment: All account related commands Category: commandscripts EndScriptData */ -#include "AccountMgr.h" #include "AES.h" +#include "AccountMgr.h" #include "Base32.h" #include "Chat.h" #include "CryptoGenerics.h" diff --git a/src/server/scripts/Commands/cs_achievement.cpp b/src/server/scripts/Commands/cs_achievement.cpp index 26e6c697d..1fb43b2db 100644 --- a/src/server/scripts/Commands/cs_achievement.cpp +++ b/src/server/scripts/Commands/cs_achievement.cpp @@ -22,11 +22,11 @@ Comment: All achievement related commands Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "AchievementMgr.h" #include "Chat.h" #include "Language.h" #include "Player.h" +#include "ScriptMgr.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_bf.cpp b/src/server/scripts/Commands/cs_bf.cpp index c1a14a307..06bf77871 100644 --- a/src/server/scripts/Commands/cs_bf.cpp +++ b/src/server/scripts/Commands/cs_bf.cpp @@ -22,9 +22,9 @@ Comment: All bf related commands Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "BattlefieldMgr.h" #include "Chat.h" +#include "ScriptMgr.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_cache.cpp b/src/server/scripts/Commands/cs_cache.cpp index 6aea3fe43..3b8550d46 100644 --- a/src/server/scripts/Commands/cs_cache.cpp +++ b/src/server/scripts/Commands/cs_cache.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "ScriptMgr.h" #include "Chat.h" #include "Group.h" #include "Language.h" #include "Player.h" +#include "ScriptMgr.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_cast.cpp b/src/server/scripts/Commands/cs_cast.cpp index 337a90b3f..eb9d9f6dc 100644 --- a/src/server/scripts/Commands/cs_cast.cpp +++ b/src/server/scripts/Commands/cs_cast.cpp @@ -22,11 +22,11 @@ Comment: All cast related commands Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "Chat.h" #include "Creature.h" #include "Language.h" #include "Player.h" +#include "ScriptMgr.h" #include "SpellInfo.h" #include "SpellMgr.h" #include "WorldSession.h" diff --git a/src/server/scripts/Commands/cs_character.cpp b/src/server/scripts/Commands/cs_character.cpp index 5940ebc69..8348fb0af 100644 --- a/src/server/scripts/Commands/cs_character.cpp +++ b/src/server/scripts/Commands/cs_character.cpp @@ -22,17 +22,17 @@ Comment: All character related commands Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "AccountMgr.h" #include "Chat.h" -#include "DatabaseEnv.h" #include "DBCStores.h" +#include "DatabaseEnv.h" #include "Log.h" #include "ObjectAccessor.h" #include "ObjectMgr.h" #include "Player.h" #include "PlayerDump.h" #include "ReputationMgr.h" +#include "ScriptMgr.h" #include "World.h" #include "WorldSession.h" diff --git a/src/server/scripts/Commands/cs_cheat.cpp b/src/server/scripts/Commands/cs_cheat.cpp index 407fdaaef..e6919d0cc 100644 --- a/src/server/scripts/Commands/cs_cheat.cpp +++ b/src/server/scripts/Commands/cs_cheat.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "ScriptMgr.h" #include "Chat.h" #include "Language.h" #include "Player.h" +#include "ScriptMgr.h" #include "WorldSession.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_debug.cpp b/src/server/scripts/Commands/cs_debug.cpp index 3a8874a46..994d37951 100644 --- a/src/server/scripts/Commands/cs_debug.cpp +++ b/src/server/scripts/Commands/cs_debug.cpp @@ -22,7 +22,6 @@ Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "Bag.h" #include "BattlegroundMgr.h" #include "CellImpl.h" @@ -36,6 +35,7 @@ #include "MapMgr.h" #include "ObjectMgr.h" #include "PoolMgr.h" +#include "ScriptMgr.h" #include "SpellMgr.h" #include "Transport.h" #include "Warden.h" diff --git a/src/server/scripts/Commands/cs_deserter.cpp b/src/server/scripts/Commands/cs_deserter.cpp index b40c0e649..6018cee1b 100644 --- a/src/server/scripts/Commands/cs_deserter.cpp +++ b/src/server/scripts/Commands/cs_deserter.cpp @@ -22,10 +22,10 @@ * This file contains the CommandScripts for all deserter sub-commands */ -#include "ScriptMgr.h" #include "Chat.h" #include "Language.h" #include "Player.h" +#include "ScriptMgr.h" #include "SpellAuras.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_event.cpp b/src/server/scripts/Commands/cs_event.cpp index f04449567..3c4949e51 100644 --- a/src/server/scripts/Commands/cs_event.cpp +++ b/src/server/scripts/Commands/cs_event.cpp @@ -22,11 +22,11 @@ Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "Chat.h" #include "GameEventMgr.h" #include "Language.h" #include "Player.h" +#include "ScriptMgr.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_gm.cpp b/src/server/scripts/Commands/cs_gm.cpp index 287eb1f13..fb4e12af2 100644 --- a/src/server/scripts/Commands/cs_gm.cpp +++ b/src/server/scripts/Commands/cs_gm.cpp @@ -22,7 +22,6 @@ Comment: All gm related commands Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "AccountMgr.h" #include "Chat.h" #include "DatabaseEnv.h" @@ -31,6 +30,7 @@ EndScriptData */ #include "Opcodes.h" #include "Player.h" #include "Realm.h" +#include "ScriptMgr.h" #include "World.h" #include "WorldSession.h" diff --git a/src/server/scripts/Commands/cs_honor.cpp b/src/server/scripts/Commands/cs_honor.cpp index 89ecef986..52eac618c 100644 --- a/src/server/scripts/Commands/cs_honor.cpp +++ b/src/server/scripts/Commands/cs_honor.cpp @@ -22,10 +22,10 @@ Comment: All honor related commands Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "Chat.h" #include "Language.h" #include "Player.h" +#include "ScriptMgr.h" #include "WorldSession.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_instance.cpp b/src/server/scripts/Commands/cs_instance.cpp index 6846ad7d9..a1de1ebef 100644 --- a/src/server/scripts/Commands/cs_instance.cpp +++ b/src/server/scripts/Commands/cs_instance.cpp @@ -22,7 +22,6 @@ Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "Chat.h" #include "Group.h" #include "InstanceSaveMgr.h" @@ -31,6 +30,7 @@ #include "MapMgr.h" #include "ObjectAccessor.h" #include "Player.h" +#include "ScriptMgr.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_learn.cpp b/src/server/scripts/Commands/cs_learn.cpp index 10cb2da9a..6ea772dd4 100644 --- a/src/server/scripts/Commands/cs_learn.cpp +++ b/src/server/scripts/Commands/cs_learn.cpp @@ -22,11 +22,12 @@ Comment: All learn related commands Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "Language.h" #include "ObjectMgr.h" #include "Pet.h" +#include "Player.h" #include "PlayerCommand.h" +#include "ScriptMgr.h" #include "SpellInfo.h" #include "SpellMgr.h" diff --git a/src/server/scripts/Commands/cs_lfg.cpp b/src/server/scripts/Commands/cs_lfg.cpp index 07166b5d7..681de4235 100644 --- a/src/server/scripts/Commands/cs_lfg.cpp +++ b/src/server/scripts/Commands/cs_lfg.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ -#include "ScriptMgr.h" #include "Chat.h" #include "DatabaseEnv.h" #include "Group.h" -#include "Language.h" #include "LFGMgr.h" +#include "Language.h" #include "Player.h" +#include "ScriptMgr.h" void GetPlayerInfo(ChatHandler* handler, Player* player) { diff --git a/src/server/scripts/Commands/cs_list.cpp b/src/server/scripts/Commands/cs_list.cpp index b381cc591..137a55f68 100644 --- a/src/server/scripts/Commands/cs_list.cpp +++ b/src/server/scripts/Commands/cs_list.cpp @@ -22,11 +22,10 @@ Comment: All list related commands Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "Chat.h" #include "Creature.h" -#include "DatabaseEnv.h" #include "DBCStores.h" +#include "DatabaseEnv.h" #include "GameObject.h" #include "Language.h" #include "MapMgr.h" @@ -34,6 +33,7 @@ EndScriptData */ #include "ObjectMgr.h" #include "Player.h" #include "Random.h" +#include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "WorldSession.h" diff --git a/src/server/scripts/Commands/cs_lookup.cpp b/src/server/scripts/Commands/cs_lookup.cpp index 998c505a0..f08ef1cb2 100644 --- a/src/server/scripts/Commands/cs_lookup.cpp +++ b/src/server/scripts/Commands/cs_lookup.cpp @@ -32,6 +32,7 @@ EndScriptData */ #include "ReputationMgr.h" #include "ScriptMgr.h" #include "SpellInfo.h" +#include "SpellMgr.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_message.cpp b/src/server/scripts/Commands/cs_message.cpp index 216a06658..e09247078 100644 --- a/src/server/scripts/Commands/cs_message.cpp +++ b/src/server/scripts/Commands/cs_message.cpp @@ -22,16 +22,16 @@ Comment: All message related commands Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "Channel.h" #include "ChannelMgr.h" #include "Chat.h" -#include "DatabaseEnv.h" #include "DBCStores.h" +#include "DatabaseEnv.h" #include "Language.h" #include "ObjectAccessor.h" #include "ObjectMgr.h" #include "Player.h" +#include "ScriptMgr.h" #include "World.h" #include "WorldSession.h" diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp index a2f80bca9..83a4e5844 100644 --- a/src/server/scripts/Commands/cs_misc.cpp +++ b/src/server/scripts/Commands/cs_misc.cpp @@ -23,13 +23,14 @@ #include "Chat.h" #include "GameGraveyard.h" #include "GridNotifiers.h" +#include "GridNotifiersImpl.h" #include "Group.h" #include "GroupMgr.h" #include "GuildMgr.h" -#include "InstanceSaveMgr.h" #include "IPLocation.h" -#include "Language.h" +#include "InstanceSaveMgr.h" #include "LFG.h" +#include "Language.h" #include "MapMgr.h" #include "MovementGenerator.h" #include "ObjectAccessor.h" diff --git a/src/server/scripts/Commands/cs_mmaps.cpp b/src/server/scripts/Commands/cs_mmaps.cpp index 14cdc3603..275437482 100644 --- a/src/server/scripts/Commands/cs_mmaps.cpp +++ b/src/server/scripts/Commands/cs_mmaps.cpp @@ -27,8 +27,8 @@ #include "Chat.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" -#include "Map.h" #include "MMapFactory.h" +#include "Map.h" #include "ObjectMgr.h" #include "PathGenerator.h" #include "Player.h" diff --git a/src/server/scripts/Commands/cs_player.cpp b/src/server/scripts/Commands/cs_player.cpp index 5fbab32d4..af7fe6867 100644 --- a/src/server/scripts/Commands/cs_player.cpp +++ b/src/server/scripts/Commands/cs_player.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptMgr.h" #include "PlayerCommand.h" +#include "ScriptMgr.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_reload.cpp b/src/server/scripts/Commands/cs_reload.cpp index d5a3c6920..0c1b73d99 100644 --- a/src/server/scripts/Commands/cs_reload.cpp +++ b/src/server/scripts/Commands/cs_reload.cpp @@ -29,8 +29,8 @@ EndScriptData */ #include "CreatureTextMgr.h" #include "DisableMgr.h" #include "GameGraveyard.h" -#include "Language.h" #include "LFGMgr.h" +#include "Language.h" #include "MapMgr.h" #include "ObjectMgr.h" #include "ScriptMgr.h" @@ -38,11 +38,11 @@ EndScriptData */ #include "SkillExtraItems.h" #include "SmartAI.h" #include "SpellMgr.h" +#include "StringConvert.h" #include "TicketMgr.h" +#include "Tokenize.h" #include "WardenCheckMgr.h" #include "WaypointMgr.h" -#include "StringConvert.h" -#include "Tokenize.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_server.cpp b/src/server/scripts/Commands/cs_server.cpp index ce0b8ab11..1759e1042 100644 --- a/src/server/scripts/Commands/cs_server.cpp +++ b/src/server/scripts/Commands/cs_server.cpp @@ -35,11 +35,11 @@ #include "StringConvert.h" #include "VMapFactory.h" #include "VMapMgr2.h" -#include #include +#include +#include #include #include -#include using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_tele.cpp b/src/server/scripts/Commands/cs_tele.cpp index e8dd2c11d..ea552f59d 100644 --- a/src/server/scripts/Commands/cs_tele.cpp +++ b/src/server/scripts/Commands/cs_tele.cpp @@ -22,13 +22,13 @@ Comment: All tele related commands Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "Chat.h" #include "Group.h" #include "Language.h" #include "MapMgr.h" #include "ObjectMgr.h" #include "Player.h" +#include "ScriptMgr.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/Commands/cs_titles.cpp b/src/server/scripts/Commands/cs_titles.cpp index d827bcddf..4482e8267 100644 --- a/src/server/scripts/Commands/cs_titles.cpp +++ b/src/server/scripts/Commands/cs_titles.cpp @@ -22,11 +22,11 @@ Comment: All titles related commands Category: commandscripts EndScriptData */ -#include "ScriptMgr.h" #include "Chat.h" #include "DBCStores.h" #include "Language.h" #include "Player.h" +#include "ScriptMgr.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/EasternKingdoms/AlteracValley/alterac_valley.cpp b/src/server/scripts/EasternKingdoms/AlteracValley/alterac_valley.cpp index 8741033a2..ee428aeab 100644 --- a/src/server/scripts/EasternKingdoms/AlteracValley/alterac_valley.cpp +++ b/src/server/scripts/EasternKingdoms/AlteracValley/alterac_valley.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp b/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp index 4c49a8106..d2c22a516 100644 --- a/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp +++ b/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/AlteracValley/boss_drekthar.cpp b/src/server/scripts/EasternKingdoms/AlteracValley/boss_drekthar.cpp index fb16dda8f..f9a1019a3 100644 --- a/src/server/scripts/EasternKingdoms/AlteracValley/boss_drekthar.cpp +++ b/src/server/scripts/EasternKingdoms/AlteracValley/boss_drekthar.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/AlteracValley/boss_galvangar.cpp b/src/server/scripts/EasternKingdoms/AlteracValley/boss_galvangar.cpp index 465e6d7fe..548d235a0 100644 --- a/src/server/scripts/EasternKingdoms/AlteracValley/boss_galvangar.cpp +++ b/src/server/scripts/EasternKingdoms/AlteracValley/boss_galvangar.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/AlteracValley/boss_vanndar.cpp b/src/server/scripts/EasternKingdoms/AlteracValley/boss_vanndar.cpp index 4a7cbf944..f28d7d202 100644 --- a/src/server/scripts/EasternKingdoms/AlteracValley/boss_vanndar.cpp +++ b/src/server/scripts/EasternKingdoms/AlteracValley/boss_vanndar.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" enum Yells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp index 96eea66f9..22bfef0a9 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp @@ -17,10 +17,10 @@ #include "blackrock_depths.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "WorldSession.h" enum ShadowforgeBrazier diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_ambassador_flamelash.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_ambassador_flamelash.cpp index 01734f1b7..d851ae958 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_ambassador_flamelash.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_ambassador_flamelash.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_depths.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_depths.h" #include enum Spells diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_anubshiah.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_anubshiah.cpp index eefbb4dfa..a5a490cdf 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_anubshiah.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_anubshiah.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_depths.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_depths.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_emperor_dagran_thaurissan.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_emperor_dagran_thaurissan.cpp index e1231d3e4..19c564bb1 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_emperor_dagran_thaurissan.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_emperor_dagran_thaurissan.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_depths.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_depths.h" enum Yells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_general_angerforge.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_general_angerforge.cpp index 2e2ce0a92..fd73eed5b 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_general_angerforge.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_general_angerforge.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_depths.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_depths.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_gorosh_the_dervish.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_gorosh_the_dervish.cpp index bd797adcd..d715e0219 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_gorosh_the_dervish.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_gorosh_the_dervish.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_depths.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_depths.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_grizzle.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_grizzle.cpp index 1f0424311..100d62528 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_grizzle.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_grizzle.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_depths.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_depths.h" enum Grizzle { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_high_interrogator_gerstahn.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_high_interrogator_gerstahn.cpp index ce684a205..7549d6527 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_high_interrogator_gerstahn.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_high_interrogator_gerstahn.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_depths.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_depths.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_magmus.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_magmus.cpp index 5f89d0589..2f514e172 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_magmus.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_magmus.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_depths.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_depths.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_moira_bronzebeard.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_moira_bronzebeard.cpp index 528c6b111..ff908e653 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_moira_bronzebeard.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_moira_bronzebeard.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_depths.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_depths.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_tomb_of_seven.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_tomb_of_seven.cpp index 32af3b4df..9f3e33ea9 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_tomb_of_seven.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_tomb_of_seven.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "blackrock_depths.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" +#include "blackrock_depths.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/instance_blackrock_depths.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/instance_blackrock_depths.cpp index fb1974a09..79c50c858 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/instance_blackrock_depths.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/instance_blackrock_depths.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "blackrock_depths.h" -#include "Player.h" #include "InstanceScript.h" +#include "Player.h" #include "ScriptMgr.h" +#include "blackrock_depths.h" #define MAX_ENCOUNTER 6 diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_drakkisath.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_drakkisath.cpp index 80c553b70..17027020e 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_drakkisath.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_drakkisath.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_spire.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_spire.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_gyth.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_gyth.cpp index 66d73aebe..68c47301e 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_gyth.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_gyth.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_spire.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_spire.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_halycon.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_halycon.cpp index a70fce59a..ebccd22cc 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_halycon.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_halycon.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_spire.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_spire.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_highlord_omokk.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_highlord_omokk.cpp index 6114530ab..d989057f8 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_highlord_omokk.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_highlord_omokk.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_spire.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_spire.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_lord_valthalak.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_lord_valthalak.cpp index b8236d2df..efe5c6e5d 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_lord_valthalak.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_lord_valthalak.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_spire.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_spire.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_overlord_wyrmthalak.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_overlord_wyrmthalak.cpp index 472d24416..c47cdb6e5 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_overlord_wyrmthalak.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_overlord_wyrmthalak.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_spire.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_spire.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_pyroguard_emberseer.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_pyroguard_emberseer.cpp index b5cba5ddc..7f5f9eb73 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_pyroguard_emberseer.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_pyroguard_emberseer.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ -#include "blackrock_spire.h" #include "ObjectMgr.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" +#include "blackrock_spire.h" enum Text { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_quartermaster_zigris.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_quartermaster_zigris.cpp index d8f6bdc5d..da4b1e2b5 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_quartermaster_zigris.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_quartermaster_zigris.cpp @@ -16,9 +16,9 @@ */ #include "ScriptMgr.h" -#include "blackrock_spire.h" #include "ScriptedCreature.h" #include "SpellInfo.h" +#include "blackrock_spire.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_rend_blackhand.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_rend_blackhand.cpp index 2a7b438ee..623fc7d23 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_rend_blackhand.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_rend_blackhand.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "blackrock_spire.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_spire.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_the_beast.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_the_beast.cpp index 52bee00c2..ee6c239ee 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_the_beast.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_the_beast.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "blackrock_spire.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_spire.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_urok_doomhowl.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_urok_doomhowl.cpp index b501026a3..1244af65b 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_urok_doomhowl.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_urok_doomhowl.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_spire.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_spire.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_warmaster_voone.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_warmaster_voone.cpp index 8b56e781c..e747e20c0 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_warmaster_voone.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_warmaster_voone.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackrock_spire.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_spire.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/instance_blackrock_spire.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/instance_blackrock_spire.cpp index 799991ccd..ed5cd03a5 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/instance_blackrock_spire.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/instance_blackrock_spire.cpp @@ -15,7 +15,6 @@ * with this program. If not, see . */ -#include "blackrock_spire.h" #include "Cell.h" #include "CellImpl.h" #include "GridNotifiers.h" @@ -23,8 +22,9 @@ #include "InstanceScript.h" #include "ObjectDefines.h" #include "ObjectMgr.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackrock_spire.h" uint32 const DragonspireMobs[3] = { NPC_BLACKHAND_DREADWEAVER, NPC_BLACKHAND_SUMMONER, NPC_BLACKHAND_VETERAN }; diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_broodlord_lashlayer.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_broodlord_lashlayer.cpp index b5ce73efa..3a0caac59 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_broodlord_lashlayer.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_broodlord_lashlayer.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ -#include "blackwing_lair.h" #include "GameObject.h" #include "GameObjectAI.h" #include "InstanceScript.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackwing_lair.h" enum Say { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp index df48b8f23..9d6bcb903 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp @@ -15,14 +15,14 @@ * with this program. If not, see . */ -#include "blackwing_lair.h" #include "GameObject.h" #include "GameObjectAI.h" #include "InstanceScript.h" #include "Map.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackwing_lair.h" enum Emotes { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_ebonroc.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_ebonroc.cpp index 40efe427d..91291b6cf 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_ebonroc.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_ebonroc.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackwing_lair.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackwing_lair.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_firemaw.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_firemaw.cpp index 75ff391ff..00c185413 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_firemaw.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_firemaw.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackwing_lair.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackwing_lair.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_flamegor.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_flamegor.cpp index 05fd83114..01bb29467 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_flamegor.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_flamegor.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackwing_lair.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blackwing_lair.h" enum Emotes { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_nefarian.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_nefarian.cpp index 7c5e7952a..4cbe9f0e2 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_nefarian.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_nefarian.cpp @@ -15,15 +15,15 @@ * with this program. If not, see . */ -#include "blackwing_lair.h" #include "GameObject.h" #include "InstanceScript.h" #include "MotionMaster.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "TemporarySummon.h" +#include "blackwing_lair.h" enum Events { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp index 44fe2a5c6..9365c510e 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "blackwing_lair.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "blackwing_lair.h" enum Say { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_vaelastrasz.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_vaelastrasz.cpp index 5619d1dec..1bcda807a 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_vaelastrasz.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_vaelastrasz.cpp @@ -15,14 +15,14 @@ * with this program. If not, see . */ -#include "blackwing_lair.h" #include "ObjectAccessor.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellScript.h" +#include "blackwing_lair.h" constexpr float aNefariusSpawnLoc[4] = { -7466.16f, -1040.80f, 412.053f, 2.14675f }; diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/instance_blackwing_lair.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/instance_blackwing_lair.cpp index 4eeaa3f3e..28b5fd823 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/instance_blackwing_lair.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/instance_blackwing_lair.cpp @@ -15,17 +15,17 @@ * with this program. If not, see . */ -#include "blackwing_lair.h" #include "GameObject.h" #include "InstanceScript.h" #include "Map.h" #include "MotionMaster.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "TemporarySummon.h" +#include "blackwing_lair.h" DoorData const doorData[] = { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_baron_geddon.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_baron_geddon.cpp index 18dc750ca..21e9b76b1 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_baron_geddon.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_baron_geddon.cpp @@ -17,9 +17,9 @@ #include "ScriptMgr.h" #include "ScriptedCreature.h" -#include "molten_core.h" #include "SpellAuraEffects.h" #include "SpellScript.h" +#include "molten_core.h" enum Emotes { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_garr.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_garr.cpp index 78490c806..7fe3052d0 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_garr.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_garr.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "ScriptMgr.h" #include "Containers.h" #include "ObjectAccessor.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "SpellAuras.h" #include "SpellInfo.h" diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_golemagg.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_golemagg.cpp index 1b1c50555..f34191403 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_golemagg.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_golemagg.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "ObjectAccessor.h" +#include "ObjectMgr.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" #include "molten_core.h" -#include "ObjectMgr.h" -#include "ObjectAccessor.h" enum Texts { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_magmadar.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_magmadar.cpp index 0e52b99eb..14fa986b6 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_magmadar.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_magmadar.cpp @@ -16,8 +16,8 @@ */ #include "ScriptMgr.h" -#include "SpellScript.h" #include "ScriptedCreature.h" +#include "SpellScript.h" #include "molten_core.h" enum Texts diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_majordomo_executus.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_majordomo_executus.cpp index b9ab56ed3..585fd151b 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_majordomo_executus.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_majordomo_executus.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ +#include "ObjectAccessor.h" +#include "Player.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" -#include "molten_core.h" -#include "Player.h" #include "ScriptedGossip.h" -#include "ObjectAccessor.h" #include "SpellScript.h" +#include "molten_core.h" enum Texts { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_shazzrah.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_shazzrah.cpp index df2c74020..9bc0cf626 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_shazzrah.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_shazzrah.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "Player.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" #include "SpellScript.h" #include "molten_core.h" -#include "Player.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/instance_molten_core.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/instance_molten_core.cpp index 8f3990a91..8dd5aa75a 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/instance_molten_core.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/instance_molten_core.cpp @@ -15,12 +15,10 @@ * with this program. If not, see . */ -#include "ScriptMgr.h" #include "InstanceScript.h" #include "ObjectMgr.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" -#include "InstanceScript.h" #include "TemporarySummon.h" #include "molten_core.h" diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/molten_core.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/molten_core.cpp index d0b3d7f5c..a6787a661 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/molten_core.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/molten_core.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ +#include "molten_core.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" #include "SpellScript.h" -#include "molten_core.h" enum Texts { diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/molten_core.h b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/molten_core.h index 9706e300e..8453443ba 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/molten_core.h +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/molten_core.h @@ -18,7 +18,10 @@ #ifndef DEF_MOLTEN_CORE_H #define DEF_MOLTEN_CORE_H -#define MCScriptName "instance_molten_core" +#include "CreatureAIImpl.h" +#include "Object.h" + +constexpr auto MCScriptName = "instance_molten_core"; constexpr uint32 MAX_ENCOUNTER = 10; diff --git a/src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp b/src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp index 783307bd4..0e8f95920 100644 --- a/src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp +++ b/src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "deadmines.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "deadmines.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/Deadmines/instance_deadmines.cpp b/src/server/scripts/EasternKingdoms/Deadmines/instance_deadmines.cpp index 333ad6bbf..e09d0bd4a 100644 --- a/src/server/scripts/EasternKingdoms/Deadmines/instance_deadmines.cpp +++ b/src/server/scripts/EasternKingdoms/Deadmines/instance_deadmines.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "deadmines.h" #include "InstanceScript.h" #include "ScriptMgr.h" +#include "deadmines.h" class instance_deadmines : public InstanceMapScript { diff --git a/src/server/scripts/EasternKingdoms/Gnomeregan/instance_gnomeregan.cpp b/src/server/scripts/EasternKingdoms/Gnomeregan/instance_gnomeregan.cpp index 657c79daf..209fbe8a1 100644 --- a/src/server/scripts/EasternKingdoms/Gnomeregan/instance_gnomeregan.cpp +++ b/src/server/scripts/EasternKingdoms/Gnomeregan/instance_gnomeregan.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ -#include "gnomeregan.h" #include "InstanceScript.h" #include "PassiveAI.h" #include "Player.h" #include "ScriptMgr.h" #include "SpellScript.h" +#include "gnomeregan.h" class instance_gnomeregan : public InstanceMapScript { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_curator.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_curator.cpp index 01bb97fe7..a9d19d369 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_curator.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_curator.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "karazhan.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "karazhan.h" enum Curator { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_maiden_of_virtue.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_maiden_of_virtue.cpp index 5b37e4ed1..e00717cc0 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_maiden_of_virtue.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_maiden_of_virtue.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "karazhan.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "karazhan.h" enum MaidenOfVirtue { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_midnight.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_midnight.cpp index b73f7f9b2..a4508d985 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_midnight.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_midnight.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "karazhan.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "SpellScript.h" +#include "karazhan.h" enum eSay { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp index 17390e894..e10681240 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "karazhan.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "karazhan.h" enum Yells { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp index 5402dc63f..5696ff47f 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp @@ -22,10 +22,10 @@ SDComment: Not sure about timing and portals placing SDCategory: Karazhan EndScriptData */ -#include "karazhan.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "karazhan.h" enum Netherspite { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp index cdbfb04bf..6cb14a9f7 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp @@ -22,10 +22,10 @@ SDComment: SDComment: Timers may incorrect SDCategory: Karazhan EndScriptData */ -#include "karazhan.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "karazhan.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp index 5d5532148..02a26e729 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "karazhan.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" +#include "karazhan.h" enum PrinceSay { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_servant_quarters.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_servant_quarters.cpp index ccb3b36c3..bc592f5ab 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_servant_quarters.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_servant_quarters.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "karazhan.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "karazhan.h" enum ServantQuartersSpells { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp index ee9c43c30..697a9a634 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp @@ -16,10 +16,10 @@ */ #include "GameObject.h" -#include "karazhan.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" +#include "karazhan.h" enum ShadeOfAran { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp index 1e50b87d0..cf8a30391 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp @@ -22,10 +22,10 @@ SDComment: Complete! Needs adjustments to use spell though. SDCategory: Karazhan EndScriptData */ -#include "karazhan.h" #include "PassiveAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "karazhan.h" enum TerestianIllhoof { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp b/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp index 02d9c0a6e..bc1d46c7e 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp @@ -22,12 +22,12 @@ SDComment: Oz, Hood, and RAJ event implemented. RAJ event requires more testing. SDCategory: Karazhan EndScriptData */ -#include "karazhan.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" +#include "karazhan.h" /***********************************/ /*** OPERA WIZARD OF OZ EVENT *****/ diff --git a/src/server/scripts/EasternKingdoms/Karazhan/instance_karazhan.cpp b/src/server/scripts/EasternKingdoms/Karazhan/instance_karazhan.cpp index e48426fc0..63295adc1 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/instance_karazhan.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/instance_karazhan.cpp @@ -18,12 +18,12 @@ #include "Creature.h" #include "GameObject.h" #include "InstanceScript.h" -#include "karazhan.h" #include "Map.h" #include "Player.h" #include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellScript.h" +#include "karazhan.h" const Position OptionalSpawn[] = { diff --git a/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp b/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp index 8aed47c27..42aa32050 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp @@ -30,10 +30,10 @@ EndContentData */ #include "karazhan.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp index 7b8e2a643..62f12da03 100644 --- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp +++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "magisters_terrace.h" #include "Opcodes.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "magisters_terrace.h" enum Says { diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp index f45c156e8..cc6305adf 100644 --- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp +++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "magisters_terrace.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "magisters_terrace.h" enum Yells { diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp index 090e2bb0f..e39511f7d 100644 --- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp +++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "magisters_terrace.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "magisters_terrace.h" enum Says { diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp index cd6347cac..41fb661e1 100644 --- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp +++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "magisters_terrace.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "magisters_terrace.h" enum Yells { diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp index cb1ad6c33..10476d569 100644 --- a/src/server/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp +++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp @@ -16,8 +16,8 @@ */ #include "InstanceScript.h" -#include "magisters_terrace.h" #include "ScriptMgr.h" +#include "magisters_terrace.h" class instance_magisters_terrace : public InstanceMapScript { diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/magisters_terrace.h b/src/server/scripts/EasternKingdoms/MagistersTerrace/magisters_terrace.h index 41cd47ab2..0aac2e80e 100644 --- a/src/server/scripts/EasternKingdoms/MagistersTerrace/magisters_terrace.h +++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/magisters_terrace.h @@ -19,9 +19,9 @@ #define DEF_MAGISTERS_TERRACE_H #include "CreatureAI.h" +#include "CreatureAIImpl.h" #include "Player.h" #include "SpellScript.h" -#include "CreatureAIImpl.h" #define MTScriptName "instance_magisters_terrace" diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp index 474107318..de7d4d0a6 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp @@ -20,10 +20,10 @@ #include "ObjectMgr.h" #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" #include "SpellScript.h" #include "Vehicle.h" diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp index d444a14b7..e9c596ace 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp @@ -18,9 +18,9 @@ #include "CombatAI.h" #include "CreatureTextMgr.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" #include "SpellInfo.h" #include "SpellScript.h" diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp index bd27b6cf5..ca87bc00a 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp @@ -16,9 +16,9 @@ */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellScript.h" enum LightOfDawnSays diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/zone_the_scarlet_enclave.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/zone_the_scarlet_enclave.cpp index 4e8cbcea2..d392dcd54 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/zone_the_scarlet_enclave.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/zone_the_scarlet_enclave.cpp @@ -17,8 +17,8 @@ #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" /*#### ## npc_valkyr_battle_maiden diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/instance_scarlet_monastery.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/instance_scarlet_monastery.cpp index 35e3b273f..f416f0928 100644 --- a/src/server/scripts/EasternKingdoms/ScarletMonastery/instance_scarlet_monastery.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/instance_scarlet_monastery.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "scarletmonastery.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SmartAI.h" +#include "scarletmonastery.h" enum AshbringerEventMisc { diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp index bdb480a3a..484f9ccb8 100644 --- a/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp +++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ -#include "scholomance.h" -#include "ScriptedCreature.h" -#include "ScriptMgr.h" -#include "SpellScript.h" #include "Map.h" #include "Player.h" +#include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "SpellScript.h" +#include "scholomance.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_kirtonos_the_herald.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_kirtonos_the_herald.cpp index 1689d4321..7028dfa92 100644 --- a/src/server/scripts/EasternKingdoms/Scholomance/boss_kirtonos_the_herald.cpp +++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_kirtonos_the_herald.cpp @@ -18,9 +18,9 @@ #include "GameObjectAI.h" #include "MoveSplineInit.h" #include "Player.h" -#include "scholomance.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "scholomance.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/Scholomance/instance_scholomance.cpp b/src/server/scripts/EasternKingdoms/Scholomance/instance_scholomance.cpp index 43b7a265e..5c10b5dab 100644 --- a/src/server/scripts/EasternKingdoms/Scholomance/instance_scholomance.cpp +++ b/src/server/scripts/EasternKingdoms/Scholomance/instance_scholomance.cpp @@ -18,11 +18,11 @@ #include "GameObjectAI.h" #include "InstanceScript.h" #include "Player.h" -#include "scholomance.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "SpellScript.h" +#include "scholomance.h" Position KirtonosSpawn = Position(315.028, 70.5385, 102.15, 0.385971); diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp index 2bc7ce0fa..497e6ec97 100644 --- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp +++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp @@ -17,8 +17,8 @@ #include "InstanceScript.h" #include "ScriptMgr.h" -#include "shadowfang_keep.h" #include "TemporarySummon.h" +#include "shadowfang_keep.h" //enum Creatures //{ diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_baroness_anastari.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_baroness_anastari.cpp index 1bdaf7fb5..25402e239 100644 --- a/src/server/scripts/EasternKingdoms/Stratholme/boss_baroness_anastari.cpp +++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_baroness_anastari.cpp @@ -20,8 +20,8 @@ #include "Player.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" -#include "stratholme.h" #include "TaskScheduler.h" +#include "stratholme.h" enum Spells { diff --git a/src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp b/src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp index 78600908f..b23389e95 100644 --- a/src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp +++ b/src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp @@ -17,8 +17,8 @@ #include "InstanceScript.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "stratholme.h" const Position BlackGuardPos[10] = diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp index 184dd4e1e..3e3dff011 100644 --- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp +++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp @@ -15,8 +15,9 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "WorldSession.h" #include "sunwell_plateau.h" enum Quotes diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp index 9cc4a35e5..242cf617f 100644 --- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp +++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "sunwell_plateau.h" diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp index b456f9494..077969190 100644 --- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp +++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp @@ -18,8 +18,8 @@ #include "Cell.h" #include "CellImpl.h" #include "GridNotifiers.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "sunwell_plateau.h" enum Yells diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp index 904eb761d..5e192bdaf 100644 --- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp +++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp @@ -16,10 +16,10 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" -#include "sunwell_plateau.h" +#include "ScriptedCreature.h" #include "WorldSession.h" +#include "sunwell_plateau.h" enum Yells { diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp index 963b347f2..857034002 100644 --- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp +++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp @@ -17,8 +17,8 @@ #include "CreatureTextMgr.h" #include "MoveSplineInit.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "sunwell_plateau.h" enum Yells diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp index 95e5597fb..f41a607f4 100644 --- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp +++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "sunwell_plateau.h" diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp index bb2ce7a1b..d61c5681b 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp @@ -28,8 +28,8 @@ EndScriptData */ #include "CellImpl.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Weather.h" #include "zulaman.h" diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp index f85518b99..6efac7b52 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "zulaman.h" diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp index c513597d2..619c8db6d 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp @@ -22,8 +22,8 @@ SDComment: SDCategory: Zul'Aman EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "zulaman.h" diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp index 2030c3b0a..33d63de41 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp @@ -24,8 +24,9 @@ EndScriptData */ #include "CellImpl.h" #include "GridNotifiers.h" -#include "ScriptedCreature.h" +#include "GridNotifiersImpl.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "zulaman.h" enum Yells diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp index f78647372..ab394c309 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp @@ -25,8 +25,8 @@ EndScriptData */ #include "CellImpl.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "zulaman.h" enum Spells diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp index c14a72c1b..5b56e15b7 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp @@ -21,8 +21,8 @@ SD%Complete: 85% SDComment: EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "zulaman.h" diff --git a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp index 14e61de9d..1c1ab3a9e 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp @@ -26,13 +26,13 @@ EndScriptData */ npc_forest_frog EndContentData */ +#include "zulaman.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" #include "SpellScript.h" -#include "zulaman.h" /*###### ## npc_forest_frog diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_arlokk.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_arlokk.cpp index 78895f336..e6d1ed3ff 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_arlokk.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_arlokk.cpp @@ -24,8 +24,8 @@ TCComment: Can't test LOS until mmaps. TCCategory: Zul'Gurub EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "zulgurub.h" diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_gahzranka.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_gahzranka.cpp index 0bfd00ae7..33deb0f06 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_gahzranka.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_gahzranka.cpp @@ -22,8 +22,8 @@ SDComment: Massive Geyser with knockback not working. Spell buggy. SDCategory: Zul'Gurub EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "zulgurub.h" enum Spells diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp index 7e71aa5b9..9ca0b572e 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp @@ -22,8 +22,8 @@ SDComment: SDCategory: Zul'Gurub EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "zulgurub.h" enum Spells diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp index dbca29f5f..40085ad1f 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp @@ -22,9 +22,9 @@ Comment: Blood siphon spell buggy cause of Core Issue. Category: Zul'Gurub */ -#include "ScriptedCreature.h" -#include "ScriptMgr.h" #include "Player.h" +#include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "zulgurub.h" enum Says diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp index b7c7b131d..a94fb1246 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp @@ -22,8 +22,8 @@ SDComment: SDCategory: Zul'Gurub EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "zulgurub.h" enum Spells diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp index d5ada248f..37d410028 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "zulgurub.h" enum Says diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp index 2d7a9c604..69992f499 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp @@ -22,8 +22,8 @@ SDComment: Mind Control not working because of core bug. Shades visible for all. SDCategory: Zul'Gurub EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "zulgurub.h" enum Say diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp index 7c7ad2856..371329b7b 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp @@ -22,8 +22,8 @@ SDComment: Ohgan function needs improvements. SDCategory: Zul'Gurub EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" #include "SpellAuras.h" #include "SpellScript.h" diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp index 7977dbef4..886a7c86d 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp @@ -22,8 +22,8 @@ SDComment: Charging healers and casters not working. Perhaps wrong Spell Timers. SDCategory: Zul'Gurub EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "zulgurub.h" enum Says diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp index 051dded0d..7dc920552 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp @@ -22,8 +22,8 @@ SDComment: SDCategory: Zul'Gurub EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "zulgurub.h" enum Spells diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp index baa08fb68..8b5ad9836 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp @@ -22,8 +22,8 @@ SDComment: Almost finished. SDCategory: Zul'Gurub EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "zulgurub.h" enum Says diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_venoxis.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_venoxis.cpp index 53a8e8ef6..0a82824cf 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_venoxis.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_venoxis.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" #include "zulgurub.h" diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_wushoolay.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_wushoolay.cpp index 56095f8a6..6cae4f573 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_wushoolay.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_wushoolay.cpp @@ -22,8 +22,8 @@ SDComment: SDCategory: Zul'Gurub EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "zulgurub.h" enum Spells diff --git a/src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp b/src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp index 39ae94684..3817dc302 100644 --- a/src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp +++ b/src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp @@ -27,9 +27,9 @@ npc_professor_phizzlethorpe EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" /*###### ## npc_professor_phizzlethorpe diff --git a/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp b/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp index 13b9a9d9f..97d0de989 100644 --- a/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp +++ b/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp @@ -22,8 +22,8 @@ Quest support: 3628. Teleporter to Rise of the Defiler. #include "Group.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" /*##### diff --git a/src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp b/src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp index fe5e25a71..6ebb65ac5 100644 --- a/src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp +++ b/src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp @@ -17,8 +17,8 @@ #include "Player.h" #include "ScriptMgr.h" -#include "ScriptedGossip.h" #include "ScriptedCreature.h" +#include "ScriptedGossip.h" /*###### ## NPC 9836: Maredis Firestar diff --git a/src/server/scripts/EasternKingdoms/zone_duskwood.cpp b/src/server/scripts/EasternKingdoms/zone_duskwood.cpp index 5fed80825..cf1ec7508 100644 --- a/src/server/scripts/EasternKingdoms/zone_duskwood.cpp +++ b/src/server/scripts/EasternKingdoms/zone_duskwood.cpp @@ -23,8 +23,8 @@ SDCategory: Duskwood EndScriptData */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" enum TwilightCorrupter { diff --git a/src/server/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp b/src/server/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp index 589f05f07..83d9c06f9 100644 --- a/src/server/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp +++ b/src/server/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp @@ -31,9 +31,9 @@ EndContentData */ #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" #include "WorldSession.h" diff --git a/src/server/scripts/EasternKingdoms/zone_ghostlands.cpp b/src/server/scripts/EasternKingdoms/zone_ghostlands.cpp index 0a8660e6e..c342629d5 100644 --- a/src/server/scripts/EasternKingdoms/zone_ghostlands.cpp +++ b/src/server/scripts/EasternKingdoms/zone_ghostlands.cpp @@ -27,10 +27,10 @@ npc_ranger_lilatha EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" /*###### ## npc_ranger_lilatha diff --git a/src/server/scripts/EasternKingdoms/zone_hinterlands.cpp b/src/server/scripts/EasternKingdoms/zone_hinterlands.cpp index 0953f5c07..6df6984a5 100644 --- a/src/server/scripts/EasternKingdoms/zone_hinterlands.cpp +++ b/src/server/scripts/EasternKingdoms/zone_hinterlands.cpp @@ -27,9 +27,9 @@ npc_rinji EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" /*###### ## npc_rinji diff --git a/src/server/scripts/EasternKingdoms/zone_isle_of_queldanas.cpp b/src/server/scripts/EasternKingdoms/zone_isle_of_queldanas.cpp index 9619c18af..9cf6e6ea7 100644 --- a/src/server/scripts/EasternKingdoms/zone_isle_of_queldanas.cpp +++ b/src/server/scripts/EasternKingdoms/zone_isle_of_queldanas.cpp @@ -30,8 +30,8 @@ EndContentData */ #include "PassiveAI.h" #include "Pet.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "SpellScript.h" diff --git a/src/server/scripts/EasternKingdoms/zone_redridge_mountains.cpp b/src/server/scripts/EasternKingdoms/zone_redridge_mountains.cpp index eb709e6c6..f9ae7e620 100644 --- a/src/server/scripts/EasternKingdoms/zone_redridge_mountains.cpp +++ b/src/server/scripts/EasternKingdoms/zone_redridge_mountains.cpp @@ -22,9 +22,9 @@ SDComment: Support for quest 219. Script Data End */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" enum CorporalKeeshan { diff --git a/src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp b/src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp index 6582b7b3f..0cfdf5afa 100644 --- a/src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp +++ b/src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp @@ -28,9 +28,9 @@ pyrewood_ambush EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" /*###### ## npc_deathstalker_erland diff --git a/src/server/scripts/EasternKingdoms/zone_stormwind_city.cpp b/src/server/scripts/EasternKingdoms/zone_stormwind_city.cpp index 53a60cfde..dbc16c092 100644 --- a/src/server/scripts/EasternKingdoms/zone_stormwind_city.cpp +++ b/src/server/scripts/EasternKingdoms/zone_stormwind_city.cpp @@ -32,10 +32,10 @@ npc_lord_gregor_lescovar EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" /*###### ## npc_bartleby diff --git a/src/server/scripts/EasternKingdoms/zone_stranglethorn_vale.cpp b/src/server/scripts/EasternKingdoms/zone_stranglethorn_vale.cpp index 4e829879a..0fa5bdb2b 100644 --- a/src/server/scripts/EasternKingdoms/zone_stranglethorn_vale.cpp +++ b/src/server/scripts/EasternKingdoms/zone_stranglethorn_vale.cpp @@ -27,8 +27,8 @@ npc_yenniku EndContentData */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" /*###### diff --git a/src/server/scripts/EasternKingdoms/zone_tirisfal_glades.cpp b/src/server/scripts/EasternKingdoms/zone_tirisfal_glades.cpp index 96e75c55f..5781354f9 100644 --- a/src/server/scripts/EasternKingdoms/zone_tirisfal_glades.cpp +++ b/src/server/scripts/EasternKingdoms/zone_tirisfal_glades.cpp @@ -29,8 +29,8 @@ go_mausoleum_trigger EndContentData */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" /*###### ## npc_calvin_montague diff --git a/src/server/scripts/EasternKingdoms/zone_undercity.cpp b/src/server/scripts/EasternKingdoms/zone_undercity.cpp index 4451c74d9..7f2e5deba 100644 --- a/src/server/scripts/EasternKingdoms/zone_undercity.cpp +++ b/src/server/scripts/EasternKingdoms/zone_undercity.cpp @@ -30,10 +30,10 @@ EndContentData */ #include "ObjectAccessor.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellAuras.h" #include "SpellScript.h" diff --git a/src/server/scripts/EasternKingdoms/zone_western_plaguelands.cpp b/src/server/scripts/EasternKingdoms/zone_western_plaguelands.cpp index 8182187d1..58a47c94b 100644 --- a/src/server/scripts/EasternKingdoms/zone_western_plaguelands.cpp +++ b/src/server/scripts/EasternKingdoms/zone_western_plaguelands.cpp @@ -28,9 +28,9 @@ npc_andorhal_tower EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "WorldSession.h" /*###### diff --git a/src/server/scripts/EasternKingdoms/zone_westfall.cpp b/src/server/scripts/EasternKingdoms/zone_westfall.cpp index 4b978976c..62090c126 100644 --- a/src/server/scripts/EasternKingdoms/zone_westfall.cpp +++ b/src/server/scripts/EasternKingdoms/zone_westfall.cpp @@ -27,9 +27,9 @@ npc_daphne_stilwell EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" /*###### ## npc_daphne_stilwell diff --git a/src/server/scripts/EasternKingdoms/zone_wetlands.cpp b/src/server/scripts/EasternKingdoms/zone_wetlands.cpp index fd3bc9913..119ef3ec4 100644 --- a/src/server/scripts/EasternKingdoms/zone_wetlands.cpp +++ b/src/server/scripts/EasternKingdoms/zone_wetlands.cpp @@ -28,9 +28,9 @@ npc_tapoke_slim_jahn EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" /*###### ## npc_tapoke_slim_jahn diff --git a/src/server/scripts/Events/brewfest.cpp b/src/server/scripts/Events/brewfest.cpp index 0fe221f5f..ec299e5d0 100644 --- a/src/server/scripts/Events/brewfest.cpp +++ b/src/server/scripts/Events/brewfest.cpp @@ -22,9 +22,9 @@ #include "Group.h" #include "LFGMgr.h" #include "PassiveAI.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellAuras.h" #include "SpellScript.h" diff --git a/src/server/scripts/Events/childrens_week.cpp b/src/server/scripts/Events/childrens_week.cpp index 999f7bec0..eca6a9df5 100644 --- a/src/server/scripts/Events/childrens_week.cpp +++ b/src/server/scripts/Events/childrens_week.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" enum Orphans diff --git a/src/server/scripts/Events/hallows_end.cpp b/src/server/scripts/Events/hallows_end.cpp index a68a9b527..47d6c454c 100644 --- a/src/server/scripts/Events/hallows_end.cpp +++ b/src/server/scripts/Events/hallows_end.cpp @@ -19,11 +19,12 @@ #include "GameObjectAI.h" #include "GossipDef.h" #include "GridNotifiers.h" +#include "GridNotifiersImpl.h" #include "Group.h" #include "LFGMgr.h" #include "PassiveAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "TaskScheduler.h" diff --git a/src/server/scripts/Events/love_in_air.cpp b/src/server/scripts/Events/love_in_air.cpp index 776989045..4db3d1f50 100644 --- a/src/server/scripts/Events/love_in_air.cpp +++ b/src/server/scripts/Events/love_in_air.cpp @@ -22,8 +22,8 @@ #include "Group.h" #include "LFGMgr.h" #include "PassiveAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" /////////////////////////////////////// diff --git a/src/server/scripts/Events/midsummer.cpp b/src/server/scripts/Events/midsummer.cpp index 31f180a77..1b769815f 100644 --- a/src/server/scripts/Events/midsummer.cpp +++ b/src/server/scripts/Events/midsummer.cpp @@ -16,9 +16,9 @@ */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "Spell.h" #include "SpellAuras.h" #include "SpellScript.h" diff --git a/src/server/scripts/Events/pilgrims_bounty.cpp b/src/server/scripts/Events/pilgrims_bounty.cpp index 133e3aaed..84e2a3885 100644 --- a/src/server/scripts/Events/pilgrims_bounty.cpp +++ b/src/server/scripts/Events/pilgrims_bounty.cpp @@ -18,8 +18,8 @@ #include "CombatAI.h" #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "Vehicle.h" diff --git a/src/server/scripts/Events/winter_veil.cpp b/src/server/scripts/Events/winter_veil.cpp index 1c22d679f..40c940e38 100644 --- a/src/server/scripts/Events/winter_veil.cpp +++ b/src/server/scripts/Events/winter_veil.cpp @@ -17,8 +17,8 @@ #include "GameEventMgr.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" #include "SpellScript.h" diff --git a/src/server/scripts/Kalimdor/BlackfathomDeeps/instance_blackfathom_deeps.cpp b/src/server/scripts/Kalimdor/BlackfathomDeeps/instance_blackfathom_deeps.cpp index 42699494d..9c43e3ea6 100644 --- a/src/server/scripts/Kalimdor/BlackfathomDeeps/instance_blackfathom_deeps.cpp +++ b/src/server/scripts/Kalimdor/BlackfathomDeeps/instance_blackfathom_deeps.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blackfathom_deeps.h" #include "InstanceScript.h" #include "ScriptMgr.h" +#include "blackfathom_deeps.h" class instance_blackfathom_deeps : public InstanceMapScript { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp index b473eeafc..d8746b809 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "hyjal_trash.h" -#include "hyjal.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "hyjal.h" +#include "hyjal_trash.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp index ec8d77c27..9ac32f99e 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp @@ -22,12 +22,12 @@ SDComment: Doomfires not completely offlike due to core limitations for random m SDCategory: Caverns of Time, Mount Hyjal EndScriptData */ -#include "hyjal.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "SpellScript.h" +#include "hyjal.h" enum Texts { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp index 579ff7737..d8587e38e 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "hyjal_trash.h" -#include "hyjal.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "hyjal.h" +#include "hyjal_trash.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp index e682bb1d5..9e122caea 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ -#include "hyjal_trash.h" -#include "hyjal.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" +#include "hyjal.h" +#include "hyjal_trash.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_rage_winterchill.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_rage_winterchill.cpp index e51160eb5..afa6fe745 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_rage_winterchill.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_rage_winterchill.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "hyjal_trash.h" -#include "hyjal.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "hyjal.h" +#include "hyjal_trash.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp index 53535aa46..b7ed192e7 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp @@ -28,11 +28,11 @@ npc_thrall npc_tyrande_whisperwind EndContentData */ -#include "hyjalAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" +#include "hyjalAI.h" #define GOSSIP_ITEM_BEGIN_ALLY "My companions and I are with you, Lady Proudmoore." #define GOSSIP_ITEM_ANETHERON "We are ready for whatever Archimonde might send our way, Lady Proudmoore." diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.h b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.h index b8f2b14b7..13210662c 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.h +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.h @@ -18,8 +18,8 @@ #ifndef DEF_HYJAL_H #define DEF_HYJAL_H -#include "GridNotifiers.h" #include "CreatureAIImpl.h" +#include "GridNotifiers.h" #define HyjalScriptName "instance_hyjal" diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp index e7d4c2c73..073158a80 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp @@ -22,14 +22,14 @@ SDComment: SDCategory: Caverns of Time, Mount Hyjal EndScriptData */ +#include "hyjalAI.h" #include "Cell.h" #include "CellImpl.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" -#include "hyjal_trash.h" -#include "hyjalAI.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" +#include "hyjal_trash.h" enum Spawns { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.h b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.h index 6307414c6..618abf50f 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.h +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.h @@ -18,8 +18,8 @@ #ifndef SC_HYJALAI_H #define SC_HYJALAI_H -#include "hyjal.h" #include "ScriptedEscortAI.h" +#include "hyjal.h" #define HYJAL_AI_MAX_SPELLS 3 diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp index bbe5c799b..f9790d142 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp @@ -16,9 +16,9 @@ */ #include "hyjal_trash.h" -#include "hyjal.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "hyjal.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.h b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.h index 27b8ddbac..9f8847a3a 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.h +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.h @@ -18,8 +18,8 @@ #ifndef SC_HYJAL_TRASH_AI_H #define SC_HYJAL_TRASH_AI_H -#include "hyjal.h" #include "ScriptedEscortAI.h" +#include "hyjal.h" #define MINRAIDDAMAGE 700000//minimal damage before trash can drop loot and reputation, resets if faction leader dies diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp index a6f25dde1..501231c45 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp @@ -23,11 +23,11 @@ SDCategory: Caverns of Time, Mount Hyjal EndScriptData */ #include "Chat.h" -#include "hyjal_trash.h" #include "InstanceScript.h" #include "Opcodes.h" #include "ScriptMgr.h" #include "WorldPacket.h" +#include "hyjal_trash.h" /* Battle of Mount Hyjal encounters: 0 - Rage Winterchill event diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_epoch.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_epoch.cpp index 0e8072405..9319290f7 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_epoch.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_epoch.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "culling_of_stratholme.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" +#include "culling_of_stratholme.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_infinite.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_infinite.cpp index b3746a65f..0ffe8e193 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_infinite.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_infinite.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "culling_of_stratholme.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "culling_of_stratholme.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp index ee4435960..05d732b62 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "culling_of_stratholme.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "culling_of_stratholme.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_meathook.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_meathook.cpp index 251490126..5a17d7b4e 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_meathook.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_meathook.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "culling_of_stratholme.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "culling_of_stratholme.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_salramm.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_salramm.cpp index edd3a94d6..9fddcd7af 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_salramm.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_salramm.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "culling_of_stratholme.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "culling_of_stratholme.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp index 93e9d2b30..e9668ec6f 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp @@ -18,10 +18,10 @@ #include "culling_of_stratholme.h" #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" enum Says diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp index abfa09ff4..beb32e322 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp @@ -16,12 +16,12 @@ */ #include "CreatureTextMgr.h" -#include "culling_of_stratholme.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "TemporarySummon.h" +#include "culling_of_stratholme.h" class instance_culling_of_stratholme : public InstanceMapScript { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_captain_skarloc.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_captain_skarloc.cpp index f0a727306..1d7ce17e5 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_captain_skarloc.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_captain_skarloc.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "old_hillsbrad.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "old_hillsbrad.h" enum CaptainSkarloc { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_epoch_hunter.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_epoch_hunter.cpp index 5fe4aaaee..34360d329 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_epoch_hunter.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_epoch_hunter.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "old_hillsbrad.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "old_hillsbrad.h" enum EpochHunter { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_lieutenant_drake.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_lieutenant_drake.cpp index 12066a1df..ed7610f62 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_lieutenant_drake.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_lieutenant_drake.cpp @@ -16,10 +16,10 @@ */ #include "MoveSplineInit.h" -#include "old_hillsbrad.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SmartScriptMgr.h" +#include "old_hillsbrad.h" enum LieutenantDrake { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/instance_old_hillsbrad.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/instance_old_hillsbrad.cpp index a6c75cdc0..f00c64766 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/instance_old_hillsbrad.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/instance_old_hillsbrad.cpp @@ -16,10 +16,10 @@ */ #include "InstanceScript.h" -#include "old_hillsbrad.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "old_hillsbrad.h" const Position instancePositions[INSTANCE_POSITIONS_COUNT] = { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp index f31959e1f..408085f90 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp @@ -17,10 +17,10 @@ #include "old_hillsbrad.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" /*enum Erozion { diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/boss_aeonus.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/boss_aeonus.cpp index 5309464bb..c6eec12a1 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/boss_aeonus.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/boss_aeonus.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "the_black_morass.h" enum Enums diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/boss_chrono_lord_deja.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/boss_chrono_lord_deja.cpp index 44ae59394..30365a3f0 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/boss_chrono_lord_deja.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/boss_chrono_lord_deja.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "the_black_morass.h" enum Enums diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/boss_temporus.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/boss_temporus.cpp index c632a8627..4a957861e 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/boss_temporus.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/boss_temporus.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "the_black_morass.h" enum Enums diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp index dce168d4b..b0c4bfcb9 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp @@ -17,8 +17,8 @@ #include "InstanceScript.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "TemporarySummon.h" #include "the_black_morass.h" diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/the_black_morass.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/the_black_morass.cpp index 71c1314c8..7d913c483 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/the_black_morass.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/the_black_morass.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "the_black_morass.h" #include "MoveSplineInit.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" -#include "the_black_morass.h" enum medivhSays { diff --git a/src/server/scripts/Kalimdor/DireMaul/instance_dire_maul.cpp b/src/server/scripts/Kalimdor/DireMaul/instance_dire_maul.cpp index e121dfb6a..c22aa439c 100644 --- a/src/server/scripts/Kalimdor/DireMaul/instance_dire_maul.cpp +++ b/src/server/scripts/Kalimdor/DireMaul/instance_dire_maul.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "dire_maul.h" #include "InstanceScript.h" #include "ScriptMgr.h" +#include "dire_maul.h" class instance_dire_maul : public InstanceMapScript { diff --git a/src/server/scripts/Kalimdor/Maraudon/instance_maraudon.cpp b/src/server/scripts/Kalimdor/Maraudon/instance_maraudon.cpp index bfb529a06..969854c99 100644 --- a/src/server/scripts/Kalimdor/Maraudon/instance_maraudon.cpp +++ b/src/server/scripts/Kalimdor/Maraudon/instance_maraudon.cpp @@ -16,8 +16,8 @@ */ #include "InstanceScript.h" -#include "maraudon.h" #include "ScriptMgr.h" +#include "maraudon.h" class instance_maraudon : public InstanceMapScript { diff --git a/src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp b/src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp index d61d1e6f6..fcc2d4c25 100644 --- a/src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp +++ b/src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "onyxias_lair.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" +#include "onyxias_lair.h" enum // Spells { diff --git a/src/server/scripts/Kalimdor/OnyxiasLair/instance_onyxias_lair.cpp b/src/server/scripts/Kalimdor/OnyxiasLair/instance_onyxias_lair.cpp index fc050564a..f3ae661d0 100644 --- a/src/server/scripts/Kalimdor/OnyxiasLair/instance_onyxias_lair.cpp +++ b/src/server/scripts/Kalimdor/OnyxiasLair/instance_onyxias_lair.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "onyxias_lair.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "onyxias_lair.h" class instance_onyxias_lair : public InstanceMapScript { diff --git a/src/server/scripts/Kalimdor/RazorfenDowns/instance_razorfen_downs.cpp b/src/server/scripts/Kalimdor/RazorfenDowns/instance_razorfen_downs.cpp index a03fdb45f..0d9e9076a 100644 --- a/src/server/scripts/Kalimdor/RazorfenDowns/instance_razorfen_downs.cpp +++ b/src/server/scripts/Kalimdor/RazorfenDowns/instance_razorfen_downs.cpp @@ -17,8 +17,8 @@ #include "InstanceScript.h" #include "ObjectMgr.h" -#include "razorfen_downs.h" #include "ScriptMgr.h" +#include "razorfen_downs.h" class instance_razorfen_downs : public InstanceMapScript { diff --git a/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp b/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp index fc8a172ff..67e2891ac 100644 --- a/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp +++ b/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp @@ -15,15 +15,15 @@ * with this program. If not, see . */ +#include "razorfen_downs.h" #include "Cell.h" #include "CellImpl.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" #include "Player.h" -#include "razorfen_downs.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" /*###### ## npc_belnistrasz for Quest 3525 "Extinguishing the Idol" diff --git a/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.h b/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.h index 4faf5f834..61a9da0b2 100644 --- a/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.h +++ b/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.h @@ -18,8 +18,8 @@ #ifndef DEF_RAZORFEN_DOWNS_H #define DEF_RAZORFEN_DOWNS_H -#include "PassiveAI.h" #include "CreatureAIImpl.h" +#include "PassiveAI.h" #define RazorfenDownsScriptName "instance_razorfen_downs" diff --git a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_ayamiss.cpp b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_ayamiss.cpp index 825ecd3e0..e9d49314c 100644 --- a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_ayamiss.cpp +++ b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_ayamiss.cpp @@ -16,9 +16,9 @@ */ #include "Player.h" -#include "ruins_of_ahnqiraj.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "ruins_of_ahnqiraj.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp index 90a4242bb..e0c4ff8e4 100644 --- a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp +++ b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "ruins_of_ahnqiraj.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "ruins_of_ahnqiraj.h" enum Emotes { diff --git a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_kurinnaxx.cpp b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_kurinnaxx.cpp index 7e5a95de3..437dfdda7 100644 --- a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_kurinnaxx.cpp +++ b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_kurinnaxx.cpp @@ -16,9 +16,9 @@ */ #include "CreatureTextMgr.h" -#include "ruins_of_ahnqiraj.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "ruins_of_ahnqiraj.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_moam.cpp b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_moam.cpp index afce575ea..92d0573ea 100644 --- a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_moam.cpp +++ b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_moam.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "ruins_of_ahnqiraj.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "ruins_of_ahnqiraj.h" enum Texts { diff --git a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_ossirian.cpp b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_ossirian.cpp index 22049f67a..abe782f01 100644 --- a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_ossirian.cpp +++ b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_ossirian.cpp @@ -17,11 +17,11 @@ #include "Opcodes.h" #include "Player.h" -#include "ruins_of_ahnqiraj.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "WorldPacket.h" +#include "ruins_of_ahnqiraj.h" enum Texts { diff --git a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_rajaxx.cpp b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_rajaxx.cpp index eba3ad794..b1727873b 100644 --- a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_rajaxx.cpp +++ b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/boss_rajaxx.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "ruins_of_ahnqiraj.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "ruins_of_ahnqiraj.h" enum Yells { diff --git a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/instance_ruins_of_ahnqiraj.cpp b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/instance_ruins_of_ahnqiraj.cpp index 2d352a32d..5cb1e8373 100644 --- a/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/instance_ruins_of_ahnqiraj.cpp +++ b/src/server/scripts/Kalimdor/RuinsOfAhnQiraj/instance_ruins_of_ahnqiraj.cpp @@ -16,8 +16,8 @@ */ #include "InstanceScript.h" -#include "ruins_of_ahnqiraj.h" #include "ScriptMgr.h" +#include "ruins_of_ahnqiraj.h" class instance_ruins_of_ahnqiraj : public InstanceMapScript { diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_bug_trio.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_bug_trio.cpp index 71a1f5f89..72b9c1b7b 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_bug_trio.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_bug_trio.cpp @@ -22,8 +22,8 @@ SDComment: SDCategory: Temple of Ahn'Qiraj EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "temple_of_ahnqiraj.h" enum Spells diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp index 3dd87596d..73467f57c 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp @@ -23,8 +23,8 @@ SDCategory: Temple of Ahn'Qiraj EndScriptData */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "temple_of_ahnqiraj.h" /* diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_fankriss.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_fankriss.cpp index 448899010..99cf5ac9a 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_fankriss.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_fankriss.cpp @@ -22,8 +22,8 @@ SDComment: sound not implemented SDCategory: Temple of Ahn'Qiraj EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "temple_of_ahnqiraj.h" #define SOUND_SENTENCE_YOU 8588 diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_huhuran.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_huhuran.cpp index dfc1a7898..8e70ab8b4 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_huhuran.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_huhuran.cpp @@ -22,8 +22,8 @@ SDComment: SDCategory: Temple of Ahn'Qiraj EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "temple_of_ahnqiraj.h" enum Huhuran diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_ouro.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_ouro.cpp index 0b640a0ec..6a252aba2 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_ouro.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_ouro.cpp @@ -22,8 +22,8 @@ SDComment: No model for submerging. Currently just invisible. SDCategory: Temple of Ahn'Qiraj EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "temple_of_ahnqiraj.h" enum Spells diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp index 7bdea4ca7..85ab7166c 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp @@ -22,8 +22,8 @@ SDComment: SDCategory: Temple of Ahn'Qiraj EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "temple_of_ahnqiraj.h" enum Sartura diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp index a1bbe3b50..70ee7f4ba 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" #include "temple_of_ahnqiraj.h" diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp index a6553b321..467e89bb0 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp @@ -23,11 +23,11 @@ SDCategory: Temple of Ahn'Qiraj EndScriptData */ #include "Item.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" -#include "temple_of_ahnqiraj.h" #include "WorldPacket.h" +#include "temple_of_ahnqiraj.h" enum Spells { diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_viscidus.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_viscidus.cpp index 74442dd13..f5e0f2786 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_viscidus.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_viscidus.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "temple_of_ahnqiraj.h" diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp index bc7aafdf0..c2cb324f7 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp @@ -27,8 +27,8 @@ EndScriptData */ #include "GridNotifiers.h" #include "GridNotifiersImpl.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" #include "WorldPacket.h" diff --git a/src/server/scripts/Kalimdor/ZulFarrak/zulfarrak.cpp b/src/server/scripts/Kalimdor/ZulFarrak/zulfarrak.cpp index 4f11d571c..f9f59db28 100644 --- a/src/server/scripts/Kalimdor/ZulFarrak/zulfarrak.cpp +++ b/src/server/scripts/Kalimdor/ZulFarrak/zulfarrak.cpp @@ -16,21 +16,21 @@ npc_sergeant_bly npc_weegli_blastfuse EndContentData */ -#include "ScriptMgr.h" -#include "ScriptSystem.h" +#include "zulfarrak.h" +#include "Cell.h" +#include "CellImpl.h" #include "GameObject.h" #include "GameObjectAI.h" +#include "GridNotifiers.h" +#include "GridNotifiersImpl.h" #include "InstanceScript.h" #include "MotionMaster.h" #include "ObjectAccessor.h" #include "Player.h" +#include "ScriptMgr.h" +#include "ScriptSystem.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "zulfarrak.h" -#include "Cell.h" -#include "CellImpl.h" -#include "GridNotifiers.h" -#include "GridNotifiersImpl.h" /*###### ## npc_sergeant_bly diff --git a/src/server/scripts/Kalimdor/ZulFarrak/zulfarrak.h b/src/server/scripts/Kalimdor/ZulFarrak/zulfarrak.h index 5fdc6cb3d..bd7ff856e 100644 --- a/src/server/scripts/Kalimdor/ZulFarrak/zulfarrak.h +++ b/src/server/scripts/Kalimdor/ZulFarrak/zulfarrak.h @@ -18,8 +18,8 @@ #ifndef DEF_ZULFARRACK_H #define DEF_ZULFARRACK_H -#include "CreatureAIImpl.h" #include "CellImpl.h" +#include "CreatureAIImpl.h" #include "SpellScript.h" #define ZFScriptName "instance_zulfarrak" diff --git a/src/server/scripts/Kalimdor/boss_azuregos.cpp b/src/server/scripts/Kalimdor/boss_azuregos.cpp index 961183d62..7ebebd525 100644 --- a/src/server/scripts/Kalimdor/boss_azuregos.cpp +++ b/src/server/scripts/Kalimdor/boss_azuregos.cpp @@ -22,8 +22,8 @@ SDComment: Teleport not included, spell reflect not effecting dots (Core problem SDCategory: Azshara EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" enum Say { diff --git a/src/server/scripts/Kalimdor/zone_ashenvale.cpp b/src/server/scripts/Kalimdor/zone_ashenvale.cpp index 8158aeee3..6480fb7d6 100644 --- a/src/server/scripts/Kalimdor/zone_ashenvale.cpp +++ b/src/server/scripts/Kalimdor/zone_ashenvale.cpp @@ -23,9 +23,9 @@ SDCategory: Ashenvale Forest EndScriptData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" enum Muglash { diff --git a/src/server/scripts/Kalimdor/zone_azshara.cpp b/src/server/scripts/Kalimdor/zone_azshara.cpp index d433e243b..1eb1c5e3c 100644 --- a/src/server/scripts/Kalimdor/zone_azshara.cpp +++ b/src/server/scripts/Kalimdor/zone_azshara.cpp @@ -29,9 +29,9 @@ npc_depth_charge EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" /*###### diff --git a/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp b/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp index 0c9ca1171..4c7d110f9 100644 --- a/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp +++ b/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp @@ -35,10 +35,10 @@ EndContentData */ #include "CellImpl.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" /*###### ## npc_draenei_survivor diff --git a/src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp b/src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp index 392baf2f8..c7925dd87 100644 --- a/src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp +++ b/src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp @@ -27,8 +27,8 @@ npc_webbed_creature EndContentData */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" /*###### ## npc_webbed_creature diff --git a/src/server/scripts/Kalimdor/zone_desolace.cpp b/src/server/scripts/Kalimdor/zone_desolace.cpp index d4278025a..a60604fdc 100644 --- a/src/server/scripts/Kalimdor/zone_desolace.cpp +++ b/src/server/scripts/Kalimdor/zone_desolace.cpp @@ -27,10 +27,10 @@ npc_aged_dying_ancient_kodo EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" // Ours diff --git a/src/server/scripts/Kalimdor/zone_durotar.cpp b/src/server/scripts/Kalimdor/zone_durotar.cpp index b038e6079..fe3afce18 100644 --- a/src/server/scripts/Kalimdor/zone_durotar.cpp +++ b/src/server/scripts/Kalimdor/zone_durotar.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" #include "Vehicle.h" diff --git a/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp b/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp index 18f18098e..622155639 100644 --- a/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp +++ b/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp @@ -29,9 +29,9 @@ npc_cassa_crimsonwing - handled by npc_taxi EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellScript.h" #include "WorldSession.h" diff --git a/src/server/scripts/Kalimdor/zone_felwood.cpp b/src/server/scripts/Kalimdor/zone_felwood.cpp index bbff20ddb..920960948 100644 --- a/src/server/scripts/Kalimdor/zone_felwood.cpp +++ b/src/server/scripts/Kalimdor/zone_felwood.cpp @@ -27,9 +27,9 @@ npcs_riverbreeze_and_silversky EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" /*###### ## npcs_riverbreeze_and_silversky diff --git a/src/server/scripts/Kalimdor/zone_feralas.cpp b/src/server/scripts/Kalimdor/zone_feralas.cpp index b13e1891a..158f42b5b 100644 --- a/src/server/scripts/Kalimdor/zone_feralas.cpp +++ b/src/server/scripts/Kalimdor/zone_feralas.cpp @@ -24,10 +24,10 @@ EndScriptData */ #include "Group.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellScript.h" enum GordunniTrap diff --git a/src/server/scripts/Kalimdor/zone_moonglade.cpp b/src/server/scripts/Kalimdor/zone_moonglade.cpp index bffa0332e..dbea39a6f 100644 --- a/src/server/scripts/Kalimdor/zone_moonglade.cpp +++ b/src/server/scripts/Kalimdor/zone_moonglade.cpp @@ -35,10 +35,10 @@ EndContentData */ #include "GridNotifiers.h" #include "GridNotifiersImpl.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" /*###### diff --git a/src/server/scripts/Kalimdor/zone_orgrimmar.cpp b/src/server/scripts/Kalimdor/zone_orgrimmar.cpp index d878df6b6..98da89a9e 100644 --- a/src/server/scripts/Kalimdor/zone_orgrimmar.cpp +++ b/src/server/scripts/Kalimdor/zone_orgrimmar.cpp @@ -28,9 +28,9 @@ npc_thrall_warchief EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" /*###### ## npc_shenthul diff --git a/src/server/scripts/Kalimdor/zone_silithus.cpp b/src/server/scripts/Kalimdor/zone_silithus.cpp index 2078c3787..ce3b456e0 100644 --- a/src/server/scripts/Kalimdor/zone_silithus.cpp +++ b/src/server/scripts/Kalimdor/zone_silithus.cpp @@ -29,15 +29,16 @@ EndContentData */ #include "AccountMgr.h" #include "BanMgr.h" -#include "Group.h" -#include "Player.h" -#include "ScriptedCreature.h" -#include "ScriptedGossip.h" -#include "ScriptMgr.h" -#include "Spell.h" -#include "SpellInfo.h" #include "GameObject.h" #include "GameObjectAI.h" +#include "Group.h" +#include "Player.h" +#include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "ScriptedGossip.h" +#include "Spell.h" +#include "SpellInfo.h" +#include "WorldSession.h" /*#### # quest_a_pawn_on_the_eternal_board (Defines) diff --git a/src/server/scripts/Kalimdor/zone_stonetalon_mountains.cpp b/src/server/scripts/Kalimdor/zone_stonetalon_mountains.cpp index 06c1be833..55d0907ec 100644 --- a/src/server/scripts/Kalimdor/zone_stonetalon_mountains.cpp +++ b/src/server/scripts/Kalimdor/zone_stonetalon_mountains.cpp @@ -28,10 +28,10 @@ npc_kaya_flathoof EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" /*###### ## npc_braug_dimspirit diff --git a/src/server/scripts/Kalimdor/zone_tanaris.cpp b/src/server/scripts/Kalimdor/zone_tanaris.cpp index 46cea901e..8b0380896 100644 --- a/src/server/scripts/Kalimdor/zone_tanaris.cpp +++ b/src/server/scripts/Kalimdor/zone_tanaris.cpp @@ -31,11 +31,11 @@ npc_tooga EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedFollowerAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "WorldSession.h" /*###### diff --git a/src/server/scripts/Kalimdor/zone_the_barrens.cpp b/src/server/scripts/Kalimdor/zone_the_barrens.cpp index f6d3b6b97..dbab758a5 100644 --- a/src/server/scripts/Kalimdor/zone_the_barrens.cpp +++ b/src/server/scripts/Kalimdor/zone_the_barrens.cpp @@ -32,10 +32,10 @@ npc_wizzlecrank_shredder EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" /*###### diff --git a/src/server/scripts/Kalimdor/zone_thousand_needles.cpp b/src/server/scripts/Kalimdor/zone_thousand_needles.cpp index 620e2cf7b..b2a7d5220 100644 --- a/src/server/scripts/Kalimdor/zone_thousand_needles.cpp +++ b/src/server/scripts/Kalimdor/zone_thousand_needles.cpp @@ -31,10 +31,10 @@ go_panther_cage EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" /*###### # npc_lakota_windsong diff --git a/src/server/scripts/Kalimdor/zone_thunder_bluff.cpp b/src/server/scripts/Kalimdor/zone_thunder_bluff.cpp index 8d495b018..5ea1dc34a 100644 --- a/src/server/scripts/Kalimdor/zone_thunder_bluff.cpp +++ b/src/server/scripts/Kalimdor/zone_thunder_bluff.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" /*##### # Support for Quest 925: Cairne's Hoofprint diff --git a/src/server/scripts/Kalimdor/zone_ungoro_crater.cpp b/src/server/scripts/Kalimdor/zone_ungoro_crater.cpp index 929a540cc..10d8c8a0f 100644 --- a/src/server/scripts/Kalimdor/zone_ungoro_crater.cpp +++ b/src/server/scripts/Kalimdor/zone_ungoro_crater.cpp @@ -28,10 +28,10 @@ npc_ringo EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedFollowerAI.h" -#include "ScriptMgr.h" #include "SpellInfo.h" enum AmeData diff --git a/src/server/scripts/Kalimdor/zone_winterspring.cpp b/src/server/scripts/Kalimdor/zone_winterspring.cpp index ca64cc75b..de140123c 100644 --- a/src/server/scripts/Kalimdor/zone_winterspring.cpp +++ b/src/server/scripts/Kalimdor/zone_winterspring.cpp @@ -29,10 +29,10 @@ go_elune_fire EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "WorldSession.h" // Theirs diff --git a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp index b026e4199..9d6158586 100644 --- a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "azjol_nerub.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "azjol_nerub.h" enum Spells { diff --git a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_hadronox.cpp b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_hadronox.cpp index 02364327a..0dcb909e6 100644 --- a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_hadronox.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_hadronox.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "azjol_nerub.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" +#include "azjol_nerub.h" enum Spells { diff --git a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp index 277b6d748..319270b84 100644 --- a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "azjol_nerub.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "azjol_nerub.h" enum Spells { diff --git a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/instance_azjol_nerub.cpp b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/instance_azjol_nerub.cpp index 61cd72c98..a97165bb9 100644 --- a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/instance_azjol_nerub.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/instance_azjol_nerub.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "azjol_nerub.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "azjol_nerub.h" DoorData const doorData[] = { diff --git a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_amanitar.cpp b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_amanitar.cpp index a44f353ba..cf41adc7c 100644 --- a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_amanitar.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_amanitar.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "Player.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" -#include "ahnkahet.h" -#include "Player.h" #include "SpellScript.h" +#include "ahnkahet.h" enum Spells { diff --git a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_elder_nadox.cpp b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_elder_nadox.cpp index 3ad3a5c09..907c308e0 100644 --- a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_elder_nadox.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_elder_nadox.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ +#include "Containers.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" -#include "ahnkahet.h" #include "SpellAuras.h" #include "SpellScript.h" -#include "Containers.h" +#include "ahnkahet.h" enum Misc { diff --git a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_herald_volazj.cpp b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_herald_volazj.cpp index 06f8b2c85..012fb8416 100644 --- a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_herald_volazj.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_herald_volazj.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ +#include "Player.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" -#include "ahnkahet.h" -#include "Player.h" #include "SpellInfo.h" #include "SpellScript.h" +#include "ahnkahet.h" enum Spells { diff --git a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_jedoga_shadowseeker.cpp b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_jedoga_shadowseeker.cpp index cfced9fe3..6f917563c 100644 --- a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_jedoga_shadowseeker.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_jedoga_shadowseeker.cpp @@ -15,14 +15,14 @@ * with this program. If not, see . */ -#include "ScriptMgr.h" -#include "ScriptedCreature.h" -#include "ahnkahet.h" #include "Containers.h" #include "ObjectAccessor.h" -#include "SpellScript.h" +#include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" +#include "SpellScript.h" #include "TemporarySummon.h" +#include "ahnkahet.h" enum Yells { diff --git a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_prince_taldaram.cpp b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_prince_taldaram.cpp index 0b3078702..28058bcbe 100644 --- a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_prince_taldaram.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_prince_taldaram.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ +#include "PassiveAI.h" +#include "Player.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" -#include "ahnkahet.h" #include "SpellInfo.h" #include "SpellScript.h" -#include "Player.h" -#include "PassiveAI.h" +#include "ahnkahet.h" enum Spells { diff --git a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/instance_ahnkahet.cpp b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/instance_ahnkahet.cpp index 511f13b4d..bc2283d8f 100644 --- a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/instance_ahnkahet.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/instance_ahnkahet.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "Player.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" -#include "ahnkahet.h" -#include "Player.h" #include "SpellScript.h" +#include "ahnkahet.h" #include class instance_ahnkahet : public InstanceMapScript diff --git a/src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/boss_sartharion.cpp b/src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/boss_sartharion.cpp index 54ce48d15..4fda339bc 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/boss_sartharion.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/boss_sartharion.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "obsidian_sanctum.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "SpellScript.h" +#include "obsidian_sanctum.h" enum Says { diff --git a/src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/instance_obsidian_sanctum.cpp b/src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/instance_obsidian_sanctum.cpp index 6740b6fc0..5edc7b053 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/instance_obsidian_sanctum.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/instance_obsidian_sanctum.cpp @@ -16,10 +16,10 @@ */ #include "CreatureAIImpl.h" -#include "obsidian_sanctum.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "obsidian_sanctum.h" class instance_obsidian_sanctum : public InstanceMapScript { diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp index b6a711089..4d714d94a 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp @@ -16,10 +16,10 @@ */ #include "ObjectMgr.h" -#include "ruby_sanctum.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" +#include "ruby_sanctum.h" enum Texts { diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_general_zarithrian.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_general_zarithrian.cpp index d2377923c..c5623d7e3 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_general_zarithrian.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_general_zarithrian.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "ruby_sanctum.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" +#include "ruby_sanctum.h" enum Texts { diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp index fac4f4473..0ac8cab79 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp @@ -18,13 +18,14 @@ #include "GameObjectAI.h" #include "MapMgr.h" #include "Player.h" -#include "ruby_sanctum.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "Vehicle.h" +#include "WorldSession.h" +#include "ruby_sanctum.h" enum Texts { diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_saviana_ragefire.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_saviana_ragefire.cpp index 7f5276070..abba544d7 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_saviana_ragefire.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_saviana_ragefire.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "ruby_sanctum.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "ruby_sanctum.h" enum Texts { diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/instance_ruby_sanctum.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/instance_ruby_sanctum.cpp index 0cb265890..4974866b4 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/instance_ruby_sanctum.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/instance_ruby_sanctum.cpp @@ -17,10 +17,10 @@ #include "InstanceScript.h" #include "Player.h" -#include "ruby_sanctum.h" #include "ScriptMgr.h" #include "TemporarySummon.h" #include "WorldPacket.h" +#include "ruby_sanctum.h" DoorData const doorData[] = { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp index 43fc65073..7b1ae0e94 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" #include "SpellScript.h" #include "trial_of_the_champion.h" diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_black_knight.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_black_knight.cpp index 6dc26aa1c..b16ddaa0d 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_black_knight.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_black_knight.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" #include "SpellInfo.h" #include "trial_of_the_champion.h" diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_grand_champions.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_grand_champions.cpp index f33a6cb71..4705e9dc9 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_grand_champions.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_grand_champions.cpp @@ -17,12 +17,12 @@ #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" #include "SpellInfo.h" -#include "trial_of_the_champion.h" #include "Vehicle.h" +#include "trial_of_the_champion.h" enum MountSpells { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/instance_trial_of_the_champion.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/instance_trial_of_the_champion.cpp index 734005978..4c7a90d60 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/instance_trial_of_the_champion.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/instance_trial_of_the_champion.cpp @@ -17,10 +17,10 @@ #include "Group.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" -#include "trial_of_the_champion.h" +#include "ScriptedCreature.h" #include "Vehicle.h" +#include "trial_of_the_champion.h" const Position SpawnPosition = {746.67f, 684.08f, 412.5f, 4.65f}; #define CLEANUP_CHECK_INTERVAL 5000 diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.cpp index f6b7851f2..2e3286703 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "trial_of_the_champion.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" -#include "trial_of_the_champion.h" #define GOSSIP_START_EVENT1a "I am ready." #define GOSSIP_START_EVENT1b "I am ready. However I'd like to skip the pageantry." diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp index 0fc43721a..b3a64132f 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp @@ -17,8 +17,8 @@ #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" #include "trial_of_the_crusader.h" diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp index dc1eb7175..a3ad1129b 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" #include "trial_of_the_crusader.h" diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp index 861974b5d..f4dfa41d6 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "SpellScript.h" #include "trial_of_the_crusader.h" diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp index d8e4d1cf5..39b0c1837 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp @@ -16,10 +16,10 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" -#include "trial_of_the_crusader.h" +#include "ScriptedCreature.h" #include "Vehicle.h" +#include "trial_of_the_crusader.h" /*********** ** GORMOK diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp index 23df499d1..5b357230b 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp @@ -21,9 +21,9 @@ #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuras.h" #include "SpellScript.h" #include "trial_of_the_crusader.h" diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/instance_trial_of_the_crusader.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/instance_trial_of_the_crusader.cpp index ff31e1804..74cc7eb41 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/instance_trial_of_the_crusader.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/instance_trial_of_the_crusader.cpp @@ -17,8 +17,8 @@ #include "Group.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "trial_of_the_crusader.h" #define CLEANUP_CHECK_INTERVAL 5000 diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.cpp index 011134c35..00d527e83 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "trial_of_the_crusader.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" -#include "trial_of_the_crusader.h" enum MenuTexts { diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.h b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.h index 449c837c9..1acb10e7c 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.h +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.h @@ -18,9 +18,9 @@ #ifndef DEF_CRUSADER_H #define DEF_CRUSADER_H +#include "CreatureAIImpl.h" #include "GridNotifiers.h" #include "SpellAuraEffects.h" -#include "CreatureAIImpl.h" #define TrialOfTheCrusaderScriptName "instance_trial_of_the_crusader" diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_dred.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_dred.cpp index 92b1c1c8a..d00035475 100644 --- a/src/server/scripts/Northrend/DraktharonKeep/boss_dred.cpp +++ b/src/server/scripts/Northrend/DraktharonKeep/boss_dred.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "drak_tharon_keep.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "drak_tharon_keep.h" enum Spells { diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp index 592a66f3d..acde0dd2c 100644 --- a/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp +++ b/src/server/scripts/Northrend/DraktharonKeep/boss_novos.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "drak_tharon_keep.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "drak_tharon_keep.h" enum Yells { diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp index da33274af..670526336 100644 --- a/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp +++ b/src/server/scripts/Northrend/DraktharonKeep/boss_tharon_ja.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "drak_tharon_keep.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "drak_tharon_keep.h" enum Yells { diff --git a/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp b/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp index 1bb2bbedb..bc728f11d 100644 --- a/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp +++ b/src/server/scripts/Northrend/DraktharonKeep/boss_trollgore.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "drak_tharon_keep.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" +#include "drak_tharon_keep.h" enum Yells { diff --git a/src/server/scripts/Northrend/DraktharonKeep/instance_drak_tharon_keep.cpp b/src/server/scripts/Northrend/DraktharonKeep/instance_drak_tharon_keep.cpp index 6c46c0589..c42018a11 100644 --- a/src/server/scripts/Northrend/DraktharonKeep/instance_drak_tharon_keep.cpp +++ b/src/server/scripts/Northrend/DraktharonKeep/instance_drak_tharon_keep.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "drak_tharon_keep.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "drak_tharon_keep.h" DoorData const doorData[] = { diff --git a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp index 9982f205c..f3234af66 100644 --- a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ -#include "forge_of_souls.h" #include "PassiveAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" +#include "forge_of_souls.h" enum Yells { diff --git a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp index b69a440fd..e58674f89 100644 --- a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ -#include "forge_of_souls.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" #include "SpellAuraEffects.h" #include "SpellScript.h" +#include "forge_of_souls.h" enum eTexts { diff --git a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.cpp b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.cpp index 46b5721b9..5414368ad 100644 --- a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.cpp @@ -17,9 +17,9 @@ #include "forge_of_souls.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellScript.h" enum Yells diff --git a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.h b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.h index 2835280f0..353d4c398 100644 --- a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.h +++ b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.h @@ -18,8 +18,8 @@ #ifndef DEF_FORGE_OF_SOULS_H #define DEF_FORGE_OF_SOULS_H -#include "GridNotifiers.h" #include "CreatureAIImpl.h" +#include "GridNotifiers.h" #define ForgeOfSoulsScriptName "instance_forge_of_souls" diff --git a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/instance_forge_of_souls.cpp b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/instance_forge_of_souls.cpp index 3785c4bfc..c94f13af9 100644 --- a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/instance_forge_of_souls.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/instance_forge_of_souls.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "forge_of_souls.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "forge_of_souls.h" class instance_forge_of_souls : public InstanceMapScript { diff --git a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.h b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.h index 3c41321fd..93fd62c60 100644 --- a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.h +++ b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.h @@ -21,9 +21,9 @@ #include "CreatureAIImpl.h" #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellAuras.h" #include "SpellScript.h" diff --git a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp index 80494b138..46d5dd654 100644 --- a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "halls_of_reflection.h" #include "MapMgr.h" #include "Transport.h" +#include "halls_of_reflection.h" class UtherBatteredHiltEvent : public BasicEvent { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp index 8a6a024fe..6ddffadf3 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp @@ -17,13 +17,13 @@ #include "CreatureGroups.h" #include "Opcodes.h" -#include "pit_of_saron.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "SpellScript.h" #include "WorldSession.h" +#include "pit_of_saron.h" enum Yells { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp index 206684c30..1b789a0e3 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp @@ -17,14 +17,14 @@ #include "Opcodes.h" #include "PassiveAI.h" -#include "pit_of_saron.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "Vehicle.h" #include "WorldSession.h" +#include "pit_of_saron.h" enum Yells { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp index 90c9d4085..be8f81e38 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "pit_of_saron.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Vehicle.h" +#include "pit_of_saron.h" enum Texts { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/instance_pit_of_saron.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/instance_pit_of_saron.cpp index 395d3e527..5468da53e 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/instance_pit_of_saron.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/instance_pit_of_saron.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "pit_of_saron.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "pit_of_saron.h" class instance_pit_of_saron : public InstanceMapScript { diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp index dc52ea3a9..c1e591d56 100644 --- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ +#include "pit_of_saron.h" #include "CreatureGroups.h" #include "MapMgr.h" #include "PassiveAI.h" -#include "pit_of_saron.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SmartAI.h" #include "SpellAuraEffects.h" #include "SpellScript.h" diff --git a/src/server/scripts/Northrend/Gundrak/boss_drakkari_colossus.cpp b/src/server/scripts/Northrend/Gundrak/boss_drakkari_colossus.cpp index 3e1fbb912..a3789633b 100644 --- a/src/server/scripts/Northrend/Gundrak/boss_drakkari_colossus.cpp +++ b/src/server/scripts/Northrend/Gundrak/boss_drakkari_colossus.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "gundrak.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "gundrak.h" enum Spells { diff --git a/src/server/scripts/Northrend/Gundrak/boss_eck.cpp b/src/server/scripts/Northrend/Gundrak/boss_eck.cpp index 2ac4bd973..ffd298587 100644 --- a/src/server/scripts/Northrend/Gundrak/boss_eck.cpp +++ b/src/server/scripts/Northrend/Gundrak/boss_eck.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "gundrak.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "gundrak.h" enum Spells { diff --git a/src/server/scripts/Northrend/Gundrak/boss_gal_darah.cpp b/src/server/scripts/Northrend/Gundrak/boss_gal_darah.cpp index 6404a840f..6f65a6bc8 100644 --- a/src/server/scripts/Northrend/Gundrak/boss_gal_darah.cpp +++ b/src/server/scripts/Northrend/Gundrak/boss_gal_darah.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "gundrak.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "gundrak.h" enum Spells { diff --git a/src/server/scripts/Northrend/Gundrak/boss_moorabi.cpp b/src/server/scripts/Northrend/Gundrak/boss_moorabi.cpp index dee3cbda4..2f03559d4 100644 --- a/src/server/scripts/Northrend/Gundrak/boss_moorabi.cpp +++ b/src/server/scripts/Northrend/Gundrak/boss_moorabi.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "gundrak.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "gundrak.h" enum eSpells { diff --git a/src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp b/src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp index 4509c0953..1998352b4 100644 --- a/src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp +++ b/src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "gundrak.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "gundrak.h" enum Spells { diff --git a/src/server/scripts/Northrend/Gundrak/gundrak.h b/src/server/scripts/Northrend/Gundrak/gundrak.h index 7324de734..90b8932a7 100644 --- a/src/server/scripts/Northrend/Gundrak/gundrak.h +++ b/src/server/scripts/Northrend/Gundrak/gundrak.h @@ -18,8 +18,8 @@ #ifndef DEF_GUNDRAK_H #define DEF_GUNDRAK_H -#include "SpellScript.h" #include "CreatureAIImpl.h" +#include "SpellScript.h" #define GundrakScriptName "instance_gundrak" diff --git a/src/server/scripts/Northrend/Gundrak/instance_gundrak.cpp b/src/server/scripts/Northrend/Gundrak/instance_gundrak.cpp index 13a2a71d4..8c72e14d6 100644 --- a/src/server/scripts/Northrend/Gundrak/instance_gundrak.cpp +++ b/src/server/scripts/Northrend/Gundrak/instance_gundrak.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "gundrak.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "gundrak.h" DoorData const doorData[] = { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_prince_council.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_prince_council.cpp index ced92a8b7..f9533522f 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_prince_council.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_prince_council.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ -#include "icecrown_citadel.h" #include "ObjectMgr.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" +#include "icecrown_citadel.h" enum Texts { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp index 57876fef3..733bbe04f 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp @@ -16,12 +16,12 @@ */ #include "GridNotifiers.h" -#include "icecrown_citadel.h" #include "ObjectMgr.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" #include "SpellAuraEffects.h" +#include "icecrown_citadel.h" enum Texts { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp index dc78adafe..85bb64b0e 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ -#include "icecrown_citadel.h" #include "ObjectMgr.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuras.h" +#include "icecrown_citadel.h" enum ScriptTexts { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp index 75f866143..278854bec 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "icecrown_citadel.h" #include "ObjectMgr.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" +#include "icecrown_citadel.h" enum ScriptTexts { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp index 2629d73b4..3c0afa64c 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp @@ -16,7 +16,6 @@ */ #include "CreatureTextMgr.h" -#include "icecrown_citadel.h" #include "MoveSpline.h" #include "MoveSplineInit.h" #include "ScriptMgr.h" @@ -24,6 +23,7 @@ #include "Transport.h" #include "TransportMgr.h" #include "Vehicle.h" +#include "icecrown_citadel.h" enum Texts { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp index eb2fe2db3..5a66b35a0 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp @@ -16,12 +16,12 @@ */ #include "Group.h" -#include "icecrown_citadel.h" #include "ObjectMgr.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" +#include "icecrown_citadel.h" #include enum ScriptTexts diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp index 4fa7f215b..48f5672fa 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp @@ -15,15 +15,15 @@ * with this program. If not, see . */ -#include "icecrown_citadel.h" #include "MapMgr.h" #include "ObjectMgr.h" #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "Vehicle.h" +#include "icecrown_citadel.h" #include enum ScriptTexts @@ -71,7 +71,7 @@ enum Events uint32 const boneSpikeSummonId[3] = {69062, 72669, 72670}; -struct BoneStormMoveTargetSelector : public Acore::unary_function +struct BoneStormMoveTargetSelector { public: BoneStormMoveTargetSelector(Creature* source) : _source(source) { } diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp index d89ca38a6..eee32e5e0 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp @@ -17,13 +17,13 @@ #include "GridNotifiers.h" #include "Group.h" -#include "icecrown_citadel.h" #include "ObjectMgr.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" #include "SpellAuraEffects.h" #include "Vehicle.h" +#include "icecrown_citadel.h" enum ScriptTexts { @@ -201,10 +201,10 @@ private: }; // xinef: malleable goo selector, check for target validity -struct MalleableGooSelector : public Acore::unary_function +struct MalleableGooSelector { - const Unit* me; - MalleableGooSelector(Unit const* unit) : me(unit) {} +public: + MalleableGooSelector(Unit const* unit) : me(unit) { } bool operator()(Unit const* target) const { @@ -216,6 +216,8 @@ struct MalleableGooSelector : public Acore::unary_function return me->IsValidAttackTarget(target); } +private: + const Unit* me; }; class boss_professor_putricide : public CreatureScript diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp index 4966009ee..202c35706 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp @@ -16,11 +16,11 @@ */ #include "GridNotifiers.h" -#include "icecrown_citadel.h" #include "ObjectMgr.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" +#include "icecrown_citadel.h" enum Texts { diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp index 9283d0f35..71e303668 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp @@ -16,11 +16,11 @@ */ #include "GridNotifiers.h" -#include "icecrown_citadel.h" #include "ObjectMgr.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "icecrown_citadel.h" enum Texts { @@ -237,7 +237,7 @@ private: ObjectGuid _sindragosaGUID; }; -struct LastPhaseIceTombTargetSelector : public Acore::unary_function +struct LastPhaseIceTombTargetSelector { public: LastPhaseIceTombTargetSelector(Creature* source) : _source(source) { } diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp index 04240c896..6d1c895bf 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp @@ -20,15 +20,15 @@ #include "CreatureTextMgr.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" -#include "icecrown_citadel.h" #include "ObjectMgr.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "Unit.h" #include "Vehicle.h" +#include "icecrown_citadel.h" enum Texts { @@ -370,7 +370,7 @@ void SendPacketToPlayers(WorldPacket const* data, Unit* source) player->GetSession()->SendPacket(data); } -struct ShadowTrapLKTargetSelector : public Acore::unary_function +struct ShadowTrapLKTargetSelector { public: ShadowTrapLKTargetSelector(Creature* source, bool playerOnly = true, bool reqLOS = false, float maxDist = 0.0f) : _source(source), _playerOnly(playerOnly), _reqLOS(reqLOS), _maxDist(maxDist) { } @@ -396,7 +396,7 @@ private: float _maxDist; }; -struct NonTankLKTargetSelector : public Acore::unary_function +struct NonTankLKTargetSelector { public: NonTankLKTargetSelector(Creature* source, bool playerOnly = true, bool reqLOS = false, float maxDist = 0.0f, uint32 exclude1 = 0, uint32 exclude2 = 0) : _source(source), _playerOnly(playerOnly), _reqLOS(reqLOS), _maxDist(maxDist), _exclude1(exclude1), _exclude2(exclude2) { } @@ -430,7 +430,7 @@ private: uint32 _exclude2; }; -struct DefileTargetSelector : public Acore::unary_function +struct DefileTargetSelector { public: DefileTargetSelector(Creature* source) : _source(source) { } @@ -587,7 +587,7 @@ private: Creature& _owner; }; -class NecroticPlagueTargetCheck : public Acore::unary_function +class NecroticPlagueTargetCheck { public: NecroticPlagueTargetCheck(Unit const* obj, uint32 notAura1, uint32 notAura2) : _sourceObj(obj), _notAura1(notAura1), _notAura2(notAura2) {} diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_valithria_dreamwalker.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_valithria_dreamwalker.cpp index 078aedd44..d41b002ed 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_valithria_dreamwalker.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_valithria_dreamwalker.cpp @@ -19,11 +19,11 @@ #include "CellImpl.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" -#include "icecrown_citadel.h" #include "ObjectMgr.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" +#include "icecrown_citadel.h" enum Texts { @@ -157,8 +157,9 @@ public: } }; -struct ManaVoidSelector : public Acore::unary_function +struct ManaVoidSelector { +public: explicit ManaVoidSelector(WorldObject const* source) : _source(source) { } bool operator()(Unit* unit) const @@ -166,6 +167,7 @@ struct ManaVoidSelector : public Acore::unary_function return unit->getPowerType() == POWER_MANA && _source->GetDistance(unit) > 15.0f; } +private: WorldObject const* _source; }; diff --git a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp index 2e4a9bea4..55b90a479 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp @@ -15,18 +15,18 @@ * with this program. If not, see . */ +#include "icecrown_citadel.h" #include "AccountMgr.h" #include "Cell.h" #include "CellImpl.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" #include "Group.h" -#include "icecrown_citadel.h" #include "ObjectMgr.h" #include "PassiveAI.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" #include "SmartAI.h" #include "SpellAuraEffects.h" diff --git a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel_teleport.cpp b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel_teleport.cpp index 403637b27..fa786f5b7 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel_teleport.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel_teleport.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ -#include "icecrown_citadel.h" #include "InstanceScript.h" #include "Player.h" -#include "ScriptedGossip.h" #include "ScriptMgr.h" +#include "ScriptedGossip.h" #include "Spell.h" +#include "icecrown_citadel.h" #define GOSSIP_SENDER_ICC_PORT 631 diff --git a/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp index 63fbdae3e..712819935 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp @@ -18,16 +18,16 @@ #include "AccountMgr.h" #include "CreatureTextMgr.h" #include "Group.h" -#include "icecrown_citadel.h" #include "InstanceScript.h" #include "Map.h" #include "ObjectMgr.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Transport.h" #include "WorldPacket.h" #include "WorldSession.h" +#include "icecrown_citadel.h" enum EventIds { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.cpp b/src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.cpp index da74e4f7f..d744c7744 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "naxxramas.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "naxxramas.h" enum Says { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_faerlina.cpp b/src/server/scripts/Northrend/Naxxramas/boss_faerlina.cpp index e9a07a588..dc1225451 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_faerlina.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_faerlina.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "naxxramas.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" +#include "naxxramas.h" enum Yells { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp b/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp index b1ec6c8de..2b83e104f 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ -#include "naxxramas.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" +#include "naxxramas.h" enum Spells { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_gluth.cpp b/src/server/scripts/Northrend/Naxxramas/boss_gluth.cpp index 0d7e88941..de26c3e9c 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_gluth.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_gluth.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "naxxramas.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "naxxramas.h" enum Spells { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp b/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp index 8167503d5..4081eadad 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp @@ -17,10 +17,10 @@ #include "CombatAI.h" #include "GridNotifiers.h" -#include "naxxramas.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "naxxramas.h" enum Yells { @@ -173,15 +173,18 @@ const Position PosSummonDead[5] = #define IN_LIVE_SIDE(who) (who->GetPositionY() < POS_Y_GATE) // Predicate function to check that the r efzr unit is NOT on the same side as the source. -struct NotOnSameSide : public Acore::unary_function +struct NotOnSameSide { - bool m_inLiveSide; - explicit NotOnSameSide(Unit* pSource) : m_inLiveSide(IN_LIVE_SIDE(pSource)) {} +public: + explicit NotOnSameSide(Unit* pSource) : m_inLiveSide(IN_LIVE_SIDE(pSource)) { } bool operator() (const Unit* pTarget) { return (m_inLiveSide != IN_LIVE_SIDE(pTarget)); } + +private: + bool m_inLiveSide; }; class boss_gothik : public CreatureScript diff --git a/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp b/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp index f08033ee8..fb8d9ddfd 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ -#include "naxxramas.h" #include "PassiveAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" -#include "SpellScript.h" -#include "SpellAuras.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" +#include "SpellAuras.h" +#include "SpellScript.h" +#include "naxxramas.h" enum Spells { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp b/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp index e2116d344..bbe385478 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "naxxramas.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "naxxramas.h" enum Says { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp b/src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp index 30a561458..f4c8a1b4e 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "naxxramas.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "naxxramas.h" enum Yells { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp b/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp index 8221d5a7a..ef41b0444 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "naxxramas.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "naxxramas.h" enum Spells { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp b/src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp index f0a293f3b..427d5b0f1 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "naxxramas.h" #include "PassiveAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "naxxramas.h" enum Spells { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_noth.cpp b/src/server/scripts/Northrend/Naxxramas/boss_noth.cpp index 36dcbb8de..88c2f8b97 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_noth.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_noth.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "naxxramas.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "naxxramas.h" enum Says { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_patchwerk.cpp b/src/server/scripts/Northrend/Naxxramas/boss_patchwerk.cpp index ab1f3d82f..c9d2fce99 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_patchwerk.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_patchwerk.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "naxxramas.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "naxxramas.h" enum Yells { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_razuvious.cpp b/src/server/scripts/Northrend/Naxxramas/boss_razuvious.cpp index 4e4d55016..7e8abfd92 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_razuvious.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_razuvious.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "naxxramas.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "naxxramas.h" enum Says { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_sapphiron.cpp b/src/server/scripts/Northrend/Naxxramas/boss_sapphiron.cpp index 8bc2ac882..62b07057c 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_sapphiron.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_sapphiron.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "naxxramas.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "naxxramas.h" enum Yells { diff --git a/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp b/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp index 63f28cc16..4381e3c97 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "naxxramas.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "naxxramas.h" enum Says { diff --git a/src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp b/src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp index d51c36383..5b52d8a45 100644 --- a/src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp +++ b/src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp @@ -18,10 +18,10 @@ #include "CellImpl.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" -#include "naxxramas.h" #include "PassiveAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "naxxramas.h" const float HeiganPos[2] = {2796, -3707}; const float HeiganEruptionSlope[3] = diff --git a/src/server/scripts/Northrend/Naxxramas/naxxramas.h b/src/server/scripts/Northrend/Naxxramas/naxxramas.h index fac8a1377..ed4425b0d 100644 --- a/src/server/scripts/Northrend/Naxxramas/naxxramas.h +++ b/src/server/scripts/Northrend/Naxxramas/naxxramas.h @@ -18,8 +18,8 @@ #ifndef DEF_NAXXRAMAS_H #define DEF_NAXXRAMAS_H -#include "SpellScript.h" #include "CreatureAIImpl.h" +#include "SpellScript.h" #define NaxxramasScriptName "instance_naxxramas" diff --git a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp index 4890baa35..aad4a6148 100644 --- a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp +++ b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp @@ -16,17 +16,17 @@ */ #include "CombatAI.h" -#include "eye_of_eternity.h" #include "MoveSpline.h" #include "MoveSplineInit.h" #include "Opcodes.h" #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" #include "Vehicle.h" #include "WorldSession.h" +#include "eye_of_eternity.h" enum MovementInformPoints { diff --git a/src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp b/src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp index 74f6b7ff2..ed593811c 100644 --- a/src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp +++ b/src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "eye_of_eternity.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Vehicle.h" +#include "eye_of_eternity.h" bool EoEDrakeEnterVehicleEvent::Execute(uint64 /*eventTime*/, uint32 /*updateTime*/) { diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp index 28cf2c8d3..bc7e03ff7 100644 --- a/src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp +++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "nexus.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" +#include "nexus.h" enum Spells { diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_commander_stoutbeard_kolurg.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_commander_stoutbeard_kolurg.cpp index 553f4bb91..12b549d6a 100644 --- a/src/server/scripts/Northrend/Nexus/Nexus/boss_commander_stoutbeard_kolurg.cpp +++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_commander_stoutbeard_kolurg.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "nexus.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "nexus.h" enum Spells { diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp index dfb126836..6d2f5be38 100644 --- a/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp +++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp @@ -16,9 +16,9 @@ * with this program. If not, see . */ -#include "nexus.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "nexus.h" enum eEnums { diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp index 680bdf457..6418ac84a 100644 --- a/src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp +++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "nexus.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "nexus.h" enum Spells { diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp index d521290a7..2441ffa19 100644 --- a/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp +++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "nexus.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "nexus.h" enum eEnums { diff --git a/src/server/scripts/Northrend/Nexus/Nexus/instance_nexus.cpp b/src/server/scripts/Northrend/Nexus/Nexus/instance_nexus.cpp index fe9d73447..fc19d1c7f 100644 --- a/src/server/scripts/Northrend/Nexus/Nexus/instance_nexus.cpp +++ b/src/server/scripts/Northrend/Nexus/Nexus/instance_nexus.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "nexus.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "nexus.h" DoorData const doorData[] = { diff --git a/src/server/scripts/Northrend/Nexus/Oculus/boss_drakos.cpp b/src/server/scripts/Northrend/Nexus/Oculus/boss_drakos.cpp index 3cd75bfef..a952bf6d7 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/boss_drakos.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/boss_drakos.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "oculus.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "oculus.h" enum Spells { diff --git a/src/server/scripts/Northrend/Nexus/Oculus/boss_eregos.cpp b/src/server/scripts/Northrend/Nexus/Oculus/boss_eregos.cpp index 727f9647e..71ed678bd 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/boss_eregos.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/boss_eregos.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "oculus.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "oculus.h" enum Spells { diff --git a/src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp b/src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp index e8f5fdf04..e7fdacaee 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "oculus.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" +#include "oculus.h" enum Spells { diff --git a/src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp b/src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp index e21aa8bca..5c7515429 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "oculus.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "oculus.h" enum Spells { diff --git a/src/server/scripts/Northrend/Nexus/Oculus/instance_oculus.cpp b/src/server/scripts/Northrend/Nexus/Oculus/instance_oculus.cpp index d0894d7db..5c4a802bd 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/instance_oculus.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/instance_oculus.cpp @@ -17,10 +17,10 @@ #include "Group.h" #include "LFGMgr.h" -#include "oculus.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "oculus.h" class instance_oculus : public InstanceMapScript { diff --git a/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp b/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp index 8a965432b..36e9deae0 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp @@ -15,15 +15,15 @@ * with this program. If not, see . */ +#include "oculus.h" #include "CombatAI.h" #include "InstanceScript.h" #include "MotionMaster.h" #include "ObjectAccessor.h" -#include "oculus.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellInfo.h" #include "SpellScript.h" diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_bjarngrim.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_bjarngrim.cpp index 6f215167a..ba8c9de95 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_bjarngrim.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_bjarngrim.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "halls_of_lightning.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" +#include "halls_of_lightning.h" enum BjarngrimSpells { diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_ionar.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_ionar.cpp index 2dad3f308..013004664 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_ionar.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_ionar.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "halls_of_lightning.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" +#include "halls_of_lightning.h" enum IonarSpells { diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_loken.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_loken.cpp index b010de016..b43cfbe09 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_loken.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_loken.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "halls_of_lightning.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "halls_of_lightning.h" enum LokenSpells { diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp index f1fac2841..258ce3a5c 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "halls_of_lightning.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" +#include "halls_of_lightning.h" enum VolkahnSpells { diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/instance_halls_of_lightning.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/instance_halls_of_lightning.cpp index 185a37aff..b79fe2e03 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/instance_halls_of_lightning.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/instance_halls_of_lightning.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "halls_of_lightning.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "halls_of_lightning.h" class instance_halls_of_lightning : public InstanceMapScript { diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp index ca582e281..9142e3d0f 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "halls_of_stone.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "halls_of_stone.h" enum spells { diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_maiden_of_grief.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_maiden_of_grief.cpp index 341530b06..d3d662409 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_maiden_of_grief.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_maiden_of_grief.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "halls_of_stone.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "halls_of_stone.h" enum spells { diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp index f1f6d2007..94aaa32dc 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "halls_of_stone.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "halls_of_stone.h" enum Spells { diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/brann_bronzebeard.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/brann_bronzebeard.cpp index 9e8a92d81..2264e9f85 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/brann_bronzebeard.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/brann_bronzebeard.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ -#include "halls_of_stone.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellScript.h" +#include "halls_of_stone.h" #define GOSSIP_ITEM_1 "Brann, it would be our honor!" #define GOSSIP_ITEM_2 "Let's move Brann, enough of the history lessons!" diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/instance_halls_of_stone.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/instance_halls_of_stone.cpp index 37195206e..5840bca6c 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/instance_halls_of_stone.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/instance_halls_of_stone.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "halls_of_stone.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "halls_of_stone.h" class instance_halls_of_stone : public InstanceMapScript { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp index 650160d3b..a18effa32 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp @@ -21,8 +21,8 @@ #include "ObjectMgr.h" #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" #include "ulduar.h" diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_assembly_of_iron.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_assembly_of_iron.cpp index fed6159e4..f65e710d2 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_assembly_of_iron.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_assembly_of_iron.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "ulduar.h" diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp index 21a322abf..018f48db1 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "ulduar.h" diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp index a752241a6..649455592 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp @@ -20,16 +20,16 @@ #include "Opcodes.h" #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "Spell.h" #include "SpellAuraEffects.h" #include "SpellAuras.h" #include "SpellScript.h" -#include "ulduar.h" #include "Vehicle.h" +#include "ulduar.h" enum LeviathanSpells { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp index 58c1fe3a8..05b3ce9db 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp @@ -17,8 +17,8 @@ #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "ulduar.h" diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_general_vezax.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_general_vezax.cpp index 4139cfabc..a6d17e817 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_general_vezax.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_general_vezax.cpp @@ -19,11 +19,11 @@ #include "BanMgr.h" #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" -#include "ulduar.h" #include "WorldSession.h" +#include "ulduar.h" enum VezaxSpellData { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp index 8a62c0296..9753bca6a 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp @@ -17,8 +17,8 @@ #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellAuras.h" #include "SpellScript.h" diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp index 1886cd068..764e1eea6 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp @@ -16,13 +16,13 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellAuras.h" #include "SpellScript.h" -#include "ulduar.h" #include "Vehicle.h" +#include "ulduar.h" #define SPELL_FLAME_JETS_10 62680 #define SPELL_FLAME_JETS_25 63472 diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp index a7d5c5468..3b6e910eb 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp @@ -17,12 +17,12 @@ #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" -#include "ulduar.h" #include "Vehicle.h" +#include "ulduar.h" enum KologarnSays { @@ -648,7 +648,7 @@ public: }; // predicate function to select non main tank target -class StoneGripTargetSelector : public Acore::unary_function +class StoneGripTargetSelector { public: StoneGripTargetSelector(Creature* me, Unit const* victim) : _me(me), _victim(victim) {} @@ -664,6 +664,7 @@ public: return false; } +private: Creature* _me; Unit const* _victim; }; diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_mimiron.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_mimiron.cpp index 98dd3649b..fd4357261 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_mimiron.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_mimiron.cpp @@ -18,13 +18,13 @@ #include "MapMgr.h" #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" #include "SpellAuraEffects.h" #include "SpellScript.h" -#include "ulduar.h" #include "Vehicle.h" +#include "ulduar.h" enum SpellData { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp index 4d9043225..84d67803f 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp @@ -17,13 +17,13 @@ #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuras.h" #include "SpellScript.h" -#include "ulduar.h" #include "WaypointMgr.h" +#include "ulduar.h" #define SPELL_FLAMEBUFFET_10 64016 #define SPELL_FLAMEBUFFET_25 64023 diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_thorim.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_thorim.cpp index d386a78d4..c5861c7f0 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_thorim.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_thorim.cpp @@ -17,9 +17,9 @@ #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "ulduar.h" diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp index 664179176..cf91e07a4 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp @@ -18,12 +18,12 @@ #include "Opcodes.h" #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" -#include "ulduar.h" #include "Vehicle.h" +#include "ulduar.h" enum XT002Spells { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yoggsaron.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yoggsaron.cpp index 7818fd63d..be20f5ddd 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yoggsaron.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yoggsaron.cpp @@ -20,9 +20,9 @@ #include "Opcodes.h" #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" #include "SpellAuras.h" #include "SpellScript.h" #include "ulduar.h" diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp index 25d477d70..ced3d0467 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp @@ -16,13 +16,13 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Transport.h" -#include "ulduar.h" #include "Vehicle.h" #include "WorldPacket.h" #include "WorldSession.h" +#include "ulduar.h" class instance_ulduar : public InstanceMapScript { diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/ulduar.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/ulduar.cpp index 864fcab10..fb1509ec6 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/ulduar.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/ulduar.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ +#include "ulduar.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellScript.h" -#include "ulduar.h" class npc_ulduar_keeper : public CreatureScript { diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp index 0798a497d..bae863021 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "utgarde_keep.h" enum eDisplayId diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp index bae881fc4..54bb5fb10 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp @@ -16,8 +16,8 @@ */ #include "PassiveAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "utgarde_keep.h" diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp index af16e000e..0606cd4fc 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "utgarde_keep.h" enum eTexts diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/instance_utgarde_keep.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/instance_utgarde_keep.cpp index 254215246..b492f3468 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/instance_utgarde_keep.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/instance_utgarde_keep.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "utgarde_keep.h" class instance_utgarde_keep : public InstanceMapScript diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp index ed2cb0b09..9cebba4df 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "GameObjectAI.h" -#include "ScriptedCreature.h" -#include "ScriptMgr.h" #include "utgarde_keep.h" +#include "GameObjectAI.h" +#include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Vehicle.h" class npc_dragonflayer_forge_master : public CreatureScript diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.h b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.h index 467f30f23..288a24772 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.h +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.h @@ -18,8 +18,8 @@ #ifndef DEF_UTGARDE_KEEP_H #define DEF_UTGARDE_KEEP_H -#include "SpellScript.h" #include "CreatureAIImpl.h" +#include "SpellScript.h" #define UtgardeKeepScriptName "instance_utgarde_keep" diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp index 8b0ed208c..bc487a837 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "utgarde_pinnacle.h" enum Misc diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp index 578e10182..f4bbb5b88 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp @@ -17,11 +17,11 @@ #include "CombatAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" -#include "utgarde_pinnacle.h" #include "Vehicle.h" +#include "utgarde_pinnacle.h" enum Misc { diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp index a20f8ad54..a28ed7e20 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp @@ -17,8 +17,8 @@ #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" #include "utgarde_pinnacle.h" diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp index 072e1bbfb..452b6bfe8 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "utgarde_pinnacle.h" diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/instance_utgarde_pinnacle.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/instance_utgarde_pinnacle.cpp index 0c99227ff..bce4d4370 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/instance_utgarde_pinnacle.cpp +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/instance_utgarde_pinnacle.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "utgarde_pinnacle.h" class instance_utgarde_pinnacle : public InstanceMapScript diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h index 416cd9cb4..d39a95dc1 100644 --- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h +++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h @@ -18,8 +18,8 @@ #ifndef DEF_PINNACLE_H #define DEF_PINNACLE_H -#include "Opcodes.h" #include "CreatureAIImpl.h" +#include "Opcodes.h" #define UtgardePinnacleScriptName "instance_utgarde_pinnacle" diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp index 6fbd488c6..b593659ff 100644 --- a/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp +++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "SpellScript.h" #include "vault_of_archavon.h" diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp index 6ae1c1404..0c888ee0a 100644 --- a/src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp +++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "SpellScript.h" #include "vault_of_archavon.h" diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp index 02f5b1ce4..5391bcc0f 100644 --- a/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp +++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "SpellScript.h" #include "vault_of_archavon.h" diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp index d1d04043c..2d9f8deb5 100644 --- a/src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp +++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp @@ -17,8 +17,8 @@ #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "vault_of_archavon.h" diff --git a/src/server/scripts/Northrend/VaultOfArchavon/instance_vault_of_archavon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/instance_vault_of_archavon.cpp index 9010eab91..ba480aacd 100644 --- a/src/server/scripts/Northrend/VaultOfArchavon/instance_vault_of_archavon.cpp +++ b/src/server/scripts/Northrend/VaultOfArchavon/instance_vault_of_archavon.cpp @@ -18,8 +18,8 @@ #include "Battlefield.h" #include "BattlefieldMgr.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "vault_of_archavon.h" diff --git a/src/server/scripts/Northrend/VioletHold/boss_cyanigosa.cpp b/src/server/scripts/Northrend/VioletHold/boss_cyanigosa.cpp index ca8887860..71956b98d 100644 --- a/src/server/scripts/Northrend/VioletHold/boss_cyanigosa.cpp +++ b/src/server/scripts/Northrend/VioletHold/boss_cyanigosa.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "violet_hold.h" diff --git a/src/server/scripts/Northrend/VioletHold/boss_erekem.cpp b/src/server/scripts/Northrend/VioletHold/boss_erekem.cpp index 1283f2d62..834b5c69e 100644 --- a/src/server/scripts/Northrend/VioletHold/boss_erekem.cpp +++ b/src/server/scripts/Northrend/VioletHold/boss_erekem.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "violet_hold.h" enum eSpells diff --git a/src/server/scripts/Northrend/VioletHold/boss_ichoron.cpp b/src/server/scripts/Northrend/VioletHold/boss_ichoron.cpp index 4ad500f6d..a0d2ae77d 100644 --- a/src/server/scripts/Northrend/VioletHold/boss_ichoron.cpp +++ b/src/server/scripts/Northrend/VioletHold/boss_ichoron.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "violet_hold.h" diff --git a/src/server/scripts/Northrend/VioletHold/boss_lavanthor.cpp b/src/server/scripts/Northrend/VioletHold/boss_lavanthor.cpp index a7317dc75..fb59d658c 100644 --- a/src/server/scripts/Northrend/VioletHold/boss_lavanthor.cpp +++ b/src/server/scripts/Northrend/VioletHold/boss_lavanthor.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "violet_hold.h" enum eSpells diff --git a/src/server/scripts/Northrend/VioletHold/boss_moragg.cpp b/src/server/scripts/Northrend/VioletHold/boss_moragg.cpp index a4668ea98..29b6c5e40 100644 --- a/src/server/scripts/Northrend/VioletHold/boss_moragg.cpp +++ b/src/server/scripts/Northrend/VioletHold/boss_moragg.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "violet_hold.h" diff --git a/src/server/scripts/Northrend/VioletHold/boss_xevozz.cpp b/src/server/scripts/Northrend/VioletHold/boss_xevozz.cpp index 18cfe908b..56559dcf9 100644 --- a/src/server/scripts/Northrend/VioletHold/boss_xevozz.cpp +++ b/src/server/scripts/Northrend/VioletHold/boss_xevozz.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "violet_hold.h" enum Yells diff --git a/src/server/scripts/Northrend/VioletHold/boss_zuramat.cpp b/src/server/scripts/Northrend/VioletHold/boss_zuramat.cpp index ad4a0efe3..b0be3da7a 100644 --- a/src/server/scripts/Northrend/VioletHold/boss_zuramat.cpp +++ b/src/server/scripts/Northrend/VioletHold/boss_zuramat.cpp @@ -16,8 +16,8 @@ */ #include "PassiveAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "violet_hold.h" enum Yells diff --git a/src/server/scripts/Northrend/VioletHold/instance_violet_hold.cpp b/src/server/scripts/Northrend/VioletHold/instance_violet_hold.cpp index 7b941c6de..1a0f0af56 100644 --- a/src/server/scripts/Northrend/VioletHold/instance_violet_hold.cpp +++ b/src/server/scripts/Northrend/VioletHold/instance_violet_hold.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "violet_hold.h" #define CLEANUP_CHECK_INTERVAL 5000 diff --git a/src/server/scripts/Northrend/VioletHold/violet_hold.cpp b/src/server/scripts/Northrend/VioletHold/violet_hold.cpp index d9cc177a0..ccf11d836 100644 --- a/src/server/scripts/Northrend/VioletHold/violet_hold.cpp +++ b/src/server/scripts/Northrend/VioletHold/violet_hold.cpp @@ -15,14 +15,14 @@ * with this program. If not, see . */ +#include "violet_hold.h" #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellScript.h" -#include "violet_hold.h" /*********** ** DEFENSE SYSTEM CRYSTAL diff --git a/src/server/scripts/Northrend/isle_of_conquest.cpp b/src/server/scripts/Northrend/isle_of_conquest.cpp index 6121f8b5b..25c641516 100644 --- a/src/server/scripts/Northrend/isle_of_conquest.cpp +++ b/src/server/scripts/Northrend/isle_of_conquest.cpp @@ -19,8 +19,8 @@ #include "CombatAI.h" #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "SpellScript.h" diff --git a/src/server/scripts/Northrend/zone_borean_tundra.cpp b/src/server/scripts/Northrend/zone_borean_tundra.cpp index 2443dd9fb..f54b1e8be 100644 --- a/src/server/scripts/Northrend/zone_borean_tundra.cpp +++ b/src/server/scripts/Northrend/zone_borean_tundra.cpp @@ -35,16 +35,15 @@ EndContentData */ #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedFollowerAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuras.h" #include "SpellInfo.h" #include "SpellScript.h" #include "WorldSession.h" -#include "ScriptedGossip.h" // Ours enum eDrakeHunt diff --git a/src/server/scripts/Northrend/zone_crystalsong_forest.cpp b/src/server/scripts/Northrend/zone_crystalsong_forest.cpp index 4930a6823..02646aadc 100644 --- a/src/server/scripts/Northrend/zone_crystalsong_forest.cpp +++ b/src/server/scripts/Northrend/zone_crystalsong_forest.cpp @@ -25,8 +25,8 @@ Script Data End */ #include "PassiveAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SmartScriptMgr.h" #include "Transport.h" #include "Vehicle.h" diff --git a/src/server/scripts/Northrend/zone_dalaran.cpp b/src/server/scripts/Northrend/zone_dalaran.cpp index 560309a73..6ebcf08b4 100644 --- a/src/server/scripts/Northrend/zone_dalaran.cpp +++ b/src/server/scripts/Northrend/zone_dalaran.cpp @@ -24,9 +24,9 @@ SDCategory: Dalaran Script Data End */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "World.h" // Ours diff --git a/src/server/scripts/Northrend/zone_dragonblight.cpp b/src/server/scripts/Northrend/zone_dragonblight.cpp index 6e2c8c39d..e4506a172 100644 --- a/src/server/scripts/Northrend/zone_dragonblight.cpp +++ b/src/server/scripts/Northrend/zone_dragonblight.cpp @@ -29,11 +29,12 @@ EndContentData */ #include "Chat.h" #include "CombatAI.h" #include "CreatureTextMgr.h" +#include "GridNotifiersImpl.h" #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuras.h" #include "SpellScript.h" #include "Vehicle.h" diff --git a/src/server/scripts/Northrend/zone_grizzly_hills.cpp b/src/server/scripts/Northrend/zone_grizzly_hills.cpp index bed9db332..184cac66a 100644 --- a/src/server/scripts/Northrend/zone_grizzly_hills.cpp +++ b/src/server/scripts/Northrend/zone_grizzly_hills.cpp @@ -19,12 +19,11 @@ #include "CreatureTextMgr.h" #include "Pet.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" #include "SpellInfo.h" #include "SpellScript.h" -#include "CombatAI.h" // Theirs diff --git a/src/server/scripts/Northrend/zone_howling_fjord.cpp b/src/server/scripts/Northrend/zone_howling_fjord.cpp index 17cd6656a..802193cf5 100644 --- a/src/server/scripts/Northrend/zone_howling_fjord.cpp +++ b/src/server/scripts/Northrend/zone_howling_fjord.cpp @@ -29,10 +29,10 @@ EndContentData */ #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" // Ours diff --git a/src/server/scripts/Northrend/zone_icecrown.cpp b/src/server/scripts/Northrend/zone_icecrown.cpp index d4ab7ebf9..06a5cfb47 100644 --- a/src/server/scripts/Northrend/zone_icecrown.cpp +++ b/src/server/scripts/Northrend/zone_icecrown.cpp @@ -30,10 +30,10 @@ EndContentData */ #include "MoveSplineInit.h" #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SmartScriptMgr.h" #include "SpellAuras.h" #include "SpellScript.h" diff --git a/src/server/scripts/Northrend/zone_sholazar_basin.cpp b/src/server/scripts/Northrend/zone_sholazar_basin.cpp index 6344208c1..c18d90fbc 100644 --- a/src/server/scripts/Northrend/zone_sholazar_basin.cpp +++ b/src/server/scripts/Northrend/zone_sholazar_basin.cpp @@ -31,10 +31,10 @@ EndContentData */ #include "CombatAI.h" #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuras.h" #include "SpellScript.h" #include "Vehicle.h" diff --git a/src/server/scripts/Northrend/zone_storm_peaks.cpp b/src/server/scripts/Northrend/zone_storm_peaks.cpp index fc5a45781..45bd0d932 100644 --- a/src/server/scripts/Northrend/zone_storm_peaks.cpp +++ b/src/server/scripts/Northrend/zone_storm_peaks.cpp @@ -17,10 +17,10 @@ #include "CombatAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "Vehicle.h" diff --git a/src/server/scripts/Northrend/zone_wintergrasp.cpp b/src/server/scripts/Northrend/zone_wintergrasp.cpp index 4d994a023..683591a04 100644 --- a/src/server/scripts/Northrend/zone_wintergrasp.cpp +++ b/src/server/scripts/Northrend/zone_wintergrasp.cpp @@ -24,9 +24,9 @@ #include "ObjectMgr.h" #include "Player.h" #include "PoolMgr.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellScript.h" #include "Vehicle.h" #include "World.h" diff --git a/src/server/scripts/Northrend/zone_zuldrak.cpp b/src/server/scripts/Northrend/zone_zuldrak.cpp index 7431acb69..ac5e0b5b2 100644 --- a/src/server/scripts/Northrend/zone_zuldrak.cpp +++ b/src/server/scripts/Northrend/zone_zuldrak.cpp @@ -18,10 +18,10 @@ #include "CombatAI.h" #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuras.h" #include "SpellInfo.h" #include "Vehicle.h" diff --git a/src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp b/src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp index 156f36407..27bb60102 100644 --- a/src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp +++ b/src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ +#include "OutdoorPvPEP.h" #include "GameGraveyard.h" #include "GameObject.h" #include "Language.h" #include "MapMgr.h" #include "ObjectAccessor.h" #include "ObjectMgr.h" -#include "OutdoorPvPEP.h" #include "OutdoorPvPMgr.h" #include "Player.h" #include "ScriptMgr.h" diff --git a/src/server/scripts/OutdoorPvP/OutdoorPvPGH.cpp b/src/server/scripts/OutdoorPvP/OutdoorPvPGH.cpp index b3a53c0d8..6339f6754 100644 --- a/src/server/scripts/OutdoorPvP/OutdoorPvPGH.cpp +++ b/src/server/scripts/OutdoorPvP/OutdoorPvPGH.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "OutdoorPvPGH.h" #include "GameEventMgr.h" #include "MapMgr.h" -#include "OutdoorPvPGH.h" #include "OutdoorPvPMgr.h" #include "Player.h" #include "ScriptMgr.h" diff --git a/src/server/scripts/OutdoorPvP/OutdoorPvPHP.cpp b/src/server/scripts/OutdoorPvP/OutdoorPvPHP.cpp index 53d155a13..47ac8c1e9 100644 --- a/src/server/scripts/OutdoorPvP/OutdoorPvPHP.cpp +++ b/src/server/scripts/OutdoorPvP/OutdoorPvPHP.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ +#include "OutdoorPvPHP.h" #include "Language.h" #include "MapMgr.h" #include "ObjectMgr.h" #include "OutdoorPvP.h" -#include "OutdoorPvPHP.h" #include "OutdoorPvPMgr.h" #include "Player.h" #include "ScriptMgr.h" diff --git a/src/server/scripts/OutdoorPvP/OutdoorPvPNA.cpp b/src/server/scripts/OutdoorPvP/OutdoorPvPNA.cpp index 5a60f4967..5c359cb7c 100644 --- a/src/server/scripts/OutdoorPvP/OutdoorPvPNA.cpp +++ b/src/server/scripts/OutdoorPvP/OutdoorPvPNA.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ +#include "OutdoorPvPNA.h" #include "GameGraveyard.h" -#include "MapMgr.h" #include "Language.h" +#include "MapMgr.h" #include "ObjectMgr.h" #include "OutdoorPvPMgr.h" -#include "OutdoorPvPNA.h" #include "Player.h" #include "ScriptMgr.h" #include "World.h" diff --git a/src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp b/src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp index 619a1f9c2..db7b5dfa6 100644 --- a/src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp +++ b/src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ +#include "OutdoorPvPSI.h" #include "GameObject.h" #include "Language.h" #include "MapMgr.h" #include "ObjectMgr.h" #include "OutdoorPvPMgr.h" -#include "OutdoorPvPSI.h" #include "Player.h" #include "ReputationMgr.h" #include "ScriptMgr.h" diff --git a/src/server/scripts/OutdoorPvP/OutdoorPvPTF.cpp b/src/server/scripts/OutdoorPvP/OutdoorPvPTF.cpp index 4da190570..cb611c3ec 100644 --- a/src/server/scripts/OutdoorPvP/OutdoorPvPTF.cpp +++ b/src/server/scripts/OutdoorPvP/OutdoorPvPTF.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ +#include "OutdoorPvPTF.h" #include "Language.h" #include "MapMgr.h" #include "ObjectMgr.h" #include "OutdoorPvP.h" #include "OutdoorPvPMgr.h" -#include "OutdoorPvPTF.h" #include "Player.h" #include "ScriptMgr.h" #include "World.h" diff --git a/src/server/scripts/OutdoorPvP/OutdoorPvPZM.cpp b/src/server/scripts/OutdoorPvP/OutdoorPvPZM.cpp index b669f0307..78e7cc6eb 100644 --- a/src/server/scripts/OutdoorPvP/OutdoorPvPZM.cpp +++ b/src/server/scripts/OutdoorPvP/OutdoorPvPZM.cpp @@ -15,12 +15,13 @@ * with this program. If not, see . */ +#include "OutdoorPvPZM.h" #include "Creature.h" #include "GameGraveyard.h" +#include "GossipDef.h" #include "ObjectAccessor.h" #include "ObjectMgr.h" #include "OutdoorPvPMgr.h" -#include "OutdoorPvPZM.h" #include "Player.h" #include "ScriptMgr.h" #include "World.h" diff --git a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp index 66f896a48..9b1dd3c49 100644 --- a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp +++ b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "auchenai_crypts.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "auchenai_crypts.h" enum ExarchMaladaar { diff --git a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp index 09158c4fd..d66ca5e72 100644 --- a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp +++ b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp @@ -15,12 +15,12 @@ * with this program. If not, see . */ -#include "auchenai_crypts.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" #include "SpellScript.h" +#include "auchenai_crypts.h" enum eShirrak { diff --git a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/instance_auchenai_crypts.cpp b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/instance_auchenai_crypts.cpp index dc7a65189..f599201bb 100644 --- a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/instance_auchenai_crypts.cpp +++ b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/instance_auchenai_crypts.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "auchenai_crypts.h" #include "InstanceScript.h" #include "Map.h" #include "ScriptMgr.h" +#include "auchenai_crypts.h" class instance_auchenai_crypts : public InstanceMapScript { diff --git a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp index b7b0bb168..d2b812469 100644 --- a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp +++ b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "Player.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" -#include "Player.h" #include "mana_tombs.h" enum ePrince diff --git a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp index da0db7d86..7c7bcdcc2 100644 --- a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp +++ b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "mana_tombs.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "mana_tombs.h" enum Texts { diff --git a/src/server/scripts/Outland/Auchindoun/ManaTombs/instance_mana_tombs.cpp b/src/server/scripts/Outland/Auchindoun/ManaTombs/instance_mana_tombs.cpp index 36e90ae81..55377d766 100644 --- a/src/server/scripts/Outland/Auchindoun/ManaTombs/instance_mana_tombs.cpp +++ b/src/server/scripts/Outland/Auchindoun/ManaTombs/instance_mana_tombs.cpp @@ -16,9 +16,9 @@ */ #include "InstanceScript.h" -#include "mana_tombs.h" #include "Map.h" #include "ScriptMgr.h" +#include "mana_tombs.h" class instance_mana_tombs : public InstanceMapScript { diff --git a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_talon_king_ikiss.cpp b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_talon_king_ikiss.cpp index acdf6def9..dd547eed8 100644 --- a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_talon_king_ikiss.cpp +++ b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_talon_king_ikiss.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "sethekk_halls.h" enum TailonkingIkiss diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp index 90e2f7705..d6aabb4e8 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" #include "shadow_labyrinth.h" enum eEnums diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_blackheart_the_inciter.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_blackheart_the_inciter.cpp index 7334d9035..e1417b6ad 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_blackheart_the_inciter.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_blackheart_the_inciter.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "shadow_labyrinth.h" enum BlackheartTheInciter diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp index a342e8a72..615a1d097 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "shadow_labyrinth.h" enum GrandmasterVorpil diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp index 90ba382e5..e469a4be9 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" -#include "shadow_labyrinth.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" +#include "shadow_labyrinth.h" enum Murmur { diff --git a/src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp b/src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp index 5c1637367..eef66696d 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "black_temple.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "black_temple.h" enum Says { diff --git a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp index 2cb226f70..95df72625 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "black_temple.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptMgr.h" +#include "black_temple.h" enum Says { diff --git a/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp b/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp index 316aafe73..b31f438eb 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "black_temple.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "black_temple.h" enum Says { diff --git a/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp b/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp index b25eec7c3..cf2e68fab 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "black_temple.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" +#include "black_temple.h" enum Says { diff --git a/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp b/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp index 9e5f14aa0..fec5e1596 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "black_temple.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "black_temple.h" enum Says { diff --git a/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp b/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp index 8108c5295..7ae777286 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "black_temple.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "black_temple.h" enum Supremus { diff --git a/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp b/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp index 356a57590..a52ab53b8 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "black_temple.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "black_temple.h" enum Says { @@ -62,7 +62,7 @@ enum Misc EVENT_TALK_KILL = 10 }; -struct ShadowOfDeathSelector : public Acore::unary_function +struct ShadowOfDeathSelector { bool operator()(Unit const* target) const { diff --git a/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp b/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp index 0ad759466..8cd549da6 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "black_temple.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "black_temple.h" enum Yells { diff --git a/src/server/scripts/Outland/BlackTemple/illidari_council.cpp b/src/server/scripts/Outland/BlackTemple/illidari_council.cpp index d0e2c5273..99bf58b72 100644 --- a/src/server/scripts/Outland/BlackTemple/illidari_council.cpp +++ b/src/server/scripts/Outland/BlackTemple/illidari_council.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "black_temple.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "black_temple.h" enum Says { @@ -99,15 +99,18 @@ enum Misc EVENT_KILL_TALK = 100 }; -struct HammerOfJusticeSelector : public Acore::unary_function +struct HammerOfJusticeSelector { - Unit const* _me; +public: HammerOfJusticeSelector(Unit* me) : _me(me) { } bool operator()(Unit const* target) const { return target && target->GetTypeId() == TYPEID_PLAYER && _me->IsInRange(target, 10.0f, 40.0f, true); } + +private: + Unit const* _me; }; class VerasEnvenom : public BasicEvent diff --git a/src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp b/src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp index 94c0e35fd..c7cd0203a 100644 --- a/src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp +++ b/src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "black_temple.h" #include "InstanceScript.h" #include "ScriptMgr.h" +#include "black_temple.h" DoorData const doorData[] = { diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_fathomlord_karathress.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_fathomlord_karathress.cpp index 8830e9666..a5ee3b961 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_fathomlord_karathress.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_fathomlord_karathress.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "serpent_shrine.h" enum Talk diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp index 574dd88f7..0584e7498 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "serpent_shrine.h" enum Talk diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp index 53527200a..07095f366 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp @@ -16,11 +16,11 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" -#include "serpent_shrine.h" +#include "ScriptedCreature.h" #include "Spell.h" #include "WorldSession.h" +#include "serpent_shrine.h" enum Says { diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp index 43f2f2fee..a709cf992 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "serpent_shrine.h" enum Talk diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp index e52497c30..aa6697e4a 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "serpent_shrine.h" enum Spells diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp index cb9fa11af..479fc24ce 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "serpent_shrine.h" enum Yells diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp index 9c932065b..adcee2fe8 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp @@ -18,8 +18,8 @@ #include "InstanceScript.h" #include "Player.h" #include "ScriptMgr.h" -#include "serpent_shrine.h" #include "TemporarySummon.h" +#include "serpent_shrine.h" DoorData const doorData[] = { diff --git a/src/server/scripts/Outland/CoilfangReservoir/SlavePens/boss_ahune.cpp b/src/server/scripts/Outland/CoilfangReservoir/SlavePens/boss_ahune.cpp index cf57625fd..875d46576 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SlavePens/boss_ahune.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SlavePens/boss_ahune.cpp @@ -19,9 +19,9 @@ #include "LFGMgr.h" #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "the_slave_pens.h" #define GOSSIP_TEXT_ID 15864 diff --git a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp index 9f7384522..ae459d8ef 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "steam_vault.h" enum HydromancerThespia diff --git a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp index 0f575b974..f54a19e8f 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "steam_vault.h" enum MekgineerSteamrigger diff --git a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp index 06fc65a88..27ec6e579 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" #include "steam_vault.h" diff --git a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/steam_vault.h b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/steam_vault.h index d8fc20216..73e2b8d5c 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/steam_vault.h +++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/steam_vault.h @@ -18,8 +18,8 @@ #ifndef DEF_STEAM_VAULT_H #define DEF_STEAM_VAULT_H -#include "PassiveAI.h" #include "CreatureAIImpl.h" +#include "PassiveAI.h" #define SteamVaultScriptName "instance_steam_vault" diff --git a/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp b/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp index 82c82d075..b99af06c0 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp @@ -22,8 +22,8 @@ SDComment: Timers may be incorrect SDCategory: Coilfang Resevoir, Underbog EndScriptData */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" #include "the_underbog.h" diff --git a/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp b/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp index 8977abb43..d4f5adeb0 100644 --- a/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp +++ b/src/server/scripts/Outland/GruulsLair/boss_gruul.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "gruuls_lair.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "gruuls_lair.h" enum Yells { diff --git a/src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp b/src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp index 3a5f7d21f..cc8da5f0b 100644 --- a/src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp +++ b/src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "gruuls_lair.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "gruuls_lair.h" enum HighKingMaulgar { diff --git a/src/server/scripts/Outland/GruulsLair/instance_gruuls_lair.cpp b/src/server/scripts/Outland/GruulsLair/instance_gruuls_lair.cpp index 2c56d0bb2..0f84f4e66 100644 --- a/src/server/scripts/Outland/GruulsLair/instance_gruuls_lair.cpp +++ b/src/server/scripts/Outland/GruulsLair/instance_gruuls_lair.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "gruuls_lair.h" #include "InstanceScript.h" #include "ScriptMgr.h" +#include "gruuls_lair.h" DoorData const doorData[] = { diff --git a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/blood_furnace.h b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/blood_furnace.h index eee7e1f93..af0ef54fb 100644 --- a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/blood_furnace.h +++ b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/blood_furnace.h @@ -18,8 +18,8 @@ #ifndef DEF_BLOOD_FURNACE_H #define DEF_BLOOD_FURNACE_H -#include "Player.h" #include "CreatureAIImpl.h" +#include "Player.h" #define BloodFurnaceScriptName "instance_blood_furnace" diff --git a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp index f21dc0e79..af31a2316 100644 --- a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "blood_furnace.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" +#include "blood_furnace.h" enum eEnums { diff --git a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_kelidan_the_breaker.cpp b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_kelidan_the_breaker.cpp index 65b8a5951..5e0486a76 100644 --- a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_kelidan_the_breaker.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_kelidan_the_breaker.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "blood_furnace.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" +#include "blood_furnace.h" enum eKelidan { diff --git a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_the_maker.cpp b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_the_maker.cpp index c0648c9ff..e169c8f97 100644 --- a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_the_maker.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_the_maker.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "blood_furnace.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "blood_furnace.h" enum eEnums { diff --git a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/instance_blood_furnace.cpp b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/instance_blood_furnace.cpp index b1f840c37..ba5703310 100644 --- a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/instance_blood_furnace.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/instance_blood_furnace.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "blood_furnace.h" #include "CreatureAI.h" #include "InstanceScript.h" #include "ScriptMgr.h" +#include "blood_furnace.h" class instance_blood_furnace : public InstanceMapScript { diff --git a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_omor_the_unscarred.cpp b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_omor_the_unscarred.cpp index 6b2e55dd8..68e810db8 100644 --- a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_omor_the_unscarred.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_omor_the_unscarred.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "hellfire_ramparts.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "hellfire_ramparts.h" enum Says { diff --git a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp index 0711b5205..88b961eca 100644 --- a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "hellfire_ramparts.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "hellfire_ramparts.h" enum Says { diff --git a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_watchkeeper_gargolmar.cpp b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_watchkeeper_gargolmar.cpp index ea080e731..50b4754f7 100644 --- a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_watchkeeper_gargolmar.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_watchkeeper_gargolmar.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "hellfire_ramparts.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "hellfire_ramparts.h" enum Says { diff --git a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/hellfire_ramparts.h b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/hellfire_ramparts.h index bb80e8e33..834fb1e8d 100644 --- a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/hellfire_ramparts.h +++ b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/hellfire_ramparts.h @@ -18,8 +18,8 @@ #ifndef DEF_RAMPARTS_H #define DEF_RAMPARTS_H -#include "SpellScript.h" #include "CreatureAIImpl.h" +#include "SpellScript.h" #define HellfireRampartsScriptName "instance_hellfire_ramparts" diff --git a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/instance_hellfire_ramparts.cpp b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/instance_hellfire_ramparts.cpp index c3dceadfe..ab45b91d2 100644 --- a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/instance_hellfire_ramparts.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/instance_hellfire_ramparts.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "hellfire_ramparts.h" #include "InstanceScript.h" #include "ScriptMgr.h" +#include "hellfire_ramparts.h" class instance_hellfire_ramparts : public InstanceMapScript { diff --git a/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp b/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp index e8b19d317..f767a4b83 100644 --- a/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp @@ -15,10 +15,10 @@ * with this program. If not, see . */ -#include "magtheridons_lair.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" +#include "magtheridons_lair.h" enum Yells { diff --git a/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/instance_magtheridons_lair.cpp b/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/instance_magtheridons_lair.cpp index 008ed9025..c60fa954a 100644 --- a/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/instance_magtheridons_lair.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/instance_magtheridons_lair.cpp @@ -16,9 +16,9 @@ */ #include "InstanceScript.h" -#include "magtheridons_lair.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "magtheridons_lair.h" DoorData const doorData[] = { diff --git a/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/magtheridons_lair.h b/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/magtheridons_lair.h index 20d58765b..3eef4674f 100644 --- a/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/magtheridons_lair.h +++ b/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/magtheridons_lair.h @@ -18,8 +18,8 @@ #ifndef DEF_MAGTHERIDONS_LAIR_H #define DEF_MAGTHERIDONS_LAIR_H -#include "SpellScript.h" #include "CreatureAIImpl.h" +#include "SpellScript.h" #define MagtheridonsLairScriptName "instance_magtheridons_lair" diff --git a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp index 824dd58c7..e8eb54581 100644 --- a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp @@ -16,8 +16,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "shattered_halls.h" enum eGrandWarlockNethekurse diff --git a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp index cf6e8f5e5..9194fadbb 100644 --- a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "shattered_halls.h" enum Spells diff --git a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp index c1e95b965..4de8755fc 100644 --- a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "shattered_halls.h" enum Says diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp index b1797a522..37adabc40 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp @@ -16,10 +16,10 @@ */ #include "MoveSplineInit.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" -#include "the_eye.h" +#include "ScriptedCreature.h" #include "WaypointMgr.h" +#include "the_eye.h" enum Spells { diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp index 02f7c1ffd..0dd5beb12 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp @@ -16,10 +16,10 @@ */ #include "Opcodes.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" -#include "the_eye.h" +#include "ScriptedCreature.h" #include "WorldPacket.h" +#include "the_eye.h" enum Yells { diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_void_reaver.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_void_reaver.cpp index 7bd750732..03974ba62 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/boss_void_reaver.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_void_reaver.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "the_eye.h" enum voidReaver diff --git a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_gatewatcher_gyrokill.cpp b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_gatewatcher_gyrokill.cpp index d733f7098..c88c47dce 100644 --- a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_gatewatcher_gyrokill.cpp +++ b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_gatewatcher_gyrokill.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "mechanar.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "mechanar.h" enum Say { diff --git a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_gatewatcher_ironhand.cpp b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_gatewatcher_ironhand.cpp index ef5654e6a..b8ba6d8c6 100644 --- a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_gatewatcher_ironhand.cpp +++ b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_gatewatcher_ironhand.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "mechanar.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "mechanar.h" enum Says { diff --git a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_mechano_lord_capacitus.cpp b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_mechano_lord_capacitus.cpp index c4ed5ac5d..0ff845633 100644 --- a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_mechano_lord_capacitus.cpp +++ b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_mechano_lord_capacitus.cpp @@ -15,11 +15,11 @@ * with this program. If not, see . */ -#include "mechanar.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" +#include "mechanar.h" enum Spells { diff --git a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_nethermancer_sepethrea.cpp b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_nethermancer_sepethrea.cpp index 339dd3d6a..682d47f4a 100644 --- a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_nethermancer_sepethrea.cpp +++ b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_nethermancer_sepethrea.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "mechanar.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "mechanar.h" enum Says { diff --git a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp index c7cb53292..96a129b4a 100644 --- a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp +++ b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "mechanar.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "mechanar.h" enum Says { diff --git a/src/server/scripts/Outland/TempestKeep/Mechanar/instance_mechanar.cpp b/src/server/scripts/Outland/TempestKeep/Mechanar/instance_mechanar.cpp index 2c51b3dfe..bc5fda445 100644 --- a/src/server/scripts/Outland/TempestKeep/Mechanar/instance_mechanar.cpp +++ b/src/server/scripts/Outland/TempestKeep/Mechanar/instance_mechanar.cpp @@ -16,8 +16,8 @@ */ #include "InstanceScript.h" -#include "mechanar.h" #include "ScriptMgr.h" +#include "mechanar.h" static DoorData const doorData[] = { diff --git a/src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp b/src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp index ad048d4df..08c7b0b69 100644 --- a/src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp +++ b/src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp @@ -16,8 +16,8 @@ */ #include "arcatraz.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" enum MillhouseSays { diff --git a/src/server/scripts/Outland/TempestKeep/arcatraz/boss_dalliah_the_doomsayer.cpp b/src/server/scripts/Outland/TempestKeep/arcatraz/boss_dalliah_the_doomsayer.cpp index 2827295a4..d4faf9f4c 100644 --- a/src/server/scripts/Outland/TempestKeep/arcatraz/boss_dalliah_the_doomsayer.cpp +++ b/src/server/scripts/Outland/TempestKeep/arcatraz/boss_dalliah_the_doomsayer.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "arcatraz.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "arcatraz.h" enum Say { diff --git a/src/server/scripts/Outland/TempestKeep/arcatraz/boss_harbinger_skyriss.cpp b/src/server/scripts/Outland/TempestKeep/arcatraz/boss_harbinger_skyriss.cpp index 58b840264..81247ecc5 100644 --- a/src/server/scripts/Outland/TempestKeep/arcatraz/boss_harbinger_skyriss.cpp +++ b/src/server/scripts/Outland/TempestKeep/arcatraz/boss_harbinger_skyriss.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "arcatraz.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "arcatraz.h" enum Says { diff --git a/src/server/scripts/Outland/TempestKeep/arcatraz/boss_wrath_scryer_soccothrates.cpp b/src/server/scripts/Outland/TempestKeep/arcatraz/boss_wrath_scryer_soccothrates.cpp index 856c01504..1ddbb4237 100644 --- a/src/server/scripts/Outland/TempestKeep/arcatraz/boss_wrath_scryer_soccothrates.cpp +++ b/src/server/scripts/Outland/TempestKeep/arcatraz/boss_wrath_scryer_soccothrates.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "arcatraz.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "arcatraz.h" enum Say { diff --git a/src/server/scripts/Outland/TempestKeep/arcatraz/boss_zereketh_the_unbound.cpp b/src/server/scripts/Outland/TempestKeep/arcatraz/boss_zereketh_the_unbound.cpp index 0a20c9c82..d93d72cd2 100644 --- a/src/server/scripts/Outland/TempestKeep/arcatraz/boss_zereketh_the_unbound.cpp +++ b/src/server/scripts/Outland/TempestKeep/arcatraz/boss_zereketh_the_unbound.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "arcatraz.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" +#include "arcatraz.h" enum Say { diff --git a/src/server/scripts/Outland/TempestKeep/arcatraz/instance_arcatraz.cpp b/src/server/scripts/Outland/TempestKeep/arcatraz/instance_arcatraz.cpp index 81b329a00..a11bdb922 100644 --- a/src/server/scripts/Outland/TempestKeep/arcatraz/instance_arcatraz.cpp +++ b/src/server/scripts/Outland/TempestKeep/arcatraz/instance_arcatraz.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "arcatraz.h" #include "InstanceScript.h" #include "ScriptMgr.h" +#include "arcatraz.h" DoorData const doorData[] = { diff --git a/src/server/scripts/Outland/TempestKeep/botanica/boss_commander_sarannis.cpp b/src/server/scripts/Outland/TempestKeep/botanica/boss_commander_sarannis.cpp index b409866f6..924e11a07 100644 --- a/src/server/scripts/Outland/TempestKeep/botanica/boss_commander_sarannis.cpp +++ b/src/server/scripts/Outland/TempestKeep/botanica/boss_commander_sarannis.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellScript.h" #include "the_botanica.h" diff --git a/src/server/scripts/Outland/TempestKeep/botanica/boss_high_botanist_freywinn.cpp b/src/server/scripts/Outland/TempestKeep/botanica/boss_high_botanist_freywinn.cpp index b8fa6d790..d046864c1 100644 --- a/src/server/scripts/Outland/TempestKeep/botanica/boss_high_botanist_freywinn.cpp +++ b/src/server/scripts/Outland/TempestKeep/botanica/boss_high_botanist_freywinn.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "the_botanica.h" enum Says diff --git a/src/server/scripts/Outland/TempestKeep/botanica/boss_laj.cpp b/src/server/scripts/Outland/TempestKeep/botanica/boss_laj.cpp index 93c41fbbe..d898f13ce 100644 --- a/src/server/scripts/Outland/TempestKeep/botanica/boss_laj.cpp +++ b/src/server/scripts/Outland/TempestKeep/botanica/boss_laj.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "the_botanica.h" enum Spells diff --git a/src/server/scripts/Outland/TempestKeep/botanica/boss_thorngrin_the_tender.cpp b/src/server/scripts/Outland/TempestKeep/botanica/boss_thorngrin_the_tender.cpp index eaa969217..76f8c4355 100644 --- a/src/server/scripts/Outland/TempestKeep/botanica/boss_thorngrin_the_tender.cpp +++ b/src/server/scripts/Outland/TempestKeep/botanica/boss_thorngrin_the_tender.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "the_botanica.h" enum Says diff --git a/src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp b/src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp index e29edb8be..4d406aa52 100644 --- a/src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp +++ b/src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "the_botanica.h" enum Says diff --git a/src/server/scripts/Outland/TempestKeep/botanica/the_botanica.h b/src/server/scripts/Outland/TempestKeep/botanica/the_botanica.h index 3e54a68d2..ad6449eb7 100644 --- a/src/server/scripts/Outland/TempestKeep/botanica/the_botanica.h +++ b/src/server/scripts/Outland/TempestKeep/botanica/the_botanica.h @@ -18,8 +18,8 @@ #ifndef DEF_THE_BOTANICA_H #define DEF_THE_BOTANICA_H -#include "SpellScript.h" #include "CreatureAIImpl.h" +#include "SpellScript.h" #define TheBotanicaScriptName "instance_the_botanica" diff --git a/src/server/scripts/Outland/boss_doomlord_kazzak.cpp b/src/server/scripts/Outland/boss_doomlord_kazzak.cpp index e021f416a..1e9dae6d7 100644 --- a/src/server/scripts/Outland/boss_doomlord_kazzak.cpp +++ b/src/server/scripts/Outland/boss_doomlord_kazzak.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellScript.h" diff --git a/src/server/scripts/Outland/boss_doomwalker.cpp b/src/server/scripts/Outland/boss_doomwalker.cpp index d878b6fc1..6f5863215 100644 --- a/src/server/scripts/Outland/boss_doomwalker.cpp +++ b/src/server/scripts/Outland/boss_doomwalker.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" enum Texts { diff --git a/src/server/scripts/Outland/zone_blades_edge_mountains.cpp b/src/server/scripts/Outland/zone_blades_edge_mountains.cpp index c74ccf63c..d3ea14921 100644 --- a/src/server/scripts/Outland/zone_blades_edge_mountains.cpp +++ b/src/server/scripts/Outland/zone_blades_edge_mountains.cpp @@ -32,9 +32,9 @@ EndContentData */ #include "CellImpl.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellAuras.h" #include "SpellInfo.h" diff --git a/src/server/scripts/Outland/zone_hellfire_peninsula.cpp b/src/server/scripts/Outland/zone_hellfire_peninsula.cpp index d9a144696..bb0163cad 100644 --- a/src/server/scripts/Outland/zone_hellfire_peninsula.cpp +++ b/src/server/scripts/Outland/zone_hellfire_peninsula.cpp @@ -30,10 +30,10 @@ npc_fel_guard_hound EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellScript.h" #include "WorldSession.h" diff --git a/src/server/scripts/Outland/zone_nagrand.cpp b/src/server/scripts/Outland/zone_nagrand.cpp index ec78eedf5..ddd369721 100644 --- a/src/server/scripts/Outland/zone_nagrand.cpp +++ b/src/server/scripts/Outland/zone_nagrand.cpp @@ -28,10 +28,10 @@ npc_creditmarker_visit_with_ancestors EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" /*##### diff --git a/src/server/scripts/Outland/zone_netherstorm.cpp b/src/server/scripts/Outland/zone_netherstorm.cpp index 375f9c181..b462602d9 100644 --- a/src/server/scripts/Outland/zone_netherstorm.cpp +++ b/src/server/scripts/Outland/zone_netherstorm.cpp @@ -31,10 +31,10 @@ EndContentData */ #include "GameObjectAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" /* ################################### diff --git a/src/server/scripts/Outland/zone_shadowmoon_valley.cpp b/src/server/scripts/Outland/zone_shadowmoon_valley.cpp index 728882211..88129f718 100644 --- a/src/server/scripts/Outland/zone_shadowmoon_valley.cpp +++ b/src/server/scripts/Outland/zone_shadowmoon_valley.cpp @@ -39,10 +39,10 @@ EndContentData */ #include "Group.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellScript.h" #include "WorldSession.h" diff --git a/src/server/scripts/Outland/zone_shattrath_city.cpp b/src/server/scripts/Outland/zone_shattrath_city.cpp index 84736e72f..0941d9377 100644 --- a/src/server/scripts/Outland/zone_shattrath_city.cpp +++ b/src/server/scripts/Outland/zone_shattrath_city.cpp @@ -32,10 +32,10 @@ npc_ishanah EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "WorldSession.h" /*###### diff --git a/src/server/scripts/Outland/zone_terokkar_forest.cpp b/src/server/scripts/Outland/zone_terokkar_forest.cpp index 838570b4c..f07cf0eba 100644 --- a/src/server/scripts/Outland/zone_terokkar_forest.cpp +++ b/src/server/scripts/Outland/zone_terokkar_forest.cpp @@ -34,10 +34,10 @@ EndContentData */ #include "Group.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuras.h" #include "SpellScript.h" #include "WorldSession.h" diff --git a/src/server/scripts/Outland/zone_zangarmarsh.cpp b/src/server/scripts/Outland/zone_zangarmarsh.cpp index 39e349172..a0a525496 100644 --- a/src/server/scripts/Outland/zone_zangarmarsh.cpp +++ b/src/server/scripts/Outland/zone_zangarmarsh.cpp @@ -32,10 +32,10 @@ npc_timothy_daniels EndContentData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "WorldSession.h" // Ours diff --git a/src/server/scripts/Pet/pet_dk.cpp b/src/server/scripts/Pet/pet_dk.cpp index 8e4b6a04f..312db264d 100644 --- a/src/server/scripts/Pet/pet_dk.cpp +++ b/src/server/scripts/Pet/pet_dk.cpp @@ -24,9 +24,10 @@ #include "CellImpl.h" #include "CombatAI.h" #include "GridNotifiers.h" +#include "GridNotifiersImpl.h" #include "PassiveAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" enum DeathKnightSpells diff --git a/src/server/scripts/Pet/pet_generic.cpp b/src/server/scripts/Pet/pet_generic.cpp index 149321df8..6ff2b8e9f 100644 --- a/src/server/scripts/Pet/pet_generic.cpp +++ b/src/server/scripts/Pet/pet_generic.cpp @@ -24,9 +24,9 @@ #include "Group.h" #include "PassiveAI.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuras.h" #include "SpellScript.h" diff --git a/src/server/scripts/Pet/pet_hunter.cpp b/src/server/scripts/Pet/pet_hunter.cpp index 7fdb75094..b3a181999 100644 --- a/src/server/scripts/Pet/pet_hunter.cpp +++ b/src/server/scripts/Pet/pet_hunter.cpp @@ -20,8 +20,8 @@ * Scriptnames of files in this file should be prefixed with "npc_pet_hun_". */ -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" enum HunterSpells { diff --git a/src/server/scripts/Pet/pet_mage.cpp b/src/server/scripts/Pet/pet_mage.cpp index 89ed6a699..5df9fcda5 100644 --- a/src/server/scripts/Pet/pet_mage.cpp +++ b/src/server/scripts/Pet/pet_mage.cpp @@ -23,8 +23,8 @@ #include "CombatAI.h" #include "Pet.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuras.h" enum MageSpells diff --git a/src/server/scripts/Pet/pet_priest.cpp b/src/server/scripts/Pet/pet_priest.cpp index d72b94620..1f6b2f964 100644 --- a/src/server/scripts/Pet/pet_priest.cpp +++ b/src/server/scripts/Pet/pet_priest.cpp @@ -22,8 +22,8 @@ #include "PassiveAI.h" #include "PetAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "TotemAI.h" enum PriestSpells diff --git a/src/server/scripts/Pet/pet_shaman.cpp b/src/server/scripts/Pet/pet_shaman.cpp index ef5973235..0e35ec68e 100644 --- a/src/server/scripts/Pet/pet_shaman.cpp +++ b/src/server/scripts/Pet/pet_shaman.cpp @@ -21,8 +21,8 @@ */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" enum ShamanSpells { diff --git a/src/server/scripts/ScriptPCH.h b/src/server/scripts/ScriptPCH.h index 955cd057a..2f6934840 100644 --- a/src/server/scripts/ScriptPCH.h +++ b/src/server/scripts/ScriptPCH.h @@ -31,9 +31,9 @@ #include "InstanceScript.h" #include "ObjectMgr.h" #include "PassiveAI.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellScript.h" #include "Unit.h" diff --git a/src/server/scripts/Spells/spell_dk.cpp b/src/server/scripts/Spells/spell_dk.cpp index 3ebf87d33..8956d7c29 100644 --- a/src/server/scripts/Spells/spell_dk.cpp +++ b/src/server/scripts/Spells/spell_dk.cpp @@ -26,6 +26,7 @@ #include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellInfo.h" +#include "SpellMgr.h" #include "SpellScript.h" #include "Totem.h" #include "UnitAI.h" diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index 45f741f52..5e16c81b8 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -26,6 +26,7 @@ #include "Player.h" #include "ScriptMgr.h" #include "SpellAuraEffects.h" +#include "SpellMgr.h" #include "SpellScript.h" enum DruidSpells diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp index 3214aa2b6..026cbad65 100644 --- a/src/server/scripts/Spells/spell_hunter.cpp +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -26,8 +26,9 @@ #include "GridNotifiers.h" #include "Pet.h" #include "ScriptMgr.h" -#include "SpellAuras.h" #include "SpellAuraEffects.h" +#include "SpellAuras.h" +#include "SpellMgr.h" #include "SpellScript.h" // TODO: this import is not necessary for compilation and marked as unused by the IDE diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index c32cab361..e70d4df82 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -23,11 +23,12 @@ #include "Battleground.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SkillDiscovery.h" #include "SpellAuraEffects.h" #include "SpellScript.h" +#include "WorldSession.h" class spell_item_massive_seaforium_charge : public SpellScript { diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index 0282ba7cc..3335edd8b 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -25,6 +25,7 @@ #include "Player.h" #include "ScriptMgr.h" #include "SpellAuraEffects.h" +#include "SpellMgr.h" #include "SpellScript.h" #include "UnitAI.h" diff --git a/src/server/scripts/Spells/spell_priest.cpp b/src/server/scripts/Spells/spell_priest.cpp index 86f75cd46..32facf6e7 100644 --- a/src/server/scripts/Spells/spell_priest.cpp +++ b/src/server/scripts/Spells/spell_priest.cpp @@ -25,6 +25,7 @@ #include "Player.h" #include "ScriptMgr.h" #include "SpellAuraEffects.h" +#include "SpellMgr.h" #include "SpellScript.h" enum PriestSpells diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp index 263551e7e..4d62f713d 100644 --- a/src/server/scripts/Spells/spell_quest.cpp +++ b/src/server/scripts/Spells/spell_quest.cpp @@ -25,8 +25,8 @@ #include "CreatureTextMgr.h" #include "GridNotifiers.h" #include "MapMgr.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellAuraEffects.h" #include "SpellAuras.h" #include "SpellScript.h" diff --git a/src/server/scripts/Spells/spell_rogue.cpp b/src/server/scripts/Spells/spell_rogue.cpp index 932162d8b..26285e7e0 100644 --- a/src/server/scripts/Spells/spell_rogue.cpp +++ b/src/server/scripts/Spells/spell_rogue.cpp @@ -25,6 +25,7 @@ #include "GridNotifiers.h" #include "ScriptMgr.h" #include "SpellAuraEffects.h" +#include "SpellMgr.h" #include "SpellScript.h" enum RogueSpells diff --git a/src/server/scripts/Spells/spell_shaman.cpp b/src/server/scripts/Spells/spell_shaman.cpp index 2d3ce14ca..5448eebe6 100644 --- a/src/server/scripts/Spells/spell_shaman.cpp +++ b/src/server/scripts/Spells/spell_shaman.cpp @@ -24,6 +24,7 @@ #include "GridNotifiers.h" #include "ScriptMgr.h" #include "SpellAuraEffects.h" +#include "SpellMgr.h" #include "SpellScript.h" #include "TemporarySummon.h" #include "Unit.h" diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp index 2d967be1a..f6ec50767 100644 --- a/src/server/scripts/Spells/spell_warlock.cpp +++ b/src/server/scripts/Spells/spell_warlock.cpp @@ -25,6 +25,7 @@ #include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellInfo.h" +#include "SpellMgr.h" #include "SpellScript.h" #include "TemporarySummon.h" diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp index ee94beb4c..aa45f27b2 100644 --- a/src/server/scripts/Spells/spell_warrior.cpp +++ b/src/server/scripts/Spells/spell_warrior.cpp @@ -25,6 +25,7 @@ #include "ScriptMgr.h" #include "SpellAuraEffects.h" #include "SpellInfo.h" +#include "SpellMgr.h" #include "SpellScript.h" enum WarriorSpells diff --git a/src/server/scripts/World/areatrigger_scripts.cpp b/src/server/scripts/World/areatrigger_scripts.cpp index 648b0b44f..d60a4180d 100644 --- a/src/server/scripts/World/areatrigger_scripts.cpp +++ b/src/server/scripts/World/areatrigger_scripts.cpp @@ -35,8 +35,8 @@ at_area_52_entrance EndContentData */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellMgr.h" // Ours diff --git a/src/server/scripts/World/boss_emerald_dragons.cpp b/src/server/scripts/World/boss_emerald_dragons.cpp index e5245ea7e..bbcf90b63 100644 --- a/src/server/scripts/World/boss_emerald_dragons.cpp +++ b/src/server/scripts/World/boss_emerald_dragons.cpp @@ -18,8 +18,8 @@ #include "GridNotifiers.h" #include "ObjectMgr.h" #include "PassiveAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" #include "SpellAuraEffects.h" #include "SpellScript.h" diff --git a/src/server/scripts/World/go_scripts.cpp b/src/server/scripts/World/go_scripts.cpp index 6a8089f2e..4bd9faa84 100644 --- a/src/server/scripts/World/go_scripts.cpp +++ b/src/server/scripts/World/go_scripts.cpp @@ -45,9 +45,9 @@ EndContentData */ #include "GameObjectAI.h" #include "GridNotifiersImpl.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "Spell.h" #include "WorldSession.h" diff --git a/src/server/scripts/World/guards.cpp b/src/server/scripts/World/guards.cpp index 3312bdb17..41a24c556 100644 --- a/src/server/scripts/World/guards.cpp +++ b/src/server/scripts/World/guards.cpp @@ -30,8 +30,8 @@ EndContentData */ #include "GuardAI.h" #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "SpellInfo.h" enum GuardShattrath diff --git a/src/server/scripts/World/item_scripts.cpp b/src/server/scripts/World/item_scripts.cpp index 0741881fb..95bc32635 100644 --- a/src/server/scripts/World/item_scripts.cpp +++ b/src/server/scripts/World/item_scripts.cpp @@ -30,8 +30,8 @@ item_only_for_flight Items which should only useable while flying EndContentData */ #include "Player.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #include "Spell.h" /*##### diff --git a/src/server/scripts/World/mob_generic_creature.cpp b/src/server/scripts/World/mob_generic_creature.cpp index 277a325d1..f1091e2d7 100644 --- a/src/server/scripts/World/mob_generic_creature.cpp +++ b/src/server/scripts/World/mob_generic_creature.cpp @@ -23,8 +23,8 @@ SDCategory: Creatures EndScriptData */ #include "PassiveAI.h" -#include "ScriptedCreature.h" #include "ScriptMgr.h" +#include "ScriptedCreature.h" #define GENERIC_CREATURE_COOLDOWN 5000 diff --git a/src/server/scripts/World/npc_innkeeper.cpp b/src/server/scripts/World/npc_innkeeper.cpp index 85e04c04b..16aa87197 100644 --- a/src/server/scripts/World/npc_innkeeper.cpp +++ b/src/server/scripts/World/npc_innkeeper.cpp @@ -17,9 +17,10 @@ #include "GameEventMgr.h" #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" +#include "WorldSession.h" constexpr auto SPELL_TRICK = 24714; constexpr auto SPELL_TREAT = 24715; diff --git a/src/server/scripts/World/npc_professions.cpp b/src/server/scripts/World/npc_professions.cpp index 0dbea0aeb..ed767b6c9 100644 --- a/src/server/scripts/World/npc_professions.cpp +++ b/src/server/scripts/World/npc_professions.cpp @@ -23,9 +23,9 @@ SDCategory: NPCs EndScriptData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SpellInfo.h" #include "WorldSession.h" diff --git a/src/server/scripts/World/npc_stave_of_ancients.cpp b/src/server/scripts/World/npc_stave_of_ancients.cpp index dc269228c..0e52049fe 100644 --- a/src/server/scripts/World/npc_stave_of_ancients.cpp +++ b/src/server/scripts/World/npc_stave_of_ancients.cpp @@ -15,13 +15,13 @@ * with this program. If not, see . */ +#include "npc_stave_of_ancients.h" #include "CreatureGroups.h" #include "Player.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "Spell.h" -#include "npc_stave_of_ancients.h" uint32 NPCStaveQuestAI::GetFormEntry(std::string type) { diff --git a/src/server/scripts/World/npc_taxi.cpp b/src/server/scripts/World/npc_taxi.cpp index 1bffd7667..80d47ebf0 100644 --- a/src/server/scripts/World/npc_taxi.cpp +++ b/src/server/scripts/World/npc_taxi.cpp @@ -24,9 +24,9 @@ EndScriptData */ #include "Player.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "WorldSession.h" #define GOSSIP_NETHER_DRAKE "I'm ready to fly! Take me up, dragon!" diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp index 858586dc9..657007840 100644 --- a/src/server/scripts/World/npcs_special.cpp +++ b/src/server/scripts/World/npcs_special.cpp @@ -49,10 +49,10 @@ EndContentData */ #include "ObjectMgr.h" #include "PassiveAI.h" #include "Pet.h" +#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "ScriptMgr.h" #include "SmartAI.h" #include "SpellAuras.h" #include "WaypointMgr.h" diff --git a/src/server/shared/DataStores/DBCDatabaseLoader.cpp b/src/server/shared/DataStores/DBCDatabaseLoader.cpp index 1bb465382..a5fe55bbd 100644 --- a/src/server/shared/DataStores/DBCDatabaseLoader.cpp +++ b/src/server/shared/DataStores/DBCDatabaseLoader.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "DatabaseEnv.h" #include "DBCDatabaseLoader.h" +#include "DatabaseEnv.h" #include "Errors.h" #include "StringFormat.h" diff --git a/src/server/shared/DataStores/DBCStore.cpp b/src/server/shared/DataStores/DBCStore.cpp index 2f81fc3ca..c4e1af2e5 100644 --- a/src/server/shared/DataStores/DBCStore.cpp +++ b/src/server/shared/DataStores/DBCStore.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "DBCDatabaseLoader.h" #include "DBCStore.h" +#include "DBCDatabaseLoader.h" DBCStorageBase::DBCStorageBase(char const* fmt) : _fieldCount(0), _fileFormat(fmt), _dataTable(nullptr), _indexTableSize(0) { diff --git a/src/server/shared/DataStores/DBCStructure.h b/src/server/shared/DataStores/DBCStructure.h index 6db18d034..0a8d7dbe3 100644 --- a/src/server/shared/DataStores/DBCStructure.h +++ b/src/server/shared/DataStores/DBCStructure.h @@ -18,12 +18,12 @@ #ifndef ACORE_DBCSTRUCTURE_H #define ACORE_DBCSTRUCTURE_H -#include "Define.h" #include "DBCEnums.h" +#include "Define.h" #include "SharedDefines.h" #include "Util.h" -#include #include +#include #include // Structures using to access raw DBC data and required packing to portability diff --git a/src/server/shared/Network/AsyncAcceptor.h b/src/server/shared/Network/AsyncAcceptor.h index 083e46c93..f4d0b544e 100644 --- a/src/server/shared/Network/AsyncAcceptor.h +++ b/src/server/shared/Network/AsyncAcceptor.h @@ -21,9 +21,9 @@ #include "IoContext.h" #include "IpAddress.h" #include "Log.h" +#include #include #include -#include using boost::asio::ip::tcp; diff --git a/src/server/shared/Network/NetworkThread.h b/src/server/shared/Network/NetworkThread.h index f4cf5cf6e..abe0c0e27 100644 --- a/src/server/shared/Network/NetworkThread.h +++ b/src/server/shared/Network/NetworkThread.h @@ -18,14 +18,14 @@ #ifndef NetworkThread_h__ #define NetworkThread_h__ -#include "Define.h" #include "DeadlineTimer.h" +#include "Define.h" #include "Errors.h" #include "IoContext.h" #include "Log.h" #include "Timer.h" -#include #include +#include #include #include #include diff --git a/src/server/shared/Network/Socket.h b/src/server/shared/Network/Socket.h index c05a61f6e..07c830add 100644 --- a/src/server/shared/Network/Socket.h +++ b/src/server/shared/Network/Socket.h @@ -18,14 +18,14 @@ #ifndef __SOCKET_H__ #define __SOCKET_H__ -#include "MessageBuffer.h" #include "Log.h" +#include "MessageBuffer.h" #include -#include -#include -#include -#include #include +#include +#include +#include +#include using boost::asio::ip::tcp; diff --git a/src/server/shared/Packets/ByteBuffer.cpp b/src/server/shared/Packets/ByteBuffer.cpp index d91d1f36f..85850f3c1 100644 --- a/src/server/shared/Packets/ByteBuffer.cpp +++ b/src/server/shared/Packets/ByteBuffer.cpp @@ -17,12 +17,12 @@ #include "ByteBuffer.h" #include "Errors.h" -#include "MessageBuffer.h" #include "Log.h" +#include "MessageBuffer.h" #include "Util.h" -#include -#include #include +#include +#include ByteBuffer::ByteBuffer(MessageBuffer&& buffer) : _rpos(0), _wpos(0), _storage(buffer.Move()) { } diff --git a/src/server/shared/Packets/ByteBuffer.h b/src/server/shared/Packets/ByteBuffer.h index 373fe5e27..017881b16 100644 --- a/src/server/shared/Packets/ByteBuffer.h +++ b/src/server/shared/Packets/ByteBuffer.h @@ -18,12 +18,12 @@ #ifndef _BYTEBUFFER_H #define _BYTEBUFFER_H -#include "Define.h" #include "ByteConverter.h" +#include "Define.h" #include +#include #include #include -#include class MessageBuffer; diff --git a/src/server/shared/Secrets/SecretMgr.h b/src/server/shared/Secrets/SecretMgr.h index 07c0deaf2..a8af53175 100644 --- a/src/server/shared/Secrets/SecretMgr.h +++ b/src/server/shared/Secrets/SecretMgr.h @@ -20,8 +20,8 @@ #include "BigNumber.h" #include "Common.h" -#include "Optional.h" #include "Log.h" +#include "Optional.h" #include #include #include diff --git a/src/server/shared/enuminfo_SharedDefines.cpp b/src/server/shared/enuminfo_SharedDefines.cpp index 06ea37987..4f8f38c23 100644 --- a/src/server/shared/enuminfo_SharedDefines.cpp +++ b/src/server/shared/enuminfo_SharedDefines.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "SharedDefines.h" #include "Define.h" +#include "SharedDefines.h" #include "SmartEnum.h" #include diff --git a/src/server/worldserver/ACSoap/ACSoap.cpp b/src/server/worldserver/ACSoap/ACSoap.cpp index e3ce8094a..ff2ea70b0 100644 --- a/src/server/worldserver/ACSoap/ACSoap.cpp +++ b/src/server/worldserver/ACSoap/ACSoap.cpp @@ -18,9 +18,9 @@ #include "ACSoap.h" #include "AccountMgr.h" #include "Log.h" +#include "World.h" #include "soapH.h" #include "soapStub.h" -#include "World.h" void ACSoapThread(const std::string& host, uint16 port) { diff --git a/src/server/worldserver/CommandLine/CliRunnable.cpp b/src/server/worldserver/CommandLine/CliRunnable.cpp index c75c439df..5a6b96651 100644 --- a/src/server/worldserver/CommandLine/CliRunnable.cpp +++ b/src/server/worldserver/CommandLine/CliRunnable.cpp @@ -19,21 +19,21 @@ /// @{ /// \file -#include "Common.h" -#include "Errors.h" -#include "ObjectMgr.h" -#include "World.h" -#include "Config.h" #include "CliRunnable.h" +#include "Common.h" +#include "Config.h" +#include "Errors.h" #include "Log.h" +#include "ObjectMgr.h" #include "Util.h" +#include "World.h" #if AC_PLATFORM != AC_PLATFORM_WINDOWS #include "Chat.h" #include "ChatCommand.h" #include -#include #include +#include #endif static constexpr char CLI_PREFIX[] = "AC> "; diff --git a/src/test/mocks/WorldMock.h b/src/test/mocks/WorldMock.h index 14ec73579..6d85da919 100644 --- a/src/test/mocks/WorldMock.h +++ b/src/test/mocks/WorldMock.h @@ -19,8 +19,8 @@ #define AZEROTHCORE_WORLDMOCK_H #include "ArenaSpectator.h" -#include "gmock/gmock.h" #include "IWorld.h" +#include "gmock/gmock.h" #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" diff --git a/src/test/server/game/Miscellaneous/FormulasTest.cpp b/src/test/server/game/Miscellaneous/FormulasTest.cpp index c0ff06b87..e420cb18d 100644 --- a/src/test/server/game/Miscellaneous/FormulasTest.cpp +++ b/src/test/server/game/Miscellaneous/FormulasTest.cpp @@ -16,8 +16,8 @@ */ #include "Formulas.h" -#include "gtest/gtest.h" #include "WorldMock.h" +#include "gtest/gtest.h" using namespace Acore::Honor; using namespace Acore::XP; diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp index c9cc42503..8d566a954 100644 --- a/src/tools/map_extractor/System.cpp +++ b/src/tools/map_extractor/System.cpp @@ -20,8 +20,8 @@ #include #include #include -#include #include +#include #ifdef _WIN32 #include "direct.h" diff --git a/src/tools/map_extractor/mpq_libmpq.cpp b/src/tools/map_extractor/mpq_libmpq.cpp index 64ab3154e..cac360087 100644 --- a/src/tools/map_extractor/mpq_libmpq.cpp +++ b/src/tools/map_extractor/mpq_libmpq.cpp @@ -16,8 +16,8 @@ */ #include "mpq_libmpq04.h" -#include #include +#include ArchiveSet gOpenArchives; diff --git a/src/tools/mesh_extractor/Cache.h b/src/tools/mesh_extractor/Cache.h index 9f4c12ab0..88d5cd231 100644 --- a/src/tools/mesh_extractor/Cache.h +++ b/src/tools/mesh_extractor/Cache.h @@ -17,13 +17,13 @@ #ifndef CACHE_H #define CACHE_H -#include -#include #include "Define.h" -#include "PolicyLock.h" -#include -#include "WorldModelRoot.h" #include "Model.h" +#include "PolicyLock.h" +#include "WorldModelRoot.h" +#include +#include +#include template class GenericCache diff --git a/src/tools/mesh_extractor/ChunkedData.h b/src/tools/mesh_extractor/ChunkedData.h index a7c22aa52..6af885d67 100644 --- a/src/tools/mesh_extractor/ChunkedData.h +++ b/src/tools/mesh_extractor/ChunkedData.h @@ -18,8 +18,8 @@ #ifndef CHNK_H #define CHNK_H -#include #include "Chunk.h" +#include class ChunkedData { diff --git a/src/tools/mesh_extractor/ContinentBuilder.cpp b/src/tools/mesh_extractor/ContinentBuilder.cpp index d1ef1a76a..06ac2dc9e 100644 --- a/src/tools/mesh_extractor/ContinentBuilder.cpp +++ b/src/tools/mesh_extractor/ContinentBuilder.cpp @@ -16,14 +16,14 @@ */ #include "ContinentBuilder.h" -#include "TileBuilder.h" -#include "WDT.h" -#include "Utils.h" -#include "DetourNavMesh.h" #include "Cache.h" -#include -#include "Recast.h" #include "DetourCommon.h" +#include "DetourNavMesh.h" +#include "Recast.h" +#include "TileBuilder.h" +#include "Utils.h" +#include "WDT.h" +#include class BuilderThread { diff --git a/src/tools/mesh_extractor/ContinentBuilder.h b/src/tools/mesh_extractor/ContinentBuilder.h index 882a08190..b414b4c86 100644 --- a/src/tools/mesh_extractor/ContinentBuilder.h +++ b/src/tools/mesh_extractor/ContinentBuilder.h @@ -17,9 +17,9 @@ #ifndef CONT_BUILDER_H #define CONT_BUILDER_H -#include -#include "WDT.h" #include "Define.h" +#include "WDT.h" +#include class ContinentBuilder { diff --git a/src/tools/mesh_extractor/DBC.cpp b/src/tools/mesh_extractor/DBC.cpp index 8301dd1a6..8f7d9164d 100644 --- a/src/tools/mesh_extractor/DBC.cpp +++ b/src/tools/mesh_extractor/DBC.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include #include "DBC.h" #include "Define.h" +#include DBC::DBC( FILE* stream ) : StringBlock(nullptr), StringBlockSize(0), IsFaulty(true) { diff --git a/src/tools/mesh_extractor/DBC.h b/src/tools/mesh_extractor/DBC.h index 205fbccd7..4d93b13ea 100644 --- a/src/tools/mesh_extractor/DBC.h +++ b/src/tools/mesh_extractor/DBC.h @@ -17,9 +17,9 @@ #ifndef DBC_H #define DBC_H -#include -#include #include "Define.h" +#include +#include class Record; diff --git a/src/tools/mesh_extractor/DoodadHandler.cpp b/src/tools/mesh_extractor/DoodadHandler.cpp index 1355552b4..00fda514b 100644 --- a/src/tools/mesh_extractor/DoodadHandler.cpp +++ b/src/tools/mesh_extractor/DoodadHandler.cpp @@ -16,10 +16,10 @@ */ #include "DoodadHandler.h" -#include "Chunk.h" #include "Cache.h" -#include "Model.h" +#include "Chunk.h" #include "G3D/Matrix4.h" +#include "Model.h" DoodadHandler::DoodadHandler( ADT* adt ) : ObjectDataHandler(adt), _definitions(nullptr), _paths(nullptr) diff --git a/src/tools/mesh_extractor/DoodadHandler.h b/src/tools/mesh_extractor/DoodadHandler.h index 1f65a4033..321b62371 100644 --- a/src/tools/mesh_extractor/DoodadHandler.h +++ b/src/tools/mesh_extractor/DoodadHandler.h @@ -17,10 +17,10 @@ #ifndef DOOADHNDL_H #define DOOADHNDL_H -#include "ObjectDataHandler.h" -#include "Utils.h" #include "Chunk.h" #include "Model.h" +#include "ObjectDataHandler.h" +#include "Utils.h" #include #include diff --git a/src/tools/mesh_extractor/Geometry.cpp b/src/tools/mesh_extractor/Geometry.cpp index 4dcb14c53..d719c7c06 100644 --- a/src/tools/mesh_extractor/Geometry.cpp +++ b/src/tools/mesh_extractor/Geometry.cpp @@ -16,10 +16,10 @@ */ #include "Geometry.h" -#include "Constants.h" #include "ADT.h" -#include "WorldModelHandler.h" +#include "Constants.h" #include "DoodadHandler.h" +#include "WorldModelHandler.h" #include Geometry::Geometry() : Transform(false) diff --git a/src/tools/mesh_extractor/LiquidHandler.h b/src/tools/mesh_extractor/LiquidHandler.h index 6fd50f4a3..3003749cf 100644 --- a/src/tools/mesh_extractor/LiquidHandler.h +++ b/src/tools/mesh_extractor/LiquidHandler.h @@ -18,8 +18,8 @@ #ifndef LIQUID_H #define LIQUID_H #include "ADT.h" -#include "Utils.h" #include "Define.h" +#include "Utils.h" #include diff --git a/src/tools/mesh_extractor/MPQ.cpp b/src/tools/mesh_extractor/MPQ.cpp index 12e2264bb..7073181b8 100644 --- a/src/tools/mesh_extractor/MPQ.cpp +++ b/src/tools/mesh_extractor/MPQ.cpp @@ -17,8 +17,8 @@ #include "MPQ.h" #include "MPQMgr.h" -#include #include +#include MPQArchive::MPQArchive(const char* filename) { diff --git a/src/tools/mesh_extractor/MPQ.h b/src/tools/mesh_extractor/MPQ.h index a8e84f279..5d57165cb 100644 --- a/src/tools/mesh_extractor/MPQ.h +++ b/src/tools/mesh_extractor/MPQ.h @@ -18,14 +18,14 @@ #ifndef MPQ_H #define MPQ_H -#include "libmpq/mpq.h" #include "Define.h" #include "Errors.h" -#include +#include "libmpq/mpq.h" #include -#include -#include #include +#include +#include +#include class MPQArchive { diff --git a/src/tools/mesh_extractor/MPQMgr.cpp b/src/tools/mesh_extractor/MPQMgr.cpp index 9b71dfa71..864258fb5 100644 --- a/src/tools/mesh_extractor/MPQMgr.cpp +++ b/src/tools/mesh_extractor/MPQMgr.cpp @@ -16,8 +16,8 @@ */ #include "MPQMgr.h" -#include "MPQ.h" #include "DBC.h" +#include "MPQ.h" #include "Utils.h" char const* MPQMgr::Files[] = diff --git a/src/tools/mesh_extractor/MPQMgr.h b/src/tools/mesh_extractor/MPQMgr.h index aa26f34aa..5b1718327 100644 --- a/src/tools/mesh_extractor/MPQMgr.h +++ b/src/tools/mesh_extractor/MPQMgr.h @@ -20,9 +20,9 @@ #include "MPQ.h" #include "PolicyLock.h" +#include #include #include -#include class DBC; class MPQMgr diff --git a/src/tools/mesh_extractor/MapChunk.h b/src/tools/mesh_extractor/MapChunk.h index c74318fa6..83b0a43d4 100644 --- a/src/tools/mesh_extractor/MapChunk.h +++ b/src/tools/mesh_extractor/MapChunk.h @@ -18,8 +18,8 @@ #ifndef MAPCHUNK_H #define MAPCHUNK_H #include "Chunk.h" -#include "Utils.h" #include "Constants.h" +#include "Utils.h" #include class ADT; diff --git a/src/tools/mesh_extractor/MeshExtractor.cpp b/src/tools/mesh_extractor/MeshExtractor.cpp index 7390e449b..117c0287f 100644 --- a/src/tools/mesh_extractor/MeshExtractor.cpp +++ b/src/tools/mesh_extractor/MeshExtractor.cpp @@ -15,17 +15,17 @@ * with this program. If not, see . */ -#include "MPQMgr.h" -#include "WDT.h" -#include "ContinentBuilder.h" #include "Cache.h" -#include "DBC.h" #include "Constants.h" +#include "ContinentBuilder.h" +#include "DBC.h" +#include "MPQMgr.h" #include "Model.h" +#include "WDT.h" -#include "Recast.h" #include "DetourNavMesh.h" #include "DetourNavMeshQuery.h" +#include "Recast.h" #include diff --git a/src/tools/mesh_extractor/Model.h b/src/tools/mesh_extractor/Model.h index 21235fd7a..0aa625e6f 100644 --- a/src/tools/mesh_extractor/Model.h +++ b/src/tools/mesh_extractor/Model.h @@ -17,8 +17,8 @@ #ifndef MODEL_H #define MODEL_H -#include #include "Utils.h" +#include class Model { diff --git a/src/tools/mesh_extractor/ObjectDataHandler.cpp b/src/tools/mesh_extractor/ObjectDataHandler.cpp index 19d6f02b0..b3ff57b31 100644 --- a/src/tools/mesh_extractor/ObjectDataHandler.cpp +++ b/src/tools/mesh_extractor/ObjectDataHandler.cpp @@ -16,8 +16,8 @@ */ #include "ObjectDataHandler.h" -#include "Chunk.h" #include "ADT.h" +#include "Chunk.h" #include "ChunkedData.h" void ObjectDataHandler::ProcessMapChunk( MapChunk* chunk ) diff --git a/src/tools/mesh_extractor/TileBuilder.cpp b/src/tools/mesh_extractor/TileBuilder.cpp index d2ec17b31..d7cef07d7 100644 --- a/src/tools/mesh_extractor/TileBuilder.cpp +++ b/src/tools/mesh_extractor/TileBuilder.cpp @@ -15,18 +15,18 @@ * with this program. If not, see . */ -#include "ContinentBuilder.h" #include "TileBuilder.h" -#include "Geometry.h" -#include "WorldModelRoot.h" -#include "Constants.h" -#include "Utils.h" -#include "Cache.h" #include "ADT.h" -#include "WDT.h" +#include "Cache.h" +#include "Constants.h" +#include "ContinentBuilder.h" +#include "DetourNavMeshBuilder.h" +#include "Geometry.h" #include "Recast.h" #include "RecastAlloc.h" -#include "DetourNavMeshBuilder.h" +#include "Utils.h" +#include "WDT.h" +#include "WorldModelRoot.h" TileBuilder::TileBuilder(ContinentBuilder* _cBuilder, std::string world, int x, int y, uint32 mapId) : World(world), X(x), Y(y), MapId(mapId), _Geometry(nullptr), DataSize(0), cBuilder(_cBuilder) diff --git a/src/tools/mesh_extractor/TileBuilder.h b/src/tools/mesh_extractor/TileBuilder.h index e60ecbfb1..03df0f0dc 100644 --- a/src/tools/mesh_extractor/TileBuilder.h +++ b/src/tools/mesh_extractor/TileBuilder.h @@ -17,8 +17,8 @@ #ifndef TILE_BUILD_H #define TILE_BUILD_H -#include #include "Recast.h" +#include #include "Geometry.h" #include "WorldModelRoot.h" diff --git a/src/tools/mesh_extractor/Utils.cpp b/src/tools/mesh_extractor/Utils.cpp index e77a47c90..d71711ed7 100644 --- a/src/tools/mesh_extractor/Utils.cpp +++ b/src/tools/mesh_extractor/Utils.cpp @@ -16,11 +16,11 @@ */ #include "Utils.h" -#include "WorldModelHandler.h" #include "Constants.h" -#include #include "G3D/Matrix4.h" #include "G3D/Quat.h" +#include "WorldModelHandler.h" +#include #ifdef _WIN32 #include "direct.h" diff --git a/src/tools/mesh_extractor/Utils.h b/src/tools/mesh_extractor/Utils.h index 346555395..df5b13d1d 100644 --- a/src/tools/mesh_extractor/Utils.h +++ b/src/tools/mesh_extractor/Utils.h @@ -19,14 +19,14 @@ #define UTILS_H #include -#include #include +#include -#include "G3D/Matrix4.h" #include "DetourNavMesh.h" +#include "G3D/Matrix4.h" -#include "Define.h" #include "Constants.h" +#include "Define.h" struct WorldModelDefinition; class DoodadDefinition; diff --git a/src/tools/mesh_extractor/WorldModelGroup.cpp b/src/tools/mesh_extractor/WorldModelGroup.cpp index 060fbf41f..4b3085e68 100644 --- a/src/tools/mesh_extractor/WorldModelGroup.cpp +++ b/src/tools/mesh_extractor/WorldModelGroup.cpp @@ -16,8 +16,8 @@ */ #include "WorldModelGroup.h" -#include "ChunkedData.h" #include "Chunk.h" +#include "ChunkedData.h" #include "Utils.h" WorldModelGroup::WorldModelGroup( std::string path, int groupIndex ) : GroupIndex(groupIndex), MOBA(nullptr), IsBad(false), HasLiquidData(false) diff --git a/src/tools/mesh_extractor/WorldModelHandler.cpp b/src/tools/mesh_extractor/WorldModelHandler.cpp index 49f13c7ca..b1e83fa7e 100644 --- a/src/tools/mesh_extractor/WorldModelHandler.cpp +++ b/src/tools/mesh_extractor/WorldModelHandler.cpp @@ -16,13 +16,13 @@ */ #include "WorldModelHandler.h" -#include "WorldModelRoot.h" -#include "Chunk.h" #include "Cache.h" -#include "Model.h" +#include "Chunk.h" #include "Define.h" #include "G3D/Matrix4.h" #include "G3D/Quat.h" +#include "Model.h" +#include "WorldModelRoot.h" #include WorldModelDefinition WorldModelDefinition::Read( FILE* file ) diff --git a/src/tools/mesh_extractor/WorldModelHandler.h b/src/tools/mesh_extractor/WorldModelHandler.h index 5131fa766..3ea382002 100644 --- a/src/tools/mesh_extractor/WorldModelHandler.h +++ b/src/tools/mesh_extractor/WorldModelHandler.h @@ -18,9 +18,9 @@ #ifndef WMODEL_HNDL_H #define WMODEL_HNDL_H #include "Define.h" +#include "ObjectDataHandler.h" #include "Utils.h" #include "WorldModelRoot.h" -#include "ObjectDataHandler.h" #include #include diff --git a/src/tools/mmaps_generator/IntermediateValues.h b/src/tools/mmaps_generator/IntermediateValues.h index 54e9367ca..85d127a9e 100644 --- a/src/tools/mmaps_generator/IntermediateValues.h +++ b/src/tools/mmaps_generator/IntermediateValues.h @@ -18,10 +18,10 @@ #ifndef _INTERMEDIATE_VALUES_H #define _INTERMEDIATE_VALUES_H -#include "PathCommon.h" -#include "TerrainBuilder.h" -#include "Recast.h" #include "DetourNavMesh.h" +#include "PathCommon.h" +#include "Recast.h" +#include "TerrainBuilder.h" namespace MMAP { diff --git a/src/tools/mmaps_generator/MapBuilder.h b/src/tools/mmaps_generator/MapBuilder.h index 3e7a21474..70f5cfe6f 100644 --- a/src/tools/mmaps_generator/MapBuilder.h +++ b/src/tools/mmaps_generator/MapBuilder.h @@ -18,19 +18,19 @@ #ifndef _MAP_BUILDER_H #define _MAP_BUILDER_H -#include -#include -#include #include +#include #include +#include #include +#include -#include "TerrainBuilder.h" #include "IntermediateValues.h" +#include "TerrainBuilder.h" -#include "Recast.h" #include "DetourNavMesh.h" #include "PCQueue.h" +#include "Recast.h" using namespace VMAP; diff --git a/src/tools/mmaps_generator/PathGenerator.cpp b/src/tools/mmaps_generator/PathGenerator.cpp index a4dcb931d..834ae794b 100644 --- a/src/tools/mmaps_generator/PathGenerator.cpp +++ b/src/tools/mmaps_generator/PathGenerator.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "PathCommon.h" #include "MapBuilder.h" +#include "PathCommon.h" #include "Timer.h" using namespace MMAP; diff --git a/src/tools/mmaps_generator/TerrainBuilder.cpp b/src/tools/mmaps_generator/TerrainBuilder.cpp index eeb3ea45b..5946b57ca 100644 --- a/src/tools/mmaps_generator/TerrainBuilder.cpp +++ b/src/tools/mmaps_generator/TerrainBuilder.cpp @@ -16,12 +16,12 @@ */ #include "TerrainBuilder.h" -#include "PathCommon.h" #include "MapBuilder.h" #include "MapDefines.h" -#include "VMapMgr2.h" #include "MapTree.h" #include "ModelInstance.h" +#include "PathCommon.h" +#include "VMapMgr2.h" #include // ****************************************** diff --git a/src/tools/vmap4_assembler/VMapAssembler.cpp b/src/tools/vmap4_assembler/VMapAssembler.cpp index d15fa9fc3..8b37339e0 100644 --- a/src/tools/vmap4_assembler/VMapAssembler.cpp +++ b/src/tools/vmap4_assembler/VMapAssembler.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include #include +#include #include "TileAssembler.h" diff --git a/src/tools/vmap4_extractor/adtfile.cpp b/src/tools/vmap4_extractor/adtfile.cpp index 4e9a07bbf..8367ba3d0 100644 --- a/src/tools/vmap4_extractor/adtfile.cpp +++ b/src/tools/vmap4_extractor/adtfile.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "vmapexport.h" #include "adtfile.h" +#include "vmapexport.h" #include #include diff --git a/src/tools/vmap4_extractor/adtfile.h b/src/tools/vmap4_extractor/adtfile.h index 3fc55f8f6..ce6182cc2 100644 --- a/src/tools/vmap4_extractor/adtfile.h +++ b/src/tools/vmap4_extractor/adtfile.h @@ -18,9 +18,9 @@ #ifndef ADT_H #define ADT_H +#include "model.h" #include "mpq_libmpq04.h" #include "wmo.h" -#include "model.h" #define TILESIZE (533.33333f) #define CHUNKSIZE ((TILESIZE) / 16.0f) diff --git a/src/tools/vmap4_extractor/gameobject_extract.cpp b/src/tools/vmap4_extractor/gameobject_extract.cpp index c9b39701a..398376078 100644 --- a/src/tools/vmap4_extractor/gameobject_extract.cpp +++ b/src/tools/vmap4_extractor/gameobject_extract.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "model.h" -#include "dbcfile.h" #include "adtfile.h" +#include "dbcfile.h" +#include "model.h" #include "vmapexport.h" #include #include diff --git a/src/tools/vmap4_extractor/model.cpp b/src/tools/vmap4_extractor/model.cpp index f69c66860..5d6a10e76 100644 --- a/src/tools/vmap4_extractor/model.cpp +++ b/src/tools/vmap4_extractor/model.cpp @@ -15,14 +15,14 @@ * with this program. If not, see . */ -#include "vmapexport.h" #include "model.h" -#include "wmo.h" #include "adtfile.h" -#include #include "mpq_libmpq04.h" +#include "vmapexport.h" +#include "wmo.h" #include #include +#include #include #include diff --git a/src/tools/vmap4_extractor/model.h b/src/tools/vmap4_extractor/model.h index 8994e61fc..6b4e3e0c8 100644 --- a/src/tools/vmap4_extractor/model.h +++ b/src/tools/vmap4_extractor/model.h @@ -19,8 +19,8 @@ #define MODEL_H #include "loadlib/loadlib.h" -#include "vec3d.h" #include "modelheaders.h" +#include "vec3d.h" #include class MPQFile; diff --git a/src/tools/vmap4_extractor/mpq_libmpq.cpp b/src/tools/vmap4_extractor/mpq_libmpq.cpp index c9a2dfe56..d074fd3d2 100644 --- a/src/tools/vmap4_extractor/mpq_libmpq.cpp +++ b/src/tools/vmap4_extractor/mpq_libmpq.cpp @@ -16,8 +16,8 @@ */ #include "mpq_libmpq04.h" -#include #include +#include ArchiveSet gOpenArchives; diff --git a/src/tools/vmap4_extractor/vec3d.h b/src/tools/vmap4_extractor/vec3d.h index 167600a8d..4312874c7 100644 --- a/src/tools/vmap4_extractor/vec3d.h +++ b/src/tools/vmap4_extractor/vec3d.h @@ -18,8 +18,8 @@ #ifndef VEC3D_H #define VEC3D_H -#include #include +#include class Vec3D { diff --git a/src/tools/vmap4_extractor/vmapexport.cpp b/src/tools/vmap4_extractor/vmapexport.cpp index 3f0f45201..318be5089 100644 --- a/src/tools/vmap4_extractor/vmapexport.cpp +++ b/src/tools/vmap4_extractor/vmapexport.cpp @@ -21,8 +21,8 @@ #include #include #include -#include #include +#include #ifdef WIN32 #include @@ -33,19 +33,13 @@ #undef min #undef max -//#pragma warning(disable : 4505) -//#pragma comment(lib, "Winmm.lib") - -#include - //From Extractor -#include "adtfile.h" -#include "wdtfile.h" -#include "dbcfile.h" -#include "wmo.h" -#include "mpq_libmpq04.h" - #include "vmapexport.h" +#include "adtfile.h" +#include "dbcfile.h" +#include "mpq_libmpq04.h" +#include "wdtfile.h" +#include "wmo.h" //------------------------------------------------------------------------------ // Defines diff --git a/src/tools/vmap4_extractor/wdtfile.cpp b/src/tools/vmap4_extractor/wdtfile.cpp index 36add4e78..0a0ff125b 100644 --- a/src/tools/vmap4_extractor/wdtfile.cpp +++ b/src/tools/vmap4_extractor/wdtfile.cpp @@ -15,9 +15,9 @@ * with this program. If not, see . */ -#include "vmapexport.h" #include "wdtfile.h" #include "adtfile.h" +#include "vmapexport.h" #include diff --git a/src/tools/vmap4_extractor/wmo.cpp b/src/tools/vmap4_extractor/wmo.cpp index ce1796da8..8f8229602 100644 --- a/src/tools/vmap4_extractor/wmo.cpp +++ b/src/tools/vmap4_extractor/wmo.cpp @@ -15,8 +15,8 @@ * with this program. If not, see . */ -#include "adtfile.h" #include "wmo.h" +#include "adtfile.h" #include "vec3d.h" #include "vmapexport.h" #include