Documentation clean up and optimized AutoGen

This commit is contained in:
Chris Danford
2002-10-24 01:51:01 +00:00
parent a53fe4ef0e
commit 57896611b9
13 changed files with 358 additions and 226 deletions
+5 -1
View File
@@ -915,7 +915,7 @@ StyleDef g_StyleDefs[NUM_STYLES] =
true, // m_bUsedForGameplay
true, // m_bUsedForEdit
"single", // m_szName
NOTES_TYPE_PARA, // m_NotesType
NOTES_TYPE_PARA_SINGLE, // m_NotesType
StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType
{ 320, 320 }, // m_iCenterX
5, // m_iColsPerPlayer
@@ -1373,6 +1373,10 @@ NotesType GameManager::StringToNotesType( CString sNotesType )
if( sNotesType == "ez2-single-hard" )
sNotesType = "ez2-single";
// HACK! "para-single" used to be called just "para"
if( sNotesType == "para" )
sNotesType = "para-single";
for( int i=0; i<NUM_NOTES_TYPES; i++ )
if( NotesTypes[i].name == sNotesType )
return NotesType(i);