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

Freeciv-3.1

Loading...
Searching...
No Matches
citymap.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 2003 - Per I. Mathisen
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__CITYMAP_H
14#define FC__CITYMAP_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20
21/* utility */
22#include "support.h" /* bool type */
23
24/* common */
25#include "fc_types.h"
26
27void citymap_turn_init(struct player *pplayer);
28void citymap_reserve_city_spot(struct tile *ptile, int id);
29void citymap_free_city_spot(struct tile *ptile, int id);
30void citymap_reserve_tile(struct tile *ptile, int id);
31int citymap_read(struct tile *ptile);
32bool citymap_is_reserved(struct tile *ptile);
33
34void citymap_free(void);
35
36#ifdef __cplusplus
37}
38#endif /* __cplusplus */
39
40#endif /* FC__CITYMAP_H */
citymap_free_city_spot
void citymap_free_city_spot(struct tile *ptile, int id)
Definition citymap.c:150
citymap_reserve_tile
void citymap_reserve_tile(struct tile *ptile, int id)
Definition citymap.c:167
citymap_reserve_city_spot
void citymap_reserve_city_spot(struct tile *ptile, int id)
Definition citymap.c:122
citymap_is_reserved
bool citymap_is_reserved(struct tile *ptile)
Definition citymap.c:190
citymap_read
int citymap_read(struct tile *ptile)
Definition citymap.c:181
citymap_free
void citymap_free(void)
Definition citymap.c:110
citymap_turn_init
void citymap_turn_init(struct player *pplayer)
Definition citymap.c:61
fc_types.h
player
Definition player.h:249
tile
Definition tile.h:49
support.h