Attacks can be saved in the editor.

It's more flexible to do it by hand though.
This commit is contained in:
Jason Felds
2011-06-24 22:11:07 -04:00
parent f3ddbf5d2a
commit 5ce88d4b54
5 changed files with 27 additions and 2 deletions
+2 -1
View File
@@ -329,7 +329,8 @@ static RString GetSSCNoteData( const Song &song, const Steps &in, bool bSavingCa
if( a != (in.m_sAttackString.size() - 1) )
attacks += ":"; // Not the end, so write a divider ':'
}
lines.push_back( ssprintf( "#ATTACKS%s;", attacks.c_str()));
Trim(attacks, ":"); // just in case something screwy happens.
lines.push_back( ssprintf( "#ATTACKS:%s;", attacks.c_str()));
lines.push_back( ssprintf( "#OFFSET:%.6f;", in.m_Timing.m_fBeat0OffsetInSeconds ) );