remove unused parameter

This commit is contained in:
Glenn Maynard
2003-06-06 19:42:53 +00:00
parent 09acdd7da8
commit 2cb374103f
4 changed files with 7 additions and 14 deletions
+4 -10
View File
@@ -357,7 +357,7 @@ bool Course::IsPlayableIn( NotesType nt ) const
vector<Song*> vSongs;
vector<Notes*> vNotes;
vector<CString> vsModifiers;
GetStageInfo( vSongs, vNotes, vsModifiers, nt, false);
GetStageInfo( vSongs, vNotes, vsModifiers, nt);
return vNotes.size() > 0;
}
@@ -367,12 +367,8 @@ void Course::GetStageInfo(
vector<Song*>& vSongsOut,
vector<Notes*>& vNotesOut,
vector<CString>& vsModifiersOut,
NotesType nt,
bool bDifficult ) const
NotesType nt ) const
{
if( bDifficult )
ASSERT( HasDifficult() );
vector<Entry> entries = m_entries;
if( m_bRandomize )
@@ -521,8 +517,7 @@ bool Course::GetFirstStageInfo(
vSongs,
vNotes,
vsModifiers,
nt,
false );
nt );
if( vSongs.empty() )
return false;
@@ -592,8 +587,7 @@ bool Course::GetTotalSeconds( float& fSecondsOut ) const
vSongsOut,
vNotesOut,
vsModifiersOut,
NOTES_TYPE_DANCE_SINGLE, // doesn't matter
false ); // doesn't matter
NOTES_TYPE_DANCE_SINGLE ); // doesn't matter
fSecondsOut = 0;
for( unsigned i=0; i<vSongsOut.size(); i++ )
+1 -2
View File
@@ -66,8 +66,7 @@ public:
vector<Song*>& vSongsOut,
vector<Notes*>& vNotesOut,
vector<CString>& vsModifiersOut,
NotesType nt,
bool bDifficult ) const; // like EX's Standard/Difficult option for courses
NotesType nt ) const; // like EX's Standard/Difficult option for courses
bool GetFirstStageInfo(
Song*& pSongOut,
Notes*& pNotesOut,
+1 -1
View File
@@ -54,7 +54,7 @@ void CourseContentsList::SetFromCourse( Course* pCourse )
vector<Song*> vSongs;
vector<Notes*> vNotes;
vector<CString> vsModifiers;
pCourse->GetStageInfo( vSongs, vNotes, vsModifiers, GAMESTATE->GetCurrentStyleDef()->m_NotesType, false );
pCourse->GetStageInfo( vSongs, vNotes, vsModifiers, GAMESTATE->GetCurrentStyleDef()->m_NotesType );
for( int i=0; i<min((int)vSongs.size(), MAX_TOTAL_CONTENTS); i++ )
{
+1 -1
View File
@@ -139,7 +139,7 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration ) : Screen("ScreenGameplay")
if( GAMESTATE->IsCourseMode() )
{
Course* pCourse = GAMESTATE->m_pCurCourse;
pCourse->GetStageInfo( m_apSongsQueue, m_apNotesQueue[0], m_asModifiersQueue[0], GAMESTATE->GetCurrentStyleDef()->m_NotesType, false );
pCourse->GetStageInfo( m_apSongsQueue, m_apNotesQueue[0], m_asModifiersQueue[0], GAMESTATE->GetCurrentStyleDef()->m_NotesType );
for( int p=1; p<NUM_PLAYERS; p++ )
{
m_apNotesQueue[p] = m_apNotesQueue[0];