Use NoteFieldPositioning.

ArrowGetXPos should probably be XOffset, now.
This commit is contained in:
Glenn Maynard
2003-04-02 21:58:27 +00:00
parent 08ca2ff931
commit 32da97588f
4 changed files with 22 additions and 7 deletions
+5
View File
@@ -24,6 +24,7 @@
#include <math.h>
#include "ThemeManager.h"
#include "RageDisplay.h"
#include "NoteFieldPositioning.h"
const float HOLD_NOTE_BITS_PER_BEAT = 6;
@@ -335,6 +336,8 @@ void NoteField::DrawPrimitives()
for( int c=0; c<GetNumTracks(); c++ ) // for each arrow column
{
GAMESTATE->m_Position[m_PlayerNumber]->BeginDrawTrack(c);
/////////////////////////////////
// Draw all HoldNotes in this column (so that they appear under the tap notes)
/////////////////////////////////
@@ -400,6 +403,8 @@ void NoteField::DrawPrimitives()
m_NoteDisplay[c].DrawTap( c, NoteRowToBeat(i), bHoldNoteBeginsOnThisBeat, bIsInSelectionRange ? fSelectedRangeGlow : m_fPercentFadeToFail );
}
GAMESTATE->m_Position[m_PlayerNumber]->EndDrawTrack(c);
}
}