18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-04 07:04:42 +01:00
Files
maszyna/simulation
jerrrrycho f6ee6f2ce6 feat(simulation): snapshot of vehicles and consists (L2)
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.
2026-11-19 06:49:16 +01:00
..