use Get/SetTapNote. Stupid Printf Tricks.

This commit is contained in:
Glenn Maynard
2002-10-25 04:59:12 +00:00
parent ebe0fd55ce
commit c2cc2881f9
5 changed files with 33 additions and 34 deletions
+1 -11
View File
@@ -59,7 +59,7 @@ public:
inline bool IsRowEmpty( int index )
{
for( int t=0; t<m_iNumTracks; t++ )
if( m_TapNotes[t][index] != '0' )
if( GetTapNote(t, index) != TAP_EMPTY )
return false;
return true;
}
@@ -123,13 +123,3 @@ public:
void Convert4sToHoldNotes();
void ConvertHoldNotesTo4s();
};
static const TapNote TAP_EMPTY = '0';
static const TapNote TAP_TAP = '1'; /* impatient? */
static const TapNote TAP_HOLD_HEAD = '2';
/* In 2sand3s mode, holds are deleted and TAP_HOLD_END is added: */
static const TapNote TAP_HOLD_TAIL = '3';
/* In 4s mode, holds and TAP_HOLD_HEAD are deleted and TAP_HOLD is added: */
static const TapNote TAP_HOLD = '4';