Cache NoteData inside Notes.
This commit is contained in:
@@ -36,7 +36,16 @@ public:
|
||||
// Loading
|
||||
bool LoadFromNotesFile( const CString &sPath );
|
||||
|
||||
/* We can have one or both of these; if we have both, they're always identical.
|
||||
* Call Compress() to force us to only have notes_comp; otherwise, creation of
|
||||
* these is transparent. */
|
||||
mutable NoteData *notes;
|
||||
mutable CString *notes_comp;
|
||||
void Decompress() const;
|
||||
|
||||
public:
|
||||
void Compress() const;
|
||||
|
||||
NotesType m_NotesType;
|
||||
CString m_sDescription; // This text is displayed next to thte number of feet when a song is selected
|
||||
bool m_bAutoGen; // Was created by autogen?
|
||||
@@ -44,7 +53,6 @@ public:
|
||||
int m_iMeter; // difficulty rating from 1-10
|
||||
float m_fRadarValues[NUM_RADAR_VALUES]; // between 0.0-1.2 starting from 12-o'clock rotating clockwise
|
||||
|
||||
CString m_sSMNoteData;
|
||||
void GetNoteData( NoteData* pNoteDataOut ) const;
|
||||
void SetNoteData( NoteData* pNewNoteData );
|
||||
void SetSMNoteData( const CString &out );
|
||||
|
||||
Reference in New Issue
Block a user