SBSPSS/Utils/MkLevel/Layers/MkLevelLayerShade.h

44 lines
1.0 KiB
C
Raw Normal View History

2001-04-17 18:42:07 +02:00
/*******************/
/*** Layer Shade ***/
/*******************/
#ifndef __MKLEVEL_LAYER_SHADE_HEADER__
#define __MKLEVEL_LAYER_SHADE_HEADER__
#include "MkLevelLayer.h"
#include <List2d.h>
/*****************************************************************************/
struct sBackGfxList
{
2001-04-30 23:49:54 +02:00
GString Name;
int TexID;
sLayerShadeBackGfxType Out;
2001-04-17 18:42:07 +02:00
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);
2001-06-25 17:54:07 +02:00
int Write(CMkLevel *Core,FILE *File,const char *LayerName);
2001-04-17 18:42:07 +02:00
protected:
2001-04-30 23:49:54 +02:00
int WriteTypeList(FILE *File);
int WriteGfxList(FILE *File);
CList<GString> TypeNameList;
CList<sLayerShadeGfx> GfxList;
CList<sBackGfxList> OutTypeList;
sLayerShadeHdr ShadeHdr;
2001-04-17 18:42:07 +02:00
};
/*****************************************************************************/
#endif