From cf3bfd60ad03f2feb2ccc62a12fc2922bdc2fb71 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 2 Jun 2022 20:07:09 +0200 Subject: refactor: remove randomization & argument parser --- src/bootstrap.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/bootstrap.cpp') diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp index adb53a2..1effa96 100644 --- a/src/bootstrap.cpp +++ b/src/bootstrap.cpp @@ -1,7 +1,6 @@ #include "bootstrap.hpp" // Interfaces -#include "interfaces/argument_parser.hpp" #include "interfaces/cell_helper.hpp" #include "interfaces/cursor.hpp" #include "interfaces/engine.hpp" @@ -9,13 +8,11 @@ #include "interfaces/generation_tracker.hpp" #include "interfaces/input.hpp" #include "interfaces/matrix.hpp" -#include "interfaces/randomization.hpp" #include "interfaces/scene.hpp" #include "interfaces/status_manager.hpp" #include "interfaces/statusline.hpp" // Implementations -#include "argument_parser.hpp" #include "engine/data/bounds.hpp" #include "engine/data/vector2.hpp" #include "engine/engine.hpp" @@ -28,8 +25,6 @@ #include "game/game.hpp" #include "game/generation_tracker.hpp" #include "game/status_manager.hpp" -#include "randomization/generator.hpp" -#include "randomization/seed_generator.hpp" #include @@ -43,11 +38,9 @@ auto bootstrap() noexcept -> yacppdic::Container { auto container = yacppdic::Container(); - container.bind().to(); container.bind().to(); container.bind().to(); container.bind().to(); - container.bind().to(); container.bind().to_factory( [&container]( @@ -75,12 +68,6 @@ auto bootstrap() noexcept -> yacppdic::Container cell_helper_factory(*(scene->get_matrix()))); }); - container.bind().to_factory( - [](const uint32_t &seed) - { - return std::make_unique(seed); - }); - container.bind>().to_factory( [](const Bounds &bounds) { -- cgit v1.2.3-18-g5258