add UnsetDifficulties

This commit is contained in:
Glenn Maynard
2003-06-30 06:48:14 +00:00
parent 324b2ab1cf
commit 15288ce88e
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -42,6 +42,12 @@ void DifficultyDisplay::SetDifficulties( const Song* pSong, NotesType curType )
}
}
void DifficultyDisplay::UnsetDifficulties()
{
for( int diff = DIFFICULTY_BEGINNER; diff <= DIFFICULTY_CHALLENGE; ++diff )
m_difficulty[diff].Command( ICONOFFCOMMAND );
}
/*
Copyright (c) 2003 by the person(s) listed below. All rights reserved.
Steven Towle
+1
View File
@@ -23,6 +23,7 @@ class DifficultyDisplay : public ActorFrame
public:
DifficultyDisplay();
void SetDifficulties( const Song* pSong, NotesType curType );
void UnsetDifficulties();
protected:
Sprite m_difficulty[NUM_DIFFICULTIES];