This commit is contained in:
parent
c582c425f8
commit
3149023193
25 changed files with 2648 additions and 0 deletions
34
Utils/MkLevel/Layers/MkLevelLayerTile.h
Normal file
34
Utils/MkLevel/Layers/MkLevelLayerTile.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
/******************/
|
||||
/*** Layer Tile ***/
|
||||
/******************/
|
||||
|
||||
#ifndef __MKLEVEL_LAYER_TILE_HEADER__
|
||||
#define __MKLEVEL_LAYER_TILE_HEADER__
|
||||
|
||||
#include "MkLevelLayer.h"
|
||||
#include <List2d.h>
|
||||
|
||||
struct sMkLevelElem
|
||||
{
|
||||
u16 Elem;
|
||||
int TexID;
|
||||
};
|
||||
|
||||
/*****************************************************************************/
|
||||
class CMkLevelLayerTile : public CMkLevelLayer
|
||||
{
|
||||
public:
|
||||
CMkLevelLayerTile(sExpLayerHdr *LayerHdr);
|
||||
|
||||
virtual void PreProcess(CMkLevel *Core);
|
||||
virtual void Process(CMkLevel *Core);
|
||||
virtual int Write(FILE *File,const char *LayerName,const char *MapName);
|
||||
|
||||
protected:
|
||||
CList2d<sExpLayerTile> InMap;
|
||||
CList2d<sMkLevelElem> OutMap;
|
||||
|
||||
};
|
||||
|
||||
/*****************************************************************************/
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue