diff --git a/stepmania/src/Profile.cpp b/stepmania/src/Profile.cpp index dfdbd16bcf..83336eae03 100644 --- a/stepmania/src/Profile.cpp +++ b/stepmania/src/Profile.cpp @@ -215,8 +215,6 @@ int Profile::GetPossibleSongDancePointsForStepsType( StepsType st ) const if( pSong->m_SelectionDisplay == Song::SHOW_NEVER ) continue; // skip - if( UNLOCKMAN->SongIsLocked(pSong) ) - continue; vector vSteps = pSong->GetAllSteps(); for( unsigned j=0; j vCourses; - SONGMAN->GetAllCourses( vCourses, false ); - for( unsigned i=0; iAllSongsAreFixed() ) - continue; - - FOREACH_CourseDifficulty( cd ) - { - if( !pCourse->HasCourseDifficulty(st,cd) ) - continue; - - const RadarValues& fRadars = pCourse->GetRadarValues(st,cd); - iTotal += ScoreKeeperMAX2::GetPossibleDancePoints( fRadars ); - } - } - } - - return iTotal; -} - int Profile::GetActualSongDancePointsForStepsType( StepsType st ) const { int iTotal = 0; @@ -316,6 +284,36 @@ int Profile::GetActualSongDancePointsForStepsType( StepsType st ) const return iTotal; } +int Profile::GetPossibleCourseDancePointsForStepsType( StepsType st ) const +{ + int iTotal = 0; + + // add course high scores + { + vector vCourses; + SONGMAN->GetAllCourses( vCourses, false ); + for( unsigned i=0; iAllSongsAreFixed() ) + continue; + + FOREACH_CourseDifficulty( cd ) + { + if( !pCourse->HasCourseDifficulty(st,cd) ) + continue; + + const RadarValues& fRadars = pCourse->GetRadarValues(st,cd); + iTotal += ScoreKeeperMAX2::GetPossibleDancePoints( fRadars ); + } + } + } + + return iTotal; +} + int Profile::GetActualCourseDancePointsForStepsType( StepsType st ) const { int iTotal = 0;