[splittiming] We know this doesn't work.

Time to find what does.
This commit is contained in:
Jason Felds
2011-05-15 17:14:18 -04:00
parent a0d3d9d6ee
commit 87ac80c33f
+2 -4
View File
@@ -230,8 +230,7 @@ float ArrowEffects::GetYOffset( const PlayerState* pPlayerState, int iCol, float
float fSongBeat = position.m_fSongBeatVisible;
float fBeatsUntilStep = fNoteBeat - fSongBeat;
float fYOffsetBeatSpacing = fBeatsUntilStep;
fYOffset += GAMESTATE->m_pCurSteps[pPlayerState->m_PlayerNumber]->m_Timing.GetSpeedPercentAtBeat( fNoteBeat ) *
fYOffsetBeatSpacing * (1-pPlayerState->m_PlayerOptions.GetCurrent().m_fTimeSpacing);
fYOffset += fYOffsetBeatSpacing * (1-pPlayerState->m_PlayerOptions.GetCurrent().m_fTimeSpacing);
}
if( pPlayerState->m_PlayerOptions.GetCurrent().m_fTimeSpacing != 0.0f )
@@ -242,8 +241,7 @@ float ArrowEffects::GetYOffset( const PlayerState* pPlayerState, int iCol, float
float fBPM = pPlayerState->m_PlayerOptions.GetCurrent().m_fScrollBPM;
float fBPS = fBPM/60.f;
float fYOffsetTimeSpacing = fSecondsUntilStep * fBPS;
fYOffset += GAMESTATE->m_pCurSteps[pPlayerState->m_PlayerNumber]->m_Timing.GetSpeedPercentAtBeat( fNoteBeat ) *
fYOffsetTimeSpacing * pPlayerState->m_PlayerOptions.GetCurrent().m_fTimeSpacing;
fYOffset += fYOffsetTimeSpacing * pPlayerState->m_PlayerOptions.GetCurrent().m_fTimeSpacing;
}
// TODO: If we allow noteskins to have metricable row spacing