Freeciv-3.2
Loading...
Searching...
No Matches
common
aicore
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
17
extern
"C"
{
18
#endif
/* __cplusplus */
19
20
21
/* common */
22
#include "
fc_types.h
"
23
24
struct
civ_map
;
25
26
struct
player
*
player_leading_spacerace
(
void
);
27
int
player_distance_to_player
(
struct
player
*pplayer,
struct
player
*target);
28
int
city_gold_worth
(
const
struct
civ_map
*
nmap
,
struct
city
*pcity);
29
30
#ifdef __cplusplus
31
}
32
#endif
/* __cplusplus */
33
34
#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(const struct civ_map *nmap, struct city *pcity)
Definition
aisupport.c:108
player_leading_spacerace
struct player * player_leading_spacerace(void)
Definition
aisupport.c:38
incite_cost
char * incite_cost
Definition
comments.c:75
fc_types.h
city
Definition
city.h:320
civ_map
Definition
map_types.h:71
player
Definition
player.h:247
Generated on Sun Aug 31 2025 23:00:35 for Freeciv-3.2 by
1.9.8