remove noop
This commit is contained in:
@@ -19,7 +19,6 @@ public:
|
|||||||
/* Change life after receiving a hold note grade. tscore is the score
|
/* Change life after receiving a hold note grade. tscore is the score
|
||||||
* received for the initial tap note. */
|
* received for the initial tap note. */
|
||||||
virtual void ChangeLife( PlayerNumber pn, HoldNoteScore hns, TapNoteScore tns ) = 0;
|
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 IsInDanger( PlayerNumber pn ) = 0;
|
||||||
virtual bool IsHot( PlayerNumber pn ) = 0;
|
virtual bool IsHot( PlayerNumber pn ) = 0;
|
||||||
virtual bool IsFailing( PlayerNumber pn ) = 0;
|
virtual bool IsFailing( PlayerNumber pn ) = 0;
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ public:
|
|||||||
|
|
||||||
virtual void ChangeLife( PlayerNumber pn, TapNoteScore score );
|
virtual void ChangeLife( PlayerNumber pn, TapNoteScore score );
|
||||||
virtual void ChangeLife( PlayerNumber pn, HoldNoteScore score, TapNoteScore tscore );
|
virtual void ChangeLife( PlayerNumber pn, HoldNoteScore score, TapNoteScore tscore );
|
||||||
virtual void OnDancePointsChange( PlayerNumber pn ) {};
|
|
||||||
virtual bool IsInDanger( PlayerNumber pn ) { return false; };
|
virtual bool IsInDanger( PlayerNumber pn ) { return false; };
|
||||||
virtual bool IsHot( PlayerNumber pn ) { return false; };
|
virtual bool IsHot( PlayerNumber pn ) { return false; };
|
||||||
virtual bool IsFailing( PlayerNumber pn ) { return false; };
|
virtual bool IsFailing( PlayerNumber pn ) { return false; };
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ public:
|
|||||||
/* Change life after receiving a hold note grade. tscore is the score
|
/* Change life after receiving a hold note grade. tscore is the score
|
||||||
* received for the initial tap note. */
|
* received for the initial tap note. */
|
||||||
virtual void ChangeLife( HoldNoteScore hns, TapNoteScore tns ) = 0;
|
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 IsInDanger() const = 0;
|
||||||
virtual bool IsHot() const = 0;
|
virtual bool IsHot() const = 0;
|
||||||
virtual bool IsFailing() const = 0;
|
virtual bool IsFailing() const = 0;
|
||||||
|
|||||||
@@ -1830,8 +1830,6 @@ void Player::HandleTapRowScore( unsigned row )
|
|||||||
if( m_pCombinedLifeMeter )
|
if( m_pCombinedLifeMeter )
|
||||||
{
|
{
|
||||||
m_pCombinedLifeMeter->ChangeLife( pn, scoreOfLastTap );
|
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 )
|
if( m_pCombinedLifeMeter )
|
||||||
{
|
{
|
||||||
m_pCombinedLifeMeter->ChangeLife( pn, holdScore, tapScore );
|
m_pCombinedLifeMeter->ChangeLife( pn, holdScore, tapScore );
|
||||||
m_pCombinedLifeMeter->OnDancePointsChange( pn );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user