Files
itgmania212121/stepmania/src/NotesWriterDWI.h
T

23 lines
734 B
C++
Raw Normal View History

#ifndef NOTES_WRITER_DWI_H
#define NOTES_WRITER_DWI_H
2003-02-16 04:28:17 +00:00
#include "song.h"
#include "Notes.h"
2002-11-03 05:02:48 +00:00
#include "NoteTypes.h"
class NotesWriterDWI
{
2002-11-03 05:02:48 +00:00
CString NotesToDWIString( TapNote cNoteCol1, TapNote cNoteCol2, TapNote cNoteCol3, TapNote cNoteCol4, TapNote cNoteCol5, TapNote cNoteCol6 );
CString NotesToDWIString( TapNote cNoteCol1, TapNote cNoteCol2, TapNote cNoteCol3, TapNote cNoteCol4 );
2002-09-09 02:23:03 +00:00
void WriteDWINotesField( FILE* fp, const Notes &out, int start );
bool WriteDWINotesTag( FILE* fp, const Notes &out );
CString NotesToDWIString( const TapNote cNoteCols[6] );
CString OptimizeDWIString( CString holds, CString taps );
char OptimizeDWIPair( char c1, char c2 );
public:
bool Write( CString sPath, const Song &out );
};
#endif