Freeciv-3.3
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
25
struct
player
*
player_leading_spacerace
(
void
);
26
int
player_distance_to_player
(
struct
player
*pplayer,
struct
player
*target);
27
int
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
pcity
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
fc_types.h
city
Definition
city.h:317
player
Definition
player.h:249
Generated on Sun Dec 22 2024 22:30:36 for Freeciv-3.3 by
1.9.8