remove noop
This commit is contained in:
@@ -22,7 +22,6 @@ public:
|
||||
virtual void ChangeLife( HoldNoteScore score, TapNoteScore tscore );
|
||||
virtual void ChangeLife( float fDeltaLifePercent );
|
||||
virtual void AfterLifeChanged();
|
||||
virtual void OnDancePointsChange() {}; // this life meter doesn't care
|
||||
virtual bool IsInDanger() const;
|
||||
virtual bool IsPastPassmark() const;
|
||||
virtual bool IsHot() const;
|
||||
|
||||
@@ -138,11 +138,6 @@ void LifeMeterBattery::ChangeLife( float fDeltaLifePercent )
|
||||
{
|
||||
}
|
||||
|
||||
void LifeMeterBattery::OnDancePointsChange()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
bool LifeMeterBattery::IsInDanger() const
|
||||
{
|
||||
return false;
|
||||
|
||||
@@ -23,7 +23,6 @@ public:
|
||||
virtual void ChangeLife( TapNoteScore score );
|
||||
virtual void ChangeLife( HoldNoteScore score, TapNoteScore tscore );
|
||||
virtual void ChangeLife( float fDeltaLifePercent );
|
||||
virtual void OnDancePointsChange(); // look in GAMESTATE and update the display
|
||||
virtual bool IsInDanger() const;
|
||||
virtual bool IsHot() const;
|
||||
virtual bool IsFailing() const;
|
||||
|
||||
@@ -124,11 +124,6 @@ void LifeMeterTime::ChangeLife( HoldNoteScore hns, TapNoteScore tns )
|
||||
m_pPlayerStageStats->bFailedEarlier = true;
|
||||
}
|
||||
|
||||
void LifeMeterTime::OnDancePointsChange()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
bool LifeMeterTime::IsInDanger() const
|
||||
{
|
||||
return false;
|
||||
|
||||
@@ -25,7 +25,6 @@ public:
|
||||
virtual void OnLoadSong();
|
||||
virtual void ChangeLife( TapNoteScore score );
|
||||
virtual void ChangeLife( HoldNoteScore score, TapNoteScore tscore );
|
||||
virtual void OnDancePointsChange(); // look in GAMESTATE and update the display
|
||||
virtual bool IsInDanger() const;
|
||||
virtual bool IsHot() const;
|
||||
virtual bool IsFailing() const;
|
||||
|
||||
@@ -1823,14 +1823,9 @@ void Player::HandleTapRowScore( unsigned row )
|
||||
}
|
||||
|
||||
if( m_pLifeMeter )
|
||||
{
|
||||
m_pLifeMeter->ChangeLife( scoreOfLastTap );
|
||||
m_pLifeMeter->OnDancePointsChange(); // update oni life meter
|
||||
}
|
||||
if( m_pCombinedLifeMeter )
|
||||
{
|
||||
m_pCombinedLifeMeter->ChangeLife( pn, scoreOfLastTap );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1871,14 +1866,9 @@ void Player::HandleHoldScore( const TapNote &tn )
|
||||
}
|
||||
|
||||
if( m_pLifeMeter )
|
||||
{
|
||||
m_pLifeMeter->ChangeLife( holdScore, tapScore );
|
||||
m_pLifeMeter->OnDancePointsChange();
|
||||
}
|
||||
if( m_pCombinedLifeMeter )
|
||||
{
|
||||
m_pCombinedLifeMeter->ChangeLife( pn, holdScore, tapScore );
|
||||
}
|
||||
}
|
||||
|
||||
float Player::GetMaxStepDistanceSeconds()
|
||||
|
||||
Reference in New Issue
Block a user