aboutsummaryrefslogtreecommitdiff
path: root/src/objects/CutsceneObject.h
blob: 407adcc78ad5f0c3828c8750265b131d98ffaddf (plain) (blame)
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
29
30
31
32
33
#pragma once

#include "Object.h"

class CCutsceneObject : public CObject
{
public:
#ifdef PED_SKIN
	bool bRenderHead;
	bool bRenderRightHand;
	bool bRenderLeftHand;

	bool GetRenderHead(void) { return bRenderHead; }
	bool GetRenderRightHand(void) { return bRenderRightHand; }
	bool GetRenderLeftHand(void) { return bRenderLeftHand; }
	void SetRenderHead(bool render) { bRenderHead = render; }
	void SetRenderRightHand(bool render) { bRenderRightHand = render; }
	void SetRenderLeftHand(bool render) { bRenderLeftHand = render; }
#endif

	CCutsceneObject(void);

	void SetModelIndex(uint32 id);
	void ProcessControl(void);
	void PreRender(void);
	void Render(void);
	void RenderLimb(int32 bone);
	bool SetupLighting(void);
	void RemoveLighting(bool reset);
};
#ifndef PED_SKIN
VALIDATE_SIZE(CCutsceneObject, 0x198);
#endif