Fixed compilation without PCH enabled

please avoid to miss header files in your sources
This commit is contained in:
Yehonal
2016-08-19 23:32:46 +02:00
parent d8de9c9296
commit 6eaa77591d
142 changed files with 241 additions and 11 deletions

View File

@@ -9,6 +9,9 @@
#define _LFG_H
#include "Common.h"
#include "ObjectDefines.h"
#include "SharedDefines.h"
#include "WorldPacket.h"
namespace lfg
{

View File

@@ -23,6 +23,7 @@
#include "GroupMgr.h"
#include "GameEventMgr.h"
#include "WorldSession.h"
#include "Opcodes.h"
namespace lfg
{

View File

@@ -15,6 +15,7 @@
#include "LFGQueue.h"
#include "LFGGroupData.h"
#include "LFGPlayerData.h"
#include "Map.h"
class Group;
class Player;

View File

@@ -8,6 +8,8 @@
#define __TRINITY_VEHICLEDEFINES_H
#include "Define.h"
#include "Map.h"
#include "Object.h"
#include <vector>
#include <map>

View File

@@ -19,6 +19,7 @@
#include "World.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include "ObjectMgr.h"
void WorldSession::HandleAutostoreLootItemOpcode(WorldPacket& recvData)
{

View File

@@ -2,7 +2,11 @@
Xinef
*/
#include <time.h>
#include "LootItemStorage.h"
#include "PreparedStatement.h"
#include "ObjectMgr.h"
LootItemStorage::LootItemStorage()
{

View File

@@ -5,9 +5,14 @@ Xinef
#ifndef TRINITY_LOOTITEMSTORAGE_H
#define TRINITY_LOOTITEMSTORAGE_H
#include "Common.h"
#include <map>
#include <list>
#include "ace/Singleton.h"
#include "LootMgr.h"
#include "Item.h"
struct StoredLootItem
{
StoredLootItem(uint32 i, uint32 c, int32 ri, uint32 rs) :
@@ -47,4 +52,4 @@ class LootItemStorage
};
#define sLootItemStorage ACE_Singleton<LootItemStorage, ACE_Thread_Mutex>::instance()
#endif
#endif

View File

@@ -3,6 +3,8 @@
#include "Creature.h"
#include "AuctionHouseMgr.h"
#include "ObjectAccessor.h"
#include "Opcodes.h"
#include "SpellAuraEffects.h"
uint32 AsyncAuctionListingMgr::auctionListingDiff = 0;
bool AsyncAuctionListingMgr::auctionListingAllowed = false;

View File

@@ -2,6 +2,8 @@
#define __ASYNCAUCTIONLISTING_H
#include "Common.h"
#include "EventProcessor.h"
#include "WorldPacket.h"
class AuctionListOwnerItemsDelayEvent : public BasicEvent
{

View File

@@ -2,6 +2,7 @@
#define __WHOLISTCACHE_H
#include "Common.h"
#include "SharedDefines.h"
struct WhoListPlayerInfo
{

View File

@@ -17,6 +17,7 @@
#include "BattlegroundRV.h"
#include "VehicleDefines.h"
#include "Transport.h"
#include "MapManager.h"
#include <cmath>

View File

@@ -21,6 +21,7 @@
#include "MoveSplineInitArgs.h"
#include "PathGenerator.h"
#include "Unit.h"
class Unit;

View File

@@ -3,6 +3,11 @@ Xinef
*/
#include "PetitionMgr.h"
#include "Timer.h"
#include "QueryResult.h"
#include "Log.h"
#include "DatabaseEnv.h"
PetitionMgr::PetitionMgr()
{

View File

@@ -5,6 +5,9 @@ Xinef
#ifndef _PETITIONMGR_H
#define _PETITIONMGR_H
#include "Common.h"
#include <ace/Singleton.h>
typedef std::map<uint32, uint32> SignatureMap;
struct Petition

View File

@@ -18,6 +18,7 @@
#include "World.h"
#include "Weather.h"
#include "AchievementMgr.h"
#include "DynamicObject.h"
class AuctionHouseObject;
class AuraScript;

View File

@@ -10,9 +10,11 @@
class Unit;
class AuraEffect;
class Aura;
class SpellInfo;
#include "SpellAuras.h"
#include "Spell.h"
#include "SpellInfo.h"
typedef void(AuraEffect::*pAuraEffectHandler)(AuraApplication const* aurApp, uint8 mode, bool apply) const;

View File

@@ -18,6 +18,7 @@ class Player;
class Item;
class Spell;
class SpellInfo;
class AuraEffect;
struct SpellChainNode;
struct SpellTargetPosition;
struct SpellDurationEntry;
@@ -507,4 +508,4 @@ public:
void _UnloadImplicitTargetConditionLists();
};
#endif // _SPELLINFO_H
#endif // _SPELLINFO_H