Allows configuring the height at which rainforests start, which by default was controlled by dividing the map maxheight by 4 in landscape.cpp. Default setting is 8 which matches and should provide default behavior in new map creation.

This commit is contained in:
reldred
2021-03-20 20:53:22 +10:30
parent 4386da53ee
commit 07397783f8
7 changed files with 23 additions and 1 deletions

View File

@@ -361,6 +361,7 @@ struct GameCreationSettings {
byte land_generator; ///< the landscape generator
byte oil_refinery_limit; ///< distance oil refineries allowed from map edge
byte snow_line_height; ///< the configured snow line height
byte rainforest_line_height; ///< the configured rainforest line height
byte tgen_smoothness; ///< how rough is the terrain from 0-3
byte tree_placer; ///< the tree placer algorithm
byte heightmap_rotation; ///< rotation director for the heightmap