remove no-op calls
This commit is contained in:
@@ -75,11 +75,7 @@ void GhostArrowRow::Update( float fDeltaTime )
|
|||||||
void GhostArrowRow::DrawPrimitives()
|
void GhostArrowRow::DrawPrimitives()
|
||||||
{
|
{
|
||||||
for( unsigned c=0; c<m_Ghost.size(); c++ )
|
for( unsigned c=0; c<m_Ghost.size(); c++ )
|
||||||
{
|
|
||||||
NoteFieldMode::BeginDrawTrack( m_pPlayerState, c );
|
|
||||||
m_Ghost[c]->Draw();
|
m_Ghost[c]->Draw();
|
||||||
NoteFieldMode::EndDrawTrack( c );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -645,8 +645,6 @@ void NoteField::DrawPrimitives()
|
|||||||
|
|
||||||
for( int c=0; c<m_pNoteData->GetNumTracks(); c++ ) // for each arrow column
|
for( int c=0; c<m_pNoteData->GetNumTracks(); c++ ) // for each arrow column
|
||||||
{
|
{
|
||||||
NoteFieldMode::BeginDrawTrack( m_pPlayerState, c );
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Draw all HoldNotes in this column (so that they appear under the tap notes)
|
// Draw all HoldNotes in this column (so that they appear under the tap notes)
|
||||||
//
|
//
|
||||||
@@ -770,9 +768,6 @@ void NoteField::DrawPrimitives()
|
|||||||
m_pCurDisplay->display[c].DrawTap( c, NoteRowToBeat(i), bHoldNoteBeginsOnThisBeat, bIsAddition, bIsMine, bIsInSelectionRange ? fSelectedRangeGlow : m_fPercentFadeToFail, 1, m_fYReverseOffsetPixels );
|
m_pCurDisplay->display[c].DrawTap( c, NoteRowToBeat(i), bHoldNoteBeginsOnThisBeat, bIsAddition, bIsMine, bIsInSelectionRange ? fSelectedRangeGlow : m_fPercentFadeToFail, 1, m_fYReverseOffsetPixels );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
NoteFieldMode::EndDrawTrack( c );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cur->m_GhostArrowRow.Draw();
|
cur->m_GhostArrowRow.Draw();
|
||||||
|
|||||||
@@ -65,11 +65,7 @@ void ReceptorArrowRow::Update( float fDeltaTime )
|
|||||||
void ReceptorArrowRow::DrawPrimitives()
|
void ReceptorArrowRow::DrawPrimitives()
|
||||||
{
|
{
|
||||||
for( unsigned c=0; c<m_ReceptorArrow.size(); c++ )
|
for( unsigned c=0; c<m_ReceptorArrow.size(); c++ )
|
||||||
{
|
|
||||||
NoteFieldMode::BeginDrawTrack( m_pPlayerState, c );
|
|
||||||
m_ReceptorArrow[c]->Draw();
|
m_ReceptorArrow[c]->Draw();
|
||||||
NoteFieldMode::EndDrawTrack(c);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ReceptorArrowRow::Step( int iCol, TapNoteScore score )
|
void ReceptorArrowRow::Step( int iCol, TapNoteScore score )
|
||||||
|
|||||||
Reference in New Issue
Block a user