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
+6
View File
@@ -836,6 +836,9 @@ void MusicWheel::Update( float fDeltaTime )
void MusicWheel::ChangeMusic(int dist)
{
if(GAMESTATE->m_PlayMode == PLAY_MODE_NONSTOP)
GetSelectedCourse()->MakeNormal();
m_iSelection += dist;
if( m_iSelection < 0 )
m_iSelection = m_CurWheelItemData.size()-1;
@@ -846,6 +849,9 @@ void MusicWheel::ChangeMusic(int dist)
m_fPositionOffsetFromSelection += dist;
if(GAMESTATE->m_bDifficultCourses && GAMESTATE->m_PlayMode == PLAY_MODE_NONSTOP)
GetSelectedCourse()->MakeDifficult();
SCREENMAN->SendMessageToTopScreen( SM_SongChanged, 0 );
/* If we're moving automatically, don't play this; it'll be called in Update. */