summaryrefslogtreecommitdiffstats
path: root/src/control/AutoPilot.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-09-02 18:04:09 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-09-02 18:04:09 +0200
commitb2236d8951562e8b780e979fd473fc7b0f7120ec (patch)
treef8c7198e6124f85be46f0b40b27c50fc4bd53c0b /src/control/AutoPilot.h
parentCCarCtrl Weave stuff done (diff)
downloadre3-b2236d8951562e8b780e979fd473fc7b0f7120ec.tar
re3-b2236d8951562e8b780e979fd473fc7b0f7120ec.tar.gz
re3-b2236d8951562e8b780e979fd473fc7b0f7120ec.tar.bz2
re3-b2236d8951562e8b780e979fd473fc7b0f7120ec.tar.lz
re3-b2236d8951562e8b780e979fd473fc7b0f7120ec.tar.xz
re3-b2236d8951562e8b780e979fd473fc7b0f7120ec.tar.zst
re3-b2236d8951562e8b780e979fd473fc7b0f7120ec.zip
Diffstat (limited to '')
-rw-r--r--src/control/AutoPilot.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/control/AutoPilot.h b/src/control/AutoPilot.h
index 4043c4e5..3b63a143 100644
--- a/src/control/AutoPilot.h
+++ b/src/control/AutoPilot.h
@@ -60,9 +60,9 @@ enum eCarDrivingStyle : uint8
class CAutoPilot {
public:
- uint32 m_nCurrentRouteNode;
- uint32 m_nNextRouteNode;
- uint32 m_nPrevRouteNode;
+ int32 m_nCurrentRouteNode;
+ int32 m_nNextRouteNode;
+ int32 m_nPrevRouteNode;
uint32 m_nTimeEnteredCurve;
uint32 m_nTimeToSpendOnCurrentCurve;
uint32 m_nCurrentPathNodeInfo;
@@ -83,8 +83,8 @@ public:
uint8 m_nCruiseSpeed;
uint8 m_bSlowedDownBecauseOfCars : 1;
uint8 m_bSlowedDownBecauseOfPeds : 1;
- uint8 m_flag4 : 1;
- uint8 m_flag8 : 1;
+ uint8 m_bStayInCurrentLevel : 1;
+ uint8 m_bStayInFastLane : 1;
uint8 m_flag10 : 1;
CVector m_vecDestinationCoors;
void *m_aPathFindNodesInfo[8];
@@ -114,7 +114,7 @@ public:
m_pTargetCar = 0;
m_nTimeToStartMission = CTimer::GetTimeInMilliseconds();
m_nAntiReverseTimer = m_nTimeToStartMission;
- m_flag8 = false;
+ m_bStayInFastLane = false;
}
void ModifySpeed(float);