1
0
Fork 0

Change: Move tree-related settings to a new Environment->Trees page

pull/11683/head
Tyler Trahan 2024-01-04 06:39:18 -05:00
parent 7f115e5804
commit e205ca8b70
2 changed files with 6 additions and 2 deletions

View File

@ -2062,6 +2062,7 @@ STR_CONFIG_SETTING_ENVIRONMENT_AUTHORITIES :Authorities
STR_CONFIG_SETTING_ENVIRONMENT_TOWNS :Towns
STR_CONFIG_SETTING_ENVIRONMENT_INDUSTRIES :Industries
STR_CONFIG_SETTING_ENVIRONMENT_CARGODIST :Cargo distribution
STR_CONFIG_SETTING_ENVIRONMENT_TREES :Trees
STR_CONFIG_SETTING_AI :Competitors
STR_CONFIG_SETTING_AI_NPC :Computer players
STR_CONFIG_SETTING_NETWORK :Network

View File

@ -1941,7 +1941,6 @@ static SettingsContainer &GetSettingsTree()
genworld->Add(new SettingEntry("game_creation.snow_line_height"));
genworld->Add(new SettingEntry("game_creation.desert_coverage"));
genworld->Add(new SettingEntry("game_creation.amount_of_rivers"));
genworld->Add(new SettingEntry("game_creation.tree_placer"));
genworld->Add(new SettingEntry("vehicle.road_side"));
genworld->Add(new SettingEntry("economy.larger_towns"));
genworld->Add(new SettingEntry("economy.initial_city_size"));
@ -2000,8 +1999,12 @@ static SettingsContainer &GetSettingsTree()
cdist->Add(new SettingEntry("linkgraph.short_path_saturation"));
}
SettingsPage *trees = environment->Add(new SettingsPage(STR_CONFIG_SETTING_ENVIRONMENT_TREES));
{
trees->Add(new SettingEntry("game_creation.tree_placer"));
trees->Add(new SettingEntry("construction.extra_tree_placement"));
}
environment->Add(new SettingEntry("station.modified_catchment"));
environment->Add(new SettingEntry("construction.extra_tree_placement"));
}
SettingsPage *ai = main->Add(new SettingsPage(STR_CONFIG_SETTING_AI));