Add 'difficult' for nonstop courses.

This feels hackish; feel free to make it more general
This commit is contained in:
Chris Gomez
2003-03-07 05:24:52 +00:00
parent 8d47a3e57e
commit 7d5216e9b7
7 changed files with 71 additions and 0 deletions
+23
View File
@@ -128,6 +128,8 @@ ScreenSelectCourse::ScreenSelectCourse()
m_soundSelect.Load( THEME->GetPathTo("Sounds","menu start") );
m_soundOptionsChange.Load( THEME->GetPathTo("Sounds","select music options") );
m_soundChangeNotes.Load( THEME->GetPathTo("Sounds","select music notes") );
SOUNDMAN->PlayOnceFromDir( ANNOUNCER->GetPathTo("select course intro") );
@@ -247,6 +249,27 @@ void ScreenSelectCourse::Input( const DeviceInput& DeviceI, InputEventType type,
return;
}
if( CodeDetector::EnteredEasierDifficulty(GameI.controller) )
{
if( m_MusicWheel.GetSelectedCourse()->MakeNormal() )
{
m_soundChangeNotes.Play();
GAMESTATE->m_bDifficultCourses = false;
SCREENMAN->SendMessageToTopScreen(SM_SongChanged,0);
}
}
if( CodeDetector::EnteredHarderDifficulty(GameI.controller) )
{
if( m_MusicWheel.GetSelectedCourse()->MakeDifficult() )
{
m_soundChangeNotes.Play();
GAMESTATE->m_bDifficultCourses = true;
SCREENMAN->SendMessageToTopScreen(SM_SongChanged,0);
}
}
Screen::Input( DeviceI, type, GameI, MenuI, StyleI ); // default input handler
}