20 lines
351 B
C
20 lines
351 B
C
#pragma once
|
|
|
|
#include "tools/mathutils.h"
|
|
|
|
struct BPMSection
|
|
{
|
|
int bpm = 120; // Hi, osu
|
|
int fraction = 2;
|
|
microsec offset_start = 0;
|
|
microsec interval = 0;
|
|
};
|
|
|
|
struct BPMSectionCompt
|
|
{
|
|
bool operator()(const BPMSection& lhs, const BPMSection& rhs) const noexcept
|
|
{
|
|
return lhs.offset_start < rhs.offset_start;
|
|
}
|
|
};
|