Core/Entities: Remove circular dependencies from GameObject headers, fixes *nix compile

--HG--
branch : trunk
extra : rebase_source : bcedd4aed81ad6fb72a13607cf954c11356bbfcc
This commit is contained in:
Shauren
2010-10-24 22:03:53 +02:00
parent 5eb8ea2a5d
commit ae58481c21
3 changed files with 6 additions and 3 deletions
+3 -1
View File
@@ -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__)