chore(Core/Misc): sort includes (#17776)

* chore(Cleanup): sort includes

* fix build

* fix build again
This commit is contained in:
Winfidonarleyan
2023-11-18 23:51:26 +07:00
committed by GitHub
parent 18d3940145
commit e90d7a2f92
101 changed files with 131 additions and 127 deletions
+1 -1
View File
@@ -20,10 +20,10 @@
#include "MapDefines.h" #include "MapDefines.h"
#include "MapTree.h" #include "MapTree.h"
#include "VMapDefinitions.h" #include "VMapDefinitions.h"
#include <boost/filesystem.hpp>
#include <iomanip> #include <iomanip>
#include <set> #include <set>
#include <sstream> #include <sstream>
#include <boost/filesystem.hpp>
using G3D::Vector3; using G3D::Vector3;
using G3D::AABox; using G3D::AABox;
+1 -1
View File
@@ -20,10 +20,10 @@
#include "Define.h" #include "Define.h"
#include <map> #include <map>
#include <memory>
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>
#include <memory>
/** ObjectRegistry holds all registry item of the same type /** ObjectRegistry holds all registry item of the same type
*/ */
+1 -1
View File
@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "LogCommon.h"
#include "Define.h" #include "Define.h"
#include "LogCommon.h"
#include "SmartEnum.h" #include "SmartEnum.h"
#include <stdexcept> #include <stdexcept>
@@ -28,10 +28,10 @@
#include "Log.h" #include "Log.h"
#include "RealmList.h" #include "RealmList.h"
#include "SecretMgr.h" #include "SecretMgr.h"
#include "StringConvert.h"
#include "TOTP.h" #include "TOTP.h"
#include "Timer.h" #include "Timer.h"
#include "Util.h" #include "Util.h"
#include "StringConvert.h"
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>
#include <openssl/crypto.h> #include <openssl/crypto.h>
@@ -21,8 +21,8 @@
#include "DatabaseEnv.h" #include "DatabaseEnv.h"
#include "Duration.h" #include "Duration.h"
#include "Log.h" #include "Log.h"
#include "SRP6.h"
#include "MotdMgr.h" #include "MotdMgr.h"
#include "SRP6.h"
#include "Util.h" #include "Util.h"
#include "World.h" #include "World.h"
#include <boost/asio/buffer.hpp> #include <boost/asio/buffer.hpp>
@@ -31,8 +31,8 @@
#include "SQLOperation.h" #include "SQLOperation.h"
#include "Transaction.h" #include "Transaction.h"
#include "WorldDatabase.h" #include "WorldDatabase.h"
#include <mysqld_error.h>
#include <limits> #include <limits>
#include <mysqld_error.h>
#ifdef ACORE_DEBUG #ifdef ACORE_DEBUG
#include <boost/stacktrace.hpp> #include <boost/stacktrace.hpp>
+2 -2
View File
@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "AreaBoundary.h"
#include "CreatureAI.h" #include "CreatureAI.h"
#include "AreaBoundary.h"
#include "Creature.h" #include "Creature.h"
#include "CreatureAIImpl.h" #include "CreatureAIImpl.h"
#include "CreatureGroups.h" #include "CreatureGroups.h"
@@ -24,8 +24,8 @@
#include "Log.h" #include "Log.h"
#include "MapReference.h" #include "MapReference.h"
#include "Player.h" #include "Player.h"
#include "Vehicle.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "Vehicle.h"
#include "ZoneScript.h" #include "ZoneScript.h"
//Disable CreatureAI when charmed //Disable CreatureAI when charmed
+1 -1
View File
@@ -18,6 +18,7 @@
#include "CreatureAIRegistry.h" #include "CreatureAIRegistry.h"
#include "CombatAI.h" #include "CombatAI.h"
#include "CreatureAIFactory.h" #include "CreatureAIFactory.h"
#include "GameObjectAIFactory.h"
#include "GuardAI.h" #include "GuardAI.h"
#include "MovementGenerator.h" #include "MovementGenerator.h"
#include "PassiveAI.h" #include "PassiveAI.h"
@@ -27,7 +28,6 @@
#include "SmartAI.h" #include "SmartAI.h"
#include "TotemAI.h" #include "TotemAI.h"
#include "WaypointMovementGenerator.h" #include "WaypointMovementGenerator.h"
#include "GameObjectAIFactory.h"
namespace AIRegistry namespace AIRegistry
{ {
+1 -1
View File
@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "Creature.h"
#include "CreatureAISelector.h" #include "CreatureAISelector.h"
#include "Creature.h"
#include "CreatureAIFactory.h" #include "CreatureAIFactory.h"
#include "MovementGenerator.h" #include "MovementGenerator.h"
+3
View File
@@ -18,6 +18,8 @@
#ifndef ACORE_CREATUREAISELECTOR_H #ifndef ACORE_CREATUREAISELECTOR_H
#define ACORE_CREATUREAISELECTOR_H #define ACORE_CREATUREAISELECTOR_H
#include "Define.h"
class CreatureAI; class CreatureAI;
class Creature; class Creature;
class MovementGenerator; class MovementGenerator;
@@ -31,4 +33,5 @@ namespace FactorySelector
AC_GAME_API MovementGenerator* SelectMovementGenerator(Unit* unit); AC_GAME_API MovementGenerator* SelectMovementGenerator(Unit* unit);
AC_GAME_API GameObjectAI* SelectGameObjectAI(GameObject* go); AC_GAME_API GameObjectAI* SelectGameObjectAI(GameObject* go);
} }
#endif #endif
+2 -1
View File
@@ -18,8 +18,9 @@
#ifndef ACORE_GAMEOBJECTAIFACTORY_H #ifndef ACORE_GAMEOBJECTAIFACTORY_H
#define ACORE_GAMEOBJECTAIFACTORY_H #define ACORE_GAMEOBJECTAIFACTORY_H
#include "ObjectRegistry.h"
#include "FactoryHolder.h" #include "FactoryHolder.h"
#include "GameObjectAI.h"
#include "ObjectRegistry.h"
typedef FactoryHolder<GameObjectAI, GameObject> GameObjectAICreator; typedef FactoryHolder<GameObjectAI, GameObject> GameObjectAICreator;
@@ -21,8 +21,8 @@
#include "Creature.h" #include "Creature.h"
#include "CreatureAI.h" #include "CreatureAI.h"
#include "CreatureAIImpl.h" #include "CreatureAIImpl.h"
#include "InstanceScript.h"
#include "EventMap.h" #include "EventMap.h"
#include "InstanceScript.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#define CAST_AI(a, b) (dynamic_cast<a*>(b)) #define CAST_AI(a, b) (dynamic_cast<a*>(b))
+1 -1
View File
@@ -16,8 +16,8 @@
*/ */
#include "AddonMgr.h" #include "AddonMgr.h"
#include "DatabaseEnv.h"
#include "CryptoHash.h" #include "CryptoHash.h"
#include "DatabaseEnv.h"
#include "Log.h" #include "Log.h"
#include "Timer.h" #include "Timer.h"
#include <list> #include <list>
@@ -16,10 +16,10 @@
*/ */
#include "AutobroadcastMgr.h" #include "AutobroadcastMgr.h"
#include "Config.h"
#include "Chat.h" #include "Chat.h"
#include "Player.h" #include "Config.h"
#include "GridNotifiers.h" #include "GridNotifiers.h"
#include "Player.h"
AutobroadcastMgr* AutobroadcastMgr::instance() AutobroadcastMgr* AutobroadcastMgr::instance()
{ {
+2 -2
View File
@@ -20,11 +20,11 @@
#include "GroupMgr.h" #include "GroupMgr.h"
#include "Log.h" #include "Log.h"
#include "ObjectAccessor.h" #include "ObjectAccessor.h"
#include "Pet.h"
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h"
#include "World.h" #include "World.h"
#include "WorldSession.h" #include "WorldSession.h"
#include "Pet.h"
#include "ScriptMgr.h"
//#include "WorldStatePackets.h" //#include "WorldStatePackets.h"
void ArenaScore::AppendToPacket(WorldPacket& data) void ArenaScore::AppendToPacket(WorldPacket& data)
@@ -23,8 +23,8 @@
#include "Common.h" #include "Common.h"
#include "CreatureAIImpl.h" #include "CreatureAIImpl.h"
#include "DBCEnums.h" #include "DBCEnums.h"
#include <unordered_map>
#include <functional> #include <functional>
#include <unordered_map>
typedef std::map<uint32, Battleground*> BattlegroundContainer; typedef std::map<uint32, Battleground*> BattlegroundContainer;
typedef std::set<uint32> BattlegroundClientIdsContainer; typedef std::set<uint32> BattlegroundClientIdsContainer;
@@ -20,8 +20,8 @@
#include "Battleground.h" #include "Battleground.h"
#include "BattlegroundScore.h" #include "BattlegroundScore.h"
#include "Language.h"
#include "EventMap.h" #include "EventMap.h"
#include "Language.h"
enum BG_EY_Events enum BG_EY_Events
{ {
+2 -2
View File
@@ -18,9 +18,9 @@
#include "ChannelMgr.h" #include "ChannelMgr.h"
#include "Log.h" #include "Log.h"
#include "Player.h" #include "Player.h"
#include "World.h"
#include "Tokenize.h"
#include "StringConvert.h" #include "StringConvert.h"
#include "Tokenize.h"
#include "World.h"
ChannelMgr::~ChannelMgr() ChannelMgr::~ChannelMgr()
{ {
+1 -1
View File
@@ -20,8 +20,8 @@
#include "GameEventMgr.h" #include "GameEventMgr.h"
#include "InstanceScript.h" #include "InstanceScript.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Player.h"
#include "Pet.h" #include "Pet.h"
#include "Player.h"
#include "ReputationMgr.h" #include "ReputationMgr.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
+2 -2
View File
@@ -23,9 +23,9 @@
#include "Player.h" #include "Player.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "SpellMgr.h" #include "SpellMgr.h"
#include "World.h"
#include "Tokenize.h"
#include "StringConvert.h" #include "StringConvert.h"
#include "Tokenize.h"
#include "World.h"
namespace DisableMgr namespace DisableMgr
{ {
+2 -2
View File
@@ -15,11 +15,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "DBCStores.h" #include "M2Stores.h"
#include "Containers.h" #include "Containers.h"
#include "DBCStores.h"
#include "Log.h" #include "Log.h"
#include "M2Structure.h" #include "M2Structure.h"
#include "M2Stores.h"
#include "World.h" #include "World.h"
#include <boost/filesystem/path.hpp> #include <boost/filesystem/path.hpp>
#include <fstream> #include <fstream>
+1 -1
View File
@@ -18,8 +18,8 @@
#ifndef ACORE_M2STRUCTURE_H #ifndef ACORE_M2STRUCTURE_H
#define ACORE_M2STRUCTURE_H #define ACORE_M2STRUCTURE_H
#include <G3D/Vector3.h>
#include <G3D/AABox.h> #include <G3D/AABox.h>
#include <G3D/Vector3.h>
// Structures for M2 file. Source: https://wowdev.wiki // Structures for M2 file. Source: https://wowdev.wiki
#pragma pack(push, 1) #pragma pack(push, 1)
@@ -17,8 +17,8 @@
#include "GossipDef.h" #include "GossipDef.h"
#include "Formulas.h" #include "Formulas.h"
#include "ObjectMgr.h"
#include "Object.h" #include "Object.h"
#include "ObjectMgr.h"
#include "Opcodes.h" #include "Opcodes.h"
#include "Player.h" #include "Player.h"
#include "QuestDef.h" #include "QuestDef.h"
@@ -15,12 +15,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "SpellAuraEffects.h"
#include "GameTime.h" #include "GameTime.h"
#include "GridNotifiers.h" #include "GridNotifiers.h"
#include "ObjectAccessor.h" #include "ObjectAccessor.h"
#include "Opcodes.h" #include "Opcodes.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "SpellAuraEffects.h"
#include "Transport.h" #include "Transport.h"
#include "UpdateMask.h" #include "UpdateMask.h"
#include "World.h" #include "World.h"
@@ -21,10 +21,10 @@
#include "Common.h" #include "Common.h"
#include "DatabaseEnv.h" #include "DatabaseEnv.h"
#include "G3D/Quat.h" #include "G3D/Quat.h"
#include "GameObjectData.h"
#include "LootMgr.h" #include "LootMgr.h"
#include "Object.h" #include "Object.h"
#include "SharedDefines.h" #include "SharedDefines.h"
#include "GameObjectData.h"
#include "Unit.h" #include "Unit.h"
#include <array> #include <array>
+2 -2
View File
@@ -26,9 +26,9 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "SpellMgr.h" #include "SpellMgr.h"
#include "WorldPacket.h"
#include "Tokenize.h"
#include "StringConvert.h" #include "StringConvert.h"
#include "Tokenize.h"
#include "WorldPacket.h"
void AddItemsSetItem(Player* player, Item* item) void AddItemsSetItem(Player* player, Item* item)
{ {
@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "Item.h"
#include "Define.h" #include "Define.h"
#include "Item.h"
#include "SmartEnum.h" #include "SmartEnum.h"
#include <stdexcept> #include <stdexcept>
+2 -2
View File
@@ -38,8 +38,10 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "SharedDefines.h" #include "SharedDefines.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "StringConvert.h"
#include "TargetedMovementGenerator.h" #include "TargetedMovementGenerator.h"
#include "TemporarySummon.h" #include "TemporarySummon.h"
#include "Tokenize.h"
#include "Totem.h" #include "Totem.h"
#include "Transport.h" #include "Transport.h"
#include "UpdateData.h" #include "UpdateData.h"
@@ -49,8 +51,6 @@
#include "Vehicle.h" #include "Vehicle.h"
#include "World.h" #include "World.h"
#include "WorldPacket.h" #include "WorldPacket.h"
#include "Tokenize.h"
#include "StringConvert.h"
/// @todo: this import is not necessary for compilation and marked as unused by the IDE /// @todo: this import is not necessary for compilation and marked as unused by the IDE
// however, for some reasons removing it would cause a damn linking issue // however, for some reasons removing it would cause a damn linking issue
+1 -1
View File
@@ -17,8 +17,8 @@
#include "Position.h" #include "Position.h"
#include "ByteBuffer.h" #include "ByteBuffer.h"
#include "GridDefines.h"
#include "Geometry.h" #include "Geometry.h"
#include "GridDefines.h"
#include <G3D/g3dmath.h> #include <G3D/g3dmath.h>
#include <sstream> #include <sstream>
+1 -1
View File
@@ -18,9 +18,9 @@
#ifndef ACore_game_Position_h__ #ifndef ACore_game_Position_h__
#define ACore_game_Position_h__ #define ACore_game_Position_h__
#include <cmath>
#include "Common.h" #include "Common.h"
#include "G3D/Vector3.h" #include "G3D/Vector3.h"
#include <cmath>
class ByteBuffer; class ByteBuffer;
+2 -2
View File
@@ -75,7 +75,9 @@
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "SpellAuras.h" #include "SpellAuras.h"
#include "SpellMgr.h" #include "SpellMgr.h"
#include "StringConvert.h"
#include "TicketMgr.h" #include "TicketMgr.h"
#include "Tokenize.h"
#include "Transport.h" #include "Transport.h"
#include "UpdateData.h" #include "UpdateData.h"
#include "UpdateFieldFlags.h" #include "UpdateFieldFlags.h"
@@ -85,8 +87,6 @@
#include "World.h" #include "World.h"
#include "WorldPacket.h" #include "WorldPacket.h"
#include "WorldSession.h" #include "WorldSession.h"
#include "Tokenize.h"
#include "StringConvert.h"
/// @todo: this import is not necessary for compilation and marked as unused by the IDE /// @todo: this import is not necessary for compilation and marked as unused by the IDE
// however, for some reasons removing it would cause a damn linking issue // however, for some reasons removing it would cause a damn linking issue
+1 -1
View File
@@ -37,8 +37,8 @@
#include "PlayerTaxi.h" #include "PlayerTaxi.h"
#include "QuestDef.h" #include "QuestDef.h"
#include "SpellAuras.h" #include "SpellAuras.h"
#include "SpellMgr.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "SpellMgr.h"
#include "TradeData.h" #include "TradeData.h"
#include "Unit.h" #include "Unit.h"
#include "WorldSession.h" #include "WorldSession.h"
@@ -62,6 +62,8 @@
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "SpellAuras.h" #include "SpellAuras.h"
#include "SpellMgr.h" #include "SpellMgr.h"
#include "StringConvert.h"
#include "Tokenize.h"
#include "Transport.h" #include "Transport.h"
#include "UpdateData.h" #include "UpdateData.h"
#include "UpdateFieldFlags.h" #include "UpdateFieldFlags.h"
@@ -70,8 +72,6 @@
#include "Weather.h" #include "Weather.h"
#include "World.h" #include "World.h"
#include "WorldPacket.h" #include "WorldPacket.h"
#include "Tokenize.h"
#include "StringConvert.h"
/// @todo: this import is not necessary for compilation and marked as unused by the IDE /// @todo: this import is not necessary for compilation and marked as unused by the IDE
// however, for some reasons removing it would cause a damn linking issue // however, for some reasons removing it would cause a damn linking issue
@@ -17,8 +17,8 @@
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Player.h" #include "Player.h"
#include "Tokenize.h"
#include "StringConvert.h" #include "StringConvert.h"
#include "Tokenize.h"
void PlayerTaxi::InitTaxiNodesForLevel(uint32 race, uint32 chrClass, uint8 level) void PlayerTaxi::InitTaxiNodesForLevel(uint32 race, uint32 chrClass, uint8 level)
{ {
+1 -1
View File
@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "Creature.h"
#include "Config.h" #include "Config.h"
#include "Creature.h"
#include "Pet.h" #include "Pet.h"
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
+2 -2
View File
@@ -58,8 +58,10 @@
#include "SpellAuras.h" #include "SpellAuras.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "SpellMgr.h" #include "SpellMgr.h"
#include "StringConvert.h"
#include "TargetedMovementGenerator.h" #include "TargetedMovementGenerator.h"
#include "TemporarySummon.h" #include "TemporarySummon.h"
#include "Tokenize.h"
#include "Totem.h" #include "Totem.h"
#include "TotemAI.h" #include "TotemAI.h"
#include "Transport.h" #include "Transport.h"
@@ -68,8 +70,6 @@
#include "Vehicle.h" #include "Vehicle.h"
#include "World.h" #include "World.h"
#include "WorldPacket.h" #include "WorldPacket.h"
#include "Tokenize.h"
#include "StringConvert.h"
#include <math.h> #include <math.h>
float baseMoveSpeed[MAX_MOVE_TYPE] = float baseMoveSpeed[MAX_MOVE_TYPE] =
+1 -1
View File
@@ -18,8 +18,8 @@
#ifndef __UNIT_H #ifndef __UNIT_H
#define __UNIT_H #define __UNIT_H
#include "EventProcessor.h"
#include "EnumFlag.h" #include "EnumFlag.h"
#include "EventProcessor.h"
#include "FollowerRefMgr.h" #include "FollowerRefMgr.h"
#include "FollowerReference.h" #include "FollowerReference.h"
#include "HostileRefMgr.h" #include "HostileRefMgr.h"
@@ -15,9 +15,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "Unit.h"
#include "Define.h" #include "Define.h"
#include "SmartEnum.h" #include "SmartEnum.h"
#include "Unit.h"
#include <stdexcept> #include <stdexcept>
namespace Acore::Impl::EnumUtilsImpl namespace Acore::Impl::EnumUtilsImpl
+5 -5
View File
@@ -22,14 +22,14 @@
#include "CharacterCache.h" #include "CharacterCache.h"
#include "Chat.h" #include "Chat.h"
#include "Common.h" #include "Common.h"
#include "CreatureAIFactory.h"
#include "Config.h" #include "Config.h"
#include "Containers.h" #include "Containers.h"
#include "DatabaseEnv.h" #include "CreatureAIFactory.h"
#include "DBCStructure.h" #include "DBCStructure.h"
#include "DatabaseEnv.h"
#include "DisableMgr.h" #include "DisableMgr.h"
#include "GameObjectAIFactory.h"
#include "GameEventMgr.h" #include "GameEventMgr.h"
#include "GameObjectAIFactory.h"
#include "GameTime.h" #include "GameTime.h"
#include "GossipDef.h" #include "GossipDef.h"
#include "GroupMgr.h" #include "GroupMgr.h"
@@ -45,13 +45,13 @@
#include "Spell.h" #include "Spell.h"
#include "SpellMgr.h" #include "SpellMgr.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "StringConvert.h"
#include "Tokenize.h"
#include "Transport.h" #include "Transport.h"
#include "Unit.h" #include "Unit.h"
#include "Util.h" #include "Util.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "World.h" #include "World.h"
#include "StringConvert.h"
#include "Tokenize.h"
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
ScriptMapMap sSpellScripts; ScriptMapMap sSpellScripts;
+1 -1
View File
@@ -25,6 +25,7 @@
#include "DatabaseEnv.h" #include "DatabaseEnv.h"
#include "DynamicObject.h" #include "DynamicObject.h"
#include "GameObject.h" #include "GameObject.h"
#include "GossipDef.h"
#include "ItemTemplate.h" #include "ItemTemplate.h"
#include "Log.h" #include "Log.h"
#include "Mail.h" #include "Mail.h"
@@ -36,7 +37,6 @@
#include "QuestDef.h" #include "QuestDef.h"
#include "TemporarySummon.h" #include "TemporarySummon.h"
#include "VehicleDefines.h" #include "VehicleDefines.h"
#include "GossipDef.h"
#include <functional> #include <functional>
#include <limits> #include <limits>
#include <map> #include <map>
+1 -1
View File
@@ -18,10 +18,10 @@
#include "ObjectGridLoader.h" #include "ObjectGridLoader.h"
#include "CellImpl.h" #include "CellImpl.h"
#include "Corpse.h" #include "Corpse.h"
#include "GridNotifiers.h"
#include "Creature.h" #include "Creature.h"
#include "DynamicObject.h" #include "DynamicObject.h"
#include "GameObject.h" #include "GameObject.h"
#include "GridNotifiers.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Transport.h" #include "Transport.h"
#include "Vehicle.h" #include "Vehicle.h"
+1 -1
View File
@@ -18,8 +18,8 @@
#ifndef AZEROTHCORE_GROUP_H #ifndef AZEROTHCORE_GROUP_H
#define AZEROTHCORE_GROUP_H #define AZEROTHCORE_GROUP_H
#include "DataMap.h"
#include "DBCEnums.h" #include "DBCEnums.h"
#include "DataMap.h"
#include "GroupRefMgr.h" #include "GroupRefMgr.h"
#include "LootMgr.h" #include "LootMgr.h"
#include "QueryResult.h" #include "QueryResult.h"
@@ -35,6 +35,7 @@
#include "Log.h" #include "Log.h"
#include "MapMgr.h" #include "MapMgr.h"
#include "Metric.h" #include "Metric.h"
#include "MotdMgr.h"
#include "ObjectAccessor.h" #include "ObjectAccessor.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Opcodes.h" #include "Opcodes.h"
@@ -45,7 +46,6 @@
#include "Realm.h" #include "Realm.h"
#include "ReputationMgr.h" #include "ReputationMgr.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "MotdMgr.h"
#include "SharedDefines.h" #include "SharedDefines.h"
#include "SocialMgr.h" #include "SocialMgr.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
+1 -1
View File
@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "CreatureAI.h"
#include "CombatPackets.h" #include "CombatPackets.h"
#include "CreatureAI.h"
#include "Log.h" #include "Log.h"
#include "ObjectAccessor.h" #include "ObjectAccessor.h"
#include "ObjectDefines.h" #include "ObjectDefines.h"
+1 -1
View File
@@ -20,9 +20,9 @@
#include "GroupMgr.h" #include "GroupMgr.h"
#include "Language.h" #include "Language.h"
#include "Log.h" #include "Log.h"
#include "MiscPackets.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Opcodes.h" #include "Opcodes.h"
#include "MiscPackets.h"
#include "Pet.h" #include "Pet.h"
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
+1 -1
View File
@@ -15,10 +15,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "MapUpdater.h"
#include "DatabaseEnv.h" #include "DatabaseEnv.h"
#include "LFGMgr.h" #include "LFGMgr.h"
#include "Map.h" #include "Map.h"
#include "MapUpdater.h"
#include "Metric.h" #include "Metric.h"
class UpdateRequest class UpdateRequest
+1 -1
View File
@@ -19,9 +19,9 @@
#include "Config.h" #include "Config.h"
#include "Opcodes.h" #include "Opcodes.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "Tokenize.h"
#include "Util.h" #include "Util.h"
#include "WorldPacket.h" #include "WorldPacket.h"
#include "Tokenize.h"
#include <iterator> #include <iterator>
namespace namespace
+1 -1
View File
@@ -30,8 +30,8 @@
#include "PointMovementGenerator.h" #include "PointMovementGenerator.h"
#include "RandomMovementGenerator.h" #include "RandomMovementGenerator.h"
#include "TargetedMovementGenerator.h" #include "TargetedMovementGenerator.h"
#include "WaypointMovementGenerator.h"
#include "WaypointMgr.h" #include "WaypointMgr.h"
#include "WaypointMovementGenerator.h"
inline MovementGenerator* GetIdleMovementGenerator() inline MovementGenerator* GetIdleMovementGenerator()
{ {
+1 -1
View File
@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "QuestDef.h"
#include "Define.h" #include "Define.h"
#include "QuestDef.h"
#include "SmartEnum.h" #include "SmartEnum.h"
#include <stdexcept> #include <stdexcept>
+2 -2
View File
@@ -18,15 +18,15 @@
#ifndef AllPackets_h__ #ifndef AllPackets_h__
#define AllPackets_h__ #define AllPackets_h__
#include "LFGPackets.h"
#include "BankPackets.h" #include "BankPackets.h"
#include "CharacterPackets.h" #include "CharacterPackets.h"
#include "ChatPackets.h" #include "ChatPackets.h"
#include "PetPackets.h"
#include "CombatLogPackets.h" #include "CombatLogPackets.h"
#include "CombatPackets.h" #include "CombatPackets.h"
#include "GuildPackets.h" #include "GuildPackets.h"
#include "LFGPackets.h"
#include "MiscPackets.h" #include "MiscPackets.h"
#include "PetPackets.h"
#include "TotemPackets.h" #include "TotemPackets.h"
#include "WorldStatePackets.h" #include "WorldStatePackets.h"
@@ -18,8 +18,8 @@
#ifndef CombatPackets_h__ #ifndef CombatPackets_h__
#define CombatPackets_h__ #define CombatPackets_h__
#include "Packet.h"
#include "ObjectGuid.h" #include "ObjectGuid.h"
#include "Packet.h"
namespace WorldPackets namespace WorldPackets
{ {
+1 -1
View File
@@ -18,8 +18,8 @@
#ifndef MiscPackets_h__ #ifndef MiscPackets_h__
#define MiscPackets_h__ #define MiscPackets_h__
#include "Packet.h"
#include "ObjectGuid.h" #include "ObjectGuid.h"
#include "Packet.h"
#include "Weather.h" #include "Weather.h"
enum WeatherState : uint32; enum WeatherState : uint32;
+1 -1
View File
@@ -18,8 +18,8 @@
#ifndef PetPackets_h__ #ifndef PetPackets_h__
#define PetPackets_h__ #define PetPackets_h__
#include "Packet.h"
#include "ObjectGuid.h" #include "ObjectGuid.h"
#include "Packet.h"
namespace WorldPackets namespace WorldPackets
{ {
@@ -15,10 +15,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "SpellInfo.h"
#include "DBCStores.h" #include "DBCStores.h"
#include "DBCStructure.h" #include "DBCStructure.h"
#include "GameGraveyard.h" #include "GameGraveyard.h"
#include "SpellInfo.h"
#include "SpellMgr.h" #include "SpellMgr.h"
inline void ApplySpellFix(std::initializer_list<uint32> spellIds, void(*fix)(SpellInfo*)) inline void ApplySpellFix(std::initializer_list<uint32> spellIds, void(*fix)(SpellInfo*))
+1 -1
View File
@@ -26,12 +26,12 @@
#include "MapMgr.h" #include "MapMgr.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h"
#include "SharedDefines.h" #include "SharedDefines.h"
#include "Spell.h" #include "Spell.h"
#include "SpellAuraDefines.h" #include "SpellAuraDefines.h"
#include "SpellAuras.h" #include "SpellAuras.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "ScriptMgr.h"
#include "World.h" #include "World.h"
bool IsPrimaryProfessionSkill(uint32 skill) bool IsPrimaryProfessionSkill(uint32 skill)
+2 -2
View File
@@ -18,11 +18,11 @@
#ifndef _PLAYER_DUMP_H #ifndef _PLAYER_DUMP_H
#define _PLAYER_DUMP_H #define _PLAYER_DUMP_H
#include <string> #include "ObjectGuid.h"
#include <iosfwd> #include <iosfwd>
#include <map> #include <map>
#include <set> #include <set>
#include "ObjectGuid.h" #include <string>
enum DumpTableType enum DumpTableType
{ {
+1 -1
View File
@@ -16,9 +16,9 @@
*/ */
#include "WardenPayloadMgr.h" #include "WardenPayloadMgr.h"
#include "StringFormat.h"
#include "Errors.h" #include "Errors.h"
#include "Log.h" #include "Log.h"
#include "StringFormat.h"
WardenPayloadMgr::WardenPayloadMgr() { } WardenPayloadMgr::WardenPayloadMgr() { }
@@ -15,9 +15,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "WardenCheckMgr.h"
#include "Define.h" #include "Define.h"
#include "SmartEnum.h" #include "SmartEnum.h"
#include "WardenCheckMgr.h"
#include <stdexcept> #include <stdexcept>
namespace Acore::Impl::EnumUtilsImpl namespace Acore::Impl::EnumUtilsImpl
+2 -2
View File
@@ -59,10 +59,11 @@
#include "Log.h" #include "Log.h"
#include "LootItemStorage.h" #include "LootItemStorage.h"
#include "LootMgr.h" #include "LootMgr.h"
#include "M2Stores.h"
#include "MMapFactory.h" #include "MMapFactory.h"
#include "MapMgr.h" #include "MapMgr.h"
#include "Metric.h" #include "Metric.h"
#include "M2Stores.h" #include "MotdMgr.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Opcodes.h" #include "Opcodes.h"
#include "OutdoorPvPMgr.h" #include "OutdoorPvPMgr.h"
@@ -72,7 +73,6 @@
#include "PoolMgr.h" #include "PoolMgr.h"
#include "Realm.h" #include "Realm.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "MotdMgr.h"
#include "SkillDiscovery.h" #include "SkillDiscovery.h"
#include "SkillExtraItems.h" #include "SkillExtraItems.h"
#include "SmartAI.h" #include "SmartAI.h"
+1 -1
View File
@@ -31,8 +31,8 @@
#include "GridNotifiersImpl.h" #include "GridNotifiersImpl.h"
#include "Language.h" #include "Language.h"
#include "Log.h" #include "Log.h"
#include "MapMgr.h"
#include "M2Stores.h" #include "M2Stores.h"
#include "MapMgr.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "PoolMgr.h" #include "PoolMgr.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
+1 -1
View File
@@ -28,11 +28,11 @@
#include "GitRevision.h" #include "GitRevision.h"
#include "Language.h" #include "Language.h"
#include "ModuleMgr.h" #include "ModuleMgr.h"
#include "MotdMgr.h"
#include "MySQLThreading.h" #include "MySQLThreading.h"
#include "Player.h" #include "Player.h"
#include "Realm.h" #include "Realm.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "MotdMgr.h"
#include "StringConvert.h" #include "StringConvert.h"
#include "UpdateTime.h" #include "UpdateTime.h"
#include "VMapFactory.h" #include "VMapFactory.h"
@@ -17,8 +17,8 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "blackrock_spire.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "blackrock_spire.h"
enum Spells enum Spells
{ {
@@ -20,8 +20,8 @@
#include "InstanceScript.h" #include "InstanceScript.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "blackwing_lair.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "blackwing_lair.h"
enum Say enum Say
{ {
@@ -23,9 +23,9 @@
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "TaskScheduler.h"
#include "TemporarySummon.h" #include "TemporarySummon.h"
#include "blackwing_lair.h" #include "blackwing_lair.h"
#include "TaskScheduler.h"
enum Events enum Events
{ {
@@ -15,7 +15,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "karazhan.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
@@ -23,11 +22,12 @@
#include "ScriptedEscortAI.h" #include "ScriptedEscortAI.h"
#include "ScriptedFollowerAI.h" #include "ScriptedFollowerAI.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellInfo.h"
#include "SpellAuras.h" #include "SpellAuras.h"
#include "SpellInfo.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "Unit.h" #include "Unit.h"
#include "World.h" #include "World.h"
#include "karazhan.h"
#include <array> #include <array>
@@ -18,9 +18,9 @@
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "karazhan.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "karazhan.h"
enum Emotes enum Emotes
{ {
@@ -22,8 +22,8 @@
#include "SpellAuras.h" #include "SpellAuras.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "karazhan.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "karazhan.h"
enum Texts enum Texts
{ {
@@ -24,10 +24,10 @@ EndScriptData */
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "TaskScheduler.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "TaskScheduler.h"
#include "karazhan.h" #include "karazhan.h"
/***********************************/ /***********************************/
@@ -34,8 +34,8 @@ EndContentData */
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedEscortAI.h" #include "ScriptedEscortAI.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "SpellAuras.h"
#include "SpellScript.h" #include "SpellScript.h"
enum Spells enum Spells
@@ -16,8 +16,8 @@
*/ */
#include "InstanceScript.h" #include "InstanceScript.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "magisters_terrace.h" #include "magisters_terrace.h"
ObjectData const creatureData[] = ObjectData const creatureData[] =
@@ -17,6 +17,7 @@
#include "CombatAI.h" #include "CombatAI.h"
#include "CreatureTextMgr.h" #include "CreatureTextMgr.h"
#include "MoveSplineInit.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "PassiveAI.h" #include "PassiveAI.h"
#include "Player.h" #include "Player.h"
@@ -27,7 +28,6 @@
#include "SpellInfo.h" #include "SpellInfo.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "MoveSplineInit.h"
/*###### /*######
## npc_eye_of_acherus ## npc_eye_of_acherus
@@ -15,17 +15,17 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "GridNotifiersImpl.h"
#include "Group.h"
#include "LFGMgr.h"
#include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "LFGMgr.h"
#include "Player.h"
#include "Group.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "shadowfang_keep.h" #include "SpellScript.h"
#include "GridNotifiersImpl.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "shadowfang_keep.h"
enum ApothecarySpells enum ApothecarySpells
{ {
@@ -18,9 +18,9 @@
#ifndef DEF_SHADOWFANG_H #ifndef DEF_SHADOWFANG_H
#define DEF_SHADOWFANG_H #define DEF_SHADOWFANG_H
#include "CreatureAIImpl.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "CreatureAIImpl.h"
#define DataHeader "SK" #define DataHeader "SK"
#define ShadowfangKeepScriptName "instance_shadowfang_keep" #define ShadowfangKeepScriptName "instance_shadowfang_keep"
@@ -21,8 +21,8 @@
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "sunken_temple.h"
#include "Unit.h" #include "Unit.h"
#include "sunken_temple.h"
class instance_sunken_temple : public InstanceMapScript class instance_sunken_temple : public InstanceMapScript
{ {
@@ -15,14 +15,14 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "Spell.h" #include "Spell.h"
#include "SpellAuras.h" #include "SpellAuras.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "zulgurub.h"
#include "Player.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "zulgurub.h"
enum Says enum Says
{ {
@@ -16,9 +16,9 @@
*/ */
#include "GameObjectAI.h" #include "GameObjectAI.h"
#include "SpellScript.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "zulgurub.h" #include "zulgurub.h"
@@ -15,9 +15,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "SharedDefines.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SharedDefines.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "zulgurub.h" #include "zulgurub.h"
@@ -17,9 +17,9 @@
#include "the_black_morass.h" #include "the_black_morass.h"
#include "MoveSplineInit.h" #include "MoveSplineInit.h"
#include "SmartAI.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SmartAI.h"
enum medivhMisc enum medivhMisc
{ {
@@ -23,8 +23,8 @@
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "ruins_of_ahnqiraj.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "ruins_of_ahnqiraj.h"
enum Texts enum Texts
{ {
@@ -15,11 +15,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "SmartAI.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedEscortAI.h" #include "ScriptedEscortAI.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SmartAI.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "ruins_of_ahnqiraj.h" #include "ruins_of_ahnqiraj.h"
@@ -15,10 +15,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "ruins_of_ahnqiraj.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "ruins_of_ahnqiraj.h"
enum Spells enum Spells
{ {
@@ -17,8 +17,8 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellAuras.h" #include "SpellAuras.h"
#include "SpellScript.h"
#include "temple_of_ahnqiraj.h" #include "temple_of_ahnqiraj.h"
enum Emotes enum Emotes
@@ -16,8 +16,8 @@
*/ */
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "SpellScript.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h"
#include "temple_of_ahnqiraj.h" #include "temple_of_ahnqiraj.h"
enum Says enum Says
@@ -15,12 +15,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "temple_of_ahnqiraj.h"
#include "MapReference.h" #include "MapReference.h"
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "temple_of_ahnqiraj.h"
enum Spells enum Spells
{ {
@@ -17,9 +17,9 @@
#include "GameTime.h" #include "GameTime.h"
#include "Player.h" #include "Player.h"
#include "ScriptedGossip.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
@@ -23,8 +23,8 @@
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "Vehicle.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "Vehicle.h"
enum Texts enum Texts
{ {
@@ -15,11 +15,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "utgarde_pinnacle.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "Unit.h" #include "Unit.h"
#include "utgarde_pinnacle.h"
enum UtgardeSpells enum UtgardeSpells
{ {
@@ -25,8 +25,8 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "SpellAuras.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "Vehicle.h" #include "Vehicle.h"
@@ -16,6 +16,7 @@
*/ */
#include "OutdoorPvPTF.h" #include "OutdoorPvPTF.h"
#include "GameTime.h"
#include "Language.h" #include "Language.h"
#include "MapMgr.h" #include "MapMgr.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
@@ -24,7 +25,6 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "World.h" #include "World.h"
#include "WorldPacket.h" #include "WorldPacket.h"
#include "GameTime.h"
OutdoorPvPTF::OutdoorPvPTF() OutdoorPvPTF::OutdoorPvPTF()
{ {
@@ -17,8 +17,8 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "serpent_shrine.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "serpent_shrine.h"
enum Talk enum Talk
{ {
@@ -19,8 +19,8 @@
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "serpent_shrine.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "serpent_shrine.h"
enum Talk enum Talk
{ {
@@ -17,8 +17,8 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellAuras.h" #include "SpellAuras.h"
#include "SpellScript.h"
#include "steam_vault.h" #include "steam_vault.h"
enum Texts enum Texts
@@ -15,11 +15,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "PassiveAI.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "gruuls_lair.h" #include "gruuls_lair.h"
#include "PassiveAI.h"
enum Yells enum Yells
{ {
@@ -21,8 +21,8 @@
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedEscortAI.h" #include "ScriptedEscortAI.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellInfo.h"
#include "SpellAuras.h" #include "SpellAuras.h"
#include "SpellInfo.h"
#include "SpellScript.h" #include "SpellScript.h"
// Ours // Ours
+1 -1
View File
@@ -24,8 +24,8 @@
#include "Battleground.h" #include "Battleground.h"
#include "GameTime.h" #include "GameTime.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Player.h"
#include "Pet.h" #include "Pet.h"
#include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SkillDiscovery.h" #include "SkillDiscovery.h"
+1 -1
View File
@@ -18,8 +18,8 @@
#include "Channel.h" #include "Channel.h"
#include "Group.h" #include "Group.h"
#include "Guild.h" #include "Guild.h"
#include "ScriptMgr.h"
#include "Log.h" #include "Log.h"
#include "ScriptMgr.h"
class ChatLogScript : public PlayerScript class ChatLogScript : public PlayerScript
{ {
+2 -2
View File
@@ -15,10 +15,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "Player.h"
#include "ScriptMgr.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Player.h"
#include "QueryResult.h" #include "QueryResult.h"
#include "ScriptMgr.h"
class ServerMailReward : public PlayerScript class ServerMailReward : public PlayerScript
{ {
+1 -1
View File
@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "SharedDefines.h"
#include "Define.h" #include "Define.h"
#include "SharedDefines.h"
#include "SmartEnum.h" #include "SmartEnum.h"
#include <stdexcept> #include <stdexcept>
+1 -1
View File
@@ -19,8 +19,8 @@
#define AZEROTHCORE_WORLDMOCK_H #define AZEROTHCORE_WORLDMOCK_H
#include "ArenaSpectator.h" #include "ArenaSpectator.h"
#include "IWorld.h"
#include "Duration.h" #include "Duration.h"
#include "IWorld.h"
#include "gmock/gmock.h" #include "gmock/gmock.h"
#pragma GCC diagnostic push #pragma GCC diagnostic push
+1 -1
View File
@@ -17,8 +17,8 @@
#include "MapBuilder.h" #include "MapBuilder.h"
#include "PathCommon.h" #include "PathCommon.h"
#include "Util.h"
#include "Timer.h" #include "Timer.h"
#include "Util.h"
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
using namespace MMAP; using namespace MMAP;

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