remove Song::GetNumNotesWithGrade
This commit is contained in:
@@ -1281,21 +1281,6 @@ void Song::RemoveNotes( const Steps* pNotes )
|
|||||||
AddAutoGenNotes();
|
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
|
bool Song::Matches(CString sGroup, CString sSong) const
|
||||||
{
|
{
|
||||||
if( sGroup.size() && sGroup.CompareNoCase(this->m_sGroupName) != 0)
|
if( sGroup.size() && sGroup.CompareNoCase(this->m_sGroupName) != 0)
|
||||||
|
|||||||
@@ -197,7 +197,6 @@ public:
|
|||||||
bool NormallyDisplayed() const { return GetDisplayed() == SHOW_ALWAYS; }
|
bool NormallyDisplayed() const { return GetDisplayed() == SHOW_ALWAYS; }
|
||||||
bool NeverDisplayed() const { return GetDisplayed() == SHOW_NEVER; }
|
bool NeverDisplayed() const { return GetDisplayed() == SHOW_NEVER; }
|
||||||
bool RouletteDisplayed() 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 AddNotes( Steps* pNotes ); // we are responsible for deleting the memory pointed to by pNotes!
|
||||||
void RemoveNotes( const Steps* pNotes );
|
void RemoveNotes( const Steps* pNotes );
|
||||||
|
|||||||
Reference in New Issue
Block a user