whitespace killa, remove some temporary test code (I assume)

This commit is contained in:
AJ Kelly
2011-02-08 01:09:09 -06:00
parent 10e99a6fce
commit 2db64ef4a4
+2 -7
View File
@@ -21,7 +21,6 @@
REGISTER_SCREEN_CLASS( ScreenOptionsManageCourses ); REGISTER_SCREEN_CLASS( ScreenOptionsManageCourses );
struct StepsTypeAndDifficulty struct StepsTypeAndDifficulty
{ {
StepsType st; StepsType st;
@@ -50,8 +49,6 @@ static void SetNextCombination()
GAMESTATE->m_stEdit.Set( curVal.st ); GAMESTATE->m_stEdit.Set( curVal.st );
GAMESTATE->m_cdEdit.Set( curVal.cd ); GAMESTATE->m_cdEdit.Set( curVal.cd );
// XXX Testing.
SCREENMAN->SystemMessage( ssprintf("%s, %s", GAMEMAN->GetStepsTypeInfo(curVal.st).szName, DifficultyToString(curVal.cd).c_str()) );
EditCourseUtil::UpdateAndSetTrail(); EditCourseUtil::UpdateAndSetTrail();
} }
@@ -75,15 +72,14 @@ void ScreenOptionsManageCourses::BeginScreen()
const Style *pStyle = vpStyles[0]; const Style *pStyle = vpStyles[0];
GAMESTATE->SetCurrentStyle( pStyle ); GAMESTATE->SetCurrentStyle( pStyle );
if( GAMESTATE->m_stEdit == StepsType_Invalid || if( GAMESTATE->m_stEdit == StepsType_Invalid ||
GAMESTATE->m_cdEdit == Difficulty_Invalid ) GAMESTATE->m_cdEdit == Difficulty_Invalid )
{ {
SetNextCombination(); SetNextCombination();
} }
// Remember the current course. All Course pointers will be invalidated when
// Remember the current course. All Course pointers will be invalidated when we load the machine profile below. // we load the machine profile below.
CourseID cidLast; CourseID cidLast;
cidLast.FromCourse( GAMESTATE->m_pCurCourse ); cidLast.FromCourse( GAMESTATE->m_pCurCourse );
@@ -213,7 +209,6 @@ void ScreenOptionsManageCourses::MenuSelect( const InputEventPlus &input )
return; return;
SetNextCombination(); SetNextCombination();
m_soundDifficultyChanged.Play(); m_soundDifficultyChanged.Play();
} }
static LocalizedString YOU_HAVE_MAX( "ScreenOptionsManageCourses", "You have %d, the maximum number allowed." ); static LocalizedString YOU_HAVE_MAX( "ScreenOptionsManageCourses", "You have %d, the maximum number allowed." );