Freeciv-3.3
Loading...
Searching...
No Matches
Functions
aiactions.h File Reference
#include "fc_types.h"

Go to the source code of this file.

Functions

bool aia_utype_is_considered_spy_vs_city (const struct unit_type *putype)
 
bool aia_utype_is_considered_spy (const struct unit_type *putype)
 
bool aia_utype_is_considered_worker (const struct unit_type *putype)
 
bool aia_utype_is_considered_caravan_trade (const struct unit_type *putype)
 
bool aia_utype_is_considered_caravan (const struct unit_type *putype)
 

Function Documentation

◆ aia_utype_is_considered_caravan()

bool aia_utype_is_considered_caravan ( const struct unit_type putype)

Returns TRUE if the specified unit type is able to perform caravan actions.

Definition at line 78 of file aiactions.c.

◆ aia_utype_is_considered_caravan_trade()

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 at line 66 of file aiactions.c.

Referenced by aia_utype_is_considered_caravan(), and pft_enable_default_actions().

◆ aia_utype_is_considered_spy()

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 at line 51 of file aiactions.c.

Referenced by is_city_surrounded_by_our_spies(), and pft_enable_default_actions().

◆ aia_utype_is_considered_spy_vs_city()

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 at line 27 of file aiactions.c.

Referenced by aia_utype_is_considered_spy(), and dai_data_phase_begin().

◆ aia_utype_is_considered_worker()

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 at line 89 of file aiactions.c.

Referenced by dai_diplomat_bribe_nearby().