This commit is contained in:
Glenn Maynard
2005-02-27 20:31:40 +00:00
parent db0d07d574
commit d80f3c76db
3 changed files with 0 additions and 13 deletions
-5
View File
@@ -36,11 +36,6 @@ void GhostArrow::Load( CString sNoteSkin, CString sButton, CString sElement )
} }
} }
void GhostArrow::Init( PlayerNumber pn )
{
m_PlayerNumber = pn;
}
void GhostArrow::Step( TapNoteScore score ) void GhostArrow::Step( TapNoteScore score )
{ {
FOREACH_TapNoteScore( i ) FOREACH_TapNoteScore( i )
-2
View File
@@ -15,12 +15,10 @@ public:
GhostArrow(); GhostArrow();
void Load( CString sNoteSkin, CString sButton, CString sFile ); void Load( CString sNoteSkin, CString sButton, CString sFile );
virtual void Init( PlayerNumber pn );
void Step( TapNoteScore score ); void Step( TapNoteScore score );
protected: protected:
PlayerNumber m_PlayerNumber;
Sprite m_spr[NUM_TAP_NOTE_SCORES]; Sprite m_spr[NUM_TAP_NOTE_SCORES];
apActorCommands m_acScoreCommand[NUM_TAP_NOTE_SCORES]; apActorCommands m_acScoreCommand[NUM_TAP_NOTE_SCORES];
}; };
-6
View File
@@ -32,8 +32,6 @@ void GhostArrowRow::Load( const PlayerState* pPlayerState, CString NoteSkin, flo
// init arrows // init arrows
for( int c=0; c<m_iNumCols; c++ ) for( int c=0; c<m_iNumCols; c++ )
{ {
// TODO: Remove indexing by PlayerNumber;
PlayerNumber pn = pPlayerState->m_PlayerNumber;
CString Button = GAMESTATE->GetCurrentGame()->ColToButtonName( c ); CString Button = GAMESTATE->GetCurrentGame()->ColToButtonName( c );
m_GhostDim.push_back( new GhostArrow ); m_GhostDim.push_back( new GhostArrow );
@@ -44,10 +42,6 @@ void GhostArrowRow::Load( const PlayerState* pPlayerState, CString NoteSkin, flo
m_GhostBright[c]->SetName( "GhostArrowBright" ); m_GhostBright[c]->SetName( "GhostArrowBright" );
m_HoldGhost[c]->SetName( "HoldGhostArrow" ); m_HoldGhost[c]->SetName( "HoldGhostArrow" );
m_GhostDim[c]->Init( pn );
m_GhostBright[c]->Init( pn );
//m_HoldGhost[c]->Init( pn );
m_GhostDim[c]->Load( NoteSkin, Button, "tap explosion dim" ); m_GhostDim[c]->Load( NoteSkin, Button, "tap explosion dim" );
m_GhostBright[c]->Load( NoteSkin, Button, "tap explosion bright" ); m_GhostBright[c]->Load( NoteSkin, Button, "tap explosion bright" );
m_HoldGhost[c]->Load( NoteSkin, Button, "hold explosion" ); m_HoldGhost[c]->Load( NoteSkin, Button, "hold explosion" );