2019-05-15 14:52:37 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CutsceneObject.h"
|
|
|
|
|
|
|
|
class CCutsceneHead : public CCutsceneObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
RwFrame *m_pHeadNode;
|
2020-04-23 20:25:18 +00:00
|
|
|
#ifdef PED_SKIN
|
|
|
|
int32 unk1;
|
|
|
|
CCutsceneObject *m_parentObject;
|
|
|
|
int32 unk2;
|
|
|
|
int32 bIsSkinned;
|
|
|
|
#endif
|
2019-06-12 18:07:37 +00:00
|
|
|
|
|
|
|
CCutsceneHead(CObject *obj);
|
|
|
|
|
|
|
|
void CreateRwObject(void);
|
|
|
|
void DeleteRwObject(void);
|
|
|
|
void ProcessControl(void);
|
|
|
|
void Render(void);
|
2020-04-23 20:25:18 +00:00
|
|
|
void RenderLimb(int32 bone);
|
2019-06-12 18:07:37 +00:00
|
|
|
|
|
|
|
void PlayAnimation(const char *animName);
|
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(CCutsceneHead) == 0x19C, "CCutsceneHead: error");
|
2020-04-23 20:25:18 +00:00
|
|
|
#endif
|