first commit

This commit is contained in:
aap 2019-05-15 16:52:37 +02:00
commit 600bf03514
116 changed files with 15132 additions and 0 deletions

21
src/entities/Vehicle.h Normal file
View file

@ -0,0 +1,21 @@
#pragma once
#include "Physical.h"
class CPed;
class CVehicle : public CPhysical
{
public:
// 0x128
uint8 stuff1[120];
int16 m_nAlarmState;
CPed *pDriver;
CPed *pPassengers[8];
uint8 stuff2[24];
CEntity *m_pCurSurface;
uint8 stuff3[160];
int32 m_vehType;
};
static_assert(sizeof(CVehicle) == 0x288, "CVehicle: error");
static_assert(offsetof(CVehicle, m_pCurSurface) == 0x1E0, "CVehicle: error");