remove function overload that doesn't change anything

cleanup
This commit is contained in:
Glenn Maynard
2005-09-19 09:33:05 +00:00
parent 646afd1051
commit 4f1e6add01
2 changed files with 5 additions and 19 deletions
+4 -16
View File
@@ -834,18 +834,6 @@ void MusicWheel::DrawItem( int i )
WheelBase::DrawItem(i, display, fThisBannerPositionOffsetFromSelection); 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 ) void MusicWheel::UpdateItems(float fDeltaTime )
{ {
for( unsigned i=0; i<unsigned(NUM_WHEEL_ITEMS); i++ ) for( unsigned i=0; i<unsigned(NUM_WHEEL_ITEMS); i++ )
@@ -974,14 +962,14 @@ void MusicWheel::UpdateSwitch()
} }
} }
void MusicWheel::ChangeMusic(int dist) void MusicWheel::ChangeMusic( int iDist )
{ {
m_iSelection += dist; m_iSelection += iDist;
wrap( m_iSelection, m_CurWheelItemData.size() ); wrap( m_iSelection, m_CurWheelItemData.size() );
RebuildMusicWheelItems( dist ); RebuildMusicWheelItems( iDist );
m_fPositionOffsetFromSelection += dist; m_fPositionOffsetFromSelection += iDist;
SCREENMAN->PostMessageToTopScreen( SM_SongChanged, 0 ); SCREENMAN->PostMessageToTopScreen( SM_SongChanged, 0 );
-2
View File
@@ -37,8 +37,6 @@ public:
void StartRandom(); void StartRandom();
bool IsRouletting() const; bool IsRouletting() const;
virtual bool IsSettled() const;
void NotesOrTrailChanged( PlayerNumber pn ); // update grade graphics and top score void NotesOrTrailChanged( PlayerNumber pn ); // update grade graphics and top score
virtual bool Select(); // return true if this selection ends the screen virtual bool Select(); // return true if this selection ends the screen