mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-02 06:59:13 +01:00
feat(editor): the kilometrage tool leads a line through a station along the tracks chosen, the straight paths of the switches by default, from the track chosen on along them until the line meets its tracks again or on and away at a junction, kept as //$k via lines; a track beside that comes back onto the line between the stretches it runs beside it or both ways is a track of a station, not the other track of a double-track line
This commit is contained in:
@@ -375,8 +375,9 @@ class editor_track
|
||||
double length{0.0};
|
||||
};
|
||||
static bool find_route(TTrack *From, TTrack *To, route &Route, std::string &Error);
|
||||
// continues both ways from the path, through switches along their path 0
|
||||
static route run_route(TTrack &Track, double const Maximum);
|
||||
// continues both ways from the path, through switches along their path 0; Path: the path of the track to start along, -1 for its
|
||||
// main one
|
||||
static route run_route(TTrack &Track, double const Maximum, int const Path = -1);
|
||||
static route route_of(chain const &Chain);
|
||||
// the speed most of the sampled route is laid for, by the length: a few tracks set faster or slower don't set the curves of
|
||||
// all of it. 100 where none is set
|
||||
|
||||
Reference in New Issue
Block a user