3.0 is close!

This commit is contained in:
Chris Danford
2002-07-02 00:27:58 +00:00
parent f8118fea49
commit 374eb8c6d7
28 changed files with 337 additions and 318 deletions
+7 -7
View File
@@ -3,7 +3,7 @@
-----------------------------------------------------------------------------
File: NoteData.cpp
Desc: A pattern of ColorNotes that past Y==0.
Desc: See header.
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
@@ -72,7 +72,7 @@ void NoteData::CopyRange( NoteData* pFrom, int iFromIndexBegin, int iFromIndexEn
ASSERT( pFrom->m_iNumTracks == m_iNumTracks );
if( iToIndexBegin == -1 )
iToIndexBegin = iFromIndexBegin;
iToIndexBegin = 0;
pFrom->ConvertHoldNotesTo2sAnd3s();
@@ -449,8 +449,8 @@ void NoteData::Turn( PlayerOptions::TurnType tt )
break;
}
NoteData* pNewData = new NoteData; // write into here as we tranform
pNewData->m_iNumTracks = m_iNumTracks;
NoteData tempNoteData; // write into here as we tranform
tempNoteData.m_iNumTracks = m_iNumTracks;
// transform m_TapNotes
for( int i=0; i<MAX_TAP_NOTE_ROWS; i++ )
@@ -460,7 +460,7 @@ void NoteData::Turn( PlayerOptions::TurnType tt )
int iOldCol = oldColToNewCol[j][0];
int iNewCol = oldColToNewCol[j][1];
pNewData->m_TapNotes[iNewCol][i] = m_TapNotes[iOldCol][i];
tempNoteData.m_TapNotes[iNewCol][i] = m_TapNotes[iOldCol][i];
}
}
@@ -477,7 +477,7 @@ void NoteData::Turn( PlayerOptions::TurnType tt )
if( hn.m_iTrack == iOldCol )
{
HoldNote newHN = { iNewCol, hn.m_iStartIndex, hn.m_iEndIndex };
pNewData->AddHoldNote( newHN );
tempNoteData.AddHoldNote( newHN );
}
}
}
@@ -485,7 +485,7 @@ void NoteData::Turn( PlayerOptions::TurnType tt )
//
// copy note data from newData back into this
//
(*this) = *pNewData;
(*this) = tempNoteData;
}
void NoteData::MakeLittle()