mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-30 22:30:28 +01:00
feat(editor): every switch laid gets its drive at once, also the one made by pulling a free end into a straight (named z1, z2... like the others): the drive marked default: true in its //$e description (mech_komin) until another is picked, on the diverging side or the other; the drive goes into the same undo step as the switch; a switch with a drive puts it on the other side with one button, as one undo step; drive_headers.py marks mech_komin as the default; self-test commands drives and driveflip; Polish translation
This commit is contained in:
@@ -37,6 +37,7 @@ struct include_info
|
||||
std::string description;
|
||||
std::string switch_hand; // a switch drive: side of the diverging track, left or right, looking from the start of the switch
|
||||
std::string switch_drive; // and the side the drive stands on
|
||||
bool switch_default{false}; // the drive put with a new switch until another is picked
|
||||
double turntable_length{0.0};
|
||||
int turntable_angles{0};
|
||||
int turntable_positions{0};
|
||||
|
||||
Reference in New Issue
Block a user