remove ReserveRows
This commit is contained in:
@@ -718,11 +718,6 @@ void NoteData::SetTapNote( int track, int row, const TapNote& t )
|
||||
}
|
||||
}
|
||||
|
||||
void NoteData::ReserveRows( int row )
|
||||
{
|
||||
// Nothing to do for a track map.
|
||||
}
|
||||
|
||||
void NoteData::EliminateAllButOneTap( int row )
|
||||
{
|
||||
if(row < 0) return;
|
||||
|
||||
@@ -41,8 +41,6 @@ public:
|
||||
|
||||
/* Return the note at the given track and row. Row may be out of
|
||||
* range; pretend the song goes on with TAP_EMPTYs indefinitely. */
|
||||
void ReserveRows( int row );
|
||||
|
||||
inline const TapNote &GetTapNote(unsigned track, int row) const
|
||||
{
|
||||
const TrackMap &mapTrack = m_TapNotes[track];
|
||||
|
||||
@@ -176,7 +176,6 @@ bool DWILoader::LoadFromDWITokens(
|
||||
|
||||
NoteData newNoteData;
|
||||
newNoteData.SetNumTracks( g_mapDanceNoteToNoteDataColumn.size() );
|
||||
newNoteData.ReserveRows( BeatToNoteRow(1000) );
|
||||
|
||||
for( int pad=0; pad<2; pad++ ) // foreach pad
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user