Add support for checking if a song HasTimeSignatures(). May be useful later.
This commit is contained in:
@@ -416,6 +416,11 @@ bool TimingData::HasStops() const
|
|||||||
return m_StopSegments.size()>0;
|
return m_StopSegments.size()>0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool TimingData::HasTimeSignatures() const
|
||||||
|
{
|
||||||
|
return m_vTimeSignatureSegments.size()>0;
|
||||||
|
}
|
||||||
|
|
||||||
void TimingData::NoteRowToMeasureAndBeat( int iNoteRow, int &iMeasureIndexOut, int &iBeatIndexOut, int &iRowsRemainder ) const
|
void TimingData::NoteRowToMeasureAndBeat( int iNoteRow, int &iMeasureIndexOut, int &iBeatIndexOut, int &iRowsRemainder ) const
|
||||||
{
|
{
|
||||||
iMeasureIndexOut = 0;
|
iMeasureIndexOut = 0;
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ public:
|
|||||||
|
|
||||||
bool HasBpmChanges() const;
|
bool HasBpmChanges() const;
|
||||||
bool HasStops() const;
|
bool HasStops() const;
|
||||||
|
bool HasTimeSignatures() const;
|
||||||
|
|
||||||
bool operator==( const TimingData &other )
|
bool operator==( const TimingData &other )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user