61 unsigned int searchdistance,
62 unsigned int max_jump,
63 unsigned int max_drop,
This class is for getting the actual properties of nodes from their content ID.
Definition: nodedef.h:556
core::vector3d< s16 > v3s16
Definition: irr_v3d.h:28
PathAlgorithm
List of supported algorithms.
Definition: pathfinder.h:47
@ PA_PLAIN
A* algorithm using heuristics to find a path.
Definition: pathfinder.h:49
@ PA_DIJKSTRA
Dijkstra shortest path algorithm
Definition: pathfinder.h:48
@ PA_PLAIN_NP
A* algorithm without prefetching of map data.
Definition: pathfinder.h:50
std::vector< v3s16 > get_path(Map *map, const NodeDefManager *ndef, v3s16 source, v3s16 destination, unsigned int searchdistance, unsigned int max_jump, unsigned int max_drop, PathAlgorithm algo)
c wrapper function to use from scriptapi
Definition: pathfinder.cpp:409
PathDirections
Definition: pathfinder.h:39
@ DIR_XM
Definition: pathfinder.h:41
@ DIR_ZM
Definition: pathfinder.h:43
@ DIR_ZP
Definition: pathfinder.h:42
@ DIR_XP
Definition: pathfinder.h:40