From 33a16651d67a593b140b2ff11cb66fd641b58d46 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 3 Jun 2004 23:30:07 +0000 Subject: [PATCH] rearrange --- stepmania/src/DifficultyMeter.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/stepmania/src/DifficultyMeter.cpp b/stepmania/src/DifficultyMeter.cpp index 2f4a4b15c1..6ef6e2e39b 100644 --- a/stepmania/src/DifficultyMeter.cpp +++ b/stepmania/src/DifficultyMeter.cpp @@ -149,15 +149,6 @@ void DifficultyMeter::SetFromDifficulty( Difficulty dc ) SetDifficulty( DifficultyToString( dc ) ); } -void DifficultyMeter::SetFromCourseDifficulty( CourseDifficulty cd ) -{ - m_textFeet.SetEffectNone(); - if( FEET_IS_DIFFICULTY_COLOR ) - m_textFeet.SetDiffuse( RageColor(0.8f,0.8f,0.8f,1) ); - SetFromMeterAndDifficulty( 0, DIFFICULTY_BEGINNER ); - SetDifficulty( CourseDifficultyToString( cd ) ); -} - void DifficultyMeter::SetFromGameState( PlayerNumber pn ) { if( GAMESTATE->IsCourseMode() ) @@ -230,3 +221,12 @@ void DifficultyMeter::SetDifficulty( CString diff ) if( SHOW_METER ) COMMAND( m_textMeter, "Set" + Capitalize(diff) ); } + +void DifficultyMeter::SetFromCourseDifficulty( CourseDifficulty cd ) +{ + m_textFeet.SetEffectNone(); + if( FEET_IS_DIFFICULTY_COLOR ) + m_textFeet.SetDiffuse( RageColor(0.8f,0.8f,0.8f,1) ); + SetFromMeterAndDifficulty( 0, DIFFICULTY_BEGINNER ); + SetDifficulty( CourseDifficultyToString( cd ) ); +}