[11722] Fix non-pch build

Signed-off-by: SilverIce <slifeleaf@gmail.com>
This commit is contained in:
sixsixnine 2011-07-08 20:29:04 +03:00 committed by SilverIce
parent fc0eb7e9fa
commit 124dc96643
7 changed files with 9 additions and 7 deletions

View file

@ -17,9 +17,9 @@
*/ */
#include "ConfusedMovementGenerator.h" #include "ConfusedMovementGenerator.h"
#include "Creature.h"
#include "MapManager.h" #include "MapManager.h"
#include "Opcodes.h" #include "Creature.h"
#include "Player.h"
#include "movement/MoveSplineInit.h" #include "movement/MoveSplineInit.h"
#include "movement/MoveSpline.h" #include "movement/MoveSpline.h"

View file

@ -20,6 +20,7 @@
#define MANGOS_CONFUSEDMOVEMENTGENERATOR_H #define MANGOS_CONFUSEDMOVEMENTGENERATOR_H
#include "MovementGenerator.h" #include "MovementGenerator.h"
#include "Timer.h"
#define MAX_CONF_WAYPOINTS 24 #define MAX_CONF_WAYPOINTS 24

View file

@ -21,6 +21,7 @@
#include "MovementGenerator.h" #include "MovementGenerator.h"
#include "FollowerReference.h" #include "FollowerReference.h"
#include "Creature.h"
template<class T> template<class T>
class MANGOS_DLL_SPEC PointMovementGenerator class MANGOS_DLL_SPEC PointMovementGenerator
@ -28,7 +29,7 @@ class MANGOS_DLL_SPEC PointMovementGenerator
{ {
public: public:
PointMovementGenerator(uint32 _id, float _x, float _y, float _z) : id(_id), PointMovementGenerator(uint32 _id, float _x, float _y, float _z) : id(_id),
i_x(_x), i_y(_y), i_z(_z), i_nextMoveTime(0) {} i_x(_x), i_y(_y), i_z(_z) {}
void Initialize(T &); void Initialize(T &);
void Finalize(T &); void Finalize(T &);
@ -44,7 +45,6 @@ class MANGOS_DLL_SPEC PointMovementGenerator
private: private:
uint32 id; uint32 id;
float i_x,i_y,i_z; float i_x,i_y,i_z;
TimeTracker i_nextMoveTime;
}; };
class MANGOS_DLL_SPEC AssistanceMovementGenerator class MANGOS_DLL_SPEC AssistanceMovementGenerator

View file

@ -20,12 +20,11 @@
#include "TargetedMovementGenerator.h" #include "TargetedMovementGenerator.h"
#include "Errors.h" #include "Errors.h"
#include "Creature.h" #include "Creature.h"
#include "Player.h"
#include "World.h" #include "World.h"
#include "movement/MoveSplineInit.h" #include "movement/MoveSplineInit.h"
#include "movement/MoveSpline.h" #include "movement/MoveSpline.h"
#define SMALL_ALPHA 0.05f
#include <cmath> #include <cmath>
//-----------------------------------------------// //-----------------------------------------------//

View file

@ -21,6 +21,7 @@
#include "MovementGenerator.h" #include "MovementGenerator.h"
#include "FollowerReference.h" #include "FollowerReference.h"
#include "Timer.h"
class MANGOS_DLL_SPEC TargetedMovementGeneratorBase class MANGOS_DLL_SPEC TargetedMovementGeneratorBase
{ {

View file

@ -24,6 +24,7 @@ class WorldPacket;
namespace Movement namespace Movement
{ {
class MoveSpline;
class PacketBuilder class PacketBuilder
{ {
static void WriteCommonMonsterMovePart(const MoveSpline& mov, WorldPacket& data); static void WriteCommonMonsterMovePart(const MoveSpline& mov, WorldPacket& data);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11721" #define REVISION_NR "11722"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__