SBSPSS/source/level/layerback.h
2001-02-20 19:17:03 +00:00

34 lines
715 B
C++

/************************/
/*** Back Layer Class ***/
/************************/
#ifndef __LAYER_BACK_H__
#define __LAYER_BACK_H__
/*****************************************************************************/
class CLayerBack : public CLayerTile
{
public:
CLayerBack(sLayerHdr *Hdr,sTile *TileList,sTri *TriList,sQuad *QuadList,sVtx *VtxList);
~CLayerBack();
void init(DVECTOR &MapPos,int Shift,int Width,int Height);
void shutdown();
void think(DVECTOR &MapPos);
void render();
protected:
sLayerShadeHdr *Data;
int YOfs;
int BandCount,BandHeight;
POLY_G4 Band[LAYER_SHADE_RGB_MAX-1];
};
/*****************************************************************************/
#endif