Added new unlock system, disabled by default

This commit is contained in:
Kevin Slaughter
2003-05-09 05:56:05 +00:00
parent 6150d3f2c2
commit fd02bce784
16 changed files with 258 additions and 7 deletions
+8
View File
@@ -274,7 +274,15 @@ void MusicWheel::GetSongList(vector<Song*> &arraySongs, SongSortOrder so, CStrin
pSong->GetNotes( arraySteps, GAMESTATE->GetCurrentStyleDef()->m_NotesType, DIFFICULTY_INVALID, -1, -1, "", PREFSMAN->m_bAutogenMissingTypes );
if( !arraySteps.empty() )
{
// If we're using unlocks, check it here to prevent from being shown
if( PREFSMAN->m_bUseUnlockSystem )
{
pSong->m_bIsLocked = GAMESTATE->UnlockingSys.SongIsLocked( pSong->m_sMainTitle );
if( pSong->m_bIsLocked ) { continue; }
}
arraySongs.push_back( pSong );
}
}
}