Freeciv-3.3: /fast/freeciv/nightly/main/ai/default/daisettler.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
daisettler.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 2002 - The Freeciv Team
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__DAISETTLER_H
14#define FC__DAISETTLER_H
15
16/* utility */
17#include "support.h" /* bool type */
18
19/* common */
20#include "ai.h"
21#include "city.h"
22#include "fc_types.h"
23
24struct ai_data;
25struct ai_plr;
26struct tile_data_cache;
27
28void dai_auto_settler_init(struct ai_plr *ai);
29void dai_auto_settler_free(struct ai_plr *ai);
30
31void dai_auto_settler_reset(struct ai_type *ait, struct player *pplayer);
32void dai_auto_settler_run(struct ai_type *ait, const struct civ_map *nmap,
33 struct player *pplayer,
34 struct unit *punit, struct workermap *state);
35void dai_auto_settler_cont(struct ai_type *ait, const struct civ_map *nmap,
36 struct player *pplayer,
37 struct unit *punit, struct workermap *state);
38
39void contemplate_new_city(struct ai_type *ait, struct city *pcity);
40
41#endif /* FC__DAISETTLER_H */
ai.h
city.h
incite_cost
char * incite_cost
Definition comments.c:74
dai_auto_settler_run
void dai_auto_settler_run(struct ai_type *ait, const struct civ_map *nmap, struct player *pplayer, struct unit *punit, struct workermap *state)
Definition daisettler.c:1031
dai_auto_settler_init
void dai_auto_settler_init(struct ai_plr *ai)
Definition daisettler.c:1012
dai_auto_settler_cont
void dai_auto_settler_cont(struct ai_type *ait, const struct civ_map *nmap, struct player *pplayer, struct unit *punit, struct workermap *state)
Definition daisettler.c:1205
dai_auto_settler_free
void dai_auto_settler_free(struct ai_plr *ai)
Definition daisettler.c:1249
dai_auto_settler_reset
void dai_auto_settler_reset(struct ai_type *ait, struct player *pplayer)
Definition daisettler.c:1218
contemplate_new_city
void contemplate_new_city(struct ai_type *ait, struct city *pcity)
Definition daisettler.c:1326
punit
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
Definition dialogs_g.h:74
fc_types.h
ai_plr
Definition daidata.h:71
ai_type
Definition ai.h:50
city
Definition city.h:320
civ_map
Definition map_types.h:71
player
Definition player.h:249
tile_data_cache
Definition daisettler.c:118
unit
Definition unit.h:140
workermap
Definition autoworkers.c:72
support.h