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/CutsceneObject.h | |
parent | Merge branch 'master' of github.com:gtamodding/re3 (diff) | |
download | re3-f03b4eec4c37eab75a5bd639279cfcc615105b01.tar re3-f03b4eec4c37eab75a5bd639279cfcc615105b01.tar.gz re3-f03b4eec4c37eab75a5bd639279cfcc615105b01.tar.bz2 re3-f03b4eec4c37eab75a5bd639279cfcc615105b01.tar.lz re3-f03b4eec4c37eab75a5bd639279cfcc615105b01.tar.xz re3-f03b4eec4c37eab75a5bd639279cfcc615105b01.tar.zst re3-f03b4eec4c37eab75a5bd639279cfcc615105b01.zip |
Diffstat (limited to 'src/objects/CutsceneObject.h')
-rw-r--r-- | src/objects/CutsceneObject.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/objects/CutsceneObject.h b/src/objects/CutsceneObject.h index 31c3a528..9c4036bf 100644 --- a/src/objects/CutsceneObject.h +++ b/src/objects/CutsceneObject.h @@ -5,13 +5,29 @@ class CCutsceneObject : public CObject { public: +#ifdef PED_SKIN + bool bRenderHead; + bool bRenderRightHand; + bool bRenderLeftHand; + + bool GetRenderHead(void) { return bRenderHead; } + bool GetRenderRightHand(void) { return bRenderRightHand; } + bool GetRenderLeftHand(void) { return bRenderLeftHand; } + void SetRenderHead(bool render) { bRenderHead = render; } + void SetRenderRightHand(bool render) { bRenderRightHand = render; } + void SetRenderLeftHand(bool render) { bRenderLeftHand = render; } +#endif + CCutsceneObject(void); void SetModelIndex(uint32 id); void ProcessControl(void); void PreRender(void); void Render(void); + void RenderLimb(int32 bone); bool SetupLighting(void); void RemoveLighting(bool reset); }; +#ifndef PED_SKIN static_assert(sizeof(CCutsceneObject) == 0x198, "CCutsceneObject: error"); +#endif |