Made Metrics to control how the Lyrics looks before the Swipe

This commit is contained in:
David Wilson
2003-10-02 04:15:50 +00:00
parent 6063565530
commit 48674b5d88
2 changed files with 10 additions and 3 deletions
+6 -2
View File
@@ -97,11 +97,15 @@ void LyricDisplay::Update( float fDeltaTime )
m_textLyrics[i].SetZoomX(fZoom);
RageColor color = GAMESTATE->m_pCurSong->m_LyricSegments[m_iCurLyricNumber].m_Color;
float WashOut = THEME->GetMetricF("LyricDisplay","WashOut");//DW
if (WashOut == 0) WashOut = 1;
if( i==0 )
{
for( int c=0; c<4; c++ )
color[c] /= 2;
color.a = 0.5f;
color[c] /= WashOut;
color.a = THEME->GetMetricF("LyricDisplay","Alpha");//DW;
}
m_textLyrics[i].SetDiffuse(color);