SBSPSS/Utils/MapEdit/LayerActor.h

41 lines
936 B
C
Raw Normal View History

2001-03-26 17:22:59 +02:00
/*******************/
2001-03-26 23:29:09 +02:00
/*** Layer Actor ***/
2001-03-26 17:22:59 +02:00
/*******************/
2001-03-26 23:29:09 +02:00
#ifndef __LAYER_ACTOR_HEADER__
#define __LAYER_ACTOR_HEADER__
2001-03-26 17:22:59 +02:00
2001-03-26 23:29:09 +02:00
#include "LayerThing.h"
2001-03-26 17:22:59 +02:00
#include "Layer.h"
#include "MapEdit.h"
2001-03-29 19:59:01 +02:00
#include "GUILayerActor.h"
2001-03-26 17:22:59 +02:00
#include "Elem.h"
/*****************************************************************************/
2001-03-26 23:29:09 +02:00
class CLayerActor : public CLayerThing
2001-03-26 17:22:59 +02:00
{
public:
2001-03-26 23:29:09 +02:00
CLayerActor(sLayerDef &Def);
CLayerActor(CFile *File,int Version) {Load(File,Version);}
2001-03-26 17:22:59 +02:00
2001-03-29 19:59:01 +02:00
void InitLayer(sLayerDef &Def);
2001-03-26 23:29:09 +02:00
void InitSubView(CCore *Core);
2001-03-26 17:22:59 +02:00
2001-03-26 23:29:09 +02:00
void GUIInit(CCore *Core);
void GUIKill(CCore *Core);
void GUIUpdate(CCore *Core);
void GUIChanged(CCore *Core);
2001-03-29 19:59:01 +02:00
bool GUIReady();
2001-03-26 17:22:59 +02:00
2001-03-29 19:59:01 +02:00
void GUIThingDefClear();
2001-03-31 17:40:20 +02:00
void GUIThingUpdate(bool OnlySel=false);
void GUIThingPointUpdate(bool OnlySel=false);
2001-03-29 19:59:01 +02:00
2001-03-26 17:22:59 +02:00
protected:
2001-03-29 19:59:01 +02:00
CGUILayerActor GUI;
2001-03-26 17:22:59 +02:00
};
/*****************************************************************************/
#endif