Freeciv-3.1: /fast/freeciv/nightly/S3_1/ai/default/daiactions.h Source File

Freeciv-3.1

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
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
31int 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
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:309
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:95
actor_unit
struct unit * actor_unit
Definition dialogs_g.h:54
target_city
struct unit struct city * target_city
Definition dialogs_g.h:55
fc_types.h
adv_want
float adv_want
Definition fc_types.h:1206
action
Definition actions.h:379
city
Definition city.h:309
unit
Definition unit.h:138