This commit is contained in:
parent
c4c410d16d
commit
ef882d30b3
4 changed files with 430 additions and 0 deletions
50
Utils/MapEdit/LayerTrigger.h
Normal file
50
Utils/MapEdit/LayerTrigger.h
Normal file
|
@ -0,0 +1,50 @@
|
|||
/*******************/
|
||||
/*** Layer Platform ***/
|
||||
/*******************/
|
||||
|
||||
#ifndef __LAYER_PLATFORM_HEADER__
|
||||
#define __LAYER_PLATFORM_HEADER__
|
||||
|
||||
#include "LayerThing.h"
|
||||
#include "Layer.h"
|
||||
#include "MapEdit.h"
|
||||
#include "GUILayerPlatform.h"
|
||||
#include "Elem.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
class CLayerPlatform : public CLayerThing
|
||||
{
|
||||
public:
|
||||
enum
|
||||
{
|
||||
MoveTypeLinear=0,
|
||||
MoveTypeCirular
|
||||
|
||||
};
|
||||
|
||||
CLayerPlatform(sLayerDef &Def);
|
||||
CLayerPlatform(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:
|
||||
void SetThingParams(sLayerThing &Thing);
|
||||
|
||||
CGUILayerPlatform GUIPlatform;
|
||||
|
||||
};
|
||||
|
||||
/*****************************************************************************/
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue