Align defaults with SL recommendations

This commit is contained in:
Martin Natano
2022-05-11 22:31:37 +02:00
parent b2e60fa48b
commit b6cc8f90fc
3 changed files with 16 additions and 13 deletions
+6 -2
View File
@@ -107,8 +107,12 @@ namespace
* *
* This delay in events is ordinarily not noticable, because we report initial * This delay in events is ordinarily not noticable, because we report initial
* presses and releases immediately. However, if a real press is ever delayed, * presses and releases immediately. However, if a real press is ever delayed,
* this won't cause timing problems, because the event timestamp is preserved. */ * this won't cause timing problems, because the event timestamp is preserved.
static Preference<float> g_fInputDebounceTime( "InputDebounceTime", 0 ); *
* For pad play, a value of 20ms-50ms seems to result in a better experience.
* For keyboard play, this is often set to 0.
* */
static Preference<float> g_fInputDebounceTime( "InputDebounceTime", 0.02 );
InputFilter* INPUTFILTER = nullptr; // global and accessible from anywhere in our program InputFilter* INPUTFILTER = nullptr; // global and accessible from anywhere in our program
+3 -3
View File
@@ -214,7 +214,7 @@ PrefsManager::PrefsManager() :
m_AllowMultipleToasties ( "AllowMultipleToasties", true ), m_AllowMultipleToasties ( "AllowMultipleToasties", true ),
m_MinTNSToHideNotes ( "MinTNSToHideNotes", TNS_W3 ), m_MinTNSToHideNotes ( "MinTNSToHideNotes", TNS_W3 ),
m_ShowSongOptions ( "ShowSongOptions", Maybe_NO ), m_ShowSongOptions ( "ShowSongOptions", Maybe_NO ),
m_bPercentageScoring ( "PercentageScoring", false ), m_bPercentageScoring ( "PercentageScoring", true ),
// Wow, these preference names are *seriously* long -Colby // Wow, these preference names are *seriously* long -Colby
m_fMinPercentageForMachineSongHighScore ( "MinPercentageForMachineSongHighScore", 0.0001f ), // This is for home, who cares how bad you do? m_fMinPercentageForMachineSongHighScore ( "MinPercentageForMachineSongHighScore", 0.0001f ), // This is for home, who cares how bad you do?
m_fMinPercentageForMachineCourseHighScore ( "MinPercentageForMachineCourseHighScore", 0.0001f ), // don't save course scores with 0 percentage m_fMinPercentageForMachineCourseHighScore ( "MinPercentageForMachineCourseHighScore", 0.0001f ), // don't save course scores with 0 percentage
@@ -223,7 +223,7 @@ PrefsManager::PrefsManager() :
m_bAutogenGroupCourses ( "AutogenGroupCourses", true ), m_bAutogenGroupCourses ( "AutogenGroupCourses", true ),
m_bOnlyPreferredDifficulties ( "OnlyPreferredDifficulties", false ), m_bOnlyPreferredDifficulties ( "OnlyPreferredDifficulties", false ),
m_bBreakComboToGetItem ( "BreakComboToGetItem", false ), m_bBreakComboToGetItem ( "BreakComboToGetItem", false ),
m_bLockCourseDifficulties ( "LockCourseDifficulties", true ), m_bLockCourseDifficulties ( "LockCourseDifficulties", false ),
m_ShowDancingCharacters ( "ShowDancingCharacters", SDC_Random ), m_ShowDancingCharacters ( "ShowDancingCharacters", SDC_Random ),
m_bUseUnlockSystem ( "UseUnlockSystem", false ), m_bUseUnlockSystem ( "UseUnlockSystem", false ),
m_fGlobalOffsetSeconds ( "GlobalOffsetSeconds", -0.008f ), m_fGlobalOffsetSeconds ( "GlobalOffsetSeconds", -0.008f ),
@@ -272,7 +272,7 @@ PrefsManager::PrefsManager() :
m_sDefaultTheme ( "DefaultTheme", "Simply Love" ), m_sDefaultTheme ( "DefaultTheme", "Simply Love" ),
m_sLastSeenVideoDriver ( "LastSeenVideoDriver", "" ), m_sLastSeenVideoDriver ( "LastSeenVideoDriver", "" ),
m_sVideoRenderers ( "VideoRenderers", "" ), // StepMania.cpp sets these on first run: m_sVideoRenderers ( "VideoRenderers", "" ), // StepMania.cpp sets these on first run:
m_bSmoothLines ( "SmoothLines", false ), m_bSmoothLines ( "SmoothLines", true ),
m_iSoundWriteAhead ( "SoundWriteAhead", 0 ), m_iSoundWriteAhead ( "SoundWriteAhead", 0 ),
m_iSoundDevice ( "SoundDevice", "" ), m_iSoundDevice ( "SoundDevice", "" ),
m_iRageSoundSampleCountClamp ("RageSoundSampleCountClamp", 0), //some sound drivers mask the sample location number, the most popular number for this is 2^27, this causes lockup after ~50 minutes at 44.1khz sample rate m_iRageSoundSampleCountClamp ("RageSoundSampleCountClamp", 0), //some sound drivers mask the sample location number, the most popular number for this is 2^27, this causes lockup after ~50 minutes at 44.1khz sample rate
-1
View File
@@ -92,7 +92,6 @@ AutoScreenMessage( SM_BattleTrickLevel3 );
static Preference<bool> g_bCenter1Player( "Center1Player", false ); static Preference<bool> g_bCenter1Player( "Center1Player", false );
static Preference<bool> g_bShowLyrics( "ShowLyrics", true ); static Preference<bool> g_bShowLyrics( "ShowLyrics", true );
static Preference<float> g_fNetStartOffset( "NetworkStartOffset", -3.0 );
static Preference<bool> g_bEasterEggs( "EasterEggs", true ); static Preference<bool> g_bEasterEggs( "EasterEggs", true );