[backwards] Have Backwards fallback to Mirror.

Not all gametypes require Backwards: they will fall
through to Mirror. Otherwise, catch it here.
This commit is contained in:
Jason Felds
2011-10-16 15:50:13 -04:00
parent 23832ac653
commit 142a62aa6e
+6 -5
View File
@@ -1208,8 +1208,9 @@ static void GetTrackMapping( StepsType st, NoteDataUtil::TrackMapping tt, int Nu
} }
break; break;
case NoteDataUtil::mirror: case NoteDataUtil::backwards:
{ {
// If a Pump game type, treat differently. Otherwise, send to mirror.
switch (st) switch (st)
{ {
case StepsType_pump_single: case StepsType_pump_single:
@@ -1252,15 +1253,15 @@ static void GetTrackMapping( StepsType st, NoteDataUtil::TrackMapping tt, int Nu
iTakeFromTrack[5] = 0; iTakeFromTrack[5] = 0;
break; break;
} }
default: default:;
}
}
case NoteDataUtil::mirror:
{ {
for( int t=0; t<NumTracks; t++ ) for( int t=0; t<NumTracks; t++ )
iTakeFromTrack[t] = NumTracks-t-1; iTakeFromTrack[t] = NumTracks-t-1;
break; break;
} }
}
break;
}
case NoteDataUtil::shuffle: case NoteDataUtil::shuffle:
case NoteDataUtil::super_shuffle: // use shuffle code to mix up HoldNotes without creating impossible patterns case NoteDataUtil::super_shuffle: // use shuffle code to mix up HoldNotes without creating impossible patterns
{ {