add hammer-ons and pull-offs ("hopo")

This commit is contained in:
Chris Danford
2006-11-30 12:29:01 +00:00
parent 319158de1a
commit 6b07fcaed5
8 changed files with 175 additions and 8 deletions
+6
View File
@@ -466,6 +466,12 @@ int NoteData::GetNumTapNotes( int iStartIndex, int iEndIndex ) const
return iNumNotes;
}
int NoteData::GetNumTapNotesInRow( int iRow ) const
{
// Optimization opportunity: There's no need to instantiate row iterators if we're only checking one row.
return GetNumTapNotes( iRow, iRow+1 );
}
int NoteData::GetNumRowsWithTap( int iStartIndex, int iEndIndex ) const
{
int iNumNotes = 0;