Skip to content

Commit

Permalink
Automatic merge of T1.5.1-378-g35b9498d6 and 16 pull requests
Browse files Browse the repository at this point in the history
- Pull request #570 at de7a14f: Experimental glTF 2.0 support with PBR lighting
- Pull request #732 at ff82bde: Improvements for air brakes
- Pull request #751 at 00981a2: Web interface to control cab controls with external hardware
- Pull request #799 at dc03850: Consolidated wind simulation
- Pull request #802 at 4d198e4: Added support for activity location events to the TrackViewer
- Pull request #803 at 7157e08: Various adjustments to steam adhesion
- Pull request #813 at ff454eb: Refactored garbage generators
- Pull request #815 at a5cc165: chore: Add GitHub automatic release notes configuration
- Pull request #818 at 745d101: Allow independent drive axles for locomotives
- Pull request #821 at e0fa5a8: Adds suppression of safety valves
- Pull request #822 at 82ef736: battery switch two buttons option in combination with a delay
- Pull request #823 at 5e1c03b: Select track sound volume percent retained in .eng and .wag files
- Pull request #824 at f16ebed: Update Readme.md
- Pull request #825 at 29ed427: 2D Cabview controls for side viewpoints https://blueprints.launchpad.net/or/+spec/2dcabview-controls-for-side-views
- Pull request #826 at 2ca8fd7: Bug fix for Crash when switching cab https://bugs.launchpad.net/or/+bug/2018230
- Pull request #828 at 048c7b2: Harmless part of "Improvements for braking systems"
  • Loading branch information
openrails-bot committed May 3, 2023
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/Orts.Simulation/Common/Scripting/BrakeController.cs
Expand Up @@ -75,6 +75,11 @@ internal void AttachToHost(ScriptedBrakeController host)
/// </summary>
public bool IsCabPowerSupplyOn() => LocomotivePowerSupply.CabPowerSupplyOn;

/// <summary>
/// Brake pipe pressure
/// </summary>
public float BrakePipePressureBar() => Bar.FromPSI(Host.Locomotive.BrakeSystem.BrakeLine1PressurePSI);

/// <summary>
/// Main reservoir pressure
/// </summary>
Expand Down Expand Up @@ -135,7 +140,6 @@ public float MainReservoirPressureBar()
/// Release rate of the equalizing reservoir
/// </summary>
public float MinReductionBar() => Bar.FromPSI(Host.MinReductionPSI);

/// <summary>
/// Current value of the brake controller
/// </summary>
Expand Down

0 comments on commit 2be378f

Please sign in to comment.