overhauling editor UI

This commit is contained in:
Chris Danford
2003-02-18 23:15:38 +00:00
parent b64afd4f0c
commit ac9e58f760
32 changed files with 1209 additions and 674 deletions
+3 -1
View File
@@ -184,12 +184,14 @@ float ArrowGetGlow( PlayerNumber pn, float fYPos, float fPercentFadeToFail )
float ArrowGetBrightness( PlayerNumber pn, float fNoteBeat )
{
if( GAMESTATE->m_bEditing )
return 1;
float fSongBeat = GAMESTATE->m_fSongBeat;
float fBeatsUntilStep = fNoteBeat - fSongBeat;
float fBrightness = SCALE( fBeatsUntilStep, 0, -1, 1.f, 0.f );
CLAMP( fBrightness, 0, 1 );
// noisy printf( "fBrightness = %f\n", fBrightness );
return fBrightness;
}