This commit is contained in:
parent
1bf8e68d21
commit
58dabaf537
2 changed files with 183 additions and 0 deletions
40
Utils/MapEdit/LayerHazard.h
Normal file
40
Utils/MapEdit/LayerHazard.h
Normal file
|
@ -0,0 +1,40 @@
|
|||
/*******************/
|
||||
/*** 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 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
|
Loading…
Add table
Add a link
Reference in a new issue