SBSPSS/Utils/MapEdit/LayerCollision.h
2001-03-05 20:49:46 +00:00

50 lines
1.2 KiB
C++

/***********************/
/*** Layer Collision ***/
/***********************/
#ifndef __LAYER_COLLISION_HEADER__
#define __LAYER_COLLISION_HEADER__
#include "Layer.h"
#include "MapEdit.h"
#include "LayerCollisionGUI.h"
/*****************************************************************************/
class CCore;
class CLayerCollision : public CLayerTile
{
public:
CLayerCollision(int SubType,int Width,int Height); // New Layer
CLayerCollision(CFile *File,int Version); // Load Layer
~CLayerCollision();
int GetType() {return(LAYER_TYPE_COLLISION);}
void InitSubView(CCore *Core);
void Render(CCore *Core,Vector3 &CamPos,bool Is3d);
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 Export(CCore *Core,CExport &Exp);
bool Command(int CmdMsg,CCore *Core,int Param0,int Param1);
// Functions
void DeleteSet(int Set);
void RemapSet(int OrigSet,int NewSet);
protected:
void InitTileBank();
CLayerCollisionGUI CollisionGUI;
};
/*****************************************************************************/
#endif