This commit is contained in:
Paul 2000-10-26 14:57:09 +00:00
parent fe2d8549f0
commit cf5d20c297
2 changed files with 8 additions and 0 deletions

View File

@ -87,12 +87,19 @@ void GameState::setNextScene( CScene *_nextScene )
} }
/*****************************************************************************/ /*****************************************************************************/
CScene * GameState::getCurrentScene() CScene * GameState::getCurrentScene()
{ {
return s_currentScene; return s_currentScene;
} }
/*****************************************************************************/
CScene * GameState::getPendingScene()
{
return s_pendingScene;
}
/*****************************************************************************/ /*****************************************************************************/
static int s_timeSpeed = ONE; static int s_timeSpeed = ONE;
void GameState::updateTimer() void GameState::updateTimer()

View File

@ -53,6 +53,7 @@ public:
static void setTimeSpeed( int speed ); static void setTimeSpeed( int speed );
static CScene * getCurrentScene(); static CScene * getCurrentScene();
static CScene * getPendingScene();
#if defined(__TERRITORY_USA__) || defined(__TERRITORY_JAP__) #if defined(__TERRITORY_USA__) || defined(__TERRITORY_JAP__)
static int getOneSecondInFrames() {return 60;} static int getOneSecondInFrames() {return 60;}