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:
@@ -1829,9 +1829,9 @@ void ScreenGameplay::Input( const DeviceInput& DeviceI, const InputEventType typ
|
||||
fOffsetDelta *= 10;
|
||||
BPMSegment& seg = GAMESTATE->m_pCurSong->GetBPMSegmentAtBeat( GAMESTATE->m_fSongBeat );
|
||||
|
||||
seg.m_fBPM += fOffsetDelta;
|
||||
seg.m_iBPS += BeatToNoteRow(fOffsetDelta);
|
||||
|
||||
m_textDebug.SetText( ssprintf("Cur BPM = %.2f", seg.m_fBPM) );
|
||||
m_textDebug.SetText( ssprintf("Cur BPM = %.2f", seg.GetBPM()) );
|
||||
m_textDebug.StopTweening();
|
||||
m_textDebug.SetDiffuse( RageColor(1,1,1,1) );
|
||||
m_textDebug.BeginTweening( 3 ); // sleep
|
||||
|
||||
Reference in New Issue
Block a user