Made Metrics to control how the Lyrics looks before the Swipe
This commit is contained in:
@@ -1953,6 +1953,9 @@ BannerHeight=184
|
|||||||
[LyricDisplay]
|
[LyricDisplay]
|
||||||
InCommand=shadowlength,0;zoomy,0;spring,0.20;zoomy,1;
|
InCommand=shadowlength,0;zoomy,0;spring,0.20;zoomy,1;
|
||||||
OutCommand=linear,0.20;zoomy,0
|
OutCommand=linear,0.20;zoomy,0
|
||||||
|
//Affects Lyrics PreSwipe 1 = no Swipe
|
||||||
|
Alpha=.5
|
||||||
|
WashOut=2 //Bigger number = Larger effect
|
||||||
|
|
||||||
[ScoreKeeperRave]
|
[ScoreKeeperRave]
|
||||||
AttackDurationSeconds=10
|
AttackDurationSeconds=10
|
||||||
@@ -2099,7 +2102,7 @@ Caution=Toggle whether the Caution screen is shown.
|
|||||||
OniScoreDisplay=Toggle whether the score in Oni mode displays Dance Points or the Dance Percent.
|
OniScoreDisplay=Toggle whether the score in Oni mode displays Dance Points or the Dance Percent.
|
||||||
SongGroup=Toggle whether the Select Group screen is shown.
|
SongGroup=Toggle whether the Select Group screen is shown.
|
||||||
WheelSections=ALWAYS means sections in group + ABC; NEVER means no sections;::ABC ONLY shows sections in just ABC sort
|
WheelSections=ALWAYS means sections in group + ABC; NEVER means no sections;::ABC ONLY shows sections in just ABC sort
|
||||||
Translations=Choose whether to displays song titles in their native::language (日本語), or to transliterate when possible
|
Translations=Choose whether to displays song titles in their native::language (???), or to transliterate when possible
|
||||||
Lyrics=Choose whether to show lyrics if a song::has them available (LRC File)
|
Lyrics=Choose whether to show lyrics if a song::has them available (LRC File)
|
||||||
10+footInRed=Choose where 10 footers or higher are displayed::in red on the song select wheel.
|
10+footInRed=Choose where 10 footers or higher are displayed::in red on the song select wheel.
|
||||||
CourseSort=Determines how courses are sorted.
|
CourseSort=Determines how courses are sorted.
|
||||||
|
|||||||
@@ -97,11 +97,15 @@ void LyricDisplay::Update( float fDeltaTime )
|
|||||||
m_textLyrics[i].SetZoomX(fZoom);
|
m_textLyrics[i].SetZoomX(fZoom);
|
||||||
|
|
||||||
RageColor color = GAMESTATE->m_pCurSong->m_LyricSegments[m_iCurLyricNumber].m_Color;
|
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 )
|
if( i==0 )
|
||||||
{
|
{
|
||||||
for( int c=0; c<4; c++ )
|
for( int c=0; c<4; c++ )
|
||||||
color[c] /= 2;
|
color[c] /= WashOut;
|
||||||
color.a = 0.5f;
|
color.a = THEME->GetMetricF("LyricDisplay","Alpha");//DW;
|
||||||
}
|
}
|
||||||
m_textLyrics[i].SetDiffuse(color);
|
m_textLyrics[i].SetDiffuse(color);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user