Freeciv-3.2
Loading...
Searching...
No Matches
aitech.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__AITECH_H
14#define FC__AITECH_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, struct player *pplayer,
24 struct city *pcity, int role, int want);
26 const struct civ_map *nmap,
27 struct player *pplayer,
28 struct city *pcity,
29 const struct unit_type *att, int want);
30
31#endif /* FC__AITECH_H */
struct unit_type * dai_wants_defender_against(struct ai_type *ait, const struct civ_map *nmap, struct player *pplayer, struct city *pcity, const struct unit_type *att, int want)
Definition aitech.c:390
void dai_clear_tech_wants(struct ai_type *ait, struct player *pplayer)
Definition aitech.c:613
void dai_manage_tech(struct ai_type *ait, struct player *pplayer)
Definition aitech.c:335
struct unit_type * dai_wants_role_unit(struct ai_type *ait, struct player *pplayer, struct city *pcity, int role, int want)
Definition aitech.c:522
void dai_next_tech_goal(struct player *pplayer)
char * incite_cost
Definition comments.c:75
Definition ai.h:50
Definition city.h:320