Freeciv-3.1: /fast/freeciv/nightly/S3_1/ai/default/aitech.h Source File

Freeciv-3.1

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);
22 void 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);
25struct unit_type *dai_wants_defender_against(struct ai_type *ait,
26 struct player *pplayer,
27 struct city *pcity,
28 const struct unit_type *att, int want);
29
30#endif /* FC__AITECH_H */
dai_clear_tech_wants
void dai_clear_tech_wants(struct ai_type *ait, struct player *pplayer)
Definition aitech.c:595
dai_manage_tech
void dai_manage_tech(struct ai_type *ait, struct player *pplayer)
Definition aitech.c:335
dai_wants_defender_against
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 aitech.c:388
dai_wants_role_unit
struct unit_type * dai_wants_role_unit(struct ai_type *ait, struct player *pplayer, struct city *pcity, int role, int want)
Definition aitech.c:512
dai_next_tech_goal
void dai_next_tech_goal(struct player *pplayer)
fc_types.h
ai_type
Definition ai.h:50
city
Definition city.h:309
player
Definition player.h:249
unit_type
Definition unittype.h:481
unittype.h