[backwards] Prepare PlayerOptions version.
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user