17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 05:09:20 +02:00

Structure gauge refactor: outline ring, tilt in the sections, outline choice, shared track line

This commit is contained in:
maj00r
2026-10-04 02:22:57 +02:00
parent ae8a046f79
commit ce0c311106
4 changed files with 184 additions and 161 deletions

View File

@@ -350,8 +350,8 @@ class editor_mode : public application_mode, private editor_track::observer
bool published{false}; // overlay up to date
} m_gauge;
void gauge_load();
// the chosen railway and road outlines, null when there's none of the kind
std::pair<gauge::profile const *, gauge::profile const *> gauge_profiles() const;
// the chosen railway and road outlines
gauge::choice gauge_choice() const;
std::vector<gauge_hit> const &gauge_hits() const;
void update_gauge();
void scan_gauge(TTrack &Track);