PercentageDisplay: Fix ShowDancePointsNotPercentage() (#1474)

Remove legacy setting DancePointsForOni

Fixes: #1473
This commit is contained in:
Tyler Brekke
2017-06-07 06:20:48 -07:00
committed by Colby Klein
parent f4fd4f91d8
commit 9b5746f505
14 changed files with 3 additions and 27 deletions
-3
View File
@@ -201,9 +201,6 @@ bool PercentageDisplay::ShowDancePointsNotPercentage() const
return true;
}
if( PREFSMAN->m_bDancePointsForOni )
return true;
return false;
}
-1
View File
@@ -228,7 +228,6 @@ PrefsManager::PrefsManager() :
m_AllowMultipleToasties ("AllowMultipleToasties", true ),
m_MinTNSToHideNotes ("MinTNSToHideNotes", TNS_W3 ),
m_ShowSongOptions ( "ShowSongOptions", Maybe_NO ),
m_bDancePointsForOni ( "DancePointsForOni", true ),
m_bPercentageScoring ( "PercentageScoring", false ),
// Wow, these preference names are *seriously* long -Colby
m_fMinPercentageForMachineSongHighScore ( "MinPercentageForMachineSongHighScore", 0.0001f ), // This is for home, who cares how bad you do?
-1
View File
@@ -220,7 +220,6 @@ public:
Preference<bool> m_AllowMultipleToasties;
Preference<TapNoteScore> m_MinTNSToHideNotes;
Preference<Maybe> m_ShowSongOptions;
Preference<bool> m_bDancePointsForOni;
Preference<bool> m_bPercentageScoring;
Preference<float> m_fMinPercentageForMachineSongHighScore;
Preference<float> m_fMinPercentageForMachineCourseHighScore;
-1
View File
@@ -761,7 +761,6 @@ static void InitializeConfOptions()
ADD( ConfOption( "DefaultNoteSkin", DefaultNoteSkin, DefaultNoteSkinChoices ) );
ADD( ConfOption( "ShowInstructions", MovePref<bool>, "Skip","Show") );
ADD( ConfOption( "ShowCaution", MovePref<bool>, "Skip","Show") );
ADD( ConfOption( "DancePointsForOni", MovePref<bool>, "Percent","Dance Points") );
ADD( ConfOption( "MusicWheelUsesSections", MovePref<MusicWheelUsesSections>, "Never","Always","Title Only") );
ADD( ConfOption( "CourseSortOrder", MovePref<CourseSortOrders>, "Num Songs","Average Feet","Total Feet","Ranking") );
ADD( ConfOption( "MoveRandomToEnd", MovePref<bool>, "No","Yes") );