style
This commit is contained in:
@@ -579,14 +579,14 @@ int SongManager::GetNumSongs() const
|
|||||||
|
|
||||||
int SongManager::GetNumUnlockedSongs() const
|
int SongManager::GetNumUnlockedSongs() const
|
||||||
{
|
{
|
||||||
int num = 0;
|
int iNum = 0;
|
||||||
FOREACH_CONST( Song*, m_pSongs, i )
|
FOREACH_CONST( Song*, m_pSongs, i )
|
||||||
{
|
{
|
||||||
if( UNLOCKMAN->SongIsLocked( *i ) )
|
if( UNLOCKMAN->SongIsLocked( *i ) )
|
||||||
continue;
|
continue;
|
||||||
num++;
|
++iNum;
|
||||||
}
|
}
|
||||||
return num;
|
return iNum;
|
||||||
}
|
}
|
||||||
|
|
||||||
int SongManager::GetNumSelectableAndUnlockedSongs() const
|
int SongManager::GetNumSelectableAndUnlockedSongs() const
|
||||||
@@ -598,7 +598,7 @@ int SongManager::GetNumSelectableAndUnlockedSongs() const
|
|||||||
continue;
|
continue;
|
||||||
if( (*i)->GetDisplayed() != Song::SHOW_ALWAYS )
|
if( (*i)->GetDisplayed() != Song::SHOW_ALWAYS )
|
||||||
continue;
|
continue;
|
||||||
iNum++;
|
++iNum;
|
||||||
}
|
}
|
||||||
return iNum;
|
return iNum;
|
||||||
}
|
}
|
||||||
@@ -609,7 +609,7 @@ int SongManager::GetNumAdditionalSongs() const
|
|||||||
FOREACH_CONST( Song*, m_pSongs, i )
|
FOREACH_CONST( Song*, m_pSongs, i )
|
||||||
{
|
{
|
||||||
if( WasLoadedFromAdditionalSongs( *i ) )
|
if( WasLoadedFromAdditionalSongs( *i ) )
|
||||||
iNum++;
|
++iNum;
|
||||||
}
|
}
|
||||||
return iNum;
|
return iNum;
|
||||||
}
|
}
|
||||||
@@ -626,13 +626,13 @@ int SongManager::GetNumCourses() const
|
|||||||
|
|
||||||
int SongManager::GetNumAdditionalCourses() const
|
int SongManager::GetNumAdditionalCourses() const
|
||||||
{
|
{
|
||||||
int num = 0;
|
int iNum = 0;
|
||||||
FOREACH_CONST( Course*, m_pCourses, i )
|
FOREACH_CONST( Course*, m_pCourses, i )
|
||||||
{
|
{
|
||||||
if( WasLoadedFromAdditionalCourses( *i ) )
|
if( WasLoadedFromAdditionalCourses( *i ) )
|
||||||
num++;
|
++iNum;
|
||||||
}
|
}
|
||||||
return num;
|
return iNum;
|
||||||
}
|
}
|
||||||
|
|
||||||
int SongManager::GetNumCourseGroups() const
|
int SongManager::GetNumCourseGroups() const
|
||||||
@@ -646,7 +646,7 @@ int SongManager::GetNumEditCourses( ProfileSlot slot ) const
|
|||||||
FOREACH_CONST( Course*, m_pCourses, p )
|
FOREACH_CONST( Course*, m_pCourses, p )
|
||||||
{
|
{
|
||||||
if( (*p)->GetLoadedFromProfileSlot() == slot )
|
if( (*p)->GetLoadedFromProfileSlot() == slot )
|
||||||
iNum++;
|
++iNum;
|
||||||
}
|
}
|
||||||
return iNum;
|
return iNum;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user