add FAIL_COMBO_OF_30_MISSES

This commit is contained in:
Chris Danford
2004-07-31 19:14:53 +00:00
parent 20604f69f0
commit 35869118d9
6 changed files with 49 additions and 21 deletions
+5 -3
View File
@@ -36,9 +36,10 @@ CString SongOptions::GetString() const
switch( m_FailType )
{
case FAIL_IMMEDIATE: break;
case FAIL_END_OF_SONG: sReturn += "FailEndOfSong, "; break;
case FAIL_OFF: sReturn += "FailOff, "; break;
case FAIL_IMMEDIATE: break;
case FAIL_COMBO_OF_30_MISSES: sReturn += "Fail30Misses, "; break;
case FAIL_END_OF_SONG: sReturn += "FailEndOfSong, "; break;
case FAIL_OFF: sReturn += "FailOff, "; break;
}
if( m_fMusicRate != 1 )
@@ -106,6 +107,7 @@ void SongOptions::FromString( CString sOptions )
else if( sBit == "normal-drain" ) m_DrainType = DRAIN_NORMAL;
else if( sBit == "failarcade" ||
sBit == "failimmediate" ) m_FailType = FAIL_IMMEDIATE;
else if( sBit == "fail30misses" ) m_FailType = FAIL_COMBO_OF_30_MISSES;
else if( sBit == "failendofsong" ) m_FailType = FAIL_END_OF_SONG;
else if( sBit == "failoff" ) m_FailType = FAIL_OFF;
else if( sBit == "assisttick" ) m_bAssistTick = on;