Stops (and Delays) now templated.
This is all of them at this present time. At some point in the future, we should make DelaySegments separate from StopSegments.
This commit is contained in:
@@ -23,8 +23,8 @@ void Deserialize(BPMSegment &seg, const Json::Value &root)
|
||||
|
||||
static void Deserialize(StopSegment &seg, const Json::Value &root)
|
||||
{
|
||||
seg.m_iStartRow = BeatToNoteRow((float)(root["Beat"].asDouble()));
|
||||
seg.m_fStopSeconds = (float)root["Seconds"].asDouble();
|
||||
seg.SetBeat((float)(root["Beat"].asDouble()));
|
||||
seg.SetPause((float)(root["Seconds"].asDouble()));
|
||||
}
|
||||
|
||||
static void Deserialize(TimingData &td, const Json::Value &root)
|
||||
|
||||
Reference in New Issue
Block a user