6#ifndef SKYFIRE_MOTIONMASTER_H
7#define SKYFIRE_MOTIONMASTER_H
19#define VISUAL_WAYPOINT 1
67#define SPEED_CHARGE 42.0f
133 void MoveChase(
Unit* target,
float dist = 0.0f,
float angle = 0.0f);
140 void MovePoint(
uint32 id,
float x,
float y,
float z,
bool generatePath =
true);
149 void MoveJumpTo(
float angle,
float speedXY,
float speedZ);
@ TIMED_FLEEING_MOTION_TYPE
@ ANIMAL_RANDOM_MOTION_TYPE
@ ASSISTANCE_DISTRACT_MOTION_TYPE
void UpdateMotion(uint32 diff)
void MoveTaxiFlight(uint32 path, uint32 pathnode)
void MoveJump(Position const &pos, float speedXY, float speedZ, uint32 id=EVENT_JUMP)
void DirectDelete(_Ty curr)
MovementGeneratorType GetMotionSlotType(int slot) const
std::vector< _Ty > ExpireList
MovementGeneratorType GetCurrentMovementGeneratorType() const
void propagateSpeedChange()
void MoveRotate(uint32 time, RotateDirection direction)
void DirectExpire(bool reset)
bool _needInit[MAX_MOTION_SLOT]
void MoveFollow(Unit *target, float dist, float angle, MovementSlot slot=MOTION_SLOT_ACTIVE)
void DirectClean(bool reset)
_Ty GetMotionSlot(int slot) const
void MoveKnockbackFrom(float srcX, float srcY, float speedXY, float speedZ)
void MovementExpired(bool reset=true)
void MoveChase(Unit *target, float dist=0.0f, float angle=0.0f)
void MoveCharge(float x, float y, float z, float speed=SPEED_CHARGE, uint32 id=EVENT_CHARGE, bool generatePath=false)
void Mutate(MovementGenerator *m, MovementSlot slot)
void MoveRandom(float spawndist=0.0f)
void MoveSeekAssistance(float x, float y, float z)
void MoveSeekAssistanceDistract(uint32 timer)
void MoveLand(uint32 id, Position const &pos)
_Ty Impl[MAX_MOTION_SLOT]
void MovePoint(uint32 id, Position const &pos, bool generatePath=true)
bool GetDestination(float &x, float &y, float &z)
void DelayedDelete(_Ty curr)
void MovePath(uint32 path_id, bool repeatable)
void MoveDistract(uint32 time)
void MoveJumpTo(float angle, float speedXY, float speedZ)
void MoveFall(uint32 id=0)
void MoveTakeoff(uint32 id, Position const &pos)
void Clear(bool reset=true)
void MoveFleeing(Unit *enemy, uint32 time=0)