add UnsetDifficulties
This commit is contained in:
@@ -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.
|
Copyright (c) 2003 by the person(s) listed below. All rights reserved.
|
||||||
Steven Towle
|
Steven Towle
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ class DifficultyDisplay : public ActorFrame
|
|||||||
public:
|
public:
|
||||||
DifficultyDisplay();
|
DifficultyDisplay();
|
||||||
void SetDifficulties( const Song* pSong, NotesType curType );
|
void SetDifficulties( const Song* pSong, NotesType curType );
|
||||||
|
void UnsetDifficulties();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Sprite m_difficulty[NUM_DIFFICULTIES];
|
Sprite m_difficulty[NUM_DIFFICULTIES];
|
||||||
|
|||||||
Reference in New Issue
Block a user