Blame | Last modification | View Log | RSS feed
#ifndef __RENDERTEXTURE_H__
#define __RENDERTEXTURE_H__
#include "Display.h"
class CRenderTexture : public CRenderObject
{
public:
CRenderTexture ( MyDirect3DDevice9 *device );
~CRenderTexture();
virtual void render ( MyDirect3DDevice9 *device, int x, int y, LPD3DXSPRITE );
virtual void ParseSetting ( COverlay *, CyString cmd, CyString rest, CyString section );
void OpenTextureFile ( CyString filename );
virtual bool CheckMouse ( int x, int y, int offsetx, int offsety );
protected:
LPDIRECT3DTEXTURE9 m_texture;
// LPD3DXSPRITE m_sprite;
};
#endif //__RENDERTEXTURE_H__