add Tiny (the same effect as the old Mini)

make calories less generous
This commit is contained in:
Chris Danford
2006-04-05 02:59:16 +00:00
parent 5ae5fdaefc
commit 74ecf45379
6 changed files with 34 additions and 6 deletions
+2 -1
View File
@@ -19,8 +19,9 @@ void NoteFieldMode::BeginDrawTrack( const PlayerState* pPlayerState, int iTrack
// TODO: Remove indexing by PlayerNumber.
float fPixelXOffsetFromCenter = s->m_ColumnInfo[pPlayerState->m_PlayerNumber][iTrack].fXOffset;
/* Allow Mini to pull tracks together, but not to push them apart. */
const float* fEffects = pPlayerState->m_CurrentPlayerOptions.m_fEffects;
/* Allow Mini to pull tracks together, but not to push them apart. */
float fMiniPercent = fEffects[PlayerOptions::EFFECT_MINI];
fMiniPercent = min( powf(0.5f, fMiniPercent), 1.0f );
fPixelXOffsetFromCenter *= fMiniPercent;