aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Movement/MotionMaster.h
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-08-31 21:41:23 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-02-18 17:55:40 +0100
commit7b3b333dd5b0bdb8a176d54571eb424ecec20bdc (patch)
treee4d768883583adbfd1cc3f61f781fb098c6e8d14 /src/server/game/Movement/MotionMaster.h
parentebbcd601b95d05f631a22552e27223a04f0aa08f (diff)
Core/Position: Allow implicit casting to G3D::Vector. Also, add a utility overload to MotionMaster.
(cherry picked from commit 9f15482b849d7a77a4a0cc68f18aabb8ee6c58c9)
Diffstat (limited to 'src/server/game/Movement/MotionMaster.h')
-rw-r--r--src/server/game/Movement/MotionMaster.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Movement/MotionMaster.h b/src/server/game/Movement/MotionMaster.h
index dee4f47b376..905dcde580e 100644
--- a/src/server/game/Movement/MotionMaster.h
+++ b/src/server/game/Movement/MotionMaster.h
@@ -23,6 +23,7 @@
#include <vector>
#include "SharedDefines.h"
#include "Object.h"
+#include "MoveSplineInitArgs.h"
class MovementGenerator;
class Unit;
@@ -194,6 +195,7 @@ class TC_GAME_API MotionMaster //: private std::stack<MovementGenerator *>
void MoveJump(float x, float y, float z, float o, float speedXY, float speedZ, uint32 id = EVENT_JUMP, bool hasOrientation = false, uint32 arrivalSpellId = 0, ObjectGuid const& arrivalSpellTargetGuid = ObjectGuid::Empty);
void MoveCirclePath(float x, float y, float z, float radius, bool clockwise, uint8 stepCount);
void MoveSmoothPath(uint32 pointId, G3D::Vector3 const* pathPoints, size_t pathSize, bool walk);
+ void MoveSmoothPath(uint32 pointId, Movement::PointsArray const& points, bool walk);
void MoveFall(uint32 id = 0);
void MoveSeekAssistance(float x, float y, float z);