re3-wiiu/src/modelinfo/PedModelInfo.h

44 lines
894 B
C
Raw Normal View History

2019-05-15 16:52:37 +02:00
#pragma once
#include "ClumpModelInfo.h"
enum PedNode {
PED_WAIST,
PED_TORSO, // Smid on PS2/PC, Storso on mobile/xbox
PED_HEAD,
PED_UPPERARML,
PED_UPPERARMR,
PED_HANDL,
PED_HANDR,
PED_UPPERLEGL,
PED_UPPERLEGR,
PED_FOOTL,
PED_FOOTR,
PED_LOWERLEGR,
PED_NODE_MAX// Not valid: PED_LOWERLEGL
2019-05-15 16:52:37 +02:00
};
class CPedModelInfo : public CClumpModelInfo
{
public:
uint32 m_animGroup;
uint32 m_pedType;
uint32 m_pedStatType;
2019-05-15 16:52:37 +02:00
uint32 m_carsCanDrive;
CColModel *m_hitColModel;
RpAtomic *m_head;
RpAtomic *m_lhand;
RpAtomic *m_rhand;
static RwObjectNameIdAssocation m_pPedIds[12];
CPedModelInfo(void) : CClumpModelInfo(MITYPE_PED) { }
void DeleteRwObject(void);
void SetClump(RpClump *);
void SetLowDetailClump(RpClump*);
void CreateHitColModel(void);
2019-06-23 01:01:21 +02:00
CColModel *GetHitColModel(void) { return m_hitColModel; }
2019-05-15 16:52:37 +02:00
};
static_assert(sizeof(CPedModelInfo) == 0x54, "CPedModelInfo: error");