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
+6 -5
View File
@@ -78,12 +78,13 @@ void CourseContentsList::SetFromGameState()
bool bLoop = pMasterTrail->m_vEntries.size() > uNumEntriesToShow;
this->Load2(
(float)MAX_VISIBLE_ITEMS,
m_vpDisplay[0]->GetUnzoomedWidth(),
m_vpDisplay[0]->GetUnzoomedHeight(),
bLoop,
0.7f,
0.7f );
(float)MAX_VISIBLE_ITEMS,
m_vpDisplay[0]->GetUnzoomedHeight(),
bLoop );
this->EnableMask( m_vpDisplay[0]->GetUnzoomedWidth(), m_vpDisplay[0]->GetUnzoomedHeight() );
this->SetSecondsPauseBetweenItems( 0.7f );
this->ScrollThroughAllItems();
this->SetCurrentAndDestinationItem( (MAX_VISIBLE_ITEMS-1)/2 );
if( bLoop )