Freeciv-3.1
Loading...
Searching...
No Matches
Data Fields
ai_city Struct Reference

#include <daicity.h>

Data Fields

adv_want worth
 
int building_turn
 
int building_wait
 
struct adv_choice choice
 
struct ai_invasion invasion
 
int attack
 
int bcost
 
unsigned int danger
 
unsigned int grave_danger
 
unsigned 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 34 of file daicity.h.

Field Documentation

◆ attack

int ai_city::attack

Definition at line 44 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 44 of file daicity.h.

Referenced by find_something_to_kill(), and process_attacker_want().

◆ building_turn

int ai_city::building_turn

Definition at line 37 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 57 of file daicity.h.

Referenced by dai_manage_taxes().

◆ choice

struct adv_choice ai_city::choice

◆ danger

unsigned int ai_city::danger

◆ diplomat_threat

bool ai_city::diplomat_threat

◆ distance_to_wonder_city

int ai_city::distance_to_wonder_city

Definition at line 54 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 65 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

unsigned int ai_city::grave_danger

◆ has_diplomat

bool ai_city::has_diplomat

Definition at line 59 of file daicity.h.

Referenced by assess_danger(), and dai_choose_diplomat_defensive().

◆ invasion

struct ai_invasion ai_city::invasion

◆ urgency

unsigned int ai_city::urgency

◆ wallvalue

int ai_city::wallvalue

◆ worker_type

struct unit_type* ai_city::worker_type

◆ worker_want

int ai_city::worker_want

◆ worth

adv_want ai_city::worth

Definition at line 35 of file daicity.h.

Referenced by base_want(), dai_build_adv_init(), and find_something_to_kill().