Atrinik Server  4.0
Data Fields
path_node Struct Reference

#include <pathfinder.h>

Data Fields

struct path_nodenext
 Next node in a linked list.
 
struct path_nodeprev
 Previous node in a linked list.
 
struct path_nodeparent
 Node this was reached from.
 
struct mapdefmap
 Pointer to the map.
 
int16_t x
 X position on the map for this node.
 
int16_t y
 Y position on the map for this node.
 
uint8_t flags
 A combination of Path node flags.
 
int distance_z
 Z distance from this node to the goal.
 
double cost
 Cost of reaching this node (distance from origin).
 
double heuristic
 Estimated cost of reaching the goal from this node.
 
double sum
 Sum of ::cost and ::heuristic.
 

Detailed Description

Path node.

Definition at line 56 of file pathfinder.h.


The documentation for this struct was generated from the following file: