13#ifndef FC__DAIMILITARY_H
14#define FC__DAIMILITARY_H
26#define ASSESS_DANGER_MAX_DISTANCE 40
27#define AI_HANDICAP_DISTANCE_LIMIT 6
32#define FINISH_HIM_CITY_COUNT 5
37 struct unit *attacker);
51 struct city *pcity,
unsigned int danger,
struct unit_type * dai_choose_defender_versus(struct city *pcity, struct unit *attacker)
int assess_defense(struct ai_type *ait, struct city *pcity)
struct adv_choice * military_advisor_choose_build(struct ai_type *ait, const struct civ_map *nmap, struct player *pplayer, struct city *pcity, player_unit_list_getter ul_cb)
struct unit_list *() player_unit_list_getter(struct player *pplayer)
bool dai_process_defender_want(struct ai_type *ait, const struct civ_map *nmap, struct player *pplayer, struct city *pcity, unsigned int danger, struct adv_choice *choice, adv_want extra_want)
int assess_defense_quadratic(struct ai_type *ait, struct city *pcity)
void dai_assess_danger_player(struct ai_type *ait, const struct civ_map *nmap, struct player *pplayer)
int assess_defense_unit(struct ai_type *ait, struct city *pcity, struct unit *punit, bool igwall)
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