1
0
Fork 0

Change: Move time-related settings to a new Environment->Time page

pull/11683/head
Tyler Trahan 2024-01-04 06:38:17 -05:00
parent 4a612cfce9
commit 7f115e5804
2 changed files with 7 additions and 3 deletions

View File

@ -2057,6 +2057,7 @@ STR_CONFIG_SETTING_LIMITATIONS :Limitations
STR_CONFIG_SETTING_ACCIDENTS :Disasters / Accidents
STR_CONFIG_SETTING_GENWORLD :World generation
STR_CONFIG_SETTING_ENVIRONMENT :Environment
STR_CONFIG_SETTING_ENVIRONMENT_TIME :Time
STR_CONFIG_SETTING_ENVIRONMENT_AUTHORITIES :Authorities
STR_CONFIG_SETTING_ENVIRONMENT_TOWNS :Towns
STR_CONFIG_SETTING_ENVIRONMENT_INDUSTRIES :Industries

View File

@ -1802,7 +1802,6 @@ static SettingsContainer &GetSettingsTree()
construction->Add(new SettingEntry("gui.auto_remove_signals"));
}
interface->Add(new SettingEntry("gui.fast_forward_speed_limit"));
interface->Add(new SettingEntry("gui.toolbar_pos"));
interface->Add(new SettingEntry("gui.statusbar_pos"));
interface->Add(new SettingEntry("gui.prefer_teamchat"));
@ -1948,12 +1947,16 @@ static SettingsContainer &GetSettingsTree()
genworld->Add(new SettingEntry("economy.initial_city_size"));
genworld->Add(new SettingEntry("economy.town_layout"));
genworld->Add(new SettingEntry("difficulty.industry_density"));
genworld->Add(new SettingEntry("gui.pause_on_newgame"));
genworld->Add(new SettingEntry("game_creation.ending_year"));
}
SettingsPage *environment = main->Add(new SettingsPage(STR_CONFIG_SETTING_ENVIRONMENT));
{
SettingsPage *time = environment->Add(new SettingsPage(STR_CONFIG_SETTING_ENVIRONMENT_TIME));
{
time->Add(new SettingEntry("game_creation.ending_year"));
time->Add(new SettingEntry("gui.pause_on_newgame"));
time->Add(new SettingEntry("gui.fast_forward_speed_limit"));
}
SettingsPage *authorities = environment->Add(new SettingsPage(STR_CONFIG_SETTING_ENVIRONMENT_AUTHORITIES));
{
authorities->Add(new SettingEntry("difficulty.town_council_tolerance"));