#include "global.h" #include "GhostArrowRow.h" #include "RageUtil.h" #include "GameConstantsAndTypes.h" #include "PrefsManager.h" #include "ArrowEffects.h" #include "NoteSkinManager.h" #include "GameState.h" #include "PrefsManager.h" #include "NoteFieldPositioning.h" GhostArrowRow::GhostArrowRow() { m_iNumCols = 0; } void GhostArrowRow::Load( PlayerNumber pn, CString NoteSkin, float fYReverseOffset ) { m_PlayerNumber = pn; m_fYReverseOffsetPixels = fYReverseOffset; const Style* pStyle = GAMESTATE->GetCurrentStyle(); m_iNumCols = pStyle->m_iColsPerPlayer; // init arrows for( int c=0; c= 0 && iCol < m_iNumCols ); if( bBright ) m_GhostBright[iCol].Step( score ); else m_GhostDim[iCol].Step( score ); } void GhostArrowRow::SetHoldIsActive( int iCol ) { ASSERT( iCol >= 0 && iCol < m_iNumCols ); m_HoldGhost[iCol].SetHoldIsActive( true ); } void GhostArrowRow::CopyTweening( const GhostArrowRow &from ) { for( int c=0; c