This commit is contained in:
Daveo 2000-12-06 22:52:00 +00:00
parent 2fad046dec
commit 14c4c0e762
2 changed files with 63 additions and 0 deletions

35
source/level/level.cpp Normal file
View File

@ -0,0 +1,35 @@
/*************/
/*** Level ***/
/*************/
#include "system\global.h"
#include "fileio\fileio.h"
#include <DStructs.h>
#include "level\level.h"
/*****************************************************************************/
void CLevel::init()
{
CFileIO::loadFile(CHAPTER01_LEVEL01_LVL,"Level Data");
}
/*****************************************************************************/
void CLevel::shutdown()
{
MemFree(this->LvlData);
}
/*****************************************************************************/
void CLevel::render()
{
}
/*****************************************************************************/
void CLevel::think(int _frames)
{
}
/*****************************************************************************/

28
source/level/level.h Normal file
View File

@ -0,0 +1,28 @@
/*******************/
/*** Level Class ***/
/*******************/
#ifndef __LEVEL_LEVEL_H__
#define __LEVEL_LEVEL_H__
/*****************************************************************************/
class CLevel
{
public:
CLevel(){}
virtual ~CLevel(){}
void init();
void shutdown();
void render();
void think(int _frames);
private:
sLvlHdr *LvlData;
};
/*****************************************************************************/
#endif