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
@@ -18,6 +18,7 @@
#include "NoteSkinManager.h"
#include "GameState.h"
#include "PrefsManager.h"
#include "NoteFieldPositioning.h"
GhostArrowRow::GhostArrowRow()
@@ -61,6 +62,8 @@ void GhostArrowRow::DrawPrimitives()
{
for( int c=0; c<m_iNumCols; c++ )
{
GAMESTATE->m_Position[m_PlayerNumber]->BeginDrawTrack(c);
float fX = ArrowGetXPos( m_PlayerNumber, c, 0 );
m_GhostArrowRow[c].SetX( fX );
m_GhostArrowRowBright[c].SetX( fX );
@@ -69,6 +72,8 @@ void GhostArrowRow::DrawPrimitives()
m_GhostArrowRow[c].Draw();
m_GhostArrowRowBright[c].Draw();
m_HoldGhostArrowRow[c].Draw();
GAMESTATE->m_Position[m_PlayerNumber]->EndDrawTrack(c);
}
}