pull out SetTransformFromExpression/SetTransformFromHeight, so we don't

have two init functions.

(Now, we only need two special metrics to init an ActorScroller; the rest
can be done by OnCommand.)
This commit is contained in:
Glenn Maynard
2005-12-07 05:43:49 +00:00
parent 32129814b7
commit 42ac54c4a5
6 changed files with 22 additions and 25 deletions
+2 -2
View File
@@ -128,10 +128,10 @@ void ScreenSelectMaster::Init()
{
FOREACH( PlayerNumber, vpns, p )
{
m_Scroller[*p].Load3(
m_Scroller[*p].Load2(
SCROLLER_NUM_ITEMS_TO_DRAW,
SCROLLER_TRANSFORM,
LOOP_SCROLLER );
m_Scroller[*p].SetTransformFromExpression( SCROLLER_TRANSFORM );
m_Scroller[*p].SetSecondsPerItem( SCROLLER_SECONDS_PER_ITEM );
m_Scroller[*p].SetNumSubdivisions( SCROLLER_SUBDIVISIONS );
m_Scroller[*p].SetName( "Scroller"+PLAYER_APPEND_NO_SPACE(*p) );