summaryrefslogtreecommitdiffstats
path: root/src/entities/Vehicle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/Vehicle.h')
-rw-r--r--src/entities/Vehicle.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/entities/Vehicle.h b/src/entities/Vehicle.h
index ba3e568e..e9acaa0b 100644
--- a/src/entities/Vehicle.h
+++ b/src/entities/Vehicle.h
@@ -1,18 +1,12 @@
#pragma once
#include "Physical.h"
+#include "AutoPilot.h"
class CPed;
class CFire;
struct tHandlingData;
-enum {
- GETTING_IN_OUT_FL = 1,
- GETTING_IN_OUT_RL = 2,
- GETTING_IN_OUT_FR = 4,
- GETTING_IN_OUT_RR = 8
-};
-
enum eCarLock : uint8 {
CARLOCK_NOT_USED,
CARLOCK_UNLOCKED,
@@ -29,7 +23,7 @@ class CVehicle : public CPhysical
public:
// 0x128
tHandlingData *m_handling;
- uint8 stuff1[112];
+ CAutoPilot m_autoPilot;
uint8 m_currentColour1;
uint8 m_currentColour2;
uint8 m_anExtras[2];