Add and use accessors for most of Notes.
Don't autogen data until it's needed.
This commit is contained in:
@@ -120,11 +120,11 @@ bool DWILoader::LoadFromDWITokens(
|
||||
ASSERT(0);
|
||||
}
|
||||
|
||||
out.m_sDescription = sDescription;
|
||||
out.SetDescription(sDescription);
|
||||
|
||||
out.m_iMeter = atoi( sNumFeet );
|
||||
out.SetMeter(atoi(sNumFeet));
|
||||
|
||||
//m_Difficulty = DifficultyFromDescriptionAndMeter( m_sDescription, m_iMeter );
|
||||
//SetDifficulty(DifficultyFromDescriptionAndMeter( GetDescription(), GetMeter() ));
|
||||
|
||||
NoteData* pNoteData = new NoteData;
|
||||
ASSERT( pNoteData );
|
||||
|
||||
Reference in New Issue
Block a user