Enums for TapNoteType, TapNoteSubType, and TapNoteSource

I intend to make additional useful information available on judgments,
such as TapNoteType and TapNoteSubType( for hold judgments ).

I am submitting this part as a separate pull request because it is more
generally applicable to anything TapNote related.
This commit is contained in:
sigatrev
2014-07-25 18:45:02 -05:00
committed by Jonathan Payne
parent 3945a4a34b
commit 82cb4a198d
28 changed files with 462 additions and 427 deletions
+4 -4
View File
@@ -942,8 +942,8 @@ bool BMSChartReader::ReadNoteData()
{
// this object is the end of the hold note.
TapNote tn = nd.GetTapNote(track, holdStart[track]);
tn.type = TapNote::hold_head;
tn.subType = TapNote::hold_head_hold;
tn.type = TapNoteType_HoldHead;
tn.subType = TapNoteSubType_Hold;
nd.AddHoldNote( track, holdStart[track], row, tn );
holdStart[track] = -1;
lastNote[track] = -1;
@@ -953,8 +953,8 @@ bool BMSChartReader::ReadNoteData()
// this object is the end of the hold note.
// lnobj: set last note to hold head.
TapNote tn = nd.GetTapNote(track, lastNote[track]);
tn.type = TapNote::hold_head;
tn.subType = TapNote::hold_head_hold;
tn.type = TapNoteType_HoldHead;
tn.subType = TapNoteSubType_Hold;
nd.AddHoldNote( track, lastNote[track], row, tn );
holdStart[track] = -1;
lastNote[track] = -1;