This commit is contained in:
parent
c582c425f8
commit
3149023193
25 changed files with 2648 additions and 0 deletions
35
Utils/MkLevel/Layers/MkLevelLayer.h
Normal file
35
Utils/MkLevel/Layers/MkLevelLayer.h
Normal file
|
@ -0,0 +1,35 @@
|
|||
/******************/
|
||||
/*** Layer Core ***/
|
||||
/******************/
|
||||
|
||||
#ifndef __MKLEVEL_LAYER_HEADER__
|
||||
#define __MKLEVEL_LAYER_HEADER__
|
||||
|
||||
#include <Vector>
|
||||
|
||||
#include "..\MkLevel.h"
|
||||
#include "..\..\MapEdit\LayerDef.h"
|
||||
#include "..\..\mapedit\ExportHdr.h"
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
class CMkLevelLayer
|
||||
{
|
||||
public:
|
||||
|
||||
virtual void PreProcess(CMkLevel *Core)=0;
|
||||
virtual void Process(CMkLevel *Core)=0;
|
||||
virtual int Write(FILE *File,const char *LayerName,const char *MapName)=0;
|
||||
|
||||
bool IsType(int _Type,int _SubType) {return(Type==_Type && SubType==_SubType);}
|
||||
|
||||
protected:
|
||||
int Type;
|
||||
int SubType;
|
||||
int Width;
|
||||
int Height;
|
||||
};
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue