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

Merge pull request #167 from pwarszawski/whois-station-ahead

whois: add lookahead mode for the timetable entry after the next stop
This commit is contained in:
2026-11-07 20:28:22 +00:00
committed by GitHub
3 changed files with 42 additions and 1 deletions

View File

@@ -70,6 +70,9 @@ class TTrainParameters
std::string ShowRelation() const;
double WatchMTable(double DistCounter) const;
std::string NextStop() const;
// wpis rozkladu Offset pozycji za StationIndex (Offset>=1); poza zakresem 1..StationCount
// zwraca techniczny wpis zerowy (TimeTable[0], StationName=="nowhere", Ah==-1)
TMTableLine const &TimeTableEntryAhead( int Offset ) const;
sound_source next_stop_sound() const;
sound_source last_stop_sound() const;
bool IsStop() const;