|
|
|
@ -17,14 +17,14 @@ Beatmap ClassicMapCreator::createBeatmap(const std::string& filepath) const
|
|
|
|
|
microsec starting_beat_offset = 362162;
|
|
|
|
|
int amount_of_beats = 209;
|
|
|
|
|
microsec interval = 1412162;
|
|
|
|
|
microsec tempo_interval = interval / 2;
|
|
|
|
|
microsec tempo_interval = interval / 4;
|
|
|
|
|
microsec note_input_offset = 412162 / 2;
|
|
|
|
|
//microsec note_input_offset_fast = 412162 / 6;
|
|
|
|
|
microsec bpm_iterator = starting_beat_offset;
|
|
|
|
|
microsec bpm_end = starting_beat_offset + (interval * amount_of_beats);
|
|
|
|
|
|
|
|
|
|
std::vector<microsec> input_intervals = {note_input_offset / 3, note_input_offset / 3 * 2, note_input_offset};
|
|
|
|
|
std::vector<ClassicNote*> notes;
|
|
|
|
|
std::set<ClassicNote*, NotePtrCompt> notes;
|
|
|
|
|
input_intervals.shrink_to_fit();
|
|
|
|
|
|
|
|
|
|
bpm_iterator += tempo_interval;
|
|
|
|
@ -60,7 +60,7 @@ Beatmap ClassicMapCreator::createBeatmap(const std::string& filepath) const
|
|
|
|
|
|
|
|
|
|
init.elements = {element};
|
|
|
|
|
|
|
|
|
|
notes.emplace_back(new ClassicArrowNote(std::move(init)));
|
|
|
|
|
notes.insert(new ClassicArrowNote(std::move(init)));
|
|
|
|
|
|
|
|
|
|
bpm_iterator += tempo_interval;
|
|
|
|
|
x += 70;
|
|
|
|
@ -69,6 +69,6 @@ Beatmap ClassicMapCreator::createBeatmap(const std::string& filepath) const
|
|
|
|
|
x = 90.;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return {std::move(notes), note_input_offset * 12};
|
|
|
|
|
return {std::move(notes), note_input_offset * 8};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|