Skip to content

Commit a16da1f

Browse files
authored
Merge pull request #713 from Csantucci/CruiseControl-official
https://blueprints.launchpad.net/or/+spec/cruise-control
2 parents 71c1114 + 6ca89da commit a16da1f

File tree

24 files changed

+3808
-52
lines changed

24 files changed

+3808
-52
lines changed

Source/Documentation/Manual/cruisecontrol.rst

Lines changed: 479 additions & 0 deletions
Large diffs are not rendered by default.
Loading
Loading
Loading

Source/Documentation/Manual/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Open Rails Manual
1919
driving
2020
physics
2121
features-rollingstock
22+
cruisecontrol
2223
operation
2324
timetable
2425
multiplayer
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Source/ORTS.Common/Input/UserCommand.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,20 @@ public enum UserCommand
217217
[GetString("Control AI Fire Off")] ControlAIFireOff,
218218
[GetString("Control AI Fire Reset")] ControlAIFireReset,
219219

220+
// Cruise Control
221+
[GetString("Control Speed Regulator Mode Increase")] ControlSpeedRegulatorModeIncrease,
222+
[GetString("Control Speed Regulator Mode Descrease")] ControlSpeedRegulatorModeDecrease,
223+
[GetString("Control Selected Speed Increase")] ControlSpeedRegulatorSelectedSpeedIncrease,
224+
[GetString("Control Selected Speed Decrease")] ControlSpeedRegulatorSelectedSpeedDecrease,
225+
[GetString("Control Speed Regulator Max Acceleration Increase")] ControlSpeedRegulatorMaxAccelerationIncrease,
226+
[GetString("Control Speed Regulator Max Acceleration Decrease")] ControlSpeedRegulatorMaxAccelerationDecrease,
227+
[GetString("Control Number Of Axles Increase")] ControlNumberOfAxlesIncrease,
228+
[GetString("Control Number Of Axles Decrease")] ControlNumberOfAxlesDecrease,
229+
[GetString("Control Restricted Speed Zone Active")] ControlRestrictedSpeedZoneActive,
230+
[GetString("Control Cruise Control Mode Increase")] ControlCruiseControlModeIncrease,
231+
[GetString("Control Cruise Control Mode Decrease")] ControlCruiseControlModeDecrease,
232+
[GetString("Control Train Type Change (Passenger/Cargo)")] ControlTrainTypePaxCargo,
233+
[GetString("Control Selected Speed To Zero")] ControlSpeedRegulatorSelectedSpeedToZero,
220234
//Distributed power
221235
[GetString("Control DP Move To Front")] ControlDPMoveToFront,
222236
[GetString("Control DP Move To Back")] ControlDPMoveToBack,

0 commit comments

Comments
 (0)