remove noop

This commit is contained in:
Glenn Maynard
2006-11-09 05:40:45 +00:00
parent 06214febf3
commit 0e69f069e7
6 changed files with 0 additions and 23 deletions
-1
View File
@@ -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;
-5
View File
@@ -138,11 +138,6 @@ void LifeMeterBattery::ChangeLife( float fDeltaLifePercent )
{
}
void LifeMeterBattery::OnDancePointsChange()
{
}
bool LifeMeterBattery::IsInDanger() const
{
return false;
-1
View File
@@ -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;
-5
View File
@@ -124,11 +124,6 @@ void LifeMeterTime::ChangeLife( HoldNoteScore hns, TapNoteScore tns )
m_pPlayerStageStats->bFailedEarlier = true;
}
void LifeMeterTime::OnDancePointsChange()
{
}
bool LifeMeterTime::IsInDanger() const
{
return false;
-1
View File
@@ -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;
-10
View File
@@ -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()