change m_szName to m_szStyleName
This commit is contained in:
@@ -985,7 +985,7 @@ NotesType GameManager::StringToNotesType( CString sNotesType )
|
|||||||
{
|
{
|
||||||
sNotesType.MakeLower();
|
sNotesType.MakeLower();
|
||||||
for( int i=0; i<NUM_STYLES; i++ )
|
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;
|
return g_StyleDefs[i].m_NotesType;
|
||||||
|
|
||||||
// invalid NotesType
|
// invalid NotesType
|
||||||
@@ -997,7 +997,7 @@ CString GameManager::NotesTypeToString( NotesType nt )
|
|||||||
{
|
{
|
||||||
for( int i=0; i<NUM_STYLES; i++ )
|
for( int i=0; i<NUM_STYLES; i++ )
|
||||||
if( g_StyleDefs[i].m_NotesType == nt )
|
if( g_StyleDefs[i].m_NotesType == nt )
|
||||||
return g_StyleDefs[i].m_szName ;
|
return g_StyleDefs[i].m_szStyleName ;
|
||||||
|
|
||||||
// invalid NotesType
|
// invalid NotesType
|
||||||
ASSERT(0);
|
ASSERT(0);
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ public:
|
|||||||
Game m_Game; // Which Game is this Style used with?
|
Game m_Game; // Which Game is this Style used with?
|
||||||
bool m_bUsedForGameplay; // Can be used only for gameplay?
|
bool m_bUsedForGameplay; // Can be used only for gameplay?
|
||||||
bool m_bUsedForEdit; // Can be used for editing?
|
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.
|
NotesType m_NotesType; // the notes format that this style reads.
|
||||||
// For example, the "dance versus" reads the Notes with the tag "dance-single".
|
// For example, the "dance versus" reads the Notes with the tag "dance-single".
|
||||||
enum StyleType
|
enum StyleType
|
||||||
|
|||||||
Reference in New Issue
Block a user