Freeciv-3.2
Loading...
Searching...
No Matches
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
22extern "C" {
23#endif /* __cplusplus */
24
26 struct unit *actor_unit,
27 struct city *target_city,
28 int sub_tgt_id,
29 int count_tech);
30
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 */
char * incite_cost
Definition comments.c:75
int dai_action_choose_sub_tgt_unit_vs_city(struct action *paction, struct unit *actor_unit, struct city *target_city)
Definition daiactions.c:310
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
struct unit * actor_unit
Definition dialogs_g.h:55
struct unit struct city * target_city
Definition dialogs_g.h:56
float adv_want
Definition fc_types.h:1354
Definition city.h:320
Definition unit.h:138