Move the battery option to the depot as a consist property

It was a global preference that rewrote the trainset speed at launch, while what
it really sets is whether this consist starts prepared or cold. Now a checkbox in
the consist-scope section, acting on the consist being edited.
This commit is contained in:
maj00r
2026-09-04 23:17:17 +02:00
parent 1939493b47
commit cef00c4e3c
13 changed files with 115 additions and 55 deletions

View File

@@ -2,8 +2,6 @@ using System;
namespace StarterNG.Domain.Settings;
public enum BatteryDefault { Default = 0, AlwaysOff = 1, AlwaysOn = 2 }
public enum ExeProblem { None, NotFound, NotExecutable, WrongPlatform }
public sealed class SimulatorSettings
@@ -107,7 +105,6 @@ public sealed class SimulatorSettings
public bool AutoCloseStarter;
public bool LargeThumbnails;
public bool AutoExpandSceneryTree;
public BatteryDefault BatteryDefault = BatteryDefault.Default;
public bool ShowAiVehicles = true;
public bool DrivableOnly = true;