summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-03-24 20:51:41 +0100
committerPatric Stout <github@truebrain.nl>2021-03-26 12:22:32 +0100
commit45c2c29c35afeb4116ff8fb3393ddc67ea1708da (patch)
tree64c24df6f75024b394506f091285174206562ffa /src/settings_type.h
parent422e132845255264314cd79aa14361d0df0905d7 (diff)
downloadopenttd-45c2c29c35afeb4116ff8fb3393ddc67ea1708da.tar.xz
Add: allow setting the highest mountain for heightmaps
It will add some slack to the map height limit if that was set to auto.
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 3766f9fa9..7d50d594b 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -299,6 +299,7 @@ struct GameCreationSettings {
byte snow_line_height; ///< the configured snow line height (deduced from "snow_coverage")
byte snow_coverage; ///< the amount of snow coverage on the map
byte desert_coverage; ///< the amount of desert coverage on the map
+ byte heightmap_height; ///< highest mountain for heightmap (towards what it scales)
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