[splittiming] a function to create steps for the song (259 build errors)

This commit is contained in:
Thai Pangsakulyanont
2011-05-09 22:37:15 +07:00
parent 40651800f0
commit 9384f82ccd
3 changed files with 18 additions and 2 deletions
+12
View File
@@ -145,6 +145,18 @@ void Song::AddLyricSegment( LyricSegment seg )
m_LyricSegments.push_back( seg );
}
Steps *Song::CreateSteps()
{
Steps *pSteps = new Steps;
InitSteps( pSteps );
return pSteps;
}
void Song::InitSteps(Steps *pSteps)
{
pSteps->m_Timing = m_SongTiming;
}
void Song::GetDisplayBpms( DisplayBpms &AddTo ) const
{
if( m_DisplayBPMType == DISPLAY_BPM_SPECIFIED )