Freeciv21
Develop your civilization from humble roots to a global empire
pf_map Struct Reference
+ Collaboration diagram for pf_map:

Public Attributes

void(* destroy )(struct pf_map *pfm)
 
int(* get_move_cost )(struct pf_map *pfm, struct tile *ptile)
 
PFPath(* 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 74 of file path_finding.cpp.

Member Data 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

PFPath(* 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

◆ tile