chugging away at 3.0

This commit is contained in:
Chris Danford
2002-05-28 20:01:22 +00:00
parent 7800df57a1
commit f3c360a7d6
50 changed files with 605 additions and 555 deletions
+2 -15
View File
@@ -37,20 +37,7 @@ void TransitionStarWipe::DrawPrimitives()
return;
}
float fPercentOpen = 1-GetPercentageOpen();
/*
switch( m_TransitionState )
{
case opening_right:
case opening_left:
fPercentOpen = (1.0f - m_fPercentThroughTransition);
break;
case closing_right:
case closing_left:
fPercentOpen = m_fPercentThroughTransition;
break;
}
*/
float fPercentClosed = 1 - GetPercentageOpen();
int iNumStars = SCREEN_HEIGHT/m_iStarHeight + 1;
@@ -76,7 +63,7 @@ void TransitionStarWipe::DrawPrimitives()
x_tilt = 0;
}
int x_offset = (int)(fPercentOpen*(SCREEN_WIDTH+SCREEN_HEIGHT+m_iStarWidth));
int x_offset = (int)(fPercentClosed*(SCREEN_WIDTH+SCREEN_HEIGHT+m_iStarWidth));
int x = bIsAnEvenRow ?
-SCREEN_HEIGHT/2 + x_offset + x_tilt :