From cafe4eed6e482149eefe75393ad3a13e0f6e7ffe Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Wed, 24 Mar 2021 14:48:12 +0100 Subject: Feature: setting to indicate snow coverage for arctic climate (replaces snow line height) Setting the snow coverage (in % of the map) makes a lot more sense to the human, while still allowing the niche player to set (by finding the correct %) a snow line height they like. This makes for easier defaults, as it decoupled terrain height from amount of snow. Maps can never be 100% snow, as we do not have sprites for coastal tiles. Internally, this calculates the best snow line height to approach this coverage as close as possible. --- src/settings_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/settings_gui.cpp') diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index d81c4d071..884f7cb98 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -1689,6 +1689,7 @@ static SettingsContainer &GetSettingsTree() genworld->Add(new SettingEntry("difficulty.terrain_type")); genworld->Add(new SettingEntry("game_creation.tgen_smoothness")); genworld->Add(new SettingEntry("game_creation.variety")); + genworld->Add(new SettingEntry("game_creation.snow_coverage")); genworld->Add(new SettingEntry("game_creation.snow_line_height")); genworld->Add(new SettingEntry("game_creation.amount_of_rivers")); genworld->Add(new SettingEntry("game_creation.tree_placer")); -- cgit v1.2.3-54-g00ecf