Project

General

Profile

Feature #1383 » 0049-Drop-fc_types.h-includes-from-aicore-headers.patch

Marko Lindqvist, 05/10/2025 04:45 AM

View differences:

common/aicore/aiactions.h
extern "C" {
#endif /* __cplusplus */
/* common */
#include "fc_types.h"
struct unit_type;
bool aia_utype_is_considered_spy_vs_city(const struct unit_type *putype);
bool aia_utype_is_considered_spy(const struct unit_type *putype);
common/aicore/aisupport.h
extern "C" {
#endif /* __cplusplus */
/* common */
#include "fc_types.h"
struct city;
struct player;
struct player *player_leading_spacerace(void);
int player_distance_to_player(struct player *pplayer, struct player *target);
common/aicore/caravan.h
#include "log.h" /* enum log_level */
#include "shared.h"
/* common */
#include "fc_types.h"
struct civ_map;
struct unit;
enum foreign_trade_limit
{
common/aicore/citymap.h
extern "C" {
#endif /* __cplusplus */
/* utility */
#include "support.h" /* bool type */
/* common */
#include "fc_types.h"
struct player;
struct tile;
void citymap_turn_init(struct player *pplayer);
void citymap_reserve_city_spot(struct tile *ptile, int id);
(2-2/2)