Add edit management screen

This commit is contained in:
Chris Danford
2005-11-30 22:42:28 +00:00
parent 8cb7360ab6
commit cbe4ef50b5
9 changed files with 423 additions and 3 deletions
+10
View File
@@ -1422,6 +1422,16 @@ void Song::FreeAllLoadedFromProfile( ProfileSlot slot )
this->DeleteSteps( apToRemove[i] );
}
void Song::GetStepsLoadedFromProfile( ProfileSlot slot, vector<Steps*> &vpStepsOut ) const
{
for( unsigned s=0; s<m_vpSteps.size(); s++ )
{
Steps* pSteps = m_vpSteps[s];
if( pSteps->GetLoadedFromProfileSlot() == slot )
vpStepsOut.push_back( pSteps );
}
}
int Song::GetNumStepsLoadedFromProfile( ProfileSlot slot ) const
{
int iCount = 0;