Freeciv-3.3
|
Go to the source code of this file.
Functions | |
void | dai_auto_settler_init (struct ai_plr *ai) |
void | dai_auto_settler_free (struct ai_plr *ai) |
void | dai_auto_settler_reset (struct ai_type *ait, struct player *pplayer) |
void | dai_auto_settler_run (struct ai_type *ait, const struct civ_map *nmap, struct player *pplayer, struct unit *punit, struct workermap *state) |
void | dai_auto_settler_cont (struct ai_type *ait, const struct civ_map *nmap, struct player *pplayer, struct unit *punit, struct workermap *state) |
void | contemplate_new_city (struct ai_type *ait, struct city *pcity) |
Return want for city settler. Note that we rely here on the fact that citymap_turn_init() has been run while doing autoworkers.
Definition at line 1327 of file daisettler.c.
Referenced by dai_manage_cities().
void dai_auto_settler_cont | ( | struct ai_type * | ait, |
const struct civ_map * | nmap, | ||
struct player * | pplayer, | ||
struct unit * | punit, | ||
struct workermap * | state | ||
) |
Auto settler continuing its work.
Definition at line 1206 of file daisettler.c.
Referenced by cai_auto_settler_cont(), and texwai_auto_settler_cont().
Deinitialize ai settler engine.
Definition at line 1250 of file daisettler.c.
Referenced by dai_data_close().
Initialize ai settler engine.
Definition at line 1013 of file daisettler.c.
Referenced by dai_data_init().
Reset ai settler engine.
Definition at line 1219 of file daisettler.c.
Referenced by cai_auto_settler_reset(), dai_manage_cities(), and texwai_auto_settler_reset().
void dai_auto_settler_run | ( | struct ai_type * | ait, |
const struct civ_map * | nmap, | ||
struct player * | pplayer, | ||
struct unit * | punit, | ||
struct workermap * | state | ||
) |
Auto settler that can also build cities.
Definition at line 1032 of file daisettler.c.
Referenced by cai_auto_settler_run(), dai_auto_settler_run(), and texwai_auto_settler_run().