16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 14:49:19 +02:00

Dodanie inicjacji brakujących zmiennych.

This commit is contained in:
firleju
2017-01-12 20:51:45 +01:00
parent 6a7f636fdd
commit 7df7c8b76e
4 changed files with 22 additions and 9 deletions

View File

@@ -39,6 +39,15 @@ namespace Mtable
int Dm; // godz. i min. odjazdu
double tm; // czas jazdy do tej stacji w min. (z kolumny)
int WaitTime; // czas postoju (liczony plus 6 sekund)
TMTableLine()
{
km = 0;
vmax = -1;
StationName = "nowhere", StationWare = "";
TrackNo = 1;
Ah, Am, Dh, Dm = -1;
WaitTime, tm = 0;
}
};
typedef TMTableLine TMTable[MaxTTableSize + 1];