Add GetAllStageTexts.

This commit is contained in:
Glenn Maynard
2003-10-09 04:20:24 +00:00
parent 1117b63a09
commit 055a5ca7ce
2 changed files with 16 additions and 0 deletions
+15
View File
@@ -294,6 +294,21 @@ CString GameState::GetStageText()
else return ssprintf("%d",m_iCurrentStageIndex+1);
}
void GameState::GetAllStageTexts( CStringArray &out )
{
out.clear();
out.push_back( "demo" );
out.push_back( "oni" );
out.push_back( "nonstop" );
out.push_back( "endless" );
out.push_back( "event" );
out.push_back( "final" );
out.push_back( "extra1" );
out.push_back( "extra2" );
for( int stage = 0; stage < PREFSMAN->m_iNumArcadeStages; ++stage )
out.push_back( ssprintf("%d",stage+1) );
}
int GameState::GetCourseSongIndex()
{
int iSongIndex = 0;