2018-03-28 01:28:45 +05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <rwcore.h>
|
|
|
|
#include <rpworld.h>
|
|
|
|
|
|
|
|
class CVehicleModelInfo
|
|
|
|
{
|
2024-03-09 21:04:12 +05:00
|
|
|
public:
|
|
|
|
uint8_t __pad1[40];
|
|
|
|
RpClump* m_clump;
|
|
|
|
uint8_t __pad3[16];
|
|
|
|
unsigned int m_dwType;
|
|
|
|
uint8_t __pad4[11];
|
|
|
|
int8_t m_numComps;
|
|
|
|
uint8_t __pad2[268];
|
|
|
|
RpAtomic* m_comps[6];
|
|
|
|
uint8_t __pad5[4];
|
2018-03-28 01:28:45 +05:00
|
|
|
|
|
|
|
public:
|
|
|
|
RwFrame* GetExtrasFrame( RpClump* clump );
|
2024-03-09 21:04:12 +05:00
|
|
|
|
|
|
|
// For SkyGfx interop
|
|
|
|
static void AttachCarPipeToRwObject_Default(RwObject*) { }
|
|
|
|
static inline void (*AttachCarPipeToRwObject)(RwObject* object) = &AttachCarPipeToRwObject_Default;
|
2018-03-28 01:28:45 +05:00
|
|
|
};
|
2024-05-23 23:07:34 +05:00
|
|
|
static_assert(sizeof(CVehicleModelInfo) == 0x174, "Wrong size: CVehicleModelInfo");
|
2018-03-28 01:28:45 +05:00
|
|
|
|
2024-05-23 23:07:34 +05:00
|
|
|
class CSimpleModelInfo
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void* __vmt;
|
|
|
|
char m_name[24];
|
|
|
|
uint8_t __pad[12];
|
|
|
|
void* m_atomics[3];
|
|
|
|
float m_lodDistances[3];
|
|
|
|
uint8_t __pad2[4];
|
|
|
|
};
|
|
|
|
static_assert(sizeof(CSimpleModelInfo) == 68, "Wrong size: CSimpleModelInfo");
|