New branch from [sm130futures]: [sm130labels]

Time to simulate the Rock Band/Guitar Hero
styled labeling of note sections.
This commit is contained in:
Jason Felds
2011-04-04 22:47:59 -04:00
parent 5102c0061b
commit 315aaf774d
2 changed files with 142 additions and 0 deletions
+5
View File
@@ -57,6 +57,11 @@ void TimingData::AddComboSegment( const ComboSegment &seg )
m_ComboSegments.insert( upper_bound(m_ComboSegments.begin(), m_ComboSegments.end(), seg), seg );
}
void TimingData::AddLabelSegment( const LabelSegment &seg )
{
m_LabelSegments.insert( upper_bound(m_LabelSegments.begin(), m_LabelSegments.end(), seg), seg );
}
/* Change an existing BPM segment, merge identical segments together or insert a new one. */
void TimingData::SetBPMAtRow( int iNoteRow, float fBPM )
{