From 4f1e6add015a34b51b9d83d24af6bd87890384d5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 19 Sep 2005 09:33:05 +0000 Subject: [PATCH] remove function overload that doesn't change anything cleanup --- stepmania/src/MusicWheel.cpp | 22 +++++----------------- stepmania/src/MusicWheel.h | 2 -- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/stepmania/src/MusicWheel.cpp b/stepmania/src/MusicWheel.cpp index 4e77637052..4df084a231 100644 --- a/stepmania/src/MusicWheel.cpp +++ b/stepmania/src/MusicWheel.cpp @@ -834,18 +834,6 @@ void MusicWheel::DrawItem( int i ) WheelBase::DrawItem(i, display, fThisBannerPositionOffsetFromSelection); } -bool MusicWheel::IsSettled() const -{ - if( m_Moving ) - return false; - if( m_WheelState != STATE_SELECTING && m_WheelState != STATE_LOCKED ) - return false; - if( m_fPositionOffsetFromSelection != 0 ) - return false; - - return true; -} - void MusicWheel::UpdateItems(float fDeltaTime ) { for( unsigned i=0; iPostMessageToTopScreen( SM_SongChanged, 0 ); - /* If we're moving automatically, don't play this; it'll be called in Update.*/ + /* If we're moving automatically, don't play this; it'll be called in Update. */ if(!IsMoving()) m_soundChangeMusic.Play(); } diff --git a/stepmania/src/MusicWheel.h b/stepmania/src/MusicWheel.h index 068b2ac70c..787fa233ea 100644 --- a/stepmania/src/MusicWheel.h +++ b/stepmania/src/MusicWheel.h @@ -37,8 +37,6 @@ public: void StartRandom(); bool IsRouletting() const; - virtual bool IsSettled() const; - void NotesOrTrailChanged( PlayerNumber pn ); // update grade graphics and top score virtual bool Select(); // return true if this selection ends the screen