SBSPSS/source/level/layerback.h

34 lines
694 B
C
Raw Normal View History

2001-01-13 18:04:56 +01:00
/************************/
/*** 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();
2001-02-22 15:55:13 +01:00
void init(DVECTOR &MapPos,int Shift);
2001-01-13 18:04:56 +01:00
void shutdown();
void think(DVECTOR &MapPos);
void render();
protected:
2001-02-20 20:17:03 +01:00
2001-02-20 16:56:16 +01:00
sLayerShadeHdr *Data;
int YOfs;
2001-02-20 20:17:03 +01:00
int BandCount,BandHeight;
POLY_G4 Band[LAYER_SHADE_RGB_MAX-1];
2001-01-13 18:04:56 +01:00
};
/*****************************************************************************/
#endif