mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-01 16:05:35 +01:00
fix(editor): a block boundary drawn places its signal across only where the other track runs near, the hover and the click count the block signals facing the trains alike, an SHP resonator at a joint finds the piece of a track cut for another one, and a batch of signals missing its template changes nothing but the tracks cut, Ctrl+Z taking them back; the km of each line kept for the hover, the shorter block section named in its warning, the block column wider
This commit is contained in:
@@ -201,6 +201,8 @@ class srk_tool final : public editor_tool
|
||||
// block signals stand along it, none switched by block sections of the editor: it keeps the block of the scenery as it stands
|
||||
bool legacy{false};
|
||||
double braking{0.0}; // m, the braking distance on it
|
||||
std::string km_number; // the line of the kilometrage it runs along
|
||||
bool rising{true}; // its trains run towards the higher km
|
||||
// the signals of the other block standing along it: warning discs on a line of the automatic block, block signals on one of the
|
||||
// semi-automatic one, the first of them
|
||||
std::size_t leftovers{0};
|
||||
|
||||
Reference in New Issue
Block a user