#include "classicmode/classicfactory.h" #include "graphics/classicscenegraphicsmanager.h" #include "graphics/classicgraphicsfactory.h" #include "core/timeline.h" #include "game/classicgame.h" #include "editor/classiceditor.h" std::unique_ptr classic::getGame(const std::shared_ptr& core_factory) { // read offset from beatmap metadata const kku::microsec visibility_offset = 1648648; const auto factory = std::make_shared(core_factory); const auto timeline = std::make_shared>(); const auto graphics_manager = std::make_shared(timeline, factory, visibility_offset); return std::make_unique(timeline, graphics_manager); } std::unique_ptr classic::getEditor(const std::shared_ptr& core_factory) { // read offset from beatmap metadata const kku::microsec visibility_offset = 1648648; const auto factory = std::make_shared(core_factory); const auto timeline = std::make_shared>(); const auto graphics_manager = std::make_shared(timeline, factory, visibility_offset); return std::make_unique(timeline, graphics_manager); }