This commit is contained in:
parent
02694f578b
commit
09637b8863
22 changed files with 704 additions and 669 deletions
|
@ -27,12 +27,12 @@ public:
|
|||
int GetType() {return(LAYER_TYPE_SHADE);}
|
||||
int GetSubType() {return(SubType);}
|
||||
|
||||
void Render(CCore *Core,Vector3 &CamPos,BOOL Is3d);
|
||||
void RenderGrid(CCore *Core,Vector3 &CamPos,BOOL Active){};
|
||||
void Render(CCore *Core,Vector3 &CamPos,bool Is3d);
|
||||
void RenderGrid(CCore *Core,Vector3 &CamPos,bool Active){};
|
||||
void RenderSelection(CCore *Core,Vector3 &ThisCam){};
|
||||
|
||||
void FindCursorPos(CCore *Core,Vector3 &CamPos,CPoint &MousePos){};
|
||||
void RenderCursor(CCore *Core,Vector3 &CamPos,BOOL Is3d){};
|
||||
void RenderCursor(CCore *Core,Vector3 &CamPos,bool Is3d){};
|
||||
|
||||
void GUIInit(CCore *Core);
|
||||
void GUIKill(CCore *Core);
|
||||
|
@ -41,7 +41,7 @@ public:
|
|||
|
||||
int GetWidth() {return(Width);}
|
||||
int GetHeight() {return(Height);}
|
||||
BOOL Resize(int _Width,int _Height);
|
||||
bool Resize(int _Width,int _Height);
|
||||
|
||||
void Load(CFile *File,int Version);
|
||||
void Save(CFile *File);
|
||||
|
@ -49,15 +49,13 @@ public:
|
|||
void Export(CCore *Core,CExport &Exp);
|
||||
|
||||
// Functions
|
||||
BOOL SetMode(int NewMode) {return(false);}
|
||||
BOOL InitMode() {return(false);}
|
||||
BOOL ExitMode() {return(false);}
|
||||
BOOL LButtonControl(CCore *Core,UINT nFlags, CPoint &CursorPos,BOOL DownFlag) {return(false);}
|
||||
BOOL RButtonControl(CCore *Core,UINT nFlags, CPoint &CursorPos,BOOL DownFlag) {return(false);}
|
||||
BOOL MouseMove(CCore *Core,UINT nFlags, CPoint &CursorPos) {return(false);}
|
||||
// bool LButtonControl(CCore *Core,UINT nFlags, CPoint &CursorPos,bool DownFlag) {return(false);}
|
||||
// bool RButtonControl(CCore *Core,UINT nFlags, CPoint &CursorPos,bool DownFlag) {return(false);}
|
||||
// bool MouseMove(CCore *Core,UINT nFlags, CPoint &CursorPos) {return(false);}
|
||||
// bool Command(int CmdMsg,CCore *Core,int Param0=0,int Param1=0){};
|
||||
|
||||
protected:
|
||||
void Render(CCore *Core,Vector3 &CamPos,CMap &ThisMap,BOOL Render3d,float Alpha=1.0f,Vector3 *Ofs=0);
|
||||
void Render(CCore *Core,Vector3 &CamPos,CMap &ThisMap,bool Render3d,float Alpha=1.0f,Vector3 *Ofs=0);
|
||||
|
||||
int Width,Height;
|
||||
int SubType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue