moved some things around in preparation for new game types
This commit is contained in:
@@ -31,15 +31,15 @@ void GhostArrow::SetBeat( const float fSongBeat )
|
||||
//SetState( fmodf(fSongBeat,1)<0.25 ? 1 : 0 );
|
||||
}
|
||||
|
||||
void GhostArrow::Step( TapStepScore score )
|
||||
void GhostArrow::Step( TapNoteScore score )
|
||||
{
|
||||
switch( score )
|
||||
{
|
||||
case TSS_PERFECT: SetDiffuseColor( D3DXCOLOR(1.0f,1.0f,0.3f,0.6f) ); break; // yellow
|
||||
case TSS_GREAT: SetDiffuseColor( D3DXCOLOR(0.0f,1.0f,0.4f,0.6f) ); break; // green
|
||||
case TSS_GOOD: SetDiffuseColor( D3DXCOLOR(0.3f,0.8f,1.0f,0.6f) ); break;
|
||||
case TSS_BOO: SetDiffuseColor( D3DXCOLOR(0.8f,0.0f,0.6f,0.6f) ); break;
|
||||
case TSS_MISS: ASSERT( false ); break;
|
||||
case TNS_PERFECT: SetDiffuseColor( D3DXCOLOR(1.0f,1.0f,0.3f,0.6f) ); break; // yellow
|
||||
case TNS_GREAT: SetDiffuseColor( D3DXCOLOR(0.0f,1.0f,0.4f,0.6f) ); break; // green
|
||||
case TNS_GOOD: SetDiffuseColor( D3DXCOLOR(0.3f,0.8f,1.0f,0.6f) ); break;
|
||||
case TNS_BOO: SetDiffuseColor( D3DXCOLOR(0.8f,0.0f,0.6f,0.6f) ); break;
|
||||
case TNS_MISS: ASSERT( false ); break;
|
||||
}
|
||||
SetZoom( 1.0f );
|
||||
BeginTweening( 0.3f );
|
||||
|
||||
Reference in New Issue
Block a user