Skip to content

Commit 93bbec3

Browse files
committed
Update OR manual with ORTS_BATTERY and ORTS_POWERKEY controls info
1 parent dd2cdf5 commit 93bbec3

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Source/Documentation/Manual/cabs.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,15 +266,18 @@ Further OR cab controls
266266
-----------------------
267267

268268
OR supports the cabview control to open/close the left doors, the right doors
269-
and the mirrors.
269+
and the mirrors. Moreover it supports the controls for the battery state and for
270+
the key state; these two controls have no effect on the state of the locomotive.
270271

271272
.. index::
272273
single: ORTS_LEFTDOOR
273274
single: ORTS_RIGHTDOOR
274275
single: ORTS_MIRRORS
276+
single: ORTS_BATTERY
277+
single: ORTS_POWERKEY
275278

276279
The control blocks are like the one shown for the cab light. The Type strings
277-
are ORTS_LEFTDOOR, ORTS_RIGHTDOOR and ORTS_MIRRORS.
280+
are ORTS_LEFTDOOR, ORTS_RIGHTDOOR, ORTS_MIRRORS, ORTS_BATTERY and ORTS_POWERKEY.
278281

279282

280283
High-resolution Cab Backgrounds and Controls

Source/Documentation/Manual/sound.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,10 @@ Trigger Function
280280
174 HotBoxBearingOff
281281
175 BoilerBlowdownOn
282282
176 BoilerBlowdownOff
283+
177 BatteryOn
284+
178 BatteryOff
285+
179 PowerKeyOn
286+
180 PowerKeyOff
283287
========= =====================================
284288

285289

0 commit comments

Comments
 (0)