22#ifndef NUVIE_PATHFINDER_ASTAR_PATH_H
23#define NUVIE_PATHFINDER_ASTAR_PATH_H
25#include "ultima/nuvie/core/map.h"
26#include "ultima/nuvie/pathfinder/path.h"
38 astar_node_s() : loc(0, 0, 0), to_start(0), to_goal(0), score(0), len(0),
49 bool search_node_neighbors(
astar_node *nnode,
const MapCoord &goal,
const uint32 max_score);
54 sint32 &nnode_to_neighbor);
60 return Path::path_cost_est(s, g);
62 uint32 get_max_score(uint32 cost)
override {
63 return Path::get_max_score(cost);
66 return Path::path_cost_est(n1.loc, n2.loc);
Definition: astar_path.h:42
Definition: astar_path.h:31