SilentPatch/SilentPatch/StoredCar.h

30 lines
570 B
C
Raw Normal View History

#pragma once
2019-12-12 01:37:18 +05:00
#include "Maths.h"
#if _GTA_III
#include "../SilentPatchIII/VehicleIII.h"
#elif _GTA_VC
#include "../SilentPatchVC/VehicleVC.h"
#endif
class CStoredCar
{
private:
int32_t m_modelIndex;
CVector m_position;
CVector m_angle;
uint32_t m_handlingFlags;
uint8_t m_nPrimaryColor;
uint8_t m_nSecondaryColor;
int8_t m_nRadioStation;
int8_t m_anCompsToUse[2];
uint8_t m_bombType;
public:
static CVehicle* (CStoredCar::*orgRestoreCar)();
CVehicle* RestoreCar_SilentPatch();
};
static_assert(sizeof(CStoredCar) == 0x28, "Wrong size: CStoredCar");