[sm130attacks] Minor cleanup before testing.
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
#include "Song.h"
|
#include "Song.h"
|
||||||
#include "SongManager.h"
|
#include "SongManager.h"
|
||||||
#include "Steps.h"
|
#include "Steps.h"
|
||||||
|
#include "Attack.h"
|
||||||
#include "PrefsManager.h"
|
#include "PrefsManager.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -134,6 +134,19 @@ static void WriteGlobalTags( RageFile &f, const Song &out )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
f.PutLine( ";" );
|
f.PutLine( ";" );
|
||||||
|
|
||||||
|
f.Write( "#ATTACKS:" );
|
||||||
|
for( unsigned j = 0; j < out.m_Attacks.size(); j++ )
|
||||||
|
{
|
||||||
|
const Attack &a = out.m_Attacks[j];
|
||||||
|
f.Write( ssprintf( "TIME=%.2f:LEN=%.2f:MODS=%s",
|
||||||
|
a.fStartSecond, a.fSecsRemaining, a.sModifiers.c_str() ) );
|
||||||
|
|
||||||
|
if( j+1 < out.m_Attacks.size() )
|
||||||
|
f.Write( ":" );
|
||||||
|
f.PutLine( "" );
|
||||||
|
}
|
||||||
|
f.PutLine( ";" );
|
||||||
|
|
||||||
f.Write( "#DELAYS:" );
|
f.Write( "#DELAYS:" );
|
||||||
for( unsigned i=0; i<out.m_Timing.m_StopSegments.size(); i++ )
|
for( unsigned i=0; i<out.m_Timing.m_StopSegments.size(); i++ )
|
||||||
|
|||||||
Reference in New Issue
Block a user