simplify rarely-used Load2

This commit is contained in:
Glenn Maynard
2005-12-06 03:05:57 +00:00
parent ac2b782192
commit f59e884ede
4 changed files with 13 additions and 20 deletions
+2 -1
View File
@@ -365,8 +365,9 @@ void ScoreScroller::Load(
for( int i=0; i<iNumCopies; ++i )
this->AddChild( new ScoreRowItem(ItemTemplate) );
DynamicActorScroller::Load2( (float) m_metricSongScoreRowsToDraw, SCREEN_WIDTH, fItemHeight, false, SONG_SCORE_SECONDS_PER_ROW, 0 );
DynamicActorScroller::Load2( SONG_SCORE_SECONDS_PER_ROW, (float) m_metricSongScoreRowsToDraw, fItemHeight, false );
DynamicActorScroller::EnableMask( SCREEN_WIDTH, fItemHeight );
DynamicActorScroller::ScrollThroughAllItems();
m_iNumItems = m_vScoreRowItemData.size();
}