Remove unused include directives

Based on the work of @stfx in commit:
https://github.com/cmangos/mangos-classic/commit/48a84fb
This commit is contained in:
Antz 2017-01-20 23:20:40 +00:00 committed by Antz
parent 1cc7f72b18
commit 756c8ff797
127 changed files with 21 additions and 231 deletions

View File

@ -29,6 +29,7 @@
#include "AuctionHouseMgr.h"
#include "SystemConfig.h"
#include "SQLStorages.h"
#include "World.h"
/** \addtogroup auctionbot
* @{

View File

@ -25,7 +25,6 @@
#ifndef AUCTION_HOUSE_BOT_H
#define AUCTION_HOUSE_BOT_H
#include "World.h"
#include "Config/Config.h"
#include "AuctionHouseMgr.h"
#include "SharedDefines.h"

View File

@ -36,7 +36,6 @@
#include "ObjectMgr.h"
#include "Mail.h"
#include "WorldPacket.h"
#include "Util.h"
#include "Formulas.h"
#include "GridNotifiersImpl.h"
#include "Chat.h"

View File

@ -26,13 +26,10 @@
#include "Player.h"
#include "BattleGround.h"
#include "BattleGroundAB.h"
#include "Creature.h"
#include "GameObject.h"
#include "BattleGroundMgr.h"
#include "Language.h"
#include "Util.h"
#include "WorldPacket.h"
#include "MapManager.h"
#include "DBCStores.h" // TODO REMOVE this when graveyard handling for pvp is updated
/// <summary>

View File

@ -26,13 +26,11 @@
#include "Player.h"
#include "BattleGround.h"
#include "BattleGroundWS.h"
#include "Creature.h"
#include "GameObject.h"
#include "ObjectMgr.h"
#include "BattleGroundMgr.h"
#include "WorldPacket.h"
#include "Language.h"
#include "MapManager.h"
BattleGroundWS::BattleGroundWS()
{

View File

@ -40,7 +40,6 @@
#include "Language.h"
#include "World.h"
#include "GameEventMgr.h"
#include "ScriptMgr.h"
#include "SpellMgr.h"
#include "MapPersistentStateMgr.h"
#include "AccountMgr.h"
@ -52,11 +51,6 @@
#include "GridNotifiersImpl.h"
#include "CellImpl.h"
#include "WaypointMovementGenerator.h"
#include <cctype>
#include <iostream>
#include <fstream>
#include <map>
#include <typeinfo>
#include "Formulas.h"
#include "G3D/Quat.h" // for turning GO's
#include "TargetedMovementGenerator.h" // for HandleNpcUnFollowCommand
@ -64,6 +58,10 @@
#include "PathFinder.h" // for mmap commands
#include "movement/MoveSplineInit.h"
#include <fstream>
#include <map>
#include <typeinfo>
static uint32 ReputationRankStrIndex[MAX_REPUTATION_RANK] =
{
LANG_REP_HATED, LANG_REP_HOSTILE, LANG_REP_UNFRIENDLY, LANG_REP_NEUTRAL,

View File

@ -24,7 +24,6 @@
#include "Common.h"
#include "Database/DatabaseEnv.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include "World.h"
#include "ObjectMgr.h"
@ -32,7 +31,6 @@
#include "PlayerDump.h"
#include "SpellMgr.h"
#include "Player.h"
#include "Opcodes.h"
#include "GameObject.h"
#include "Chat.h"
#include "Log.h"

View File

@ -23,7 +23,6 @@
*/
#include "Common.h"
#include "Database/DatabaseEnv.h"
#include "DBCStores.h"
#include "WorldPacket.h"
#include "Player.h"

View File

@ -23,12 +23,10 @@
*/
#include "ConfusedMovementGenerator.h"
#include "MapManager.h"
#include "Creature.h"
#include "Player.h"
#include "movement/MoveSplineInit.h"
#include "movement/MoveSpline.h"
#include "PathFinder.h"
template<class T>
void ConfusedMovementGenerator<T>::Initialize(T& unit)

View File

@ -24,7 +24,6 @@
#include "Creature.h"
#include "CreatureAI.h"
#include "MapManager.h"
#include "FleeingMovementGenerator.h"
#include "ObjectAccessor.h"
#include "movement/MoveSplineInit.h"

View File

@ -25,8 +25,6 @@
#include "HomeMovementGenerator.h"
#include "Creature.h"
#include "CreatureAI.h"
#include "ObjectMgr.h"
#include "WorldPacket.h"
#include "movement/MoveSplineInit.h"
#include "movement/MoveSpline.h"

View File

@ -39,6 +39,7 @@
#include "CreatureLinkingMgr.h"
#include "Pet.h"
#include "DBCStores.h"
#include "Log.h"
#include <cassert>

View File

@ -25,10 +25,7 @@
#ifndef MANGOS_MOVEMENTGENERATOR_H
#define MANGOS_MOVEMENTGENERATOR_H
#include "Common.h"
#include "Platform/Define.h"
#include "Policies/Singleton.h"
#include "Dynamic/ObjectRegistry.h"
#include "Dynamic/FactoryHolder.h"
#include "MotionMaster.h"
#include "Timer.h"

View File

@ -23,7 +23,6 @@
*/
#include "PointMovementGenerator.h"
#include "Errors.h"
#include "Creature.h"
#include "CreatureAI.h"
#include "TemporarySummon.h"

View File

@ -23,7 +23,6 @@
*/
#include "Creature.h"
#include "MapManager.h"
#include "RandomMovementGenerator.h"
#include "Map.h"
#include "Util.h"

View File

@ -23,8 +23,6 @@
*/
#include "TargetedMovementGenerator.h"
#include "ByteBuffer.h"
#include "Errors.h"
#include "PathFinder.h"
#include "Unit.h"
#include "Creature.h"

View File

@ -22,15 +22,12 @@
* and lore are copyrighted by Blizzard Entertainment, Inc.
*/
#include <ctime>
#include "WaypointMovementGenerator.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "Creature.h"
#include "CreatureAI.h"
#include "WaypointManager.h"
#include "WorldPacket.h"
#include "ScriptMgr.h"
#include "movement/MoveSplineInit.h"
#include "movement/MoveSpline.h"

View File

@ -35,7 +35,6 @@
#include "WaypointManager.h"
#include "DBCStructure.h"
#include <vector>
#include <set>
#define FLIGHT_TRAVEL_UPDATE 100

View File

@ -25,16 +25,12 @@
#include "AggressorAI.h"
#include "Errors.h"
#include "Creature.h"
#include "SharedDefines.h"
#include "VMapFactory.h"
#include "World.h"
#include "DBCStores.h"
#include "Map.h"
#include "Log.h"
#include <list>
int
AggressorAI::Permissible(const Creature* creature)
int AggressorAI::Permissible(const Creature* creature)
{
// have some hostile factions, it will be selected by IsHostileTo check at MoveInLineOfSight
if (!(creature->GetCreatureInfo()->ExtraFlags & CREATURE_EXTRA_FLAG_NO_AGGRO) && !creature->IsNeutralToAll())
@ -47,8 +43,7 @@ AggressorAI::AggressorAI(Creature* c) : CreatureAI(c), i_state(STATE_NORMAL), i_
{
}
void
AggressorAI::MoveInLineOfSight(Unit* u)
void AggressorAI::MoveInLineOfSight(Unit* u)
{
// Ignore Z for flying creatures
if (!m_creature->CanFly() && m_creature->GetDistanceZ(u) > CREATURE_Z_ATTACK_RANGE)

View File

@ -39,8 +39,6 @@
#define MANGOS_H_AUCTION_HOUSE_MGR
#include "Common.h"
#include "SharedDefines.h"
#include "Policies/Singleton.h"
#include "DBCStructure.h"
/** \addtogroup auctionhouse

View File

@ -25,7 +25,6 @@
#include "Bag.h"
#include "ObjectMgr.h"
#include "Database/DatabaseEnv.h"
#include "Log.h"
#include "UpdateData.h"
Bag::Bag(): Item()

View File

@ -24,12 +24,9 @@
#include "Corpse.h"
#include "Player.h"
#include "UpdateMask.h"
#include "ObjectAccessor.h"
#include "ObjectGuid.h"
#include "Database/DatabaseEnv.h"
#include "Opcodes.h"
#include "GossipDef.h"
#include "World.h"
#include "ObjectMgr.h"

View File

@ -31,7 +31,6 @@
#include "ObjectGuid.h"
#include "SQLStorages.h"
#include "SpellMgr.h"
#include "QuestDef.h"
#include "GossipDef.h"
#include "Player.h"
#include "GameEventMgr.h"
@ -42,8 +41,6 @@
#include "MapManager.h"
#include "CreatureAI.h"
#include "CreatureAISelector.h"
#include "Formulas.h"
#include "WaypointMovementGenerator.h"
#include "InstanceData.h"
#include "MapPersistentStateMgr.h"
#include "BattleGround/BattleGroundMgr.h"

View File

@ -27,12 +27,9 @@
#include "Common.h"
#include "Unit.h"
#include "UpdateMask.h"
#include "ItemPrototype.h"
#include "SharedDefines.h"
#include "LootMgr.h"
#include "DBCEnums.h"
#include "Database/DatabaseEnv.h"
#include "Cell.h"
#include <list>

View File

@ -25,10 +25,7 @@
#ifndef MANGOS_CREATUREAI_H
#define MANGOS_CREATUREAI_H
#include "Common.h"
#include "Platform/Define.h"
#include "Policies/Singleton.h"
#include "Dynamic/ObjectRegistry.h"
#include "Dynamic/FactoryHolder.h"
#include "ObjectGuid.h"

View File

@ -30,6 +30,7 @@
#include "MovementGenerator.h"
#include "ScriptMgr.h"
#include "Pet.h"
#include "Log.h"
INSTANTIATE_SINGLETON_1(CreatureAIRegistry);
INSTANTIATE_SINGLETON_1(MovementGeneratorRegistry);

View File

@ -26,11 +26,9 @@
#include "CreatureEventAI.h"
#include "CreatureEventAIMgr.h"
#include "ObjectMgr.h"
#include "Spell.h"
#include "World.h"
#include "Cell.h"
#include "CellImpl.h"
#include "GameEventMgr.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "InstanceData.h"

View File

@ -30,7 +30,6 @@
#include "ObjectMgr.h"
#include "ProgressBar.h"
#include "Policies/Singleton.h"
#include "ObjectGuid.h"
#include "GridDefines.h"
#include "SpellMgr.h"
#include "World.h"

View File

@ -23,11 +23,8 @@
*/
#include "Common.h"
#include "UpdateMask.h"
#include "Opcodes.h"
#include "World.h"
#include "ObjectAccessor.h"
#include "Database/DatabaseEnv.h"
#include "GridNotifiers.h"
#include "CellImpl.h"
#include "GridNotifiersImpl.h"

View File

@ -29,7 +29,6 @@
#include "PoolManager.h"
#include "SpellMgr.h"
#include "Spell.h"
#include "UpdateMask.h"
#include "Opcodes.h"
#include "WorldPacket.h"
#include "World.h"

View File

@ -29,7 +29,6 @@
#include "SharedDefines.h"
#include "Object.h"
#include "LootMgr.h"
#include "Database/DatabaseEnv.h"
#include "Utilities/EventProcessor.h"
// GCC have alternative #pragma pack(N) syntax and old gcc version not support pack(push,N), also any gcc version not support it at some platform

View File

@ -23,7 +23,6 @@
*/
#include "GuardAI.h"
#include "Errors.h"
#include "Creature.h"
#include "Player.h"
#include "World.h"

View File

@ -22,16 +22,15 @@
* and lore are copyrighted by Blizzard Entertainment, Inc.
*/
#include <stdlib.h>
#include <functional>
#include "ItemEnchantmentMgr.h"
#include "Database/DatabaseEnv.h"
#include "Log.h"
#include "ObjectMgr.h"
#include "ProgressBar.h"
#include "Util.h"
#include <list>
#include <vector>
#include "Util.h"
struct EnchStoreItem
{

View File

@ -32,6 +32,7 @@
#include "DBCStores.h"
#include "SQLStorages.h"
#include "DisableMgr.h"
#include "ItemEnchantmentMgr.h"
static eConfigFloatValues const qualityToRate[MAX_ITEM_QUALITY] =
{

View File

@ -25,12 +25,10 @@
#ifndef MANGOS_LOOTMGR_H
#define MANGOS_LOOTMGR_H
#include "ItemEnchantmentMgr.h"
#include "ByteBuffer.h"
#include "ObjectGuid.h"
#include "Utilities/LinkedReference/RefManager.h"
#include <map>
#include <vector>
class Player;

View File

@ -36,11 +36,6 @@
#include "UpdateMask.h"
#include "Util.h"
#include "MapManager.h"
#include "Log.h"
#include "Transports.h"
#include "TargetedMovementGenerator.h"
#include "WaypointMovementGenerator.h"
#include "VMapFactory.h"
#include "CellImpl.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"

View File

@ -33,7 +33,6 @@
#include "Camera.h"
#include <set>
#include <string>
#define CONTACT_DISTANCE 0.5f
#define INTERACTION_DISTANCE 5.0f

View File

@ -26,19 +26,14 @@
#include "ObjectMgr.h"
#include "Policies/Singleton.h"
#include "Player.h"
#include "WorldPacket.h"
#include "Item.h"
#include "Corpse.h"
#include "GridNotifiers.h"
#include "MapManager.h"
#include "Map.h"
#include "CellImpl.h"
#include "GridNotifiersImpl.h"
#include "ObjectGuid.h"
#include "World.h"
#include <cmath>
#define CLASS_LOCK MaNGOS::ClassLevelLockable<ObjectAccessor, ACE_Thread_Mutex>
INSTANTIATE_SINGLETON_2(ObjectAccessor, CLASS_LOCK);
INSTANTIATE_CLASS_MUTEX(ObjectAccessor, ACE_Thread_Mutex);

View File

@ -40,9 +40,6 @@
#include "Player.h"
#include "Corpse.h"
#include <set>
#include <list>
class Unit;
class WorldObject;
class Map;

View File

@ -28,8 +28,6 @@
#include "Common.h"
#include "ByteBuffer.h"
#include <functional>
enum TypeID
{
TYPEID_OBJECT = 0,

View File

@ -32,7 +32,6 @@
#include "ObjectGuid.h"
#include "ScriptMgr.h"
#include "SpellMgr.h"
#include "UpdateMask.h"
#include "World.h"
#include "Group.h"
#include "Transports.h"
@ -40,13 +39,10 @@
#include "Language.h"
#include "PoolManager.h"
#include "GameEventMgr.h"
#include "Spell.h"
#include "Chat.h"
#include "AccountMgr.h"
#include "MapPersistentStateMgr.h"
#include "SpellAuras.h"
#include "Util.h"
#include "WaypointManager.h"
#include "GossipDef.h"
#include "Mail.h"
#include "Formulas.h"
@ -56,6 +52,7 @@
#include "CellImpl.h"
#include "DisableMgr.h"
#include "ItemEnchantmentMgr.h"
#include <limits>
INSTANTIATE_SINGLETON_1(ObjectMgr);

View File

@ -26,13 +26,11 @@
#define MANGOS_H_OBJECTMGR
#include "Common.h"
#include "Log.h"
#include "Object.h"
#include "Bag.h"
#include "Creature.h"
#include "Player.h"
#include "GameObject.h"
#include "Corpse.h"
#include "QuestDef.h"
#include "ItemPrototype.h"
#include "NPCHandler.h"
@ -43,7 +41,6 @@
#include "ObjectGuid.h"
#include "Policies/Singleton.h"
#include <string>
#include <map>
#include <limits>

View File

@ -30,9 +30,7 @@
#include "SpellMgr.h"
#include "Formulas.h"
#include "SpellAuras.h"
#include "CreatureAI.h"
#include "Unit.h"
#include "Util.h"
// numbers represent minutes * 100 while happy (you get 100 loyalty points per min while happy)
uint32 const LevelUpLoyalty[6] =

View File

@ -28,7 +28,6 @@
#include "Player.h"
#include "DBCStores.h"
#include "Spell.h"
#include "ObjectAccessor.h"
#include "SpellMgr.h"
#include "Creature.h"
#include "World.h"

View File

@ -45,7 +45,6 @@
#include "CellImpl.h"
#include "ObjectMgr.h"
#include "ObjectAccessor.h"
#include "CreatureAI.h"
#include "Formulas.h"
#include "Group.h"
#include "Guild.h"

View File

@ -31,7 +31,6 @@
#include "Item.h"
#include "Database/DatabaseEnv.h"
#include "NPCHandler.h"
#include "QuestDef.h"
#include "Group.h"
#include "Bag.h"
@ -46,7 +45,6 @@
#include "Chat.h"
#include "GMTicketMgr.h"
#include<string>
#include<vector>
struct Mail;

View File

@ -22,9 +22,7 @@
* and lore are copyrighted by Blizzard Entertainment, Inc.
*/
#include "ByteBuffer.h"
#include "ReactorAI.h"
#include "Errors.h"
#include "Creature.h"
#include "Map.h"
#include "Log.h"

View File

@ -25,7 +25,6 @@
#ifndef MANGOS_H_MANGOS_SOCIALMGR
#define MANGOS_H_MANGOS_SOCIALMGR
#include "Policies/Singleton.h"
#include "Database/DatabaseEnv.h"
#include "ObjectGuid.h"

View File

@ -28,12 +28,10 @@
#include "ProgressBar.h"
#include "DBCStores.h"
#include "SQLStorages.h"
#include "World.h"
#include "Chat.h"
#include "Spell.h"
#include "BattleGround/BattleGroundMgr.h"
#include "MapManager.h"
#include "Unit.h"
#include "World.h"
bool IsPrimaryProfessionSkill(uint32 skill)
{

View File

@ -23,7 +23,6 @@
*/
#include "Totem.h"
#include "WorldPacket.h"
#include "Log.h"
#include "Group.h"
#include "Player.h"

View File

@ -27,7 +27,6 @@
#include "Creature.h"
#include "DBCStores.h"
#include "SpellMgr.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "CellImpl.h"

View File

@ -27,7 +27,6 @@
#include "CreatureAI.h"
#include "ObjectGuid.h"
#include "Timer.h"
class Creature;
class Totem;

View File

@ -31,17 +31,14 @@
#include "ObjectMgr.h"
#include "ObjectGuid.h"
#include "SpellMgr.h"
#include "QuestDef.h"
#include "Player.h"
#include "Creature.h"
#include "Spell.h"
#include "Group.h"
#include "SpellAuras.h"
#include "MapManager.h"
#include "ObjectAccessor.h"
#include "CreatureAI.h"
#include "TemporarySummon.h"
#include "Formulas.h"
#include "Pet.h"
#include "Util.h"
#include "Totem.h"
@ -51,8 +48,6 @@
#include "MapPersistentStateMgr.h"
#include "GridNotifiersImpl.h"
#include "CellImpl.h"
#include "DBCStores.h"
#include "VMapFactory.h"
#include "MovementGenerator.h"
#include "movement/MoveSplineInit.h"
#include "movement/MoveSpline.h"
@ -63,7 +58,6 @@
#endif /* ENABLE_ELUNA */
#include <math.h>
#include <stdarg.h>
#ifdef WIN32
inline uint32 getMSTime() { return GetTickCount(); }

View File

@ -43,10 +43,10 @@
#include "Utilities/EventProcessor.h"
#include "MotionMaster.h"
#include "DBCStructure.h"
#include "Path.h"
#include "WorldPacket.h"
#include "Timer.h"
#include "Log.h"
#include <list>
enum SpellInterruptFlags

View File

@ -25,7 +25,6 @@
#ifndef MANGOS_H_UPDATEMASK
#define MANGOS_H_UPDATEMASK
#include "UpdateFields.h"
#include "Errors.h"
#include "ByteBuffer.h"

View File

@ -23,8 +23,6 @@
*/
#include "OutdoorPvP.h"
#include "Language.h"
#include "World.h"
#include "ObjectMgr.h"
#include "Object.h"
#include "GameObject.h"

View File

@ -26,7 +26,6 @@
#define WORLD_PVP_MGR_H
#include "Common.h"
#include "Policies/Singleton.h"
#include "Timer.h"
/**

View File

@ -30,6 +30,7 @@
#include "Creature.h"
#include "GameObject.h"
#include "Player.h"
#include "Language.h"
OutdoorPvPSI::OutdoorPvPSI() : OutdoorPvP(),
m_resourcesAlliance(0),

View File

@ -27,7 +27,6 @@
#include "Common.h"
#include "OutdoorPvP.h"
#include "Language.h"
/**
* @brief

View File

@ -22,7 +22,6 @@
* and lore are copyrighted by Blizzard Entertainment, Inc.
*/
#include "Player.h"
#include "Group.h"
#include "GroupReference.h"

View File

@ -27,7 +27,6 @@
#include "Log.h"
#include "ProgressBar.h"
#include "SharedDefines.h"
#include "ObjectGuid.h"
#include "DBCfmt.h"

View File

@ -25,7 +25,6 @@
#ifndef MANGOS_DBCSTRUCTURE_H
#define MANGOS_DBCSTRUCTURE_H
#include "Common.h"
#include "DBCEnums.h"
#include "Path.h"
#include "Platform/Define.h"

View File

@ -25,7 +25,6 @@
#ifndef MANGOS_SQLSTORAGES_H
#define MANGOS_SQLSTORAGES_H
#include "Common.h"
#include "Database/SQLStorage.h"
extern SQLStorage sCreatureStorage;

View File

@ -26,7 +26,6 @@
#define MANGOS_SHAREDDEFINES_H
#include "Platform/Define.h"
#include <cassert>
#ifndef MANGOS
#define MANGOS

View File

@ -41,7 +41,6 @@
#include "World.h"
#include "ObjectAccessor.h"
#include "BattleGround/BattleGroundMgr.h"
#include "MapManager.h"
#include "SocialMgr.h"
#ifdef ENABLE_ELUNA
#include "LuaEngine.h"

View File

@ -25,8 +25,6 @@
#ifndef MANGOS_H_PLAYER_DUMP
#define MANGOS_H_PLAYER_DUMP
#include <string>
#include <map>
#include <set>
enum DumpTableType

View File

@ -26,8 +26,6 @@
#define MANGOS_H_ACCMGR
#include "Common.h"
#include "Policies/Singleton.h"
#include <string>
enum AccountOpResult
{

View File

@ -30,7 +30,6 @@
#include "ObjectMgr.h"
#include "ObjectGuid.h"
#include "Player.h"
#include "UpdateMask.h"
#include "AuctionHouseMgr.h"
#include "Mail.h"
#include "Util.h"

View File

@ -25,10 +25,8 @@
#ifndef MANGOS_CELL_H
#define MANGOS_CELL_H
#include "GameSystem/TypeContainer.h"
#include "GameSystem/TypeContainerVisitor.h"
#include "GridDefines.h"
#include <cmath>
class Map;
class WorldObject;

View File

@ -28,12 +28,9 @@
#include "Common.h"
#include "ObjectGuid.h"
#include "WorldPacket.h"
#include "Opcodes.h"
#include "Player.h"
#include <list>
#include <map>
#include <string>
enum ChatNotify
{

View File

@ -27,10 +27,8 @@
#include "Common.h"
#include "Channel.h"
#include "Policies/Singleton.h"
#include <map>
#include <string>
class ChannelMgr
{

View File

@ -33,7 +33,6 @@
#include "ObjectMgr.h"
#include "ObjectGuid.h"
#include "Player.h"
#include "UpdateMask.h"
#include "GridNotifiersImpl.h"
#include "CellImpl.h"
#include "AccountMgr.h"

View File

@ -30,7 +30,6 @@
#include "Opcodes.h"
#include "ObjectMgr.h"
#include "Chat.h"
#include "Database/DatabaseEnv.h"
#include "ChannelMgr.h"
#include "Group.h"
#include "Guild.h"

View File

@ -26,7 +26,6 @@
#include "Log.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include "CreatureAI.h"
#include "ObjectGuid.h"
#include "Player.h"

View File

@ -26,8 +26,6 @@
#include "WorldPacket.h"
#include "WorldSession.h"
#include "Log.h"
#include "Opcodes.h"
#include "UpdateData.h"
#include "Player.h"
void WorldSession::HandleDuelAcceptedOpcode(WorldPacket& recvPacket)

View File

@ -33,7 +33,6 @@
#include "MapManager.h"
#include "BattleGround/BattleGroundMgr.h"
#include "MassMailMgr.h"
#include "SpellMgr.h"
#include "Policies/Singleton.h"
INSTANTIATE_SINGLETON_1(GameEventMgr);

View File

@ -28,7 +28,6 @@
#include "Common.h"
#include "SharedDefines.h"
#include "Platform/Define.h"
#include "Policies/Singleton.h"
#define max_ge_check_delay 86400 // 1 day in seconds

View File

@ -22,9 +22,7 @@
* and lore are copyrighted by Blizzard Entertainment, Inc.
*/
#include "MapManager.h"
#include "Log.h"
#include "GridStates.h"
#include "CellImpl.h"
#include "Map.h"
#include "DBCEnums.h"

View File

@ -27,10 +27,7 @@
#include "Platform/Define.h"
#include "Policies/Singleton.h"
#include "DBCStructure.h"
#include "GridDefines.h"
#include "Object.h"
#include "SharedDefines.h"
#include <bitset>
#include <list>

View File

@ -26,7 +26,6 @@
#include "WorldPacket.h"
#include "WorldSession.h"
#include "UpdateData.h"
#include "Item.h"
#include "Map.h"
#include "Transports.h"
#include "ObjectAccessor.h"

View File

@ -25,9 +25,7 @@
#ifndef MANGOS_GRIDNOTIFIERS_H
#define MANGOS_GRIDNOTIFIERS_H
#include "ObjectGridLoader.h"
#include "UpdateData.h"
#include <iostream>
#include "Corpse.h"
#include "Object.h"

View File

@ -27,9 +27,7 @@
#include "GridNotifiers.h"
#include "WorldPacket.h"
#include "Corpse.h"
#include "Player.h"
#include "UpdateData.h"
#include "CreatureAI.h"
#include "SpellAuras.h"
#include "DBCStores.h"

View File

@ -23,8 +23,7 @@
*/
#include "GridStates.h"
#include "GridNotifiers.h"
#include "GameSystem/Grid.h"
#include "ObjectGridLoader.h"
#include "Log.h"
GridState::~GridState()

View File

@ -27,7 +27,6 @@
#include "WorldPacket.h"
#include "WorldSession.h"
#include "Player.h"
#include "World.h"
#include "ObjectMgr.h"
#include "ObjectGuid.h"
#include "Group.h"
@ -36,7 +35,6 @@
#include "BattleGround/BattleGround.h"
#include "MapManager.h"
#include "MapPersistentStateMgr.h"
#include "Util.h"
#include "LootMgr.h"
#include "LFGMgr.h"
#include "LFGHandler.h"

View File

@ -36,9 +36,6 @@
#include "LFGHandler.h"
#include "LFGMgr.h"
#include <map>
#include <vector>
class WorldSession;
class Map;
class BattleGround;

View File

@ -31,7 +31,6 @@
#include "Opcodes.h"
#include "Guild.h"
#include "GuildMgr.h"
#include "GossipDef.h"
#include "SocialMgr.h"
#ifdef ENABLE_ELUNA
#include "LuaEngine.h"

View File

@ -26,7 +26,6 @@
#define MANGOS_H_GUILDMGR
#include "Common.h"
#include "Policies/Singleton.h"
class Guild;
class ObjectGuid;

View File

@ -25,8 +25,6 @@
#include "Common.h"
#include "WorldPacket.h"
#include "Log.h"
#include "Corpse.h"
#include "GameObject.h"
#include "Player.h"
#include "ObjectAccessor.h"
#include "ObjectGuid.h"
@ -34,9 +32,7 @@
#include "LootMgr.h"
#include "Object.h"
#include "Group.h"
#include "World.h"
#include "Util.h"
#include "DBCStores.h"
#ifdef ENABLE_ELUNA
#include "LuaEngine.h"
#endif /* ENABLE_ELUNA */

View File

@ -27,7 +27,6 @@
#include "Player.h"
#include "GridNotifiers.h"
#include "Log.h"
#include "GridStates.h"
#include "CellImpl.h"
#include "InstanceData.h"
#include "GridNotifiersImpl.h"
@ -41,10 +40,10 @@
#include "MapPersistentStateMgr.h"
#include "VMapFactory.h"
#include "MoveMap.h"
#include "BattleGround/BattleGroundMgr.h"
#include "Chat.h"
#include "Weather.h"
#include "Transports.h"
#include "ObjectGridLoader.h"
#ifdef ENABLE_ELUNA
#include "LuaEngine.h"

View File

@ -35,18 +35,15 @@
#include "GridDefines.h"
#include "Cell.h"
#include "Object.h"
#include "Timer.h"
#include "SharedDefines.h"
#include "GridMap.h"
#include "GameSystem/GridRefManager.h"
#include "MapRefManager.h"
#include "Utilities/TypeList.h"
#include "ScriptMgr.h"
#include "CreatureLinkingMgr.h"
#include "DynamicTree.h"
#include <bitset>
#include <list>
struct CreatureInfo;
class Creature;

View File

@ -31,7 +31,6 @@
#include "GridDefines.h"
#include "World.h"
#include "CellImpl.h"
#include "Corpse.h"
#include "ObjectMgr.h"
#define CLASS_LOCK MaNGOS::ClassLevelLockable<MapManager, ACE_Recursive_Thread_Mutex>

View File

@ -25,15 +25,12 @@
#include "MapPersistentStateMgr.h"
#include "SQLStorages.h"
#include "Player.h"
#include "GridNotifiers.h"
#include "Log.h"
#include "GridStates.h"
#include "CellImpl.h"
#include "Map.h"
#include "MapManager.h"
#include "Timer.h"
#include "GridNotifiersImpl.h"
#include "Transports.h"
#include "ObjectMgr.h"
#include "GameEventMgr.h"
#include "World.h"

View File

@ -42,9 +42,6 @@
#include "Common.h"
#include "Mail.h"
#include "Policies/Singleton.h"
#include <memory>
/**
* A class to represent the mail send factory to multiple (often all existing) characters.

View File

@ -35,8 +35,6 @@
#include "GuildMgr.h"
#include "ObjectMgr.h"
#include "WorldSession.h"
#include "Auth/BigNumber.h"
#include "Auth/Sha1.h"
#include "UpdateData.h"
#include "LootMgr.h"
#include "Chat.h"

View File

@ -22,11 +22,9 @@
* and lore are copyrighted by Blizzard Entertainment, Inc.
*/
#include "GridMap.h"
#include "Log.h"
#include "World.h"
#include "Creature.h"
#include "MoveMap.h"
#include "MoveMapSharedDefines.h"

View File

@ -27,7 +27,6 @@
#include "WorldSession.h"
#include "Opcodes.h"
#include "Log.h"
#include "Corpse.h"
#include "Player.h"
#include "MapManager.h"
#include "Transports.h"

View File

@ -33,7 +33,6 @@
#include "SpellMgr.h"
#include "Player.h"
#include "GossipDef.h"
#include "UpdateMask.h"
#include "ScriptMgr.h"
#include "Creature.h"
#include "Pet.h"

View File

@ -27,7 +27,6 @@
#include "ObjectMgr.h"
#include "MapPersistentStateMgr.h"
#include "Creature.h"
#include "GameObject.h"
#include "DynamicObject.h"
#include "Corpse.h"
#include "World.h"

View File

@ -26,7 +26,6 @@
#define MANGOS_OBJECTGRIDLOADER_H
#include "Common.h"
#include "Utilities/TypeList.h"
#include "Platform/Define.h"
#include "GameSystem/GridLoader.h"
#include "GridDefines.h"

View File

@ -28,7 +28,6 @@
#include "ProgressBar.h"
#include "Log.h"
#include "MapPersistentStateMgr.h"
#include "MapManager.h"
#include "World.h"
#include "Policies/Singleton.h"

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