This commit is contained in:
parent
6f6b54fd0f
commit
f37209b515
22 changed files with 403 additions and 71 deletions
|
@ -46,6 +46,9 @@
|
|||
#include "enemy\npc.h"
|
||||
#include "gfx\actor.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
extern int s_globalLevelSelectThing;
|
||||
|
||||
/*****************************************************************************/
|
||||
sLvlTab LvlTable[]=
|
||||
{
|
||||
|
@ -425,4 +428,20 @@ sLayerHdr *layer;
|
|||
}
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/*****************************************************************************/
|
||||
/*****************************************************************************/
|
||||
int CLevel::getCurrentChapter()
|
||||
{
|
||||
return( LvlTable[s_globalLevelSelectThing].Chapter );
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/*****************************************************************************/
|
||||
/*****************************************************************************/
|
||||
int CLevel::getCurrentChapterLevel()
|
||||
{
|
||||
return( LvlTable[s_globalLevelSelectThing].Level );
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -34,6 +34,10 @@ public:
|
|||
void setCameraCentre(DVECTOR _pos) {MapPos=_pos;}
|
||||
static DVECTOR getCameraPos() {return MapPos;}
|
||||
static DVECTOR getPlayerSpawnPos() {return s_playerSpawnPos;}
|
||||
|
||||
static int getCurrentChapter();
|
||||
static int getCurrentChapterLevel();
|
||||
|
||||
int getActorCount() {return ActorCount;}
|
||||
sThingActor **getActorList() {return ActorList;}
|
||||
int getPlatformCount() {return PlatformCount;}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue