implement difficult course selection in ScreenSelectMusic

This commit is contained in:
Glenn Maynard
2003-07-21 22:57:19 +00:00
parent b485365e26
commit a54fcffdb7
+24 -2
View File
@@ -613,7 +613,19 @@ void ScreenSelectMusic::EasierDifficulty( PlayerNumber pn )
if( !GAMESTATE->IsHumanPlayer(pn) )
return;
if( m_arrayNotes.empty() )
if( m_MusicWheel.GetSelectedType() == TYPE_COURSE && GAMESTATE->m_bDifficultCourses )
{
m_soundChangeNotes.Play();
GAMESTATE->m_bDifficultCourses = false;
AfterMusicChange();
return;
}
if( m_MusicWheel.GetSelectedType() != TYPE_SONG )
return;
if( m_MusicWheel.GetSelectedType() != TYPE_SONG )
return;
if( m_iSelection[pn] == 0 )
return;
@@ -633,8 +645,18 @@ void ScreenSelectMusic::HarderDifficulty( PlayerNumber pn )
if( !GAMESTATE->IsHumanPlayer(pn) )
return;
if( m_arrayNotes.empty() )
if( m_MusicWheel.GetSelectedType() == TYPE_COURSE && !GAMESTATE->m_bDifficultCourses )
{
m_soundChangeNotes.Play();
GAMESTATE->m_bDifficultCourses = true;
AfterMusicChange();
return;
}
if( m_MusicWheel.GetSelectedType() != TYPE_SONG )
return;
if( m_iSelection[pn] == int(m_arrayNotes.size()-1) )
return;