From 58b575b511d58b36583cf66c3d964eb7a76f8760 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 13 Sep 2003 20:28:45 +0000 Subject: [PATCH] change lyrics text color --- stepmania/Themes/default/metrics.ini | 4 ++-- stepmania/src/LyricDisplay.cpp | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/stepmania/Themes/default/metrics.ini b/stepmania/Themes/default/metrics.ini index 7f164b984d..dd9b58cd55 100644 --- a/stepmania/Themes/default/metrics.ini +++ b/stepmania/Themes/default/metrics.ini @@ -1877,8 +1877,8 @@ BannerWidth=564 BannerHeight=184 [LyricDisplay] -InCommand=diffusealpha,0;zoomy,0;spring,0.20;zoomy,1;diffusealpha,1 -OutCommand=linear,0.20;zoomy,0;diffusealpha,1 +InCommand=shadowlength,0;zoomy,0;spring,0.20;zoomy,1; +OutCommand=linear,0.20;zoomy,0 [ScoreKeeperRave] AttackDurationSeconds=10 diff --git a/stepmania/src/LyricDisplay.cpp b/stepmania/src/LyricDisplay.cpp index 327a2dc991..c71565eb4e 100644 --- a/stepmania/src/LyricDisplay.cpp +++ b/stepmania/src/LyricDisplay.cpp @@ -15,6 +15,7 @@ LyricDisplay::LyricDisplay() { m_textLyrics[i].LoadFromFont( THEME->GetPathToF("LyricDisplay text") ); m_textLyrics[i].SetDiffuse( RageColor(1,1,1,1) ); + m_textLyrics[i].SetDiffuse( RageColor(1,1,1,1) ); this->AddChild(&m_textLyrics[i]); } @@ -97,7 +98,11 @@ void LyricDisplay::Update( float fDeltaTime ) RageColor color = GAMESTATE->m_pCurSong->m_LyricSegments[m_iCurLyricNumber].m_Color; if( i==0 ) - color /= 2; + { + for( int c=0; c<4; c++ ) + color[c] /= 2; + color.a = 0.5f; + } m_textLyrics[i].SetDiffuse(color); if( i==1 )