remove unused Player::IsPlayingBeginner

This commit is contained in:
Glenn Maynard
2007-05-31 02:49:18 +00:00
parent 617712a1cf
commit cfce75513f
2 changed files with 0 additions and 18 deletions
-17
View File
@@ -2611,23 +2611,6 @@ void Player::CacheAllUsedNoteSkins()
m_pNoteField->CacheAllUsedNoteSkins();
}
bool Player::IsPlayingBeginner() const
{
if( m_pPlayerStageStats != NULL && !m_pPlayerStageStats->m_vpPossibleSteps.empty() )
{
Steps *pSteps = m_pPlayerStageStats->m_vpPossibleSteps[0];
return pSteps->GetDifficulty() == Difficulty_Beginner;
}
if( m_pPlayerState == NULL )
return false;
if( m_pPlayerState->m_PlayerNumber == PLAYER_INVALID )
return false;
Steps *pSteps = GAMESTATE->m_pCurSteps[ m_pPlayerState->m_PlayerNumber ];
return pSteps && pSteps->GetDifficulty() == Difficulty_Beginner;
}
void Player::SetJudgment( TapNoteScore tns, float fTapNoteOffset )
{
Message msg("Judgment");
-1
View File
@@ -131,7 +131,6 @@ protected:
int GetClosestNonEmptyRowDirectional( int iStartRow, int iMaxRowsAhead, bool bAllowGraded, bool bForward ) const;
int GetClosestNonEmptyRow( int iNoteRow, int iMaxRowsAhead, int iMaxRowsBehind, bool bAllowGraded ) const;
bool IsPlayingBeginner() const;
inline void HideNote( int col, int row )
{
NoteData::iterator iter = m_NoteData.FindTapNote( col, row );