diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-10 14:24:09 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-10 14:24:09 +0200 |
commit | 512f5657f7f33e2939d4455df4f8e97d57d39e54 (patch) | |
tree | b46a8f7b61215ee8e0fba90b46d93e3b768f2e16 /src/modelinfo/PedModelInfo.h | |
parent | script changes (diff) | |
parent | added some anim groups (diff) | |
download | re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.tar re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.tar.gz re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.tar.bz2 re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.tar.lz re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.tar.xz re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.tar.zst re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.zip |
Diffstat (limited to 'src/modelinfo/PedModelInfo.h')
-rw-r--r-- | src/modelinfo/PedModelInfo.h | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/src/modelinfo/PedModelInfo.h b/src/modelinfo/PedModelInfo.h index 912c5a22..e878a59b 100644 --- a/src/modelinfo/PedModelInfo.h +++ b/src/modelinfo/PedModelInfo.h @@ -36,32 +36,17 @@ public: ePedStats m_pedStatType; uint32 m_carsCanDrive; CColModel *m_hitColModel; -#ifdef PED_SKIN - RpAtomic *m_head; - RpAtomic *m_lhand; - RpAtomic *m_rhand; -#endif + int8 radio1, radio2; static RwObjectNameIdAssocation m_pPedIds[PED_NODE_MAX]; - CPedModelInfo(void) : CClumpModelInfo(MITYPE_PED) { } + CPedModelInfo(void) : CClumpModelInfo(MITYPE_PED) { m_hitColModel = nil; } + ~CPedModelInfo(void) { delete m_hitColModel; } void DeleteRwObject(void); void SetClump(RpClump *); - void SetLowDetailClump(RpClump*); - void CreateHitColModel(void); void CreateHitColModelSkinned(RpClump *clump); CColModel *GetHitColModel(void) { return m_hitColModel; } - static CColModel *AnimatePedColModel(CColModel* colmodel, RwFrame* frame); CColModel *AnimatePedColModelSkinned(RpClump *clump); - -#ifdef PED_SKIN - static RpAtomic *findLimbsCb(RpAtomic *atomic, void *data); - RpAtomic *getHead(void) { return m_head; } - RpAtomic *getLeftHand(void) { return m_lhand; } - RpAtomic *getRightHand(void) { return m_rhand; } -#endif + CColModel *AnimatePedColModelSkinnedWorld(RpClump *clump); }; -#ifndef PED_SKIN -static_assert(sizeof(CPedModelInfo) == 0x48, "CPedModelInfo: error"); -#endif
\ No newline at end of file |