Freeciv-3.3
Loading...
Searching...
No Matches
daitech.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
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__DAITECH_H
14#define FC__DAITECH_H
15
16/* common */
17#include "fc_types.h"
18#include "unittype.h"
19
20void dai_manage_tech(struct ai_type *ait, struct player *pplayer);
21void dai_clear_tech_wants(struct ai_type *ait, struct player *pplayer);
22void dai_next_tech_goal(struct player *pplayer);
23struct unit_type *dai_wants_role_unit(struct ai_type *ait,
24 struct player *pplayer,
25 struct city *pcity, int role, int want);
27 struct player *pplayer,
28 struct city *pcity,
29 const struct unit_type *att,
30 int want);
31
32#endif /* FC__DAITECH_H */
char * incite_cost
Definition comments.c:74
void dai_clear_tech_wants(struct ai_type *ait, struct player *pplayer)
Definition daitech.c:611
void dai_manage_tech(struct ai_type *ait, struct player *pplayer)
Definition daitech.c:335
struct unit_type * dai_wants_defender_against(struct ai_type *ait, struct player *pplayer, struct city *pcity, const struct unit_type *att, int want)
Definition daitech.c:390
struct unit_type * dai_wants_role_unit(struct ai_type *ait, struct player *pplayer, struct city *pcity, int role, int want)
Definition daitech.c:521
void dai_next_tech_goal(struct player *pplayer)
Definition ai.h:50
Definition city.h:320