Use NoteFieldPositioning.
ArrowGetXPos should probably be XOffset, now.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user