summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-03-24 16:38:36 +0100
committerPatric Stout <github@truebrain.nl>2021-03-26 12:22:32 +0100
commit70bc55cfd6e14f710427012b03aa211a0d85ca0f (patch)
treeb61c6c7e26f799afe542000d77f7cd3811d252d4 /src/widgets
parentcafe4eed6e482149eefe75393ad3a13e0f6e7ffe (diff)
downloadopenttd-70bc55cfd6e14f710427012b03aa211a0d85ca0f.tar.xz
Feature: setting to indicate desert coverage for tropic climate
This is an indication value; the game tries to get as close as it can, but due to the complex tropic rules, that is unlikely to be exact. In the end, it picks a height-level to base the desert/tropic line on. This is strictly seen not needed, as we can convert any tile to either. But it is the simplest way to get started with this without redoing all related functions.
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/genworld_widget.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/widgets/genworld_widget.h b/src/widgets/genworld_widget.h
index 28e2a17a5..dfc7b1a78 100644
--- a/src/widgets/genworld_widget.h
+++ b/src/widgets/genworld_widget.h
@@ -38,6 +38,10 @@ enum GenerateLandscapeWidgets {
WID_GL_SNOW_COVERAGE_TEXT, ///< Snow coverage.
WID_GL_SNOW_COVERAGE_UP, ///< Increase snow coverage.
+ WID_GL_DESERT_COVERAGE_DOWN, ///< Decrease desert coverage.
+ WID_GL_DESERT_COVERAGE_TEXT, ///< Desert coverage.
+ WID_GL_DESERT_COVERAGE_UP, ///< Increase desert coverage.
+
WID_GL_LANDSCAPE_PULLDOWN, ///< Dropdown 'Land generator'.
WID_GL_HEIGHTMAP_NAME_TEXT, ///< Heightmap name.
@@ -55,6 +59,9 @@ enum GenerateLandscapeWidgets {
WID_GL_WATER_NE, ///< NE 'Water'/'Freeform'.
WID_GL_WATER_SE, ///< SE 'Water'/'Freeform'.
WID_GL_WATER_SW, ///< SW 'Water'/'Freeform'.
+
+ WID_GL_CLIMATE_SEL_LABEL, ///< NWID_SELECTION for snow or desert coverage label
+ WID_GL_CLIMATE_SEL_SELECTOR, ///< NWID_SELECTION for snow or desert coverage selector
};
/** Widgets of the #CreateScenarioWindow class. */