This commit is contained in:
parent
f6c9053001
commit
79f03a4cb0
2 changed files with 240 additions and 0 deletions
43
Utils/MkLevel/Layers/MkLevelLayerRGB.h
Normal file
43
Utils/MkLevel/Layers/MkLevelLayerRGB.h
Normal file
|
@ -0,0 +1,43 @@
|
|||
/*******************/
|
||||
/*** Layer Shade ***/
|
||||
/*******************/
|
||||
|
||||
#ifndef __MKLEVEL_LAYER_SHADE_HEADER__
|
||||
#define __MKLEVEL_LAYER_SHADE_HEADER__
|
||||
|
||||
#include "MkLevelLayer.h"
|
||||
#include <List2d.h>
|
||||
|
||||
/*****************************************************************************/
|
||||
struct sBackGfxList
|
||||
{
|
||||
GString Name;
|
||||
int TexID;
|
||||
sLayerShadeBackGfxType Out;
|
||||
|
||||
bool operator ==(sBackGfxList const &v1) {return(Name==v1.Name);}
|
||||
};
|
||||
|
||||
/*****************************************************************************/
|
||||
class CMkLevelLayerShade : public CMkLevelLayer
|
||||
{
|
||||
public:
|
||||
CMkLevelLayerShade(sExpLayerHdr *LayerHdr);
|
||||
|
||||
void PreProcess(CMkLevel *Core);
|
||||
void Process(CMkLevel *Core);
|
||||
int Write(CMkLevel *Core,FILE *File,const char *LayerName);
|
||||
|
||||
protected:
|
||||
int WriteTypeList(FILE *File);
|
||||
int WriteGfxList(FILE *File);
|
||||
|
||||
CList<GString> TypeNameList;
|
||||
CList<sLayerShadeGfx> GfxList;
|
||||
|
||||
CList<sBackGfxList> OutTypeList;
|
||||
sLayerShadeHdr ShadeHdr;
|
||||
};
|
||||
|
||||
/*****************************************************************************/
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue