editor: show scroll segments in song timing
They function anyway in gameplay; there's no reason they should be special-cased out of the editor.
This commit is contained in:
@@ -256,7 +256,7 @@ float ArrowEffects::GetYOffset( const PlayerState* pPlayerState, int iCol, float
|
|||||||
* entirely time spacing (respectively). Occasionally, we tween between them. */
|
* entirely time spacing (respectively). Occasionally, we tween between them. */
|
||||||
if( pPlayerState->m_PlayerOptions.GetCurrent().m_fTimeSpacing != 1.0f )
|
if( pPlayerState->m_PlayerOptions.GetCurrent().m_fTimeSpacing != 1.0f )
|
||||||
{
|
{
|
||||||
float bShowEffects = !( GAMESTATE->m_bInStepEditor || !GAMESTATE->m_bIsUsingStepTiming );
|
float bShowEffects = !GAMESTATE->m_bInStepEditor;
|
||||||
float fBeatsUntilStep = fNoteBeat - fSongBeat;
|
float fBeatsUntilStep = fNoteBeat - fSongBeat;
|
||||||
if( bShowEffects )
|
if( bShowEffects )
|
||||||
fBeatsUntilStep = GetDisplayedBeat(pPlayerState, fNoteBeat) - GetDisplayedBeat(pPlayerState, fSongBeat);
|
fBeatsUntilStep = GetDisplayedBeat(pPlayerState, fNoteBeat) - GetDisplayedBeat(pPlayerState, fSongBeat);
|
||||||
|
|||||||
@@ -920,8 +920,6 @@ void NoteField::DrawPrimitives()
|
|||||||
const TimingData &timing = *pTiming;
|
const TimingData &timing = *pTiming;
|
||||||
|
|
||||||
// Scroll text
|
// Scroll text
|
||||||
if( GAMESTATE->m_bIsUsingStepTiming )
|
|
||||||
{
|
|
||||||
for (i = 0; i < segs[SEGMENT_SCROLL]->size(); i++)
|
for (i = 0; i < segs[SEGMENT_SCROLL]->size(); i++)
|
||||||
{
|
{
|
||||||
ScrollSegment *seg = ToScroll( segs[SEGMENT_SCROLL]->at(i) );
|
ScrollSegment *seg = ToScroll( segs[SEGMENT_SCROLL]->at(i) );
|
||||||
@@ -932,7 +930,6 @@ void NoteField::DrawPrimitives()
|
|||||||
DrawScrollText( fBeat, seg->GetRatio() );
|
DrawScrollText( fBeat, seg->GetRatio() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// BPM text
|
// BPM text
|
||||||
for (i = 0; i < segs[SEGMENT_BPM]->size(); i++)
|
for (i = 0; i < segs[SEGMENT_BPM]->size(); i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user