Add FailAtEnd, which means "check failure only at the very
end of the song" (intended for use with "PassMark", which needs a better name). This isn't called "FailEndOfSong" to avoid confusion, and was the prompting for renaming FailEndOfSong.)
This commit is contained in:
@@ -61,6 +61,7 @@ void SongOptions::GetMods( vector<RString> &AddTo ) const
|
||||
{
|
||||
case FAIL_IMMEDIATE: break;
|
||||
case FAIL_IMMEDIATE_CONTINUE: AddTo.push_back("FailImmediateContinue"); break;
|
||||
case FAIL_AT_END: AddTo.push_back("FailAtEnd"); break;
|
||||
case FAIL_OFF: AddTo.push_back("FailOff"); break;
|
||||
default: ASSERT(0);
|
||||
}
|
||||
@@ -154,6 +155,7 @@ void SongOptions::FromString( const RString &sOptions )
|
||||
sBit == "failimmediate" ) m_FailType = FAIL_IMMEDIATE;
|
||||
else if( sBit == "failendofsong" ||
|
||||
sBit == "failimmediatecontinue" ) m_FailType = FAIL_IMMEDIATE_CONTINUE;
|
||||
else if( sBit == "failatend" ) m_FailType = FAIL_AT_END;
|
||||
else if( sBit == "failoff" ) m_FailType = FAIL_OFF;
|
||||
|
||||
else if( sBit == "faildefault" )
|
||||
|
||||
Reference in New Issue
Block a user