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
parent 020b3916e8
commit e81af8c131
28 changed files with 462 additions and 427 deletions
+2 -2
View File
@@ -55,9 +55,9 @@ static void Serialize( const TapNote &o, Json::Value &root )
{
root = Json::Value(Json::objectValue);
if( o.type != TapNote::tap )
if( o.type != TapNoteType_Tap )
root["Type"] = (int)o.type;
if( o.type == TapNote::hold_head )
if( o.type == TapNoteType_HoldHead )
root["SubType"] = (int)o.subType;
//root["Source"] = (int)source;
if( !o.sAttackModifiers.empty() )