transition's finished; rename LoadEditsFromDir to LoadAllFromProfileDir to regeneralize
This commit is contained in:
@@ -188,7 +188,7 @@ bool ProfileManager::LoadProfileFromMemoryCard( PlayerNumber pn )
|
||||
const CString &sSubdir = asDirsToTry[i];
|
||||
CString sDir = MEM_CARD_MOUNT_POINT[pn] + sSubdir + "/";
|
||||
|
||||
SONGMAN->LoadEditsFromDir( sDir, (ProfileSlot) pn );
|
||||
SONGMAN->LoadAllFromProfileDir( sDir, (ProfileSlot) pn );
|
||||
}
|
||||
|
||||
return true; // If a card is inserted, we want to use the memory card to save - even if the Profile load failed.
|
||||
@@ -372,7 +372,7 @@ void ProfileManager::LoadMachineProfile()
|
||||
// If the machine name has changed, make sure we use the new name
|
||||
m_MachineProfile.m_sDisplayName = PREFSMAN->m_sMachineName;
|
||||
|
||||
SONGMAN->LoadEditsFromDir( MACHINE_PROFILE_DIR, PROFILE_SLOT_MACHINE );
|
||||
SONGMAN->LoadAllFromProfileDir( MACHINE_PROFILE_DIR, PROFILE_SLOT_MACHINE );
|
||||
}
|
||||
|
||||
bool ProfileManager::ProfileWasLoadedFromMemoryCard( PlayerNumber pn ) const
|
||||
|
||||
@@ -1175,7 +1175,7 @@ void SongManager::UpdateRankingCourses()
|
||||
}
|
||||
}
|
||||
|
||||
void SongManager::LoadEditsFromDir( const CString &sDir, ProfileSlot slot )
|
||||
void SongManager::LoadAllFromProfileDir( const CString &sDir, ProfileSlot slot )
|
||||
{
|
||||
//
|
||||
// Load all .edit files.
|
||||
|
||||
@@ -34,7 +34,7 @@ public:
|
||||
void RegenerateNonFixedCourses();
|
||||
void SetPreferences();
|
||||
|
||||
void LoadEditsFromDir( const CString &sDir, ProfileSlot slot );
|
||||
void LoadAllFromProfileDir( const CString &sDir, ProfileSlot slot );
|
||||
int GetNumStepsLoadedFromProfile();
|
||||
void FreeAllLoadedFromProfile( ProfileSlot slot = PROFILE_SLOT_INVALID );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user