Freeciv21
Develop your civilization from humble roots to a global empire
ai_city Struct Reference

#include <daicity.h>

+ Collaboration diagram for ai_city:

Public Attributes

adv_want worth
 
int building_turn
 
int building_wait
 
struct adv_choice choice
 
struct ai_invasion invasion
 
int attack
 
int bcost
 
int danger
 
int grave_danger
 
int urgency
 
int wallvalue
 
int distance_to_wonder_city
 
bool celebrate
 
bool diplomat_threat
 
bool has_diplomat
 
bool founder_boat
 
int founder_turn
 
int founder_want
 
int worker_want
 
struct unit_typeworker_type
 

Detailed Description

Definition at line 31 of file daicity.h.

Member Data Documentation

◆ attack

int ai_city::attack

Definition at line 41 of file daicity.h.

Referenced by find_something_to_kill(), kill_something_with(), and process_attacker_want().

◆ bcost

int ai_city::bcost

Definition at line 41 of file daicity.h.

Referenced by find_something_to_kill(), and process_attacker_want().

◆ building_turn

int ai_city::building_turn

Definition at line 34 of file daicity.h.

Referenced by dai_build_adv_adjust(), dai_city_load(), and dai_city_save().

◆ building_wait

int ai_city::building_wait

◆ celebrate

bool ai_city::celebrate

Definition at line 54 of file daicity.h.

Referenced by dai_manage_taxes().

◆ choice

◆ danger

◆ diplomat_threat

bool ai_city::diplomat_threat

◆ distance_to_wonder_city

int ai_city::distance_to_wonder_city

Definition at line 51 of file daicity.h.

Referenced by dai_choose_help_wonder(), and dai_wonder_city_distance().

◆ founder_boat

bool ai_city::founder_boat

◆ founder_turn

int ai_city::founder_turn

Definition at line 62 of file daicity.h.

Referenced by dai_city_load(), dai_city_save(), and dai_manage_cities().

◆ founder_want

int ai_city::founder_want

◆ grave_danger

int ai_city::grave_danger

◆ has_diplomat

bool ai_city::has_diplomat

Definition at line 56 of file daicity.h.

Referenced by assess_danger(), and dai_choose_diplomat_defensive().

◆ invasion

struct ai_invasion ai_city::invasion

◆ urgency

◆ wallvalue

int ai_city::wallvalue

◆ worker_type

struct unit_type* ai_city::worker_type

◆ worker_want

int ai_city::worker_want

◆ worth