finish support for 48th/64th notes in code

add things possibly useful for mods when keysounds (and Keyboardmania) support are finished
This commit is contained in:
Matt Denham
2003-11-13 07:40:49 +00:00
parent 686f0656bd
commit 7484667733
3 changed files with 48 additions and 3 deletions
+11
View File
@@ -472,6 +472,9 @@ void NoteData::LoadTransformed( const NoteData* pOriginal, int iNewNumTracks, co
void NoteData::LoadOverlapped( const NoteData* pOriginal, int iNewNumTracks )
{
// ??? Something is not right here - either we're not being called,
// or we're not working correctly at all. :-/
SetNumTracks( iNewNumTracks );
NoteData in;
@@ -491,6 +494,14 @@ void NoteData::LoadOverlapped( const NoteData* pOriginal, int iNewNumTracks )
if( GetTapNote(iTrackTo, row) == TAP_HOLD )
continue;
// Whoever rewrote the function:
// This transfers EMPTY steps over as well...
// ...so it's been fixed. Should I define operator| for
// TapNote so that it combines tracks? :-P
if( iStepFrom == TAP_EMPTY )
continue;
SetTapNote( iTrackTo, row, iStepFrom );
}
}