Freeciv-3.3
Loading...
Searching...
No Matches
Macros | Functions | Variables
fracture_map.h File Reference

Go to the source code of this file.

Macros

#define MG_UNUSED   mapgen_terrain_property_invalid()
 

Functions

void make_fracture_map (void)
 
void make_fracture_relief (void)
 

Variables

intheight_map
 
int hmap_shore_level
 
int hmap_mountain_level
 

Macro Definition Documentation

◆ MG_UNUSED

Definition at line 32 of file fracture_map.h.

Function Documentation

◆ make_fracture_map()

void make_fracture_map ( void  )

Fracture map generator

Definition at line 55 of file fracture_map.c.

Referenced by map_fractal_generate().

◆ make_fracture_relief()

void make_fracture_relief ( void  )

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 294 of file fracture_map.c.

Referenced by make_land().

Variable Documentation

◆ height_map

int* height_map
extern

Definition at line 29 of file height_map.c.

◆ hmap_mountain_level

int hmap_mountain_level

◆ hmap_shore_level

int hmap_shore_level
extern