This commit is contained in:
parent
7cceaaac22
commit
c9050e5b51
4 changed files with 206 additions and 231 deletions
|
@ -25,7 +25,7 @@ CLevel::CLevel()
|
|||
}
|
||||
|
||||
MapPos.vx=0;
|
||||
MapPos.vy=0;
|
||||
MapPos.vy=0;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -38,12 +38,22 @@ CLevel::~CLevel()
|
|||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
int ZPos=6500;
|
||||
|
||||
void CLevel::init()
|
||||
{
|
||||
LevelHdr=(sLvlHdr *)CFileIO::loadFile(LEVEL04_LEVEL04_LVL,"Level Data");
|
||||
TPLoadTex(LEVEL04_LEVEL04_TEX);
|
||||
|
||||
initLayers();
|
||||
|
||||
// Setup Constand Rot Matrix
|
||||
MATRIX Mtx;
|
||||
|
||||
SetIdent(&Mtx);
|
||||
Mtx.t[2]=ZPos;
|
||||
SetRotMatrix(&Mtx);
|
||||
SetTransMatrix(&Mtx);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue