Stop sharing requirement_unit_state_ereq().
[freeciv.git] / client / climap.h
blobd2fcba4d768e598453169c5ea63d15c6185d03f9
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.
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 ***********************************************************************/
14 #ifndef FC__CLIMAP_H
15 #define FC__CLIMAP_H
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
21 /* common */
22 #include "fc_types.h" /* enum direction8, struct tile */
23 #include "tile.h" /* enum known_type */
25 enum known_type client_tile_get_known(const struct tile *ptile);
27 enum direction8 gui_to_map_dir(enum direction8 gui_dir);
28 enum direction8 map_to_gui_dir(enum direction8 map_dir);
30 struct tile *client_city_tile(const struct city *pcity);
31 bool client_city_can_work_tile(const struct city *pcity,
32 const struct tile *ptile);
34 #ifdef __cplusplus
36 #endif /* __cplusplus */
38 #endif /* FC__CLIMAP_H */