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