16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 12:29:18 +02:00

build 190119. minor diagnostics enhancement, minor ai enhancement, minor bug fixes

This commit is contained in:
tmj-fstate
2019-01-19 14:33:39 +01:00
parent cfc35ee32e
commit 330e52d4fc
6 changed files with 40 additions and 27 deletions

View File

@@ -388,6 +388,8 @@ private:
int StationCount() const;
bool IsStop() const;
std::string NextStop() const;
// tests whether the train is delayed and sets accordingly a driving flag
void UpdateDelayFlag();
// members
Mtable::TTrainParameters *TrainParams = nullptr; // rozkład jazdy zawsze jest, nawet jeśli pusty
std::string asNextStop; // nazwa następnego punktu zatrzymania wg rozkładu