17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-29 02:17:28 +01:00

feat(editor): a block signal template knows its aspects, 4 where its events give S3, the green light flashing with the next signal at S5, else 3; one step of the signalling takes includes away too, the signals among them with their read events, Ctrl+Z bringing them back with the rest of it

This commit is contained in:
maj00r
2026-10-22 19:26:25 +02:00
parent fc0b9b46e8
commit b92d1283ac
5 changed files with 50 additions and 2 deletions

View File

@@ -1920,6 +1920,7 @@ class editor_mode : public application_mode, private editor_track::observer, pri
bool plate{false};
bool linked{false};
std::vector<int> speeds;
int aspects{0}; // of a block signal, 3 or 4
};
struct signal_spot
{