Skip to content

Commit f32458a

Browse files
committed
Automatic merge of T1.6-rc3-30-gdf7bf1a26 and 8 pull requests
- Pull request #1104 at c039a26: Handle simple adhesion within the axle module - Pull request #1057 at 1c2bcb4: Switchable brake system - Pull request #1086 at e10390b: Add Settings Exporter tool (copy settings to INI, etc) - Pull request #1091 at 2391bc0: Automatic speed control - Pull request #1110 at 387388e: Fix Activity Runner persists after loading exception - Pull request #1115 at 270f22f: Do not activate ETS switch if no suitable cars are attached - Pull request #1082 at 5845a1a: Allow variable water level in glass gauge - Pull request #1081 at 689494b: Brake cuts power unification
10 parents bcebfb6 + df7bf1a + c039a26 + 1c2bcb4 + e10390b + 2391bc0 + 387388e + 270f22f + 5845a1a + 689494b commit f32458a

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

Source/Documentation/Manual/cabs.rst

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -289,21 +289,33 @@ Example::
289289
single: ORTS_PLAYER_DIESEL_ENGINE_STATE
290290

291291
ORTS_PLAYER_DIESEL_ENGINE_STATE: this control respectively selects frames 0,
292-
1, 2, 3 for the player locomotive engine states Stopped, Starting, Running and
293-
Stopping. It is a display-only control.
292+
1, 2, 3 for the player locomotive engine states Stopped, Stopping, Starting and Running. It is a display-only control.
294293

295294
Example::
296295

297-
MultiState (
298-
Type ( ORTS_PLAYER_DIESEL_ENGINE_STATE TRI_STATE)
299-
Position ( 270 446 39 40 )
300-
Graphic ( cd_363_zberace.ace )
301-
NumFrames ( 4 4 1 )
302-
Style ( NONE )
303-
MouseControl ( 1 )
304-
Orientation ( 0 )
305-
DirIncrease ( 1 )
306-
)
296+
MultiStateDisplay (
297+
Type ( ORTS_PLAYER_DIESEL_ENGINE_STATE MULTI_STATE_DISPLAY )
298+
Position ( 140 306 6.5 6.2 )
299+
Graphic ( "engine_state.ace" )
300+
States ( 4 4 1
301+
State (
302+
Style ( 0 )
303+
SwitchVal ( 0 )
304+
)
305+
State (
306+
Style ( 0 )
307+
SwitchVal ( 1 )
308+
)
309+
State (
310+
Style ( 0 )
311+
SwitchVal ( 2 )
312+
)
313+
State (
314+
Style ( 0 )
315+
SwitchVal ( 3 )
316+
)
317+
)
318+
)
307319

308320

309321
.. index::

0 commit comments

Comments
 (0)