New branch: [backwards]

Goal: implement a proper backwards mod to allow for
both actions on games where backwards != mirror.
This commit is contained in:
Jason Felds
2011-10-16 13:22:26 -04:00
parent fec7ae18ba
commit 4e47b24597
+14 -1
View File
@@ -111,7 +111,20 @@ namespace NoteDataUtil
void RemoveStretch( NoteData &inout, StepsType st, int iStartIndex = 0, int iEndIndex = MAX_NOTE_ROW );
void RemoveAllButOneTap( NoteData &inout, int row );
void RemoveAllButPlayer( NoteData &inout, PlayerNumber pn );
enum TrackMapping { left, right, mirror, shuffle, soft_shuffle, super_shuffle, stomp, NUM_TRACK_MAPPINGS };
/** @brief The types of transformations available for the NoteData. */
enum TrackMapping
{
left, /**< The NoteData is arranged as if the player was facing to the left. */
right, /**< The NoteData is arranged as if the player was facing to the right. */
mirror, /**< The NoteData is arranged as if facing a straight mirror. */
backwards, /**< The NoteData is arranged as if the player was facing backwards.
This is NOT always the same as mirror. */
shuffle,
soft_shuffle,
super_shuffle,
stomp,
NUM_TRACK_MAPPINGS
};
void Turn( NoteData &inout, StepsType st, TrackMapping tt, int iStartIndex = 0, int iEndIndex = MAX_NOTE_ROW );
void Little( NoteData &inout, int iStartIndex = 0, int iEndIndex = MAX_NOTE_ROW );
void Wide( NoteData &inout, int iStartIndex = 0, int iEndIndex = MAX_NOTE_ROW );