![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "WaypointMovementGenerator.h"#include "Creature.h"#include "CreatureAI.h"#include "CreatureGroups.h"#include "GameTime.h"#include "MapMgr.h"#include "MoveSpline.h"#include "MoveSplineInit.h"#include "ObjectMgr.h"#include "Player.h"#include "Spell.h"#include "Transport.h"#include "SmartScriptMgr.h"#include "World.h"Go to the source code of this file.
Macros | |
| #define | SKIP_SPLINE_POINT_DISTANCE_SQ (40.0f * 40.0f) |
| #define | PLAYER_FLIGHT_SPEED 32.0f |
Functions | |
| G3D::Vector3 | PositionToVector3 (Position const &p) |
| void | UpdateHomePosition (Creature *creature, WaypointNode const &waypointNode) |
| bool | IsNodeIncludedInShortenedPath (TaxiPathNodeEntry const *p1, TaxiPathNodeEntry const *p2) |
| #define PLAYER_FLIGHT_SPEED 32.0f |
| #define SKIP_SPLINE_POINT_DISTANCE_SQ (40.0f * 40.0f) |
| bool IsNodeIncludedInShortenedPath | ( | TaxiPathNodeEntry const * | p1, |
| TaxiPathNodeEntry const * | p2 | ||
| ) |
References TaxiPathNodeEntry::mapid, SKIP_SPLINE_POINT_DISTANCE_SQ, TaxiPathNodeEntry::x, and TaxiPathNodeEntry::y.
Referenced by FlightPathMovementGenerator::LoadPath().
|
inline |
References Position::GetPositionX(), Position::GetPositionY(), and Position::GetPositionZ().
Referenced by WaypointMovementGenerator< Creature >::StartMove().
|
inline |
References Position::GetOrientation(), Unit::GetTransGUID(), WorldObject::GetTransport(), Unit::HasUnitMovementFlag(), MOVEMENTFLAG_ONTRANSPORT, Creature::SetHomePosition(), Creature::SetTransportHomePosition(), GameObject::ToMotionTransport(), WaypointNode::X, WaypointNode::Y, and WaypointNode::Z.
Referenced by WaypointMovementGenerator< Creature >::DoUpdate(), and WaypointMovementGenerator< Creature >::ProcessWaypointArrival().