change m_szName to m_szStyleName
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user