Freeciv-3.3: /fast/freeciv/nightly/main/client/climap.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
climap.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 2002 - 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
14#ifndef FC__CLIMAP_H
15#define FC__CLIMAP_H
16
17#ifdef __cplusplus
18extern "C" {
19#endif /* __cplusplus */
20
21/* common */
22#include "fc_types.h" /* enum direction8, struct tile */
23#include "tile.h" /* enum known_type */
24
25enum known_type client_tile_get_known(const struct tile *ptile);
26
27enum direction8 gui_to_map_dir(enum direction8 gui_dir);
28enum direction8 map_to_gui_dir(enum direction8 map_dir);
29
30struct tile *client_city_tile(const struct city *pcity);
31bool client_city_can_work_tile(const struct city *pcity,
32 const struct tile *ptile);
33
34#ifdef __cplusplus
35}
36#endif /* __cplusplus */
37
38#endif /* FC__CLIMAP_H */
client_tile_get_known
enum known_type client_tile_get_known(const struct tile *ptile)
Definition climap.c:36
client_city_tile
struct tile * client_city_tile(const struct city *pcity)
Definition climap.c:87
gui_to_map_dir
enum direction8 gui_to_map_dir(enum direction8 gui_dir)
Definition climap.c:59
map_to_gui_dir
enum direction8 map_to_gui_dir(enum direction8 map_dir)
Definition climap.c:73
client_city_can_work_tile
bool client_city_can_work_tile(const struct city *pcity, const struct tile *ptile)
Definition climap.c:133
incite_cost
char * incite_cost
Definition comments.c:74
fc_types.h
city
Definition city.h:320
tile
Definition tile.h:50
tile.h
known_type
known_type
Definition tile.h:35