16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 10:29:19 +02:00

Improve connect mode. If track is blocked by another train AI search bakcward for sign if before the another train is signal.

This commit is contained in:
firleju
2016-01-17 19:48:06 +01:00
parent 7e0cb417ce
commit 7653ca1186
2 changed files with 8 additions and 1 deletions

View File

@@ -242,6 +242,7 @@ class TController
private:
double fProximityDist; //odleglosc podawana w SetProximityVelocity(); >0:przeliczać do
// punktu, <0:podana wartość
double FirstSemaphorDist; // odległość do pierwszego znalezionego semafora
public:
double
ActualProximityDist; // odległość brana pod uwagę przy wyliczaniu prędkości i przyspieszenia