Replaced typo that caused unnecessary regeneration of fc_gitrev_gen.h
[freeciv.git] / client / climap.h
blob6bd6c95a3d95a17990019e750729046c6fc19b9e
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 #include "fc_types.h" /* enum direction8, struct tile */
22 #include "tile.h" /* enum known_type */
24 #define map_exists() (game.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);
35 #ifdef __cplusplus
37 #endif /* __cplusplus */
39 #endif /* FC__CLIMAP_H */