Crossfire Server, Trunk
path_data Struct Reference
+ Collaboration diagram for path_data:

Data Fields

uint16_t distance
 
uint16_t heuristic_dist
 
int16_t movement_penalty
 
int16_t x
 
int16_t y
 

Detailed Description

Structure to store data so we can use a minheap.

Definition at line 415 of file monster.cpp.

Field Documentation

◆ distance

uint16_t path_data::distance

Definition at line 418 of file monster.cpp.

Referenced by monster_compute_path(), and path_measure_func().

◆ heuristic_dist

uint16_t path_data::heuristic_dist

Definition at line 419 of file monster.cpp.

Referenced by monster_compute_path(), and path_measure_func().

◆ movement_penalty

int16_t path_data::movement_penalty

Definition at line 421 of file monster.cpp.

Referenced by monster_compute_path().

◆ x

int16_t path_data::x

Definition at line 416 of file monster.cpp.

Referenced by monster_compute_path().

◆ y

int16_t path_data::y

Definition at line 417 of file monster.cpp.

Referenced by monster_compute_path().


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