add SongManager::SetPreferences
This commit is contained in:
@@ -688,6 +688,16 @@ void SongManager::RegenRandomTrailEntries()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SongManager::SetPreferences()
|
||||||
|
{
|
||||||
|
for( unsigned int i=0; i<m_pSongs.size(); i++ )
|
||||||
|
{
|
||||||
|
/* PREFSMAN->m_bAutogenSteps may have changed. */
|
||||||
|
m_pSongs[i]->RemoveAutoGenNotes();
|
||||||
|
m_pSongs[i]->AddAutoGenNotes();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void SongManager::GetAllCourses( vector<Course*> &AddTo, bool bIncludeAutogen )
|
void SongManager::GetAllCourses( vector<Course*> &AddTo, bool bIncludeAutogen )
|
||||||
{
|
{
|
||||||
for( unsigned i=0; i<m_pCourses.size(); i++ )
|
for( unsigned i=0; i<m_pCourses.size(); i++ )
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ public:
|
|||||||
void FreeSongs();
|
void FreeSongs();
|
||||||
void Cleanup();
|
void Cleanup();
|
||||||
void RegenRandomTrailEntries();
|
void RegenRandomTrailEntries();
|
||||||
|
void SetPreferences();
|
||||||
|
|
||||||
void LoadAllFromProfiles(); // song, edits
|
void LoadAllFromProfiles(); // song, edits
|
||||||
void FreeAllLoadedFromProfiles();
|
void FreeAllLoadedFromProfiles();
|
||||||
|
|||||||
Reference in New Issue
Block a user