diff --git a/stepmania/src/BPMDisplay.cpp b/stepmania/src/BPMDisplay.cpp index f896ef620a..8474237d71 100644 --- a/stepmania/src/BPMDisplay.cpp +++ b/stepmania/src/BPMDisplay.cpp @@ -180,7 +180,7 @@ void BPMDisplay::SetBPM( const Course* pCourse ) ASSERT( pCourse ); vector ci; - pCourse->GetCourseInfo( GAMESTATE->GetCurrentStyleDef()->m_NotesType, ci ); + pCourse->GetCourseInfo( GAMESTATE->GetCurrentStyleDef()->m_StepsType, ci ); ASSERT( ci.size() ); diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index 43c2891010..4475ca23af 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -95,7 +95,7 @@ int Course::GetMeter( int Difficult ) const /*LOG->Trace( "Course file '%s' contains a song '%s%s%s' that is not present", m_sPath.c_str(), sGroup.c_str(), sGroup.size()? SLASH:"", sSong.c_str());*/ vector ci; - GetCourseInfo( GAMESTATE->GetCurrentStyleDef()->m_NotesType, ci, Difficult ); + GetCourseInfo( GAMESTATE->GetCurrentStyleDef()->m_StepsType, ci, Difficult ); /* Take the average meter. */ float fTotalMeter = 0; @@ -942,7 +942,7 @@ void Course::UpdateCourseStats() } vector ci; - GetCourseInfo( GAMESTATE->GetCurrentStyleDef()->m_NotesType, ci ); + GetCourseInfo( GAMESTATE->GetCurrentStyleDef()->m_StepsType, ci ); for( i = 0; i < ci.size(); i++ ) SortOrder_TotalDifficulty += ci[i].pNotes->GetMeter(); diff --git a/stepmania/src/CourseContentsList.cpp b/stepmania/src/CourseContentsList.cpp index 1eeec516cf..5eb3df9f1e 100644 --- a/stepmania/src/CourseContentsList.cpp +++ b/stepmania/src/CourseContentsList.cpp @@ -55,7 +55,7 @@ void CourseContentsList::SetFromCourse( Course* pCourse ) m_iNumContents = 0; vector ci; - pCourse->GetCourseInfo( GAMESTATE->GetCurrentStyleDef()->m_NotesType, ci ); + pCourse->GetCourseInfo( GAMESTATE->GetCurrentStyleDef()->m_StepsType, ci ); for( int i=0; iGetGroupNames( m_sGroups ); - GAMEMAN->GetNotesTypesForGame( GAMESTATE->m_CurGame, m_NotesTypes ); + GAMEMAN->GetNotesTypesForGame( GAMESTATE->m_CurGame, m_StepsTypes ); ChangeToRow( (Row)0 ); OnRowValueChanged( (Row)0 ); @@ -127,8 +127,8 @@ EditMenu::EditMenu() // Select the current StepsType and difficulty if any if( GAMESTATE->m_pCurNotes ) { - for( i=0; im_pCurNotes[PLAYER_1]->m_NotesType ) + for( i=0; im_pCurNotes[PLAYER_1]->m_StepsType ) { m_iSelection[ROW_NOTES_TYPE] = i; OnRowValueChanged( ROW_NOTES_TYPE ); @@ -177,9 +177,9 @@ bool EditMenu::CanGoRight() { m_sGroups.size(), m_pSongs.size(), - m_NotesTypes.size(), + m_StepsTypes.size(), NUM_DIFFICULTIES, - m_NotesTypes.size(), + m_StepsTypes.size(), NUM_DIFFICULTIES, m_Actions.size() }; diff --git a/stepmania/src/EditMenu.h b/stepmania/src/EditMenu.h index 166d753f9d..33e6612202 100644 --- a/stepmania/src/EditMenu.h +++ b/stepmania/src/EditMenu.h @@ -90,9 +90,9 @@ public: CString GetSelectedGroup() { return m_sGroups[m_iSelection[ROW_GROUP]]; } Song* GetSelectedSong() { return m_pSongs[m_iSelection[ROW_SONG]]; } - StepsType GetSelectedNotesType() { return m_NotesTypes[m_iSelection[ROW_NOTES_TYPE]]; } + StepsType GetSelectedNotesType() { return m_StepsTypes[m_iSelection[ROW_NOTES_TYPE]]; } Difficulty GetSelectedDifficulty() { return (Difficulty)m_iSelection[ROW_DIFFICULTY]; } - StepsType GetSelectedSourceNotesType() { return m_NotesTypes[m_iSelection[ROW_SOURCE_NOTES_TYPE]]; } + StepsType GetSelectedSourceNotesType() { return m_StepsTypes[m_iSelection[ROW_SOURCE_NOTES_TYPE]]; } Difficulty GetSelectedSourceDifficulty() { return (Difficulty)m_iSelection[ROW_SOURCE_DIFFICULTY]; } Action GetSelectedAction() { return m_Actions[m_iSelection[ROW_ACTION]]; } @@ -113,7 +113,7 @@ private: DifficultyMeter m_SourceMeter; CStringArray m_sGroups; - vector m_NotesTypes; + vector m_StepsTypes; vector m_pSongs; vector m_Actions; diff --git a/stepmania/src/GameManager.cpp b/stepmania/src/GameManager.cpp index c17ebbf7ce..2a132427f6 100644 --- a/stepmania/src/GameManager.cpp +++ b/stepmania/src/GameManager.cpp @@ -637,7 +637,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "single", // m_szName - STEPS_TYPE_DANCE_SINGLE, // m_NotesType + STEPS_TYPE_DANCE_SINGLE, // m_StepsType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType { 160, 480 }, // m_iCenterX 4, // m_iColsPerPlayer @@ -664,7 +664,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay false, // m_bUsedForEdit "versus", // m_szName - STEPS_TYPE_DANCE_SINGLE, // m_NotesType + STEPS_TYPE_DANCE_SINGLE, // m_StepsType StyleDef::TWO_PLAYERS_TWO_CREDITS, // m_StyleType { 160, 480 }, // m_iCenterX 4, // m_iColsPerPlayer @@ -691,7 +691,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "double", // m_szName - STEPS_TYPE_DANCE_DOUBLE, // m_NotesType + STEPS_TYPE_DANCE_DOUBLE, // m_StepsType StyleDef::ONE_PLAYER_TWO_CREDITS, // m_StyleType { 320, 320 }, // m_iCenterX 8, // m_iColsPerPlayer @@ -726,7 +726,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay false, // m_bUsedForEdit "couple", // m_szName - STEPS_TYPE_DANCE_COUPLE, // m_NotesType + STEPS_TYPE_DANCE_COUPLE, // m_StepsType StyleDef::TWO_PLAYERS_TWO_CREDITS, // m_StyleType { 160, 480 }, // m_iCenterX 4, // m_iColsPerPlayer @@ -753,7 +753,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "solo", // m_szName - STEPS_TYPE_DANCE_SOLO, // m_NotesType + STEPS_TYPE_DANCE_SOLO, // m_StepsType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType { 320, 320 }, // m_iCenterX 6, // m_iColsPerPlayer @@ -784,7 +784,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = false, // m_bUsedForGameplay true, // m_bUsedForEdit "couple (edit)", // m_szName - STEPS_TYPE_DANCE_COUPLE, // m_NotesType + STEPS_TYPE_DANCE_COUPLE, // m_StepsType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType { 160, 480 }, // m_iCenterX 8, // m_iColsPerPlayer @@ -816,7 +816,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = }, /* { // STYLE_DANCE_SOLO_VERSUS "dance-solo-versus", // m_szName - STEPS_TYPE_DANCE_SOLO, // m_NotesType + STEPS_TYPE_DANCE_SOLO, // m_StepsType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType { 160, 480 }, // m_iCenterX 6, // m_iColsPerPlayer @@ -847,7 +847,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "single", // m_szName - STEPS_TYPE_PUMP_SINGLE, // m_NotesType + STEPS_TYPE_PUMP_SINGLE, // m_StepsType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType { 160, 480 }, // m_iCenterX 5, // m_iColsPerPlayer @@ -876,7 +876,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay false, // m_bUsedForEdit "versus", // m_szName - STEPS_TYPE_PUMP_SINGLE, // m_NotesType + STEPS_TYPE_PUMP_SINGLE, // m_StepsType StyleDef::TWO_PLAYERS_TWO_CREDITS, // m_StyleType { 160, 480 }, // m_iCenterX 5, // m_iColsPerPlayer @@ -905,7 +905,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "halfdouble", // m_szName - STEPS_TYPE_PUMP_HALFDOUBLE, // m_NotesType + STEPS_TYPE_PUMP_HALFDOUBLE, // m_StepsType StyleDef::ONE_PLAYER_TWO_CREDITS, // m_StyleType { 320, 320 }, // m_iCenterX 6, // m_iColsPerPlayer @@ -936,7 +936,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "double", // m_szName - STEPS_TYPE_PUMP_DOUBLE, // m_NotesType + STEPS_TYPE_PUMP_DOUBLE, // m_StepsType StyleDef::ONE_PLAYER_TWO_CREDITS, // m_StyleType { 320, 320 }, // m_iCenterX 10, // m_iColsPerPlayer @@ -975,7 +975,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay false, // m_bUsedForEdit "couple", // m_szName - STEPS_TYPE_PUMP_COUPLE, // m_NotesType + STEPS_TYPE_PUMP_COUPLE, // m_StepsType StyleDef::TWO_PLAYERS_TWO_CREDITS, // m_StyleType { 160, 480 }, // m_iCenterX 5, // m_iColsPerPlayer @@ -1004,7 +1004,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = false, // m_bUsedForGameplay true, // m_bUsedForEdit "couple (edit)", // m_szName - STEPS_TYPE_PUMP_COUPLE, // m_NotesType + STEPS_TYPE_PUMP_COUPLE, // m_StepsType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType { 160, 480 }, // m_iCenterX 10, // m_iColsPerPlayer @@ -1038,7 +1038,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "single", // m_szName - STEPS_TYPE_EZ2_SINGLE, // m_NotesType + STEPS_TYPE_EZ2_SINGLE, // m_StepsType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType { 160, 480 }, // m_iCenterX 5, // m_iColsPerPlayer @@ -1067,7 +1067,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "real", // m_szName - STEPS_TYPE_EZ2_REAL, // m_NotesType + STEPS_TYPE_EZ2_REAL, // m_StepsType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType { 160, 480 }, // m_iCenterX 7, // m_iColsPerPlayer @@ -1100,7 +1100,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "versus", // m_szName - STEPS_TYPE_EZ2_SINGLE, // m_NotesType + STEPS_TYPE_EZ2_SINGLE, // m_StepsType StyleDef::TWO_PLAYERS_TWO_CREDITS, // m_StyleType { 160, 480 }, // m_iCenterX 5, // m_iColsPerPlayer @@ -1129,7 +1129,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "versusReal", // m_szName - STEPS_TYPE_EZ2_REAL, // m_NotesType + STEPS_TYPE_EZ2_REAL, // m_StepsType StyleDef::TWO_PLAYERS_TWO_CREDITS, // m_StyleType { 160, 480 }, // m_iCenterX 7, // m_iColsPerPlayer @@ -1162,7 +1162,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "double", // m_szName - STEPS_TYPE_EZ2_DOUBLE, // m_NotesType + STEPS_TYPE_EZ2_DOUBLE, // m_StepsType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType { 320, 320 }, // m_iCenterX 10, // m_iColsPerPlayer @@ -1201,7 +1201,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "single", // m_szName - STEPS_TYPE_PARA_SINGLE, // m_NotesType + STEPS_TYPE_PARA_SINGLE, // m_StepsType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType { 320, 320 }, // m_iCenterX 5, // m_iColsPerPlayer @@ -1230,7 +1230,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "single", // m_szName - STEPS_TYPE_DS3DDX_SINGLE, // m_NotesType + STEPS_TYPE_DS3DDX_SINGLE, // m_StepsType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType { 160, 480 }, // m_iCenterX 8, // m_iColsPerPlayer @@ -1265,7 +1265,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = true, // m_bUsedForGameplay true, // m_bUsedForEdit "BM-single", // m_szName - STEPS_TYPE_BM_SINGLE, // m_NotesType + STEPS_TYPE_BM_SINGLE, // m_StepsType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType { 160, 480 }, // m_iCenterX 6, // m_iColsPerPlayer @@ -1594,7 +1594,7 @@ void GameManager::GetStylesForGame( Game game, vector