Freeciv21
Develop your civilization from humble roots to a global empire
aiparatrooper.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
struct
adv_choice
;
16
struct
city
;
17
struct
player
;
18
struct
unit
;
19
20
void
dai_manage_paratrooper
(
struct
ai_type
*ait,
struct
player
*pplayer,
21
struct
unit
*punit);
22
void
dai_choose_paratrooper
(
struct
ai_type
*ait,
struct
player
*pplayer,
23
struct
city
*pcity,
struct
adv_choice
*choice,
24
bool
allow_gold_upkeep);
dai_manage_paratrooper
void dai_manage_paratrooper(struct ai_type *ait, struct player *pplayer, struct unit *punit)
This function does manage the paratrooper units of the AI.
Definition:
aiparatrooper.cpp:187
dai_choose_paratrooper
void dai_choose_paratrooper(struct ai_type *ait, struct player *pplayer, struct city *pcity, struct adv_choice *choice, bool allow_gold_upkeep)
Chooses to build a paratroopers if necessary.
Definition:
aiparatrooper.cpp:339
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
ai
default
aiparatrooper.h
Generated by
1.9.1