summaryrefslogtreecommitdiffstats
path: root/src/entities/Vehicle.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-07-06 00:44:49 +0200
committereray orçunus <erayorcunus@gmail.com>2019-07-06 00:44:49 +0200
commit0e7a471b82129bcdea3f691744ed8db4717c3153 (patch)
treeed6e7b7e1dbbc68da64eb1b2f8d70c7367aad572 /src/entities/Vehicle.h
parentfixed rand (thanks nick) (diff)
downloadre3-0e7a471b82129bcdea3f691744ed8db4717c3153.tar
re3-0e7a471b82129bcdea3f691744ed8db4717c3153.tar.gz
re3-0e7a471b82129bcdea3f691744ed8db4717c3153.tar.bz2
re3-0e7a471b82129bcdea3f691744ed8db4717c3153.tar.lz
re3-0e7a471b82129bcdea3f691744ed8db4717c3153.tar.xz
re3-0e7a471b82129bcdea3f691744ed8db4717c3153.tar.zst
re3-0e7a471b82129bcdea3f691744ed8db4717c3153.zip
Diffstat (limited to '')
-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];