diff --git a/stepmania/src/CombinedLifeMeter.h b/stepmania/src/CombinedLifeMeter.h index dceab2d7b1..7739f3640d 100644 --- a/stepmania/src/CombinedLifeMeter.h +++ b/stepmania/src/CombinedLifeMeter.h @@ -19,7 +19,6 @@ public: /* Change life after receiving a hold note grade. tscore is the score * received for the initial tap note. */ virtual void ChangeLife( PlayerNumber pn, HoldNoteScore hns, TapNoteScore tns ) = 0; - virtual void OnDancePointsChange( PlayerNumber pn ) = 0; // look in GAMESTATE and update the display virtual bool IsInDanger( PlayerNumber pn ) = 0; virtual bool IsHot( PlayerNumber pn ) = 0; virtual bool IsFailing( PlayerNumber pn ) = 0; diff --git a/stepmania/src/CombinedLifeMeterTug.h b/stepmania/src/CombinedLifeMeterTug.h index 490502923c..72e54e51ce 100644 --- a/stepmania/src/CombinedLifeMeterTug.h +++ b/stepmania/src/CombinedLifeMeterTug.h @@ -15,7 +15,6 @@ public: virtual void ChangeLife( PlayerNumber pn, TapNoteScore score ); virtual void ChangeLife( PlayerNumber pn, HoldNoteScore score, TapNoteScore tscore ); - virtual void OnDancePointsChange( PlayerNumber pn ) {}; virtual bool IsInDanger( PlayerNumber pn ) { return false; }; virtual bool IsHot( PlayerNumber pn ) { return false; }; virtual bool IsFailing( PlayerNumber pn ) { return false; }; diff --git a/stepmania/src/LifeMeter.h b/stepmania/src/LifeMeter.h index c359d89e01..83a2ea19f7 100644 --- a/stepmania/src/LifeMeter.h +++ b/stepmania/src/LifeMeter.h @@ -28,7 +28,6 @@ public: /* Change life after receiving a hold note grade. tscore is the score * received for the initial tap note. */ virtual void ChangeLife( HoldNoteScore hns, TapNoteScore tns ) = 0; - virtual void OnDancePointsChange() = 0; // look in GAMESTATE and update the display virtual bool IsInDanger() const = 0; virtual bool IsHot() const = 0; virtual bool IsFailing() const = 0; diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 115df1e43a..9b8cca07ef 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -1830,8 +1830,6 @@ void Player::HandleTapRowScore( unsigned row ) if( m_pCombinedLifeMeter ) { m_pCombinedLifeMeter->ChangeLife( pn, scoreOfLastTap ); - // TODO: Remove use of PlayerNumber. - m_pCombinedLifeMeter->OnDancePointsChange( pn ); // update oni life meter } } @@ -1880,7 +1878,6 @@ void Player::HandleHoldScore( const TapNote &tn ) if( m_pCombinedLifeMeter ) { m_pCombinedLifeMeter->ChangeLife( pn, holdScore, tapScore ); - m_pCombinedLifeMeter->OnDancePointsChange( pn ); } }