summaryrefslogblamecommitdiffstats
path: root/src/objects/CutsceneHead.h
blob: 0a70353db5bfde2f7e48fbed19a29ff1fcf44dfb (plain) (tree)
1
2
3
4
5
6
7
8







                                            





                                        






                                    
                                    

                                                 
  
                
                                                                      
      
#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
static_assert(sizeof(CCutsceneHead) == 0x19C, "CCutsceneHead: error");
#endif