Notable changes for the legacy branch demo. Dates use YYYY-MM-DD.
UnreleasedIn progress
Added
Loco Controls window (draggable) with detented sliders for reverser, throttle, dynamic brake, independent brake, service brake, plus an emergency toggle.
Inspector window (draggable) with tabs: Info / Options / Ops.
C hotkey to toggle the Loco Controls window (only when a locomotive is selected). Defaults to bottom-left when opened.
Traction cut-out toggle (separate from brake valve cut-out).
ui:selectedVehicleChanged event to support UI auto-open behavior when selection changes.
Changed
MU/DPU control distribution:
MU follows only when directly coupled to the lead.
DPU follows when fence matches the lead TX fence.
Follower units default to brake-valve cut-out without overriding explicit user changes.
Coupling distance threshold relaxed to make manual coupling more forgiving.
Left HUD layout now re-lays out each frame to avoid overlapping the menu area.
Fixed
Restored air simulation updates by calling stepAirPropagation() each tick (required for BP/BC behavior and gauges).
BP/BC analog gauge now updates correctly (air state was not advancing).
Inspector tab content now renders reliably after moving the window (mask is world-space and follows the window).
Inspector content masking no longer shows as a visible “white panel”.
Controls window sliders no longer jump min↔max (pointer coordinates now respect window position).
Low-speed HUD speed readout now uses a small deadband to prevent flicker around ~0 km/h.
Overlay toggle reliability improved by capturing key input for 1..9 plus I/H.