Freeciv-3.1: /fast/freeciv/nightly/S3_1/common/aicore/aisupport.h Source File

Freeciv-3.1

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
25struct player *player_leading_spacerace(void);
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 */
player_distance_to_player
int player_distance_to_player(struct player *pplayer, struct player *target)
Definition aisupport.c:75
city_gold_worth
int city_gold_worth(struct city *pcity)
Definition aisupport.c:108
player_leading_spacerace
struct player * player_leading_spacerace(void)
Definition aisupport.c:38
fc_types.h
city
Definition city.h:309
player
Definition player.h:249