change m_szName to m_szStyleName

This commit is contained in:
Glenn Maynard
2002-08-23 21:57:42 +00:00
parent b88e252ad8
commit 9aaffa7b5a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -985,7 +985,7 @@ NotesType GameManager::StringToNotesType( CString sNotesType )
{
sNotesType.MakeLower();
for( int i=0; i<NUM_STYLES; i++ )
if( g_StyleDefs[i].m_szName == sNotesType )
if( g_StyleDefs[i].m_szStyleName == sNotesType )
return g_StyleDefs[i].m_NotesType;
// invalid NotesType
@@ -997,7 +997,7 @@ CString GameManager::NotesTypeToString( NotesType nt )
{
for( int i=0; i<NUM_STYLES; i++ )
if( g_StyleDefs[i].m_NotesType == nt )
return g_StyleDefs[i].m_szName ;
return g_StyleDefs[i].m_szStyleName ;
// invalid NotesType
ASSERT(0);
+1 -1
View File
@@ -38,7 +38,7 @@ public:
Game m_Game; // Which Game is this Style used with?
bool m_bUsedForGameplay; // Can be used only for gameplay?
bool m_bUsedForEdit; // Can be used for editing?
char m_szName[60];
char m_szStyleName[60];
NotesType m_NotesType; // the notes format that this style reads.
// For example, the "dance versus" reads the Notes with the tag "dance-single".
enum StyleType