Freeciv-3.1
Loading...
Searching...
No Matches
Data Fields
pf_map Struct Reference

Data Fields

void(* destroy )(struct pf_map *pfm)
 
int(* get_move_cost )(struct pf_map *pfm, struct tile *ptile)
 
struct pf_path *(* get_path )(struct pf_map *pfm, struct tile *ptile)
 
bool(* get_position )(struct pf_map *pfm, struct tile *ptile, struct pf_position *pos)
 
bool(* iterate )(struct pf_map *pfm)
 
struct tiletile
 
struct pf_parameter params
 

Detailed Description

Definition at line 78 of file path_finding.c.

Field Documentation

◆ destroy

void(* pf_map::destroy) (struct pf_map *pfm)

◆ get_move_cost

int(* pf_map::get_move_cost) (struct pf_map *pfm, struct tile *ptile)

◆ get_path

struct pf_path *(* pf_map::get_path) (struct pf_map *pfm, struct tile *ptile)

◆ get_position

bool(* pf_map::get_position) (struct pf_map *pfm, struct tile *ptile, struct pf_position *pos)

◆ iterate

bool(* pf_map::iterate) (struct pf_map *pfm)

◆ params

struct pf_parameter pf_map::params

◆ tile

struct tile* pf_map::tile