style
This commit is contained in:
@@ -591,27 +591,27 @@ int SongManager::GetNumUnlockedSongs() const
|
|||||||
|
|
||||||
int SongManager::GetNumSelectableAndUnlockedSongs() const
|
int SongManager::GetNumSelectableAndUnlockedSongs() 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;
|
||||||
if( (*i)->GetDisplayed() != Song::SHOW_ALWAYS )
|
if( (*i)->GetDisplayed() != Song::SHOW_ALWAYS )
|
||||||
continue;
|
continue;
|
||||||
num++;
|
iNum++;
|
||||||
}
|
}
|
||||||
return num;
|
return iNum;
|
||||||
}
|
}
|
||||||
|
|
||||||
int SongManager::GetNumAdditionalSongs() const
|
int SongManager::GetNumAdditionalSongs() const
|
||||||
{
|
{
|
||||||
int num = 0;
|
int iNum = 0;
|
||||||
FOREACH_CONST( Song*, m_pSongs, i )
|
FOREACH_CONST( Song*, m_pSongs, i )
|
||||||
{
|
{
|
||||||
if( WasLoadedFromAdditionalSongs( *i ) )
|
if( WasLoadedFromAdditionalSongs( *i ) )
|
||||||
num++;
|
iNum++;
|
||||||
}
|
}
|
||||||
return num;
|
return iNum;
|
||||||
}
|
}
|
||||||
|
|
||||||
int SongManager::GetNumSongGroups() const
|
int SongManager::GetNumSongGroups() const
|
||||||
|
|||||||
Reference in New Issue
Block a user