Freeciv-3.2
Loading...
Searching...
No Matches
ai
default
daiactions.h
Go to the documentation of this file.
1
/**********************************************************************
2
Freeciv - Copyright (C) 2019 - The Freeciv Project contributors.
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
14
#ifndef FC_DAI_ACTIONS_H
15
#define FC_DAI_ACTIONS_H
16
17
/* common */
18
#include "
actions.h
"
19
#include "
fc_types.h
"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
/* __cplusplus */
24
25
adv_want
dai_action_value_unit_vs_city
(
struct
action
*
paction
,
26
struct
unit
*
actor_unit
,
27
struct
city
*
target_city
,
28
int
sub_tgt_id,
29
int
count_tech
);
30
31
int
dai_action_choose_sub_tgt_unit_vs_city
(
struct
action
*
paction
,
32
struct
unit
*
actor_unit
,
33
struct
city
*
target_city
);
34
35
#ifdef __cplusplus
36
}
37
#endif
/* __cplusplus */
38
39
#endif
/* FC_DAI_ACTIONS_H */
actions.h
incite_cost
char * incite_cost
Definition
comments.c:75
dai_action_choose_sub_tgt_unit_vs_city
int dai_action_choose_sub_tgt_unit_vs_city(struct action *paction, struct unit *actor_unit, struct city *target_city)
Definition
daiactions.c:310
dai_action_value_unit_vs_city
adv_want dai_action_value_unit_vs_city(struct action *paction, struct unit *actor_unit, struct city *target_city, int sub_tgt_id, int count_tech)
Definition
daiactions.c:96
actor_unit
struct unit * actor_unit
Definition
dialogs_g.h:55
target_city
struct unit struct city * target_city
Definition
dialogs_g.h:56
fc_types.h
adv_want
float adv_want
Definition
fc_types.h:1354
action
Definition
actions.h:362
city
Definition
city.h:320
unit
Definition
unit.h:138
Generated on Sun Dec 22 2024 23:00:30 for Freeciv-3.2 by
1.9.8