TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
PathGenerator.h File Reference
#include "MapDefines.h"
#include "DetourNavMesh.h"
#include "DetourNavMeshQuery.h"
#include "MoveSplineInitArgs.h"
+ Include dependency graph for PathGenerator.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PathGenerator
 

Macros

#define MAX_PATH_LENGTH   74
 
#define MAX_POINT_PATH_LENGTH   74
 
#define SMOOTH_PATH_STEP_SIZE   4.0f
 
#define SMOOTH_PATH_SLOP   0.3f
 
#define VERTEX_SIZE   3
 
#define INVALID_POLYREF   0
 

Enumerations

enum  PathType {
  PATHFIND_BLANK = 0x00, PATHFIND_NORMAL = 0x01, PATHFIND_SHORTCUT = 0x02, PATHFIND_INCOMPLETE = 0x04,
  PATHFIND_NOPATH = 0x08, PATHFIND_NOT_USING_PATH = 0x10, PATHFIND_SHORT = 0x20
}
 

Macro Definition Documentation

#define INVALID_POLYREF   0
#define MAX_PATH_LENGTH   74
#define MAX_POINT_PATH_LENGTH   74
#define SMOOTH_PATH_SLOP   0.3f
#define SMOOTH_PATH_STEP_SIZE   4.0f
#define VERTEX_SIZE   3

Enumeration Type Documentation

enum PathType
Enumerator
PATHFIND_BLANK 
PATHFIND_NORMAL 
PATHFIND_SHORTCUT 
PATHFIND_INCOMPLETE 
PATHFIND_NOPATH 
PATHFIND_NOT_USING_PATH 
PATHFIND_SHORT 
42 {
43  PATHFIND_BLANK = 0x00, // path not built yet
44  PATHFIND_NORMAL = 0x01, // normal path
45  PATHFIND_SHORTCUT = 0x02, // travel through obstacles, terrain, air, etc (old behavior)
46  PATHFIND_INCOMPLETE = 0x04, // we have partial path to follow - getting closer to target
47  PATHFIND_NOPATH = 0x08, // no valid path at all or error in generating one
48  PATHFIND_NOT_USING_PATH = 0x10, // used when we are either flying/swiming or on map w/o mmaps
49  PATHFIND_SHORT = 0x20, // path is longer or equal to its limited path length
50 };
Definition: PathGenerator.h:45
Definition: PathGenerator.h:47
Definition: PathGenerator.h:44
Definition: PathGenerator.h:43
Definition: PathGenerator.h:46
Definition: PathGenerator.h:49
Definition: PathGenerator.h:48