Freeciv-3.2
Loading...
Searching...
No Matches
aiair.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__AIAIR_H
14#define FC__AIAIR_H
15
16/* utility */
17#include "support.h" /* bool type */
18
19/* common */
20#include "fc_types.h"
21
22void dai_manage_airunit(struct ai_type *ait, struct player *pplayer,
23 struct unit *punit);
24bool dai_choose_attacker_air(struct ai_type *ait, struct player *pplayer,
25 struct city *pcity, struct adv_choice *choice,
26 bool allow_gold_upkeep);
27
28int dai_evaluate_tile_for_attack(struct unit *punit, struct tile *dst_tile);
29
30#endif /* FC__AIAIR_H */
void dai_manage_airunit(struct ai_type *ait, struct player *pplayer, struct unit *punit)
Definition aiair.c:486
int dai_evaluate_tile_for_attack(struct unit *punit, struct tile *dst_tile)
bool dai_choose_attacker_air(struct ai_type *ait, struct player *pplayer, struct city *pcity, struct adv_choice *choice, bool allow_gold_upkeep)
Definition aiair.c:582
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
Definition ai.h:50
Definition city.h:320
Definition tile.h:50
Definition unit.h:138