From e8f95dd28ef83bf38a429955535018350e4c6b92 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sun, 16 Oct 2011 15:34:29 -0400 Subject: [PATCH] [backwards] Prepare PlayerOptions version. --- src/NoteDataUtil.cpp | 1 + src/PlayerOptions.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/NoteDataUtil.cpp b/src/NoteDataUtil.cpp index 2aeb12bc91..664c6bff50 100644 --- a/src/NoteDataUtil.cpp +++ b/src/NoteDataUtil.cpp @@ -2332,6 +2332,7 @@ void NoteDataUtil::TransformNoteData( NoteData &nd, const PlayerOptions &po, Ste // Apply turns and shuffles last so that they affect inserts. if( po.m_bTurns[PlayerOptions::TURN_MIRROR] ) NoteDataUtil::Turn( nd, st, NoteDataUtil::mirror, iStartIndex, iEndIndex ); + if( po.m_bTurns[PlayerOptions::TURN_BACKWARDS] ) NoteDataUtil::Turn( nd, st, NoteDataUtil::backwards, iStartIndex, iEndIndex ); if( po.m_bTurns[PlayerOptions::TURN_LEFT] ) NoteDataUtil::Turn( nd, st, NoteDataUtil::left, iStartIndex, iEndIndex ); if( po.m_bTurns[PlayerOptions::TURN_RIGHT] ) NoteDataUtil::Turn( nd, st, NoteDataUtil::right, iStartIndex, iEndIndex ); if( po.m_bTurns[PlayerOptions::TURN_SHUFFLE] ) NoteDataUtil::Turn( nd, st, NoteDataUtil::shuffle, iStartIndex, iEndIndex ); diff --git a/src/PlayerOptions.h b/src/PlayerOptions.h index 0166af9c4e..d3292d1280 100644 --- a/src/PlayerOptions.h +++ b/src/PlayerOptions.h @@ -109,6 +109,7 @@ public: enum Turn { TURN_NONE=0, /**< No turning of the arrows is performed. */ TURN_MIRROR, /**< The arrows are mirrored from their normal position. */ + TURN_BACKWARDS, /**< The arrows are turned 180 degrees. This does NOT always equal mirror. */ TURN_LEFT, /**< The arrows are turned 90 degrees to the left. */ TURN_RIGHT, /**< The arrows are turned 90 degress to the right. */ TURN_SHUFFLE, /**< Some of the arrow columns are changed throughout the whole song. */