Freeciv-3.2: /fast/freeciv/nightly/S3_2/server/generator/fracture_map.h File Reference

Freeciv-3.2

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

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 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 292 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

Definition at line 28 of file fracture_map.h.

Referenced by make_fracture_map(), make_fracture_relief(), make_relief(), and terrain_is_too_high().

## ◆ hmap_shore_level

int hmap_shore_level

extern

Definition at line 30 of file height_map.c.

Referenced by create_tmap(), make_fracture_map(), make_fracture_relief(), make_land(), and make_relief().