Skip to content

Commit f2195db

Browse files
committed
Automatic merge of T1.6-rc7-38-ge57a7a113 and 15 pull requests
- Pull request #1086 at e10390b: Add Settings Exporter tool (copy settings to INI, etc) - Pull request #1091 at 2e06f85: Automatic speed control - Pull request #1104 at 87cdd9f: Handle simple adhesion within the axle module - Pull request #1115 at 270f22f: Do not activate ETS switch if no suitable cars are attached - Pull request #1120 at ba3c47f: Automatically Calculate Friction Values if Missing - Pull request #1121 at 91d2d26: Manually Override Articulation - Pull request #1130 at 8ae6bb7: Fix F9 points to an incorrect car ID. - Pull request #1139 at 03c6f8f: Fix for bug https://bugs.launchpad.net/or/+bug/2117357. - Pull request #1143 at 71e57d2: Status in Work Orders popup set too fast - Pull request #1151 at 5e59187: fix: Do not allow non-ACE/DDS textures in content - Pull request #1152 at 66dfd09: fix: Clean up multiple issues with data logger - Pull request #1082 at 5845a1a: Allow variable water level in glass gauge - Pull request #1081 at 689494b: Brake cuts power unification - Pull request #1124 at fab5457: Built-in PBL2 brake controller - Pull request #1128 at 58de4c3: Particle Emitter Overhaul
17 parents e9a3036 + e57a7a1 + e10390b + 2e06f85 + 87cdd9f + 270f22f + ba3c47f + 91d2d26 + 8ae6bb7 + 03c6f8f + 71e57d2 + 5e59187 + 66dfd09 + 5845a1a + 689494b + fab5457 + 58de4c3 commit f2195db

File tree

5 files changed

+260
-427
lines changed

5 files changed

+260
-427
lines changed

Source/Menu/Options.Designer.cs

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Source/Menu/Options.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ public OptionsForm(UserSettings settings, UpdateManager updateManager, Telemetry
210210
checkDataLogger.Checked = Settings.DataLogger;
211211
checkDataLogPerformance.Checked = Settings.DataLogPerformance;
212212
checkDataLogPhysics.Checked = Settings.DataLogPhysics;
213-
checkDataLogMisc.Checked = Settings.DataLogMisc;
214-
checkDataLogSteamPerformance.Checked = Settings.DataLogSteamPerformance;
213+
checkDataLogSteamPerformance.Checked = Settings.DataLogExclusiveSteamPerformance;
214+
checkDataLogSteamPowerCurve.Checked = Settings.DataLogExclusiveSteamPowerCurve;
215215
checkVerboseConfigurationMessages.Checked = Settings.VerboseConfigurationMessages;
216216

217217
// Evaluation tab
@@ -474,8 +474,8 @@ void buttonOK_Click(object sender, EventArgs e)
474474
Settings.DataLogger = checkDataLogger.Checked;
475475
Settings.DataLogPerformance = checkDataLogPerformance.Checked;
476476
Settings.DataLogPhysics = checkDataLogPhysics.Checked;
477-
Settings.DataLogMisc = checkDataLogMisc.Checked;
478-
Settings.DataLogSteamPerformance = checkDataLogSteamPerformance.Checked;
477+
Settings.DataLogExclusiveSteamPerformance = checkDataLogSteamPerformance.Checked;
478+
Settings.DataLogExclusiveSteamPowerCurve = checkDataLogSteamPowerCurve.Checked;
479479
Settings.VerboseConfigurationMessages = checkVerboseConfigurationMessages.Checked;
480480

481481
// Evaluation tab

Source/Orts.Settings/UserSettings.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public enum DirectXFeature
144144
public bool DisableTCSScripts { get; set; }
145145
[Default(false)]
146146
public bool AutoSaveActive { get; set; }
147-
[Default (15)]
147+
[Default(15)]
148148
public int AutoSaveInterval { get; set; }
149149

150150
// Audio settings:
@@ -215,9 +215,9 @@ public enum DirectXFeature
215215
[Default(false)]
216216
public bool DataLogPhysics { get; set; }
217217
[Default(false)]
218-
public bool DataLogMisc { get; set; }
218+
public bool DataLogExclusiveSteamPerformance { get; set; }
219219
[Default(false)]
220-
public bool DataLogSteamPerformance { get; set; }
220+
public bool DataLogExclusiveSteamPowerCurve { get; set; }
221221
[Default(false)]
222222
public bool VerboseConfigurationMessages { get; set; }
223223

Source/Orts.Simulation/Simulation/RollingStocks/MSTSSteamLocomotive.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2420,7 +2420,7 @@ public override void Initialize()
24202420

24212421
ApplyBoilerPressure();
24222422

2423-
if (Simulator.Settings.DataLogSteamPerformance)
2423+
if (Simulator.Settings.DataLogExclusiveSteamPerformance)
24242424
{
24252425
Trace.TraceInformation("============================================= Steam Locomotive Performance - Locomotive Details =========================================================");
24262426
Trace.TraceInformation("Version - {0}", VersionInfo.VersionOrBuild);
@@ -6514,7 +6514,7 @@ private void UpdateSteamTractiveForce(float elapsedClockSeconds, float locomotiv
65146514
}
65156515

65166516
// Calculate the elapse time for the steam performance monitoring
6517-
if (Simulator.Settings.DataLogSteamPerformance)
6517+
if (Simulator.Settings.DataLogExclusiveSteamPerformance)
65186518
{
65196519
if (SpeedMpS > 0.05)
65206520
{

0 commit comments

Comments
 (0)