Move WriteSMNotesTag into the SM writer.
This commit is contained in:
@@ -56,24 +56,6 @@ Notes::~Notes()
|
||||
{
|
||||
}
|
||||
|
||||
void Notes::WriteSMNotesTag( FILE* fp )
|
||||
{
|
||||
fprintf( fp, "\n//---------------%s - %s----------------\n",
|
||||
GameManager::NotesTypeToString(m_NotesType).GetString(), m_sDescription.GetString() );
|
||||
fprintf( fp, "#NOTES:\n" );
|
||||
fprintf( fp, " %s:\n", GameManager::NotesTypeToString(m_NotesType).GetString() );
|
||||
fprintf( fp, " %s:\n", m_sDescription.GetString() );
|
||||
fprintf( fp, " %s:\n", DifficultyToString(m_Difficulty).GetString() );
|
||||
fprintf( fp, " %d:\n", m_iMeter );
|
||||
|
||||
CStringArray asRadarValues;
|
||||
for( int r=0; r<NUM_RADAR_VALUES; r++ )
|
||||
asRadarValues.push_back( ssprintf("%.3f", m_fRadarValues[r]) );
|
||||
fprintf( fp, " %s:\n", join(",",asRadarValues).GetString() );
|
||||
|
||||
fprintf( fp, "%s;\n", m_sSMNoteData.GetString() );
|
||||
}
|
||||
|
||||
void Notes::SetNoteData( NoteData* pNewNoteData )
|
||||
{
|
||||
ASSERT( pNewNoteData->m_iNumTracks == GameManager::NotesTypeToNumTracks(m_NotesType) );
|
||||
|
||||
Reference in New Issue
Block a user