Core/Entities: Remove circular dependencies from GameObject headers, fixes *nix compile
--HG-- branch : trunk extra : rebase_source : bcedd4aed81ad6fb72a13607cf954c11356bbfcc
This commit is contained in:
@@ -22,12 +22,14 @@
|
||||
class CreatureAI;
|
||||
class Creature;
|
||||
class MovementGenerator;
|
||||
class GameObjectAI;
|
||||
class GameObject;
|
||||
|
||||
namespace FactorySelector
|
||||
{
|
||||
CreatureAI* selectAI(Creature *);
|
||||
MovementGenerator* selectMovementGenerator(Creature *);
|
||||
GameObjectAI* SelectGameObjectAI(GameObject *go);
|
||||
GameObjectAI* SelectGameObjectAI(GameObject *);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "Common.h"
|
||||
#include "QuestDef.h"
|
||||
#include "GameObject.h"
|
||||
#include "GameObjectAI.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "PoolMgr.h"
|
||||
#include "SpellMgr.h"
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
#include "Object.h"
|
||||
#include "LootMgr.h"
|
||||
#include "DatabaseEnv.h"
|
||||
#include "GameObjectAI.h"
|
||||
|
||||
class GameObjectAI;
|
||||
|
||||
// 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
|
||||
#if defined(__GNUC__)
|
||||
|
||||
Reference in New Issue
Block a user