Added DisableUploadDir preference. Updated changelog.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ),
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user