11 |
cycrow |
1 |
#ifndef __DISPLAYCUSTOM_H__
|
|
|
2 |
#define __DISPLAYCUSTOM_H__
|
|
|
3 |
|
|
|
4 |
#include "Display.h"
|
|
|
5 |
|
|
|
6 |
class CDisplayCustom : public CDisplay
|
|
|
7 |
{
|
|
|
8 |
public:
|
|
|
9 |
virtual float Update ( DWORD timeNow );
|
|
|
10 |
CDisplayCustom ( COverlay *overlay, MyDirect3DDevice9 *device, CyString filename, CyString name, int w, int h, CyStringList *varibles );
|
|
|
11 |
|
|
|
12 |
protected:
|
|
|
13 |
int ParseNumber ( CyString n );
|
|
|
14 |
|
|
|
15 |
CyString ParseBlock ( FILE *id, CyString *str, CyStringList *strings );
|
|
|
16 |
CyString ReplaceString ( CyString s, CyStringList *strings );
|
|
|
17 |
void DoBlock ( CRenderObject *ro, CyString line, CyStringList *strings, CyStringList *varibles, CyString §ion );
|
|
|
18 |
|
|
|
19 |
void ParseBorder ( CyString cmd, CyString rest );
|
|
|
20 |
void ParseInput ( CyString cmd, CyString rest );
|
|
|
21 |
void ParseCloseEvent ( SCloseOn *close, CyString cmd, CyString rest );
|
|
|
22 |
|
|
|
23 |
short m_iMaxAlpha;
|
|
|
24 |
};
|
|
|
25 |
|
|
|
26 |
#endif //__DISPLAYCUSTOM_H__
|