Freeciv-3.3
Loading...
Searching...
No Matches
fracture_map.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996-2007 - 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#ifndef FC__FRACTURE_MAP_H
14#define FC__FRACTURE_MAP_H
15
16/*
17 * Height map information
18 *
19 * height_map[] stores the height of each tile
20 * hmap_max_level is the maximum height (heights will range from
21 * [0,hmap_max_level).
22 * hmap_shore_level is the level of ocean. Any tile at this height or
23 * above is land; anything below is ocean.
24 * hmap_mount_level is the level of mountains and hills. Any tile above
25 * this height will usually be a mountain or hill.
26 */
27extern int *height_map;
29
30void make_fracture_map(void);
31void make_fracture_relief(void);
32#define MG_UNUSED mapgen_terrain_property_invalid()
33
34#endif /* FC__FRACTURE__MAP_H */
void make_fracture_map(void)
void make_fracture_relief(void)
int hmap_mountain_level
int hmap_shore_level
Definition height_map.c:30
int * height_map
Definition height_map.c:29