You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
555 B
C
29 lines
555 B
C
3 years ago
|
#ifndef CLASSICMAPCREATOR_H
|
||
|
#define CLASSICMAPCREATOR_H
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
3 years ago
|
#include "tools/mathutils.h"
|
||
3 years ago
|
#include "core/note.h"
|
||
|
|
||
3 years ago
|
#include "classicgraphicsmanager.h"
|
||
|
|
||
|
struct Beatmap
|
||
|
{
|
||
3 years ago
|
std::vector<ClassicNote*> notes;
|
||
3 years ago
|
microsec visibility_offset;
|
||
|
};
|
||
|
|
||
|
class ClassicMapCreator
|
||
|
{
|
||
|
public:
|
||
3 years ago
|
explicit ClassicMapCreator(const std::shared_ptr<ClassicGraphicsManager>& manager);
|
||
3 years ago
|
|
||
|
Beatmap createBeatmap(const std::string& filepath) const;
|
||
|
|
||
|
private:
|
||
3 years ago
|
const std::shared_ptr<ClassicGraphicsManager> _graphics_manager;
|
||
3 years ago
|
};
|
||
|
|
||
|
#endif // CLASSICMAPCREATOR_H
|