Freeciv-3.1
|
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 settlermap *state) |
void | dai_auto_settler_cont (struct ai_type *ait, const struct civ_map *nmap, struct player *pplayer, struct unit *punit, struct settlermap *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 autosettlers.
Definition at line 1326 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 settlermap * | state | ||
) |
Auto settler continuing its work.
Definition at line 1205 of file daisettler.c.
Referenced by cai_auto_settler_cont(), texwai_auto_settler_cont(), and twai_auto_settler_cont().
void dai_auto_settler_free | ( | struct ai_plr * | ai | ) |
Deinitialize ai settler engine.
Definition at line 1249 of file daisettler.c.
Referenced by dai_data_close().
void dai_auto_settler_init | ( | struct ai_plr * | ai | ) |
Initialize ai settler engine.
Definition at line 1012 of file daisettler.c.
Referenced by dai_data_init().
Reset ai settler engine.
Definition at line 1218 of file daisettler.c.
Referenced by cai_auto_settler_reset(), dai_manage_cities(), texwai_auto_settler_reset(), and twai_auto_settler_reset().
void dai_auto_settler_run | ( | struct ai_type * | ait, |
const struct civ_map * | nmap, | ||
struct player * | pplayer, | ||
struct unit * | punit, | ||
struct settlermap * | state | ||
) |
Auto settler that can also build cities.
Definition at line 1031 of file daisettler.c.
Referenced by cai_auto_settler_run(), dai_auto_settler_run(), texwai_auto_settler_run(), and twai_auto_settler_run().