Skip to content

Commit e80ec99

Browse files
committed
Merge branch 'master' into feature/simulator-test
2 parents 68c9cbd + 49b9543 commit e80ec99

File tree

35 files changed

+1610
-217
lines changed

35 files changed

+1610
-217
lines changed

Source/Documentation/Manual/cabs.rst

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,156 @@ Here an example of use of one of the controls::
507507
ORTSScreenPage ( "2300-0" )
508508
)
509509

510+
.. _cabs-eot:
511+
512+
EOT (End of Train device)
513+
-------------------------
514+
515+
See :ref:`here <physics-eot>` for full description of EOT features.
516+
517+
Following EOT controls are available for EOT management:
518+
519+
- ORTS_EOT_BRAKE_PIPE : displays the value of the brake pipe pressure at last wagon.
520+
The display is always enabled (even if the EOT is disarmed), because this display
521+
could be available also in other ways; however it is possible to mask the display
522+
using a texture driven by the EOT state.
523+
- ORTS_EOT_STATE_DISPLAY : may have values from 0 to 5, corresponding to the states listed :ref:`here <physics-eot-states>`
524+
- ORTS_EOT_ID : the EOT ID is generated as a 5-digit random number and can be displayed
525+
in the cab using this control; entering the ID by the train driver is not supported,
526+
as the .cvf files don't support as of now digital data entry
527+
- ORTS_EOT_COMM_TEST : driver command that starts the communication test between locomotive and EOT
528+
- ORTS_EOT_ARM_TWO_WAY : driver command passes the EOT from ArmNow to ArmedTwoWay
529+
- ORTS_EOT_DISARM : passes the EOT to disarmed state
530+
- ORTS_EOT_EMERGENCY_BRAKE (on-off): lets the EOT venting the brake pipe from the last train car.
531+
532+
These controls are available only using the mouse; only The last one can also be operated by the
533+
``<Ctrl+Backspace>`` key combination.
534+
535+
An example of implementation of the above controls can be seen
536+
:ref:`in this picture <physics-eot-display>`
537+
538+
The ``ORTS_EOT_EMERGENCY_BRAKE`` control can be implemented in the cab by an ON-OFF switch.
539+
540+
An example of implementation of the above controls in a .cvf file follows::
541+
542+
TwoState (
543+
Type ( ORTS_EOT_COMM_TEST TWO_STATE )
544+
Position ( 474 385 16.25 10 )
545+
Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey5trans.ace" )
546+
NumFrames ( 2 2 1 )
547+
Style ( WHILE_PRESSED )
548+
MouseControl ( 1 )
549+
ORTSDisplay ( 0 )
550+
ORTSScreenPage ( "2100-0" )
551+
)
552+
TwoState (
553+
Type ( ORTS_EOT_DISARM TWO_STATE )
554+
Position ( 493 385 16.25 10 )
555+
Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey5trans.ace" )
556+
NumFrames ( 2 2 1 )
557+
Style ( WHILE_PRESSED )
558+
MouseControl ( 1 )
559+
ORTSDisplay ( 0 )
560+
ORTSScreenPage ( "2100-0" )
561+
)
562+
TwoState (
563+
Type ( ORTS_EOT_ARM_TWO_WAY TWO_STATE )
564+
Position ( 511.7 385.7 16.25 10 )
565+
Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey7trans.ace" )
566+
NumFrames ( 2 2 1 )
567+
Style ( WHILE_PRESSED )
568+
MouseControl ( 1 )
569+
ORTSDisplay ( 0 )
570+
ORTSScreenPage ( "2100-0" )
571+
)
572+
MultiStateDisplay (
573+
Type ( ORTS_EOT_STATE_DISPLAY MULTI_STATE_DISPLAY )
574+
Position ( 516 314.5 17 5.15 )
575+
Graphic ( "..\\..\\Common.Cab\\ES44v3\\CommTest.ace" )
576+
States ( 2 2 1
577+
State (
578+
Style ( 0 )
579+
SwitchVal ( 0 )
580+
)
581+
State (
582+
Style ( 0 )
583+
SwitchVal ( 2 )
584+
)
585+
)
586+
ORTSDisplay ( 0 )
587+
ORTSScreenPage ( "2100-0" )
588+
)
589+
Digital (
590+
Type ( ORTS_EOT_ID DIGITAL )
591+
Position ( 421 313 22 8 )
592+
ScaleRange ( 0 999999 )
593+
Accuracy ( 0 )
594+
AccuracySwitch ( 0 )
595+
LeadingZeros ( 0 )
596+
Justification ( 1 )
597+
PositiveColour ( 1
598+
ControlColour ( 255 255 255 )
599+
)
600+
NegativeColour ( 1
601+
ControlColour ( 255 255 0 )
602+
)
603+
DecreaseColour ( 0
604+
ControlColour ( 0 0 0 )
605+
)
606+
Units ( KILO_LBS )
607+
ORTSFont ( 6 0 "Arial" )
608+
ORTSDisplay ( 0 )
609+
ORTSScreenPage ( "2100-0" )
610+
)
611+
MultiStateDisplay (
612+
Type ( ORTS_EOT_STATE_DISPLAY MULTI_STATE_DISPLAY )
613+
Position ( 513.5 328 22.66 5.15 )
614+
Graphic ( "..\\..\\Common.Cab\\ES44v3\\EOTStatus2.ace" )
615+
States ( 4 4 1
616+
State (
617+
Style ( 0 )
618+
SwitchVal ( 0 )
619+
)
620+
State (
621+
Style ( 0 )
622+
SwitchVal ( 2 )
623+
)
624+
State (
625+
Style ( 0 )
626+
SwitchVal ( 4 )
627+
)
628+
State (
629+
Style ( 0 )
630+
SwitchVal ( 5 )
631+
)
632+
)
633+
ORTSDisplay ( 0 )
634+
ORTSScreenPage ( "2100-0" )
635+
)
636+
MultiStateDisplay (
637+
Type ( ORTS_EOT_STATE_DISPLAY MULTI_STATE_DISPLAY )
638+
Position ( 431.4 292.1 9 5 )
639+
Graphic ( "..\\..\\Common.Cab\\ES44v3\\MaskEOT.ace" )
640+
States ( 2 2 1
641+
State (
642+
Style ( 0 )
643+
SwitchVal ( 0 )
644+
)
645+
State (
646+
Style ( 0 )
647+
SwitchVal ( 2 )
648+
)
649+
)
650+
)
651+
TwoState (
652+
Type ( ORTS_EOT_EMERGENCY_BRAKE TWO_STATE )
653+
Position ( 53.5 344.2 21.4 42.8 )
654+
Graphic ( ..\\..\\Common.Cab\\ES44v3\\EOTEmergency.ace )
655+
NumFrames ( 2 2 1 )
656+
Style ( ONOFF )
657+
MouseControl ( 1 )
658+
)
659+
510660

511661
Animated 2D Wipers
512662
------------------

Source/Documentation/Manual/driving.rst

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,20 @@ Game Loading
99

1010
Once you have pressed ``Start``, Open Rails loads and processes all the
1111
data needed to run the game. During this phase, the route's splash screen
12-
is shown. If the same session was loaded previously, a bar showing loading
13-
progress is shown at the bottom of the display. During loading, if logging
12+
is shown with an indicator bar at the bottom.
13+
14+
.. image:: images/loading_bars.png
15+
16+
The first time a session is loaded, an animated bar just shows activity.
17+
Subsequent loads of that session show the bar growing across the screen to indicate
18+
progress.
19+
20+
If a timetable has been selected, then the game also simulates the progress of the timetable
21+
from the first train in the timetable up to start time of the player's train.
22+
This is done at high speed, but may still take some time. A second bar appears
23+
above the first one to show the progress of this stage.
24+
25+
During loading, if logging
1426
is selected, the log file ``OpenRailsLog.txt`` will already begin storing
1527
data.
1628

Loading
Loading
Loading

Source/Documentation/Manual/options.rst

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,11 @@ Video Options
200200
Dynamic shadows
201201
---------------
202202

203-
Check this option to cast shadows from movable objects such as trains.
203+
This option causes movable objects such as trains to cast shadows.
204+
Unchecking the option will increase the frame rate.
204205

205-
The default setting is unchecked.
206+
The default setting is checked.
206207

207-
Note: This may reduce the frame rate.
208208

209209
Shadow for all shapes
210210
---------------------
@@ -218,12 +218,14 @@ Note: This may reduce the frame rate.
218218
Note: Static objects provided with shadows (in the World files)
219219
will cast shadows anyway. This option adds shadows for other static objects.
220220

221+
221222
Glass on in-game windows
222223
------------------------
223224

224225
When this option is checked, the in-game windows are displayed in a
225226
semitransparent mode.
226227

228+
227229
Model instancing
228230
----------------
229231

@@ -234,11 +236,13 @@ hardware, but this may reduce the frame rate.
234236

235237
The default setting is checked.
236238

239+
237240
Overhead wire
238241
-------------
239242

240243
This option will enable or disable display of the overhead wire.
241244

245+
242246
.. _options-double-overhead-wires:
243247

244248
Double overhead wires
@@ -247,21 +251,26 @@ Double overhead wires
247251
MSTS uses a single wire for electrified routes; you may check this box so
248252
that OR will show the two overhead wires that are more common.
249253

254+
250255
.. _options-vsync:
251256

252257
Vertical sync
253258
-------------
254259

255260
Vertical Sync (VSync) attempts to lock Open Rails’ output frame rate
256261
to your monitor's refresh rate for the smoothest image and to resist
257-
image "tearing”.
262+
image "tearing".
263+
258264
VSync may help keep the frame rate more stable on complex routes,
259265
reducing sudden frame rate drops and apparent control lag in some cases.
260266
If Open Rails' frame rate drops below your monitor's frame rate, you
261-
may see stuttering or image "tearing". To prevent this, either turn off
267+
may see stuttering or image "tearing". To prevent this, either uncheck
262268
the VSync option or reduce the values for video options such as view
263269
distance, anti-aliasing, or world object density.
264270

271+
The default setting is checked.
272+
273+
265274
Viewing distance
266275
----------------
267276

0 commit comments

Comments
 (0)