Freeciv-3.2
Loading...
Searching...
No Matches
Data Fields
pf_parameter Struct Reference

#include <path_finding.h>

Data Fields

const struct civ_mapmap
 
struct tilestart_tile
 
int moves_left_initially
 
int fuel_left_initially
 
const struct unit_typetransported_by_initially
 
int cargo_depth
 
bv_unit_types cargo_types
 
int move_rate
 
int fuel
 
const struct unit_typeutype
 
const struct playerowner
 
bool omniscience
 
unsigned(* get_MC )(const struct tile *from_tile, enum pf_move_scope src_move_scope, const struct tile *to_tile, enum pf_move_scope dst_move_scope, const struct pf_parameter *param)
 
enum pf_move_scope(* get_move_scope )(const struct tile *ptile, bool *can_disembark, enum pf_move_scope previous_scope, const struct pf_parameter *param)
 
bool ignore_none_scopes
 
enum tile_behavior(* get_TB )(const struct tile *ptile, enum known_type known, const struct pf_parameter *param)
 
unsigned(* get_EC )(const struct tile *ptile, enum known_type known, const struct pf_parameter *param)
 
enum pf_action(* get_action )(const struct tile *ptile, enum known_type known, const struct pf_parameter *param)
 
enum pf_action_account actions
 
bool(* is_action_possible )(const struct tile *from_tile, enum pf_move_scope src_move_scope, const struct tile *to_tile, enum pf_action action, const struct pf_parameter *param)
 
bool(* get_zoc )(const struct player *pplayer, const struct tile *ptile, const struct civ_map *zmap)
 
bool(* is_pos_dangerous )(const struct tile *ptile, enum known_type, const struct pf_parameter *param)
 
int(* get_moves_left_req )(const struct tile *ptile, enum known_type, const struct pf_parameter *param)
 
int(* get_costs )(const struct tile *from_tile, enum direction8 dir, const struct tile *to_tile, int from_cost, int from_extra, unsigned *to_cost, unsigned *to_extra, const struct pf_parameter *param)
 
voiddata
 

Detailed Description

Definition at line 357 of file path_finding.h.

Field Documentation

◆ actions

enum pf_action_account pf_parameter::actions

◆ cargo_depth

int pf_parameter::cargo_depth

◆ cargo_types

bv_unit_types pf_parameter::cargo_types

◆ data

void* pf_parameter::data

◆ fuel

int pf_parameter::fuel

◆ fuel_left_initially

int pf_parameter::fuel_left_initially

◆ get_action

enum pf_action(* pf_parameter::get_action) (const struct tile *ptile, enum known_type known, const struct pf_parameter *param)

◆ get_costs

◆ get_EC

unsigned(* pf_parameter::get_EC) (const struct tile *ptile, enum known_type known, const struct pf_parameter *param)

◆ get_MC

◆ get_move_scope

◆ get_moves_left_req

int(* pf_parameter::get_moves_left_req) (const struct tile *ptile, enum known_type, const struct pf_parameter *param)

◆ get_TB

enum tile_behavior(* pf_parameter::get_TB) (const struct tile *ptile, enum known_type known, const struct pf_parameter *param)

◆ get_zoc

bool(* pf_parameter::get_zoc) (const struct player *pplayer, const struct tile *ptile, const struct civ_map *zmap)

◆ ignore_none_scopes

bool pf_parameter::ignore_none_scopes

◆ is_action_possible

◆ is_pos_dangerous

bool(* pf_parameter::is_pos_dangerous) (const struct tile *ptile, enum known_type, const struct pf_parameter *param)

◆ map

const struct civ_map* pf_parameter::map

◆ move_rate

int pf_parameter::move_rate

◆ moves_left_initially

int pf_parameter::moves_left_initially

◆ omniscience

bool pf_parameter::omniscience

◆ owner

const struct player* pf_parameter::owner

◆ start_tile

struct tile* pf_parameter::start_tile

◆ transported_by_initially

const struct unit_type* pf_parameter::transported_by_initially

◆ utype

const struct unit_type* pf_parameter::utype