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)
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 ***********************************************************************/
19 #endif /* __cplusplus */
21 #include "fc_types.h" /* enum direction8, struct tile */
22 #include "tile.h" /* enum known_type */
24 #define map_exists() (map.tiles != NULL)
26 enum known_type
client_tile_get_known(const struct tile
*ptile
);
28 enum direction8
gui_to_map_dir(enum direction8 gui_dir
);
29 enum direction8
map_to_gui_dir(enum direction8 map_dir
);
31 struct tile
*client_city_tile(const struct city
*pcity
);
32 bool client_city_can_work_tile(const struct city
*pcity
,
33 const struct tile
*ptile
);
37 #endif /* __cplusplus */
39 #endif /* FC__CLIMAP_H */