Skip to content

Commit

Permalink
Automatic merge of T1.5.1-870-ge0bf062eb and 18 pull requests
Browse files Browse the repository at this point in the history
- Pull request #570 at 3539862: Experimental glTF 2.0 support with PBR lighting
- Pull request #839 at d00beb9: First phase of https://blueprints.launchpad.net/or/+spec/additional-cruise-control-parameters
- Pull request #876 at f92de76: docs: add source for documents previously on website to source Documentation folder
- Pull request #882 at 9c456aa: Blueprint/train car operations UI window
- Pull request #885 at 8f94333: feat: Add notifications to Menu
- Pull request #886 at 6c0785b: Scene viewer extension to TrackViewer
- Pull request #892 at 1f5ba4c: Signal Function OPP_SIG_ID_TRAINPATH
- Pull request #896 at 5866028: First implementation of https://blueprints.launchpad.net/or/+spec/specific-sounds-for-ai-trains
- Pull request #897 at 42f1dd9: feat: Improved system information collection
- Pull request #903 at e6baa97: Downloading route content (Github, zip)
- Pull request #907 at 9b0b04f: Bug fix for https://bugs.launchpad.net/or/+bug/2047300 Dynamic tracks disappear after long tunnel
- Pull request #911 at 6834af0: docs: Add refactoring as a special type of PR
- Pull request #912 at 659396e: New Triple Valve Features Vol. 2
- Pull request #914 at 8e50570: Adjustments to Duplex steam
- Pull request #915 at 6d911d7: Correct calculation error with curve friction
- Pull request #916 at 11ac52c: Distributed Power Air Brake Synchronization
- Pull request #917 at fde18cf: Lighting Configuration Enhancements
- Pull request #918 at f7ba507: Manual - News topics updated since 1.5.1
  • Loading branch information
openrails-bot committed Feb 15, 2024
Showing 1 changed file with 4 additions and 6 deletions.
Expand Up @@ -2606,11 +2606,6 @@ private void UpdateFX(float elapsedClockSeconds)
// The duration time is reduced with speed to reduce the steam trail behind the locomotive when running at speed.
// Any of the steam effects can be disabled by not defining them in the ENG file, and thus they will not be displayed in the viewer.


float[] ExhaustnormalisedCrankAngleRad = new float[3];
float[] ExhaustexhaustCrankAngleRad = new float[3];


// Cylinder steam cock effects
if (CylinderAdvancedSteamEffects) // For advanced steam effects process each cylinder individually -
// - all ENG files will need to be changed.
Expand All @@ -2626,7 +2621,10 @@ private void UpdateFX(float elapsedClockSeconds)
TotalNumberCyindersEng1 = SteamEngines[0].NumberCylinders;
}

// Engine #1
float[] ExhaustnormalisedCrankAngleRad = new float[TotalNumberCyindersEng1];
float[] ExhaustexhaustCrankAngleRad = new float[TotalNumberCyindersEng1];

// Engine #1
for (int i = 0; i < TotalNumberCyindersEng1; i++)
{
var crankAngleDiffRad = WheelCrankAngleDiffRad[i];
Expand Down

0 comments on commit 4f927c4

Please sign in to comment.