summaryrefslogtreecommitdiff
path: root/src/objects/CutsceneHead.h
blob: c931eb012c0bb237dae158867f58a3e65c448b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once

#include "CutsceneObject.h"

class CCutsceneHead : public CCutsceneObject
{
public:
	RwFrame *m_pHeadNode;
#ifdef PED_SKIN
	int32 unk1;
	CCutsceneObject *m_parentObject;
	int32 unk2;
	int32 bIsSkinned;
#endif

	CCutsceneHead(CObject *obj);

	void CreateRwObject(void);
	void DeleteRwObject(void);
	void ProcessControl(void);
	void Render(void);
	void RenderLimb(int32 bone);

	void PlayAnimation(const char *animName);
};
#ifndef PED_SKIN
VALIDATE_SIZE(CCutsceneHead, 0x19C);
#endif