[br:warps] better variable name for FreezeSeconds/SecondsPerBeat
This commit is contained in:
@@ -238,7 +238,7 @@ void SMLoader::LoadTimingFromSMFile( const MsdFile &msd, TimingData &out )
|
|||||||
BPMSegment curBPM = out.GetBPMSegmentAtRow(BeatToNoteRow(fFreezeBeat));
|
BPMSegment curBPM = out.GetBPMSegmentAtRow(BeatToNoteRow(fFreezeBeat));
|
||||||
float fSecondsPerBeat = 60 / curBPM.m_fBPS;
|
float fSecondsPerBeat = 60 / curBPM.m_fBPS;
|
||||||
// stop length (# measures to skip) = secsPerBeat * 8
|
// stop length (# measures to skip) = secsPerBeat * 8
|
||||||
float fSkipToSeconds = fFreezeSeconds/fSecondsPerBeat;
|
float fSkipBeats = fFreezeSeconds/fSecondsPerBeat;
|
||||||
// location - stoplength = time to subtract from current.
|
// location - stoplength = time to subtract from current.
|
||||||
|
|
||||||
// WarpSegment wsTemp( BeatToNoteRow(fFreezeBeat), [unknown] );
|
// WarpSegment wsTemp( BeatToNoteRow(fFreezeBeat), [unknown] );
|
||||||
|
|||||||
Reference in New Issue
Block a user