fix compile
This commit is contained in:
@@ -33,13 +33,13 @@ GrayArrow::GrayArrow()
|
||||
StopAnimating();
|
||||
}
|
||||
|
||||
bool GrayArrow::Load( PlayerNumber pn, int iColNo )
|
||||
bool GrayArrow::Load( CString NoteSkin, PlayerNumber pn, int iColNo )
|
||||
{
|
||||
CString Button = g_NoteFieldMode[pn].GrayButtonNames[iColNo];
|
||||
if( Button == "" )
|
||||
Button = NoteSkinManager::ColToButtonName( iColNo );
|
||||
|
||||
CString sPath = NOTESKIN->GetPathTo( pn, Button, "receptor" );
|
||||
CString sPath = NOTESKIN->GetPathTo( NoteSkin, Button, "receptor" );
|
||||
bool ret = Sprite::Load( sPath );
|
||||
|
||||
// XXX
|
||||
|
||||
@@ -20,7 +20,7 @@ class GrayArrow : public Sprite
|
||||
{
|
||||
public:
|
||||
GrayArrow();
|
||||
bool Load( PlayerNumber pn, int iColNo );
|
||||
bool Load( CString NoteSkin, PlayerNumber pn, int iColNo );
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
void Step();
|
||||
|
||||
@@ -34,7 +34,7 @@ void GrayArrowRow::Load( PlayerNumber pn )
|
||||
m_iNumCols = pStyleDef->m_iColsPerPlayer;
|
||||
|
||||
for( int c=0; c<m_iNumCols; c++ )
|
||||
m_GrayArrow[c].Load( m_PlayerNumber, c );
|
||||
m_GrayArrow[c].Load( GAMESTATE->m_PlayerOptions[pn].m_sNoteSkin, m_PlayerNumber, c );
|
||||
}
|
||||
|
||||
void GrayArrowRow::Update( float fDeltaTime )
|
||||
|
||||
Reference in New Issue
Block a user