fix compile

This commit is contained in:
Glenn Maynard
2003-09-15 08:26:31 +00:00
parent f2f85a4457
commit 5bb8d842fc
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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 )