diff options
Diffstat (limited to 'src/objects/CutsceneHead.h')
-rw-r--r-- | src/objects/CutsceneHead.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/objects/CutsceneHead.h b/src/objects/CutsceneHead.h new file mode 100644 index 00000000..de4f011f --- /dev/null +++ b/src/objects/CutsceneHead.h @@ -0,0 +1,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"); |