From 3db1e1da565fee8f1d0a502f72acf4d91061058f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 12 Feb 2003 20:55:51 +0000 Subject: [PATCH] set a different color for the song that will lead to ex2 --- stepmania/src/MusicWheel.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stepmania/src/MusicWheel.cpp b/stepmania/src/MusicWheel.cpp index 32a882ac21..bc90bbc1b9 100644 --- a/stepmania/src/MusicWheel.cpp +++ b/stepmania/src/MusicWheel.cpp @@ -39,6 +39,7 @@ #define NUM_SECTION_COLORS THEME->GetMetricI("MusicWheel","NumSectionColors") #define SECTION_COLORS( i ) THEME->GetMetricC("MusicWheel",ssprintf("SectionColor%d",i+1)) #define DEFAULT_SCROLL_DIRECTION THEME->GetMetricI("Notes","DefaultScrollDirection") +#define SONG_REAL_EXTRA_COLOR THEME->GetMetricC("MusicWheel","SongRealExtraColor") const int MAX_WHEEL_SOUND_SPEED = 15; @@ -408,15 +409,15 @@ void MusicWheel::BuildWheelItemDatas( vector &arrayWheelItemDatas { if( arrayWheelItemDatas[i].m_pSong == pSong ) { + /* Change the song color. */ + arrayWheelItemDatas[i].m_color = SONG_REAL_EXTRA_COLOR; bFoundExtraSong = true; break; } } - // XXX this is where we can make the EX1 stage that will lead to - // EX2 a different color if( !bFoundExtraSong ) - arrayWheelItemDatas.push_back( WheelItemData(TYPE_SONG, pSong, "", NULL, GAMESTATE->GetStageColor()) ); + arrayWheelItemDatas.push_back( WheelItemData(TYPE_SONG, pSong, "", NULL, SONG_REAL_EXTRA_COLOR) ); } break;