Subversion Repositories spk

Rev

Blame | Last modification | View Log | RSS feed

#ifndef __RENDERVIDEO_H__
#define __RENDERVIDEO_H__

#include "Display.h"
#include <Utils/String.h>
#include "Movies.h"

class CRenderVideo : public CRenderObject
{
public:
        CRenderVideo ();
        ~CRenderVideo ();

        bool LoadVideo ( MyDirect3DDevice9 *device, const char *sFilename );
        void ParseSetting ( COverlay *overlay, Utils::String cmd, Utils::String rest, Utils::String section );
        void render ( MyDirect3DDevice9 *device, int x, int y, LPD3DXSPRITE sprite );

        bool DoReopen ();

private:
        LPDIRECT3DTEXTURE9 m_pTexture;

        CMovies *m_pMovie;

        int m_iScaleX;
        int m_iScaleY;
};

#endif //__RENDERVIDEO_H__