2000-12-06 23:52:00 +01:00
|
|
|
/*******************/
|
|
|
|
/*** Level Class ***/
|
|
|
|
/*******************/
|
|
|
|
|
|
|
|
#ifndef __LEVEL_LEVEL_H__
|
|
|
|
#define __LEVEL_LEVEL_H__
|
|
|
|
|
2000-12-09 18:22:06 +01:00
|
|
|
#include "level/layertile.h"
|
2000-12-06 23:52:00 +01:00
|
|
|
|
|
|
|
/*****************************************************************************/
|
2000-12-07 16:56:20 +01:00
|
|
|
class CLayer;
|
2000-12-06 23:52:00 +01:00
|
|
|
class CLevel
|
|
|
|
{
|
|
|
|
public:
|
2000-12-07 16:56:20 +01:00
|
|
|
CLevel();
|
|
|
|
virtual ~CLevel();
|
2000-12-06 23:52:00 +01:00
|
|
|
|
2000-12-07 16:56:20 +01:00
|
|
|
// Scene Handlers
|
|
|
|
void init();
|
|
|
|
void shutdown();
|
|
|
|
void render();
|
|
|
|
void think(int _frames);
|
|
|
|
|
2000-12-06 23:52:00 +01:00
|
|
|
private:
|
2000-12-08 15:48:50 +01:00
|
|
|
void initLayers();
|
2000-12-07 16:56:20 +01:00
|
|
|
|
|
|
|
sLvlHdr *LevelHdr;
|
2000-12-12 21:56:51 +01:00
|
|
|
VECTOR MapPos;
|
|
|
|
|
2000-12-08 15:48:50 +01:00
|
|
|
|
|
|
|
// Tile Layers
|
2000-12-09 18:22:06 +01:00
|
|
|
CLayerTile *TileLayers[CLayerTile::LAYER_TILE_TYPE_MAX];
|
2000-12-06 23:52:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
#endif
|