tgp.h File Reference

Go to the source code of this file.

Functions

void GenerateTerrainPerlin ()
 The main new land generator using Perlin noise.


Detailed Description

Definition in file tgp.h.


Function Documentation

void GenerateTerrainPerlin (  ) 

The main new land generator using Perlin noise.

Desert landscape is handled different to all others to give a desert valley between two high mountains. Clearly if a low height terrain (flat/very flat) is chosen, then the tropic areas wont be high enough, and there will be very little tropic on the map. Thus Tropic works best on Hilly or Mountainous.

Definition at line 801 of file tgp.cpp.

References AllocHeightMap(), FreeHeightMap(), GenerateWorldSetAbortCallback(), GWP_LANDSCAPE, H2I, HeightMapGenerate(), HeightMapNormalize(), HeightMapXY, IncreaseGeneratingWorldProgress(), MakeVoid(), HeightMap::size_x, HeightMap::size_y, TgenSetTileHeight(), and TileXY().


Generated on Mon Sep 22 20:34:27 2008 for openttd by  doxygen 1.5.6