Radar branch: add Fakes wherever it made sense.

Need to check metrics, then ready to test.
This commit is contained in:
Jason Felds
2011-02-27 22:36:04 -05:00
parent ca83d063f8
commit 86f3bf7e79
9 changed files with 27 additions and 4 deletions
+14
View File
@@ -635,6 +635,20 @@ int NoteData::GetNumLifts( int iStartIndex, int iEndIndex ) const
return iNumLifts;
}
int NoteData::GetNumFakes( int iStartIndex, int iEndIndex ) const
{
int iNumFakes = 0;
for( int t=0; t<GetNumTracks(); t++ )
{
FOREACH_NONEMPTY_ROW_IN_TRACK_RANGE( *this, t, r, iStartIndex, iEndIndex )
if( GetTapNote(t, r).type == TapNote::fake )
iNumFakes++;
}
return iNumFakes;
}
/*
int NoteData::GetNumMinefields( int iStartIndex, int iEndIndex ) const
{