Freeciv-3.2
Loading...
Searching...
No Matches
ai
default
aihunt.h
Go to the documentation of this file.
1
/***********************************************************************
2
Freeciv - Copyright (C) 2003 - The Freeciv Team
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__AIHUNT_H
14
#define FC__AIHUNT_H
15
16
/* utility */
17
#include "
support.h
"
/* bool type */
18
19
/* common */
20
#include "
fc_types.h
"
21
22
void
dai_hunter_choice
(
struct
ai_type
*ait,
struct
player
*pplayer,
23
struct
city
*pcity,
struct
adv_choice
*choice,
24
bool
allow_gold_upkeep
);
25
bool
dai_hunter_qualify
(
struct
player
*pplayer,
struct
unit
*
punit
);
26
int
dai_hunter_manage
(
struct
ai_type
*ait,
struct
player
*pplayer,
27
struct
unit
*
punit
);
28
29
#endif
/* FC__AIHUNT_H */
dai_hunter_qualify
bool dai_hunter_qualify(struct player *pplayer, struct unit *punit)
Definition
aihunt.c:290
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)
Definition
aihunt.c:254
dai_hunter_manage
int dai_hunter_manage(struct ai_type *ait, struct player *pplayer, struct unit *punit)
Definition
aihunt.c:438
incite_cost
char * incite_cost
Definition
comments.c:75
punit
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
fc_types.h
adv_choice
Definition
advchoice.h:45
ai_type
Definition
ai.h:50
city
Definition
city.h:320
player
Definition
player.h:247
unit
Definition
unit.h:138
support.h
Generated on Sun Dec 22 2024 23:00:30 for Freeciv-3.2 by
1.9.8