added couple game mode and added couple and solo to Select Style

This commit is contained in:
Chris Danford
2002-01-21 21:09:06 +00:00
parent b8ff93249b
commit 38c125ff4d
4 changed files with 20 additions and 11 deletions
+9 -5
View File
@@ -612,19 +612,23 @@ void Song::GetStepsThatMatchGameMode( GameMode gm, CArray<Steps*, Steps*&>& arra
switch( gm ) // different logic for different game modes
{
case single4:
case MODE_SINGLE:
if( sm == Steps::SMsingle4 )
arrayAddTo.Add( pCurrentSteps );
break;
case single6:
case MODE_SOLO:
if( sm == Steps::SMsingle6 )
arrayAddTo.Add( pCurrentSteps );
break;
case versus4:
if( sm == Steps::SMsingle4 || sm == Steps::SMcouple || sm == Steps::SMbattle )
case MODE_VERSUS:
if( sm == Steps::SMsingle4 )
arrayAddTo.Add( pCurrentSteps );
break;
case double4:
case MODE_COUPLE:
if( sm == Steps::SMcouple || sm == Steps::SMbattle )
arrayAddTo.Add( pCurrentSteps );
break;
case MODE_DOUBLE:
if( sm == Steps::SMdouble4 )
arrayAddTo.Add( pCurrentSteps );
break;