Refactored code for writing #SONG entries in CourseWriterCRS

Added method for writing #SONGSELECT entries
Added new boolean flag bUseSongSelect to CourseEntry
Added new function StringToSongSort()
Renamed "LIVES" to "GAINLIVES"
This commit is contained in:
Michael Votaw
2024-03-06 01:45:26 -08:00
committed by teejusb
parent be87de401a
commit 84553d4a50
5 changed files with 214 additions and 87 deletions
+5
View File
@@ -4,6 +4,7 @@
#define COURSE_WRITER_CRS_H
class Course;
class CourseEntry;
class RageFileBasic;
/** @brief The Course Writer handles writing the .crs files. */
@@ -36,6 +37,10 @@ namespace CourseWriterCRS
* @param pCourse the course file.
*/
void WriteEditFileToMachine( const Course *pCourse );
bool WriteCourseEntry( const CourseEntry &entry, RageFileBasic &f );
bool WriteSongSelectCourseEntry( const CourseEntry &entry, RageFileBasic &f );
}
#endif