mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-04 23:45:17 +01:00
07c8242980
The only state the flank contacts keep between steps is the map of the contacts going on (flank_zones::contacts): the pair, how far the wheels of each have climbed the rail over the EN 14363 window, and the most overlap, force and Y/Q for the "apart again" line. Without it a loaded snapshot told a contact in progress as a new hit and started the climb over from zero. The vehicle entry of the first vehicle of a pair (in table order) gets "flankcontacts <n>", "flankcontact<i> <other vehicle>" and "flankcontact<i>state climb1,climb2,depth,force,ratio1,ratio2". A vehicle in no contact has no keys, as in the snapshots taken before, which load with no contacts. A state which isn't six finite numbers >= 0, a missing vehicle or a bad count is refused into the loader's list. The fouling zones and the pairs of a step are rebuilt from the scenery and the positions, so they aren't saved. The keys are new optional ones, which older readers skip: the format version stays 1.