Freeciv-3.1
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
14#ifndef FC_AI_ACTIONS_H
15#define FC_AI_ACTIONS_H
16
17/* common */
18#include "fc_types.h"
19
20#ifdef __cplusplus
21extern "C" {
22#endif /* __cplusplus */
23
24bool aia_utype_is_considered_spy_vs_city(const struct unit_type *putype);
25bool aia_utype_is_considered_spy(const struct unit_type *putype);
26bool aia_utype_is_considered_worker(const struct unit_type *putype);
27bool aia_utype_is_considered_caravan_trade(const struct unit_type *putype);
28bool aia_utype_is_considered_caravan(const struct unit_type *putype);
29
30#ifdef __cplusplus
31}
32#endif /* __cplusplus */
33
34#endif /* FC_AI_ACTIONS_H */
bool aia_utype_is_considered_caravan_trade(const struct unit_type *putype)
Definition aiactions.c:68
bool aia_utype_is_considered_spy_vs_city(const struct unit_type *putype)
Definition aiactions.c:29
bool aia_utype_is_considered_spy(const struct unit_type *putype)
Definition aiactions.c:53
bool aia_utype_is_considered_caravan(const struct unit_type *putype)
Definition aiactions.c:80
bool aia_utype_is_considered_worker(const struct unit_type *putype)
Definition aiactions.c:91