Tweak mini: instead of zooming out the whole field, zoom out each individual

arrow, and push the columns together a bit.  It looks the same, except that it
doesn't cause arrows to be closer together, like increasing the scroll speed to
match.  This keeps mini from causing many more notes to be drawn.  In general,
effects should try to avoid needing to increase fDrawScale.
This commit is contained in:
Glenn Maynard
2005-10-22 21:54:08 +00:00
parent 039aea4d01
commit 4410080639
4 changed files with 13 additions and 28 deletions
+4
View File
@@ -18,6 +18,10 @@ void NoteFieldMode::BeginDrawTrack( const PlayerState* pPlayerState, int iTrack
const Style *s = GAMESTATE->GetCurrentStyle();
// TODO: Remove indexing by PlayerNumber.
float fPixelXOffsetFromCenter = s->m_ColumnInfo[pPlayerState->m_PlayerNumber][iTrack].fXOffset;
const float* fEffects = pPlayerState->m_CurrentPlayerOptions.m_fEffects;
fPixelXOffsetFromCenter *= SCALE( fEffects[PlayerOptions::EFFECT_MINI], 0, 1, 1, 0.5f );
DISPLAY->Translate( fPixelXOffsetFromCenter, 0, 0 );
}