Added DisableUploadDir preference. Updated changelog.

This commit is contained in:
Kyzentun Keeslala
2016-03-22 09:22:52 -06:00
parent 75daad9d43
commit 6a73cdd1ba
4 changed files with 14 additions and 1 deletions
+7
View File
@@ -4,6 +4,13 @@ The StepMania 5 Changelog covers all post-sm-ssc changes. For a list of changes
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
________________________________________________________________________________
2016/03/22
----------
* [Prefs] Added DisableUploadDir preference to skip saving a score entry to
Save/Upload every time a song is played. Generating the unique filename
can take several seconds when there are years of scores accumulated, and it
clutters the disk. This preference defaults to false. [kyzentun]
2016/03/17
----------
* [Actor] Added get and set_tween_uses_effect_delta lua functions to make an
+1
View File
@@ -258,6 +258,7 @@ PrefsManager::PrefsManager() :
m_iMaxHighScoresPerListForMachine ( "MaxHighScoresPerListForMachine", 10 ),
m_iMaxHighScoresPerListForPlayer ( "MaxHighScoresPerListForPlayer", 3 ),
m_bAllowMultipleHighScoreWithSameName ( "AllowMultipleHighScoreWithSameName", true ),
m_DisableUploadDir("DisableUploadDir", false),
m_bCelShadeModels ( "CelShadeModels", false ), // Work-In-Progress.. disable by default.
m_bPreferredSortUsesGroups ( "PreferredSortUsesGroups", true ),
m_fDebounceCoinInputTime ( "DebounceCoinInputTime", 0 ),
+1
View File
@@ -249,6 +249,7 @@ public:
Preference<int> m_iMaxHighScoresPerListForMachine;
Preference<int> m_iMaxHighScoresPerListForPlayer;
Preference<bool> m_bAllowMultipleHighScoreWithSameName;
Preference<bool> m_DisableUploadDir;
Preference<bool> m_bCelShadeModels;
Preference<bool> m_bPreferredSortUsesGroups;
Preference<float> m_fDebounceCoinInputTime; // allow users to apply a distinct debounce to coin input
+5 -1
View File
@@ -230,8 +230,12 @@ void StatsManager::CommitStatsToProfiles( const StageStats *pSS )
}
}
// Save recent scores
// Not sure what the Save/Upload folder was originally for, but the files
// in it just accumulate uselessly, wasting several seconds when finishing
// a song. So this pref disables it. -Kyz
if(!PREFSMAN->m_DisableUploadDir)
{
// Save recent scores
auto_ptr<XNode> xml( new XNode("Stats") );
xml->AppendChild( "MachineGuid", PROFILEMAN->GetMachineProfile()->m_sGuid );