mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-03 13:35:26 +01:00
6dae154eb8
What TMoverParameters holds of a running vehicle, to and from an entry of a snapshot: speed, load, controls, switches and relays, pantographs, doors, engine and its cooling, the air of the pipes, of every reservoir of the brake valve (with the flow it has yet to take in) and of the chambers of the driver's valves, the vigilance device, the power circuits. In the core library, tested on the real vehicle definitions: a vehicle restored on a fresh one saves the same, and runs on next to the one it was saved from. The brake valves, the driver's valves and the vigilance device get accessors for their private state (reservoirs(), latches(), pressures(), state()), a reservoir one for the flow it has yet to take in; nothing else in the physics changes. This comes before the vehicles of the scenery (L2), whose speed and load are kept by it.