summaryrefslogtreecommitdiffstats
path: root/src/objects/CutsceneObject.h
blob: b0659c08e660bf73647c3ac365f193ba7fef8031 (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
#pragma once

#include "Object.h"

class CCutsceneShadow;

class CCutsceneObject : public CObject
{
public:
	CCutsceneShadow *m_pShadow;
	void     *m_pAttachTo;
	CObject  *m_pAttachmentObject;
  
	CCutsceneObject(void);
	~CCutsceneObject(void);

	bool UpdatesInCutscene(void) { return true; }
	void SetModelIndex(uint32 id);
	void CreateShadow(void);
	void ProcessControl(void);
	void PreRender(void);
	void Render(void);
	bool SetupLighting(void);
	void RemoveLighting(bool reset);
};