40 lines
941 B
C++
40 lines
941 B
C++
/**********************/
|
|
/*** Layer Platform ***/
|
|
/**********************/
|
|
|
|
#ifndef __LAYER_PLATFORM_HEADER__
|
|
#define __LAYER_PLATFORM_HEADER__
|
|
|
|
#include "LayerThing.h"
|
|
#include "Layer.h"
|
|
#include "MapEdit.h"
|
|
#include "GUIToolbar.h"
|
|
#include "Elem.h"
|
|
|
|
/*****************************************************************************/
|
|
class CLayerPlatform : public CLayerThing
|
|
{
|
|
public:
|
|
CLayerPlatform(sLayerDef &Def);
|
|
CLayerPlatform(CFile *File,int Version) {Load(File,Version);}
|
|
|
|
void InitSubView(CCore *Core);
|
|
|
|
void GUIInit(CCore *Core);
|
|
void GUIKill(CCore *Core);
|
|
void GUIUpdate(CCore *Core);
|
|
void GUIChanged(CCore *Core);
|
|
|
|
void Load(CFile *File,int Version);
|
|
void Save(CFile *File);
|
|
void LoadThingScript(const char *Filename);
|
|
|
|
void Export(CCore *Core,CExport &Exp);
|
|
|
|
protected:
|
|
CGUIToolBar GUIToolBar;
|
|
|
|
};
|
|
|
|
/*****************************************************************************/
|
|
#endif
|