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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user