some more s/GetSize/size/ and other minor STLisms
This commit is contained in:
@@ -127,7 +127,7 @@ ScreenTitleMenu::ScreenTitleMenu()
|
||||
|
||||
m_textSongs.LoadFromFont( THEME->GetPathTo("Fonts","normal") );
|
||||
m_textSongs.SetHorizAlign( Actor::align_left );
|
||||
m_textSongs.SetText( ssprintf("Found %d Songs", SONGMAN->m_pSongs.GetSize()) );
|
||||
m_textSongs.SetText( ssprintf("Found %u Songs", SONGMAN->m_pSongs.size()) );
|
||||
m_textSongs.SetDiffuse( RageColor(0.6f,0.6f,0.6f,1) ); // light gray
|
||||
m_textSongs.SetXY( SONGS_X, SONGS_Y );
|
||||
m_textSongs.SetZoom( 0.5f );
|
||||
@@ -365,7 +365,7 @@ void ScreenTitleMenu::MenuStart( PlayerNumber pn )
|
||||
m_Fade.CloseWipingRight( SM_GoToNextScreen );
|
||||
break;
|
||||
case CHOICE_EDIT:
|
||||
if( SONGMAN->m_pSongs.GetSize() == 0 )
|
||||
if( SONGMAN->m_pSongs.empty() )
|
||||
{
|
||||
m_soundInvalid.PlayRandom();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user