show hopo-possible notes with addition coloring

This commit is contained in:
Chris Danford
2006-12-01 14:18:18 +00:00
parent e58c980aef
commit 8dad4f1ac1
7 changed files with 60 additions and 14 deletions
+3
View File
@@ -8,6 +8,8 @@
#include <set>
#include <iterator>
static const float HOPO_CHAIN_SECONDS = 0.5f;
#define FOREACH_NONEMPTY_ROW_IN_TRACK( nd, track, row ) \
for( int row = -1; (nd).GetNextTapNoteRowForTrack(track,row); )
#define FOREACH_NONEMPTY_ROW_IN_TRACK_RANGE( nd, track, row, start, last ) \
@@ -164,6 +166,7 @@ public:
int GetNumTracksWithTapOrHoldHead( int row ) const;
int GetFirstTrackWithTap( int row ) const;
int GetFirstTrackWithTapOrHoldHead( int row ) const;
int GetLastTrackWithTapOrHoldHead( int row ) const;
inline bool IsThereATapAtRow( int row ) const { return GetFirstTrackWithTap( row ) != -1; }
inline bool IsThereATapOrHoldHeadAtRow( int row ) const { return GetFirstTrackWithTapOrHoldHead( row ) != -1; }