clean up NoteData

This commit is contained in:
Chris Danford
2003-02-01 05:16:38 +00:00
parent 6c272b6ba5
commit f4e8c4fb24
10 changed files with 67 additions and 53 deletions
+5 -2
View File
@@ -27,6 +27,8 @@ class NoteData
{
/* Keep this aligned, so that they all have the same size. */
vector<TapNote> m_TapNotes[MAX_NOTE_TRACKS];
int m_iNumTracks;
vector<HoldNote> m_HoldNotes;
/* Pad m_TapNotes so it includes the row "rows". */
@@ -37,12 +39,13 @@ public:
* divisor. Doesn't allocate or copy anything. */
void Config( const NoteData &From );
int m_iNumTracks;
NoteData();
~NoteData();
void Init();
int GetNumTracks();
void SetNumTracks( int iNewNumTracks );
/* Return the note at the given track and row. Row may be out of
* range; pretend the song goes on with TAP_EMPTYs indefinitely. */
inline TapNote GetTapNote(unsigned track, unsigned row) const