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:
@@ -39,16 +39,20 @@ enum SongSort
|
||||
SongSort_TopGrades,
|
||||
SongSort_LowestGrades,
|
||||
NUM_SongSort,
|
||||
SongSort_Invalid,
|
||||
};
|
||||
/** @brief Loop through the various Song Sorts. */
|
||||
#define FOREACH_SongSort( i ) FOREACH_ENUM( SongSort, i )
|
||||
const RString& SongSortToString( SongSort ss );
|
||||
const RString& SongSortToLocalizedString( SongSort ss );
|
||||
|
||||
SongSort StringToSongSort( const RString& ss );
|
||||
|
||||
class CourseEntry
|
||||
{
|
||||
public:
|
||||
bool bSecret; // show "??????" instead of an exact song
|
||||
bool bUseSongSelect; // if true, this entry was created from a #SONGSELECT entry, instead of a #SONG entry
|
||||
|
||||
// filter criteria, applied from top to bottom
|
||||
SongID songID; // don't filter if unset
|
||||
|
||||
Reference in New Issue
Block a user