Atrinik Server 2.5
Data Fields
astar_node Struct Reference

#include <pathfinder.h>

Data Fields

struct astar_nodenext
struct astar_nodeprev
struct astar_nodeparent
struct mapdefmap
sint16 x
sint16 y
uint16 cost
float heuristic

Detailed Description

Path node

Definition at line 34 of file pathfinder.h.


Field Documentation

Cost of reaching this node (distance from origin)

Definition at line 55 of file pathfinder.h.

Estimated cost of reaching the goal from this node

Definition at line 58 of file pathfinder.h.

Pointer to the map

Definition at line 46 of file pathfinder.h.

Next node in linked list

Definition at line 37 of file pathfinder.h.

Node this was reached from

Definition at line 43 of file pathfinder.h.

Previous node in linked list

Definition at line 40 of file pathfinder.h.

X-Position in the map for this node

Definition at line 49 of file pathfinder.h.

Y-Position in the map for this object

Definition at line 52 of file pathfinder.h.


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