summaryrefslogtreecommitdiff
path: root/src/entities/CutsceneHead.h
blob: de4f011fee064aed9d2c146c02557f59781c36d8 (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
#pragma once

#include "CutsceneObject.h"

class CCutsceneHead : public CCutsceneObject
{
public:
	RwFrame *m_pHeadNode;

	CCutsceneHead(CObject *obj);

	void CreateRwObject(void);
	void DeleteRwObject(void);
	void ProcessControl(void);
	void Render(void);

	void PlayAnimation(const char *animName);

	void CreateRwObject_(void) { CCutsceneHead::CreateRwObject(); }
	void DeleteRwObject_(void) { CCutsceneHead::DeleteRwObject(); }
	void ProcessControl_(void) { CCutsceneHead::ProcessControl(); }
	void Render_(void) { CCutsceneHead::Render(); }
};
static_assert(sizeof(CCutsceneHead) == 0x19C, "CCutsceneHead: error");