Freeciv21
Develop your civilization from humble roots to a global empire
fracture_map.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MG_UNUSED   mapgen_terrain_property_invalid()
 

Functions

void make_fracture_hmap ()
 Fracture map generator. More...
 
void make_fracture_relief ()
 make_fracture_relief() Goes through a couple of iterations. More...
 

Variables

int * height_map
 
int hmap_shore_level
 
int hmap_mountain_level
 

Macro Definition Documentation

◆ MG_UNUSED

#define MG_UNUSED   mapgen_terrain_property_invalid()

Definition at line 29 of file fracture_map.h.

Function Documentation

◆ make_fracture_hmap()

void make_fracture_hmap ( )

Fracture map generator.

Definition at line 51 of file fracture_map.cpp.

Referenced by map_generate().

◆ make_fracture_relief()

void make_fracture_relief ( )

make_fracture_relief() Goes through a couple of iterations.

The first iteration chooses mountains and hills based on how much the tile exceeds the elevation of the surrounding tiles. This will typically causes hills and mountains to be placed along the edges of landmasses. It can generate mountain ranges where there a differences in elevation between landmasses.

Definition at line 311 of file fracture_map.cpp.

Referenced by make_land().

Variable Documentation

◆ height_map

◆ hmap_mountain_level

int hmap_mountain_level

◆ hmap_shore_level

int hmap_shore_level
extern