mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-04 07:04:42 +01:00
f6ee6f2ce6
Every vehicle is kept with the place of both its axles (track, distance, direction, path of a switch, events still to set off), the way it faces, its couplings with their flags, destination and, through its physics, speed and load. Loaded, the vehicles are put straight where they were (TTrackFollower::Place(), which trails no switch and fires no event), then parted and joined until they are coupled as saved, whatever trainsets the scenery made of them. A vehicle of the snapshot the scenery does not have is skipped and reported, one the snapshot does not know stays as the scenery made it, one which had left the simulation is taken out again.