23#define NORMAL_STACKING_FEARFULNESS ((double)PF_TURN_FACTOR / 36.0)
44 const double fearfulness);
47 int moves_left,
int hp);
bool adv_follow_path(struct unit *punit, struct pf_path *path, struct tile *ptile)
int adv_unit_def_rating_basic_squared(const struct unit *punit)
int adv_unit_def_rating_basic(const struct unit *punit)
bool adv_danger_at(struct unit *punit, struct tile *ptile)
int adv_unittype_att_rating(const struct unit_type *punittype, int veteran, int moves_left, int hp)
int adv_unit_att_rating(const struct unit *punit)
int adv_could_unit_move_to_tile(struct unit *punit, struct tile *dst_tile)
void adv_avoid_risks(struct pf_parameter *parameter, struct adv_risk_cost *risk_cost, struct unit *punit, const double fearfulness)
bool adv_unit_execute_path(struct unit *punit, struct pf_path *path)
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit * punit