Get Loader and Writer set up for these segments.

This commit is contained in:
Jason Felds
2011-03-03 01:37:42 -05:00
parent 2f6b0614e9
commit 25ce852eed
5 changed files with 19 additions and 8 deletions
+10 -1
View File
@@ -41,7 +41,7 @@
* @brief The internal version of the cache for StepMania.
*
* Increment this value to invalidate the current cache. */
const int FILE_CACHE_VERSION = 165;
const int FILE_CACHE_VERSION = 166;
/** @brief How long does a song sample last by default? */
const float DEFAULT_MUSIC_SAMPLE_LENGTH = 12.f;
@@ -782,6 +782,15 @@ void Song::TidyUpData()
seg.m_iTicks = 2;
m_Timing.m_TickcountSegments.push_back( seg );
}
// Have a default combo segment of one just in case.
if( m_Timing.m_ComboSegments.empty() )
{
ComboSegment seg;
seg.m_iStartRow = 0;
seg.m_iCombo = 1;
m_Timing.m_ComboSegments.push_back( seg );
}
}
void Song::TranslateTitles()