Freeciv21
Develop your civilization from humble roots to a global empire
fracture_map.h
Go to the documentation of this file.
1 /**************************************************************************
2  Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3  __ __ part of Freeciv21. Freeciv21 is free software: you can
4 / \\..// \ redistribute it and/or modify it under the terms of the GNU
5  ( oo ) General Public License as published by the Free Software
6  \__/ Foundation, either version 3 of the License, or (at your
7  option) any later version. You should have received
8  a copy of the GNU General Public License along with Freeciv21. If not,
9  see https://www.gnu.org/licenses/.
10 **************************************************************************/
11 #pragma once
12 
13 /*
14  * Height map information
15  *
16  * height_map[] stores the height of each tile
17  * hmap_max_level is the maximum height (heights will range from
18  * [0,hmap_max_level).
19  * hmap_shore_level is the level of ocean. Any tile at this height or
20  * above is land; anything below is ocean.
21  * hmap_mount_level is the level of mountains and hills. Any tile above
22  * this height will usually be a mountain or hill.
23  */
24 extern int *height_map;
26 
27 void make_fracture_hmap();
29 #define MG_UNUSED mapgen_terrain_property_invalid()
void make_fracture_hmap()
Fracture map generator.
void make_fracture_relief()
make_fracture_relief() Goes through a couple of iterations.
int hmap_mountain_level
Definition: fracture_map.h:25
int hmap_shore_level
Definition: height_map.cpp:24
int * height_map
Definition: height_map.cpp:23