OpenBVE v1.11.1.7
This build primarily contains small fixes, but should be noted as containing one potentially breaking change to the RouteLimit animated instruction, in the edge-case where no limit is set.
Significant Changes:
- New: Add SectionLimit animated instruction, which returns the current signal speed limit, or -1 if unlimited.
- Fix: Add guard to prevent crash if BC pressure reaches zero.
- Fix: On-screen messages for permissive section not shown.
- Fix: A state with a missing object file would not be correctly hidden. (Introduced in 1.11.1.4)
- Fix: Loading an animated object with sounds could potentially fail in some cases.
- Fix: Incorrect node passed when loading acceleration curves from XML.
- Change: Considerable internal work to abstract the motor / trailer properties.
- Change: Update version of ReactiveProperty library used by TE2.
- Change: A wide version of the handle overlay texture is used when appropriate.
- Change: Update pt-PT language file (Alexandre Carvalho)
- Potentially Breaking Change: If no speed limit is currently set, the RouteLimit animated instruction now returns -1. Previously, it returned double.MaxValue, which caused a crash when combined with other mathematical operations.
- Change: Remove an unnecessary re-init of the renderer when reloading in viewers.
- Change: Add better handling for edge-case where both Volume / Pitch and VolumeFunction / PitchFunction are used in an animated sound.
- Change: Merge some sound related changes into Route Viewer.