Add and use accessors for most of Notes.

Don't autogen data until it's needed.
This commit is contained in:
Glenn Maynard
2003-01-02 22:10:51 +00:00
parent b797141aa3
commit bb8940adad
23 changed files with 231 additions and 164 deletions
+3 -3
View File
@@ -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 );