Freeciv21
Develop your civilization from humble roots to a global empire
aihunt.h
Go to the documentation of this file.
1
/***********************************************************************
2
Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3
/\/\ part of Freeciv21. Freeciv21 is free software: you can
4
\_\ _..._ redistribute it and/or modify it under the terms of the
5
(" )(_..._) GNU General Public License as published by the Free
6
^^ // \\ Software Foundation, either version 3 of the License,
7
or (at your option) any later version. You should have
8
received a copy of the GNU General Public License along with Freeciv21.
9
If not, see https://www.gnu.org/licenses/.
10
***********************************************************************/
11
#pragma once
12
13
// utility
14
#include "
support.h
"
// bool type
15
16
// common
17
#include "
fc_types.h
"
18
19
void
dai_hunter_choice
(
struct
ai_type
*ait,
struct
player
*pplayer,
20
struct
city
*pcity,
struct
adv_choice
*choice,
21
bool
allow_gold_upkeep);
22
bool
dai_hunter_qualify
(
struct
player
*pplayer,
struct
unit
*punit);
23
int
dai_hunter_manage
(
struct
ai_type
*ait,
struct
player
*pplayer,
24
struct
unit
*punit);
dai_hunter_qualify
bool dai_hunter_qualify(struct player *pplayer, struct unit *punit)
Does this unit qualify as a hunter?
Definition:
aihunt.cpp:297
dai_hunter_choice
void dai_hunter_choice(struct ai_type *ait, struct player *pplayer, struct city *pcity, struct adv_choice *choice, bool allow_gold_upkeep)
Check if we want to build a hunter.
Definition:
aihunt.cpp:262
dai_hunter_manage
int dai_hunter_manage(struct ai_type *ait, struct player *pplayer, struct unit *punit)
Manage a (possibly virtual) hunter.
Definition:
aihunt.cpp:445
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
aihunt.h
Generated by
1.9.1