cleaned up ShowSongOptions pref

Added fade for missed tap notes
move FailType to MachineOptions (so it's persistent)
This commit is contained in:
Chris Danford
2003-02-12 22:05:14 +00:00
parent de9c496399
commit 68f4bf1f31
15 changed files with 52 additions and 54 deletions
+9
View File
@@ -181,3 +181,12 @@ float ArrowGetGlow( PlayerNumber pn, float fYPos, float fPercentFadeToFail )
const float fDistFromHalf = fabsf( fPercentVisible - 0.5f );
return SCALE( fDistFromHalf, 0, 0.5f, 1.3f, 0 );
}
float ArrowGetBrightness( PlayerNumber pn, float fYPos )
{
float fBrightness = SCALE( fYPos, 0, -ARROW_SIZE, 1.f, 0.f );
CLAMP( fBrightness, 0, 1 );
printf( "fBrightness = %f\n", fBrightness );
return fBrightness;
}