18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-27 22:55:16 +01:00
Files
maszyna/simulation
jerrrrycho c65ba4f39a fix(blackbox): a signal passed is told by its memory cell, not by the cell's position (#493)
The record of a signal passed (0x32) took the number of the first signal
of the map whose memory cell stands within a centimetre of the cell the
train read. Two signals with their cells at one point (back to back, or a
signal and a shunting signal on one post) both got the number of whichever
came first on the map, so a pass of one could be written as a pass of the
other. The number is now that of the signal with the very cell the event
reads; basic_event::input_cell() gives it, for a getvalues event.

The format doesn't change. A pass of a signal which isn't on the map is
still written with 0xFFFFFFFF.
2026-11-25 05:24:45 +01:00
..