Freeciv21
Develop your civilization from humble roots to a global empire
aiair.h
Go to the documentation of this file.
1
/*__ ___ ***************************************
2
/ \ / \ Copyright (c) 1996-2020 Freeciv21 and Freeciv
3
\_ \ / __/ contributors. This file is part of Freeciv21.
4
_\ \ / /__ Freeciv21 is free software: you can redistribute it
5
\___ \____/ __/ and/or modify it under the terms of the GNU General
6
\_ _/ Public License as published by the Free Software
7
| @ @ \_ Foundation, either version 3 of the License,
8
| or (at your option) any later version.
9
_/ /\ You should have received a copy of the GNU
10
/o) (o/\ \_ General Public License along with Freeciv21.
11
\_____/ / If not, see https://www.gnu.org/licenses/.
12
\____/ ********************************************************/
13
#pragma once
14
15
// utility
16
#include "
support.h
"
// bool type
17
18
// common
19
#include "
fc_types.h
"
20
21
void
dai_manage_airunit
(
struct
ai_type
*ait,
struct
player
*pplayer,
22
struct
unit
*punit);
23
bool
dai_choose_attacker_air
(
struct
ai_type
*ait,
struct
player
*pplayer,
24
struct
city
*pcity,
struct
adv_choice
*choice,
25
bool
allow_gold_upkeep);
dai_manage_airunit
void dai_manage_airunit(struct ai_type *ait, struct player *pplayer, struct unit *punit)
Trying to manage bombers and stuff.
Definition:
aiair.cpp:334
dai_choose_attacker_air
bool dai_choose_attacker_air(struct ai_type *ait, struct player *pplayer, struct city *pcity, struct adv_choice *choice, bool allow_gold_upkeep)
Chooses the best available and usable air unit and records it in choice, if it's better than previous...
Definition:
aiair.cpp:429
fc_types.h
adv_choice
Definition:
advchoice.h:31
ai_type
Definition:
ai.h:42
city
Definition:
city.h:291
player
Definition:
player.h:231
unit
Definition:
unit.h:134
support.h
ai
default
aiair.h
Generated by
1.9.1