This website requires JavaScript.
Issues
Task board
Repositories
Sign In
eu07
/
maszyna
Watch
17
Star
0
Fork
0
You've already forked maszyna
mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced
2026-10-31 21:39:03 +01:00
Code
Issues
156
Wiki
Activity
Files
7f6a8736ca36825f5c0f71298959a8a792640207
maszyna
/
editor
/
editorTrack.hpp
maj00r
f8a12107a0
feat(editor): a switch laid with no track there, and no switch laid by a click: a press on the ground with a switch armed lays the switch there, its start where it was pressed, the direction of its main track taken from the drag once it's 4 m long and held, the drag sideways then giving the side of the diverging track, back by the start the direction free again; pressed by a free end within 5 m it goes on from that end in its direction and grade, joined to it. Its ends are left free to lay on from, styled after the track it goes on from or as the lay tool lays its tracks (editor_track::create_switch with a path_style). A press let go within 10 pixels places no switch, a slip at a crossing included, which was laid at once on the press: it's laid once dragged, its straights shown meanwhile. The hints and the panel tell of both. Selftest switchfree: Rz 60E1-300-1:9 on the ground with its four ends free, from the free end of a straight joined and walked through; a click on a straight laid none, a drag laid z1
2026-10-27 19:33:23 +01:00
26 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink