mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 18:19:19 +02:00
vehicle controllers ai logic fixes, minor refactoring
This commit is contained in:
3
Driver.h
3
Driver.h
@@ -211,6 +211,8 @@ private:
|
||||
bool DecBrake();
|
||||
bool IncSpeed();
|
||||
bool DecSpeed(bool force = false);
|
||||
void ZeroSpeed( bool const Enforce = false );
|
||||
void ZeroMasterController( bool const Enforce = false );
|
||||
bool IncBrakeEIM();
|
||||
bool DecBrakeEIM();
|
||||
bool IncSpeedEIM();
|
||||
@@ -224,6 +226,7 @@ private:
|
||||
int CheckDirection();
|
||||
void WaitingSet(double Seconds);
|
||||
void DirectionForward(bool forward);
|
||||
void ZeroDirection();
|
||||
int OrderDirectionChange(int newdir, TMoverParameters *Vehicle);
|
||||
void Lights(int head, int rear);
|
||||
std::string StopReasonText() const;
|
||||
|
||||
Reference in New Issue
Block a user