46 unsigned int searchdistance,
47 unsigned int max_jump,
48 unsigned int max_drop,
This class is for getting the actual properties of nodes from their content ID.
Definition nodedef.h:541
core::vector3d< s16 > v3s16
Definition irr_v3d.h:13
PathAlgorithm
List of supported algorithms.
Definition pathfinder.h:32
@ PA_PLAIN
A* algorithm using heuristics to find a path.
Definition pathfinder.h:34
@ PA_DIJKSTRA
Dijkstra shortest path algorithm
Definition pathfinder.h:33
@ PA_PLAIN_NP
A* algorithm without prefetching of map data.
Definition pathfinder.h:35
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:396
PathDirections
Definition pathfinder.h:24
@ DIR_XM
Definition pathfinder.h:26
@ DIR_ZM
Definition pathfinder.h:28
@ DIR_ZP
Definition pathfinder.h:27
@ DIR_XP
Definition pathfinder.h:25