remove no-op calls

This commit is contained in:
Glenn Maynard
2006-04-29 21:20:28 +00:00
parent 45449a216e
commit 178ffec501
3 changed files with 0 additions and 13 deletions
-4
View File
@@ -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 );
}
} }
-5
View File
@@ -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();
-4
View File
@@ -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 )