diff --git a/stepmania/src/NoteData.cpp b/stepmania/src/NoteData.cpp index 05065660a2..0d237df310 100644 --- a/stepmania/src/NoteData.cpp +++ b/stepmania/src/NoteData.cpp @@ -408,9 +408,6 @@ bool NoteData::IsHoldNoteAtBeat( int iTrack, int iRow, int *pHeadRow, int *pTail case TapNote::autoKeysound: /* ignore */ continue; - case TapNote::hold: - /* Don't call this function when in 4s mode! */ - FAIL_M("hold"); default: FAIL_M( ssprintf("%i", tn.type) ); } @@ -456,9 +453,6 @@ bool NoteData::IsHoldNoteAtBeat( int iTrack, int iRow, int *pHeadRow, int *pTail case TapNote::autoKeysound: /* ignore */ continue; - case TapNote::hold: - /* Don't call this function when in 4s mode! */ - FAIL_M("hold"); default: FAIL_M( ssprintf("%i", tn.type) ); } @@ -725,59 +719,6 @@ void NoteData::From2sAnd3s( const NoteData& from ) Convert2sAnd3sToHoldNotes(); } -void NoteData::To4s( const NoteData& from ) -{ - CopyAll( from ); - ConvertHoldNotesTo4s(); -} - -void NoteData::From4s( const NoteData& from ) -{ - CopyAll( from ); - Convert4sToHoldNotes(); -} - -/* "104444001" == - * "102000301" - * - * "4441" basically means "hold for three rows then hold for another tap"; - * since taps don't really have a length, it's equivalent to "4440". - * So, make sure the character after a 4 is always a 0. */ -void NoteData::Convert4sToHoldNotes() -{ - for( int t=0; t