Subversion Repositories spk

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
11 cycrow 1
#ifndef __RENDERVIDEO_H__
2
#define __RENDERVIDEO_H__
3
 
4
#include "Display.h"
5
#include <Utils/String.h>
6
#include "Movies.h"
7
 
8
class CRenderVideo : public CRenderObject
9
{
10
public:
11
	CRenderVideo ();
12
	~CRenderVideo ();
13
 
14
	bool LoadVideo ( MyDirect3DDevice9 *device, const char *sFilename );
15
	void ParseSetting ( COverlay *overlay, Utils::String cmd, Utils::String rest, Utils::String section );
16
	void render ( MyDirect3DDevice9 *device, int x, int y, LPD3DXSPRITE sprite );
17
 
18
	bool DoReopen ();
19
 
20
private:
21
	LPDIRECT3DTEXTURE9 m_pTexture;
22
 
23
	CMovies *m_pMovie;
24
 
25
	int m_iScaleX;
26
	int m_iScaleY;
27
};
28
 
29
#endif //__RENDERVIDEO_H__