Freeciv21
Develop your civilization from humble roots to a global empire
aiactions.h
Go to the documentation of this file.
1 /**************************************************************************
2  Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3  __ __ part of Freeciv21. Freeciv21 is free software: you can
4 / \\..// \ redistribute it and/or modify it under the terms of the GNU
5  ( oo ) General Public License as published by the Free Software
6  \__/ Foundation, either version 3 of the License, or (at your
7  option) any later version. You should have received
8  a copy of the GNU General Public License along with Freeciv21. If not,
9  see https://www.gnu.org/licenses/.
10 **************************************************************************/
11 
12 #pragma once
13 
14 bool aia_utype_is_considered_spy_vs_city(const struct unit_type *putype);
15 bool aia_utype_is_considered_spy(const struct unit_type *putype);
16 bool aia_utype_is_considered_worker(const struct unit_type *putype);
17 bool aia_utype_is_considered_caravan_trade(const struct unit_type *putype);
bool aia_utype_is_considered_caravan_trade(const struct unit_type *putype)
Returns TRUE if the specified unit type is able to perform trade caravan actions.
Definition: aiactions.cpp:57
bool aia_utype_is_considered_spy_vs_city(const struct unit_type *putype)
Returns TRUE if the specified unit type is able to perform diplomatic actions against cities.
Definition: aiactions.cpp:21
bool aia_utype_is_considered_spy(const struct unit_type *putype)
Returns TRUE if the specified unit type is able to perform diplomatic actions.
Definition: aiactions.cpp:45
bool aia_utype_is_considered_worker(const struct unit_type *putype)
Returns TRUE if the specified unit type is able to perform worker actions.
Definition: aiactions.cpp:67