Go to the source code of this file.
Enumerations | |
enum | PathDirections { DIR_XP , DIR_XM , DIR_ZP , DIR_ZM } |
enum | PathAlgorithm { PA_DIJKSTRA , PA_PLAIN , PA_PLAIN_NP } |
List of supported algorithms. More... | |
Functions | |
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 | |
enum PathAlgorithm |
enum PathDirections |
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
References Pathfinder::getPath().
Referenced by ModApiEnv::l_find_path().