2019-05-15 14:52:37 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Object.h"
|
|
|
|
|
|
|
|
class CCutsceneObject : public CObject
|
|
|
|
{
|
|
|
|
public:
|
2020-04-23 20:25:18 +00:00
|
|
|
#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
|
|
|
|
|
2019-06-12 18:07:37 +00:00
|
|
|
CCutsceneObject(void);
|
2019-06-12 19:17:02 +00:00
|
|
|
|
2019-07-08 06:46:42 +00:00
|
|
|
void SetModelIndex(uint32 id);
|
|
|
|
void ProcessControl(void);
|
|
|
|
void PreRender(void);
|
|
|
|
void Render(void);
|
2020-04-23 20:25:18 +00:00
|
|
|
void RenderLimb(int32 bone);
|
2019-07-08 06:46:42 +00:00
|
|
|
bool SetupLighting(void);
|
|
|
|
void RemoveLighting(bool reset);
|
2019-05-15 14:52:37 +00:00
|
|
|
};
|
2020-04-23 20:25:18 +00:00
|
|
|
#ifndef PED_SKIN
|
2019-05-15 14:52:37 +00:00
|
|
|
static_assert(sizeof(CCutsceneObject) == 0x198, "CCutsceneObject: error");
|
2020-04-23 20:25:18 +00:00
|
|
|
#endif
|