syncing with sm4svn part 1.
7534867: fix SSM crashes when selecting a song with only one player enabled cddaab5: simplify SongUtil::GetStepsTypeAndDifficultyFromSortOrder 615aab0: add Style::GetUsesCenteredArrows (doubles + routine) 17f38e7: sanity check [all code changes by Glenn Maynard]
This commit is contained in:
@@ -20,6 +20,17 @@
|
||||
#include "NoteData.h"
|
||||
#include <float.h>
|
||||
|
||||
bool Style::GetUsesCenteredArrows() const
|
||||
{
|
||||
switch( m_StyleType )
|
||||
{
|
||||
case StyleType_OnePlayerTwoSides:
|
||||
case StyleType_TwoPlayersSharedSides:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
void Style::GetTransformedNoteDataForStyle( PlayerNumber pn, const NoteData& original, NoteData& noteDataOut ) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user