Freeciv-3.3
Loading...
Searching...
No Matches
aisupport.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 2003 - The Freeciv Project
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__AISUPPORT_H
14#define FC__AISUPPORT_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20
21/* common */
22#include "fc_types.h"
23
24
26int player_distance_to_player(struct player *pplayer, struct player *target);
27int city_gold_worth(struct city *pcity);
28
29#ifdef __cplusplus
30}
31#endif /* __cplusplus */
32
33#endif /* FC__AISUPPORT_H */
int player_distance_to_player(struct player *pplayer, struct player *target)
Definition aisupport.c:75
int city_gold_worth(struct city *pcity)
Definition aisupport.c:108
struct player * player_leading_spacerace(void)
Definition aisupport.c:38
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int const struct action *paction struct unit struct city * pcity
Definition dialogs_g.h:78
Definition city.h:317