From ee9f4d99a59de0007c7a8f4dacb48c384d0fb1e2 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 11 Feb 2003 21:41:43 +0000 Subject: [PATCH] Fixed super-shuffle. It's sad that it was broken for so long! --- stepmania/src/NoteData.cpp | 53 ++++++++++++-------------------- stepmania/src/Notes.cpp | 5 +-- stepmania/src/ScreenEditMenu.cpp | 2 +- 3 files changed, 21 insertions(+), 39 deletions(-) diff --git a/stepmania/src/NoteData.cpp b/stepmania/src/NoteData.cpp index 1182e65c53..fb5a5de3d3 100644 --- a/stepmania/src/NoteData.cpp +++ b/stepmania/src/NoteData.cpp @@ -916,51 +916,36 @@ void NoteDataUtil::Turn( NoteData &in, PlayerOptions::TurnType tt ) in.Convert2sAnd3sToHoldNotes(); - - - if( tt == PlayerOptions::TURN_SUPER_SHUFFLE ) { // We already did the normal shuffling code above, which did a good job // of shuffling HoldNotes without creating impossible patterns. - // Now, go in and shuffle the TapNotes some more. - - // clear tempNoteData because we're going to use it as a scratch buffer again - tempNoteData.Init(); - tempNoteData.Config(in); - - // copy all HoldNotes before copying taps - for( int i=0; i aiTracksThatCouldHaveTapNotes; - for( t=0; tGetNoteData( ¬eData ); - this->SetNoteData( ¬eData ); // this will call DeAutoGen - + Decompress(); parent = NULL; } diff --git a/stepmania/src/ScreenEditMenu.cpp b/stepmania/src/ScreenEditMenu.cpp index 1489c2aab0..3ad77bd825 100644 --- a/stepmania/src/ScreenEditMenu.cpp +++ b/stepmania/src/ScreenEditMenu.cpp @@ -158,7 +158,7 @@ void ScreenEditMenu::MenuStart( PlayerNumber pn ) if( !pSong->HasMusic() ) { - SCREENMAN->Prompt( SM_None, "This song is missing a music file and cannot be edited" ); + SCREENMAN->Prompt( SM_None, "This song is missing a music file\nand cannot be edited" ); return; }