Freeciv-3.3: /fast/freeciv/nightly/main/common/aicore/aiactions.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
aiactions.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 2020 - 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#ifndef FC_AI_ACTIONS_H
14#define FC_AI_ACTIONS_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20/* common */
21#include "fc_types.h"
22
23bool aia_utype_is_considered_spy_vs_city(const struct unit_type *putype);
24bool aia_utype_is_considered_spy(const struct unit_type *putype);
25bool aia_utype_is_considered_worker(const struct unit_type *putype);
26bool aia_utype_is_considered_caravan_trade(const struct unit_type *putype);
27bool aia_utype_is_considered_caravan(const struct unit_type *putype);
28
29#ifdef __cplusplus
30}
31#endif /* __cplusplus */
32
33#endif /* FC_AI_ACTIONS_H */
aia_utype_is_considered_caravan_trade
bool aia_utype_is_considered_caravan_trade(const struct unit_type *putype)
Definition aiactions.c:66
aia_utype_is_considered_spy_vs_city
bool aia_utype_is_considered_spy_vs_city(const struct unit_type *putype)
Definition aiactions.c:27
aia_utype_is_considered_spy
bool aia_utype_is_considered_spy(const struct unit_type *putype)
Definition aiactions.c:51
aia_utype_is_considered_caravan
bool aia_utype_is_considered_caravan(const struct unit_type *putype)
Definition aiactions.c:78
aia_utype_is_considered_worker
bool aia_utype_is_considered_worker(const struct unit_type *putype)
Definition aiactions.c:89
incite_cost
char * incite_cost
Definition comments.c:74
fc_types.h
unit_type
Definition unittype.h:507