remove unused parameter
This commit is contained in:
@@ -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++ )
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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++ )
|
||||
{
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user