remove Song::GetNumNotesWithGrade

This commit is contained in:
Glenn Maynard
2004-05-02 00:12:31 +00:00
parent 61c2f730de
commit 363534a046
2 changed files with 0 additions and 16 deletions
-15
View File
@@ -1281,21 +1281,6 @@ void Song::RemoveNotes( const Steps* pNotes )
AddAutoGenNotes();
}
int Song::GetNumNotesWithGrade( Grade g ) const
{
int iCount = 0;
vector<Steps*> vNotes;
this->GetSteps( vNotes, GAMESTATE->GetCurrentStyleDef()->m_StepsType );
for( unsigned j=0; j<vNotes.size(); j++ )
{
Steps* pSteps = vNotes[j];
if( PROFILEMAN->GetMachineProfile()->GetStepsHighScoreList(this,pSteps).GetTopScore().grade == g )
iCount++;
}
return iCount;
}
bool Song::Matches(CString sGroup, CString sSong) const
{
if( sGroup.size() && sGroup.CompareNoCase(this->m_sGroupName) != 0)
-1
View File
@@ -197,7 +197,6 @@ public:
bool NormallyDisplayed() const { return GetDisplayed() == SHOW_ALWAYS; }
bool NeverDisplayed() const { return GetDisplayed() == SHOW_NEVER; }
bool RouletteDisplayed() const { return GetDisplayed() != SHOW_NEVER; }
int GetNumNotesWithGrade( Grade g ) const;
void AddNotes( Steps* pNotes ); // we are responsible for deleting the memory pointed to by pNotes!
void RemoveNotes( const Steps* pNotes );