| 11 |
cycrow |
1 |
#ifndef __RENDERTEXTURE_H__
|
|
|
2 |
#define __RENDERTEXTURE_H__
|
|
|
3 |
|
|
|
4 |
#include "Display.h"
|
|
|
5 |
|
|
|
6 |
class CRenderTexture : public CRenderObject
|
|
|
7 |
{
|
|
|
8 |
public:
|
|
|
9 |
CRenderTexture ( MyDirect3DDevice9 *device );
|
|
|
10 |
~CRenderTexture();
|
|
|
11 |
|
|
|
12 |
virtual void render ( MyDirect3DDevice9 *device, int x, int y, LPD3DXSPRITE );
|
|
|
13 |
virtual void ParseSetting ( COverlay *, CyString cmd, CyString rest, CyString section );
|
|
|
14 |
|
|
|
15 |
void OpenTextureFile ( CyString filename );
|
|
|
16 |
|
|
|
17 |
virtual bool CheckMouse ( int x, int y, int offsetx, int offsety );
|
|
|
18 |
|
|
|
19 |
protected:
|
|
|
20 |
|
|
|
21 |
LPDIRECT3DTEXTURE9 m_texture;
|
|
|
22 |
// LPD3DXSPRITE m_sprite;
|
|
|
23 |
};
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
#endif //__RENDERTEXTURE_H__
|