Represent TimingData values (except for "seconds") in fixed-point.
Maybe we should stop calling note indexes "rows" and "indexes", and just call them "beats"; if they're stored as an integer, they're in fixed-point. Things like "note rows per second" are a lot less intuitive than just calling them "beats per second".
This commit is contained in:
@@ -524,8 +524,8 @@ void Song::TidyUpData()
|
||||
}
|
||||
|
||||
/* Make sure the first BPM segment starts at beat 0. */
|
||||
if( m_Timing.m_BPMSegments[0].m_fStartBeat != 0 )
|
||||
m_Timing.m_BPMSegments[0].m_fStartBeat = 0;
|
||||
if( m_Timing.m_BPMSegments[0].m_iStartIndex != 0 )
|
||||
m_Timing.m_BPMSegments[0].m_iStartIndex = 0;
|
||||
|
||||
|
||||
if( m_fMusicSampleStartSeconds == -1 ||
|
||||
|
||||
Reference in New Issue
Block a user