unused return value

This commit is contained in:
Glenn Maynard
2007-02-26 00:53:27 +00:00
parent 67c0c7dd91
commit 311387c795
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -1290,7 +1290,7 @@ void ScreenGameplay::LoadLights()
NoteDataUtil::LoadTransformedLights( TapNoteData1, m_CabinetLightsNoteData, GameManager::StepsTypeToNumTracks(STEPS_TYPE_LIGHTS_CABINET) ); NoteDataUtil::LoadTransformedLights( TapNoteData1, m_CabinetLightsNoteData, GameManager::StepsTypeToNumTracks(STEPS_TYPE_LIGHTS_CABINET) );
} }
float ScreenGameplay::StartPlayingSong( float fMinTimeToNotes, float fMinTimeToMusic ) void ScreenGameplay::StartPlayingSong( float fMinTimeToNotes, float fMinTimeToMusic )
{ {
ASSERT( fMinTimeToNotes >= 0 ); ASSERT( fMinTimeToNotes >= 0 );
ASSERT( fMinTimeToMusic >= 0 ); ASSERT( fMinTimeToMusic >= 0 );
@@ -1318,9 +1318,6 @@ float ScreenGameplay::StartPlayingSong( float fMinTimeToNotes, float fMinTimeToM
UpdateSongPosition(0); UpdateSongPosition(0);
ASSERT( GAMESTATE->m_fMusicSeconds > -4000 ); /* make sure the "fake timer" code doesn't trigger */ ASSERT( GAMESTATE->m_fMusicSeconds > -4000 ); /* make sure the "fake timer" code doesn't trigger */
/* Return the amount of time until the first beat. */
return fFirstSecond - fStartSecond;
} }
@@ -1450,7 +1447,7 @@ void ScreenGameplay::BeginScreen()
* a bit of space at the beginning of the music with no steps. * a bit of space at the beginning of the music with no steps.
*/ */
/*float delay =*/ StartPlayingSong( fMinTimeToNotes, fMinTimeToMusic ); StartPlayingSong( fMinTimeToNotes, fMinTimeToMusic );
} }
} }
+1 -1
View File
@@ -151,7 +151,7 @@ protected:
void ReloadCurrentSong(); void ReloadCurrentSong();
virtual void LoadNextSong(); virtual void LoadNextSong();
void LoadCourseSongNumber( int iSongNumber ); void LoadCourseSongNumber( int iSongNumber );
float StartPlayingSong( float MinTimeToNotes, float fMinTimeToMusic ); void StartPlayingSong( float fMinTimeToNotes, float fMinTimeToMusic );
void LoadLights(); void LoadLights();
void PauseGame( bool bPause, GameController gc = GameController_Invalid ); void PauseGame( bool bPause, GameController gc = GameController_Invalid );
void PlayAnnouncer( RString type, float fSeconds ); void PlayAnnouncer( RString type, float fSeconds );