added extra stage course support (.crs file with #EXTRA tag)
and some bugs fixed...
This commit is contained in:
@@ -61,6 +61,11 @@ void Course::LoadFromCRSFile( CString sPath, CArray<Song*,Song*> &apSongs )
|
||||
m_iLives = atoi( sParams[1] );
|
||||
}
|
||||
|
||||
else if( 0 == stricmp(sValueName, "EXTRA") )
|
||||
{
|
||||
m_iExtra = atoi( sParams[1] );
|
||||
}
|
||||
|
||||
else if( 0 == stricmp(sValueName, "SONG") )
|
||||
{
|
||||
CString sSongDir = "Songs\\" + sParams[1] + "\\";
|
||||
|
||||
Reference in New Issue
Block a user