diff options
author | aap <aap@papnet.eu> | 2020-04-23 22:25:18 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-24 11:42:38 +0200 |
commit | f03b4eec4c37eab75a5bd639279cfcc615105b01 (patch) | |
tree | c4be4fa57b16c61d45e8156a51dd07b11e049bba /src/objects/CutsceneHead.h | |
parent | 6467e2003a0fc9f6bb5f8b86dd699b674f5e5b9a (diff) |
implemented skinned peds, no cutscene hands yet
Diffstat (limited to 'src/objects/CutsceneHead.h')
-rw-r--r-- | src/objects/CutsceneHead.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/objects/CutsceneHead.h b/src/objects/CutsceneHead.h index 52b66ede..0a70353d 100644 --- a/src/objects/CutsceneHead.h +++ b/src/objects/CutsceneHead.h @@ -6,6 +6,12 @@ class CCutsceneHead : public CCutsceneObject { public: RwFrame *m_pHeadNode; +#ifdef PED_SKIN + int32 unk1; + CCutsceneObject *m_parentObject; + int32 unk2; + int32 bIsSkinned; +#endif CCutsceneHead(CObject *obj); @@ -13,7 +19,10 @@ public: void DeleteRwObject(void); void ProcessControl(void); void Render(void); + void RenderLimb(int32 bone); void PlayAnimation(const char *animName); }; +#ifndef PED_SKIN static_assert(sizeof(CCutsceneHead) == 0x19C, "CCutsceneHead: error"); +#endif |