TrinityCore
FlightPathMovementGenerator.cpp File Reference
#include "FlightPathMovementGenerator.h"
#include "DB2Stores.h"
#include "GameEventSender.h"
#include "Log.h"
#include "Map.h"
#include "MovementDefines.h"
#include "MoveSpline.h"
#include "MoveSplineInit.h"
#include "ObjectMgr.h"
#include "Player.h"
#include <sstream>
+ Include dependency graph for FlightPathMovementGenerator.cpp:

Go to the source code of this file.

Macros

#define FLIGHT_TRAVEL_UPDATE   100
 
#define TIMEDIFF_NEXT_WP   250
 
#define SKIP_SPLINE_POINT_DISTANCE_SQ   (40.f * 40.f)
 
#define PLAYER_FLIGHT_SPEED   32.0f
 

Functions

bool IsNodeIncludedInShortenedPath (TaxiPathNodeEntry const *p1, TaxiPathNodeEntry const *p2)
 

Macro Definition Documentation

◆ FLIGHT_TRAVEL_UPDATE

#define FLIGHT_TRAVEL_UPDATE   100

Definition at line 30 of file FlightPathMovementGenerator.cpp.

◆ PLAYER_FLIGHT_SPEED

#define PLAYER_FLIGHT_SPEED   32.0f

Definition at line 33 of file FlightPathMovementGenerator.cpp.

◆ SKIP_SPLINE_POINT_DISTANCE_SQ

#define SKIP_SPLINE_POINT_DISTANCE_SQ   (40.f * 40.f)

Definition at line 32 of file FlightPathMovementGenerator.cpp.

◆ TIMEDIFF_NEXT_WP

#define TIMEDIFF_NEXT_WP   250

Definition at line 31 of file FlightPathMovementGenerator.cpp.

Function Documentation

◆ IsNodeIncludedInShortenedPath()

bool IsNodeIncludedInShortenedPath ( TaxiPathNodeEntry const *  p1,
TaxiPathNodeEntry const *  p2 
)

Definition at line 201 of file FlightPathMovementGenerator.cpp.

+ Here is the caller graph for this function: