From 5a73f14767f3ddcb23c3eb35ca6836b45dc792a3 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 4 Sep 2007 04:21:35 +0000 Subject: [PATCH] add IsEmptyTrack --- stepmania/src/NoteData.h | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/NoteData.h b/stepmania/src/NoteData.h index 0776f1cd47..47a4b9f1db 100644 --- a/stepmania/src/NoteData.h +++ b/stepmania/src/NoteData.h @@ -182,6 +182,7 @@ public: // statistics // bool IsEmpty() const; + bool IsTrackEmpty( int iTrack ) const { return m_TapNotes[iTrack].empty(); } int GetFirstRow() const; // return the beat number of the first note int GetLastRow() const; // return the beat number of the last note float GetFirstBeat() const { return NoteRowToBeat( GetFirstRow() ); }