1
0
Fork 0

Change: Move order-related settings to a new Vehicles->Orders page

pull/11683/head
Tyler Trahan 2024-01-04 06:35:11 -05:00
parent 4fcd94a1cb
commit abac0c5186
2 changed files with 7 additions and 3 deletions

View File

@ -2052,6 +2052,7 @@ STR_CONFIG_SETTING_ACCOUNTING :Accounting
STR_CONFIG_SETTING_VEHICLES :Vehicles
STR_CONFIG_SETTING_VEHICLES_PHYSICS :Physics
STR_CONFIG_SETTING_VEHICLES_ROUTING :Routing
STR_CONFIG_SETTING_VEHICLES_ORDERS :Orders
STR_CONFIG_SETTING_LIMITATIONS :Limitations
STR_CONFIG_SETTING_ACCIDENTS :Disasters / Accidents
STR_CONFIG_SETTING_GENWORLD :World generation

View File

@ -1794,7 +1794,6 @@ static SettingsContainer &GetSettingsTree()
{
construction->Add(new SettingEntry("gui.link_terraform_toolbar"));
construction->Add(new SettingEntry("gui.persistent_buildingtools"));
construction->Add(new SettingEntry("gui.quick_goto"));
construction->Add(new SettingEntry("gui.default_rail_type"));
}
@ -1841,8 +1840,6 @@ static SettingsContainer &GetSettingsTree()
company->Add(new SettingEntry("gui.signal_gui_mode"));
company->Add(new SettingEntry("gui.drag_signals_fixed_distance"));
company->Add(new SettingEntry("gui.auto_remove_signals"));
company->Add(new SettingEntry("gui.new_nonstop"));
company->Add(new SettingEntry("gui.stop_location"));
company->Add(new SettingEntry("gui.starting_colour"));
company->Add(new SettingEntry("gui.starting_colour_secondary"));
company->Add(new SettingEntry("company.engine_renew"));
@ -1892,6 +1889,12 @@ static SettingsContainer &GetSettingsTree()
routing->Add(new SettingEntry("pf.pathfinder_for_ships"));
}
SettingsPage *orders = vehicles->Add(new SettingsPage(STR_CONFIG_SETTING_VEHICLES_ORDERS));
{
orders->Add(new SettingEntry("gui.new_nonstop"));
orders->Add(new SettingEntry("gui.quick_goto"));
orders->Add(new SettingEntry("gui.stop_location"));
}
vehicles->Add(new SettingEntry("order.no_servicing_if_no_breakdowns"));
vehicles->Add(new SettingEntry("order.serviceathelipad"));
}