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

feat(editor): switch templates for the rail of the selected track, their names translated, shorter hints

- the template list shows the templates of the rail the selected track is laid with (railprofile s60/uic60: 60E1, s49:
  49E1, s42: S42), a box shows them all
- the words of the catalogue names are translated (movable nose, long, gauge, blades outside), the kind of a slip or a
  crossing its type says already is left out
- shorter hints of the switch tool, of More and of the missing drives
This commit is contained in:
maj00r
2026-10-18 01:50:56 +02:00
parent 3ba22aae10
commit 979a3d1ce4
5 changed files with 102 additions and 34 deletions

View File

@@ -1026,6 +1026,7 @@ class editor_mode : public application_mode, private editor_track::observer
double slide_typed{0.0};
int connection{-1};
int connection_kind{0}; // the kind of connection chosen last, taken again when the connections are chosen
bool rail_only{true}; // the templates listed only for the rail of the selected track, where its rail profile tells it
int connection_second{-1};
double connection_radius{0.0};
double connection_gap{6.0};