44 lines
1.0 KiB
C++
44 lines
1.0 KiB
C++
/*******************/
|
|
/*** Layer Actor ***/
|
|
/*******************/
|
|
|
|
#ifndef __LAYER_ACTOR_HEADER__
|
|
#define __LAYER_ACTOR_HEADER__
|
|
|
|
#include "LayerThing.h"
|
|
#include "Layer.h"
|
|
#include "MapEdit.h"
|
|
#include "GUILayerActor.h"
|
|
#include "Elem.h"
|
|
|
|
/*****************************************************************************/
|
|
class CLayerActor : public CLayerThing
|
|
{
|
|
public:
|
|
CLayerActor(sLayerDef &Def);
|
|
CLayerActor(CFile *File,int Version) {Load(File,Version);}
|
|
|
|
void InitLayer(sLayerDef &Def);
|
|
void InitSubView(CCore *Core);
|
|
|
|
void LoadDefThing(const char *Name,sLayerThing &ThisDef);
|
|
void LoadOldThing(CFile *File,sLayerThing &ThisThing);
|
|
|
|
void GUIInit(CCore *Core);
|
|
void GUIKill(CCore *Core);
|
|
void GUIUpdate(CCore *Core);
|
|
void GUIChanged(CCore *Core);
|
|
bool GUIReady();
|
|
|
|
void GUIThingDefClear();
|
|
void GUIThingUpdate(bool OnlySel=false);
|
|
void GUIThingPointUpdate(bool OnlySel=false);
|
|
|
|
protected:
|
|
CGUILayerActor GUIActor;
|
|
|
|
};
|
|
|
|
/*****************************************************************************/
|
|
#endif
|