diff options
author | HampusM <hampus@hampusmat.com> | 2022-06-28 19:22:06 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-28 19:22:06 +0200 |
commit | d2a76bd8cfd883070259bf572a9f723a37c0d96e (patch) | |
tree | cca72b471b0c3a562789a1ab966e4568edf7165a /src/game/game.hpp | |
parent | daf39f75d764449f18cd480b6d3c645b8372b0a5 (diff) |
refactor: improve includes with iwyu
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index da1ba11..13e229e 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -1,5 +1,18 @@ #pragma once +#include <chrono> +#include <cstddef> +#include <cstdint> +#include <functional> +#include <list> +#include <memory> +#include <optional> +#include <string> +#include <string_view> +#include <unordered_map> +#include <vector> + +#include "engine/data/vector2.hpp" #include "interfaces/RLE_reader.hpp" #include "interfaces/cell_helper.hpp" #include "interfaces/cursor.hpp" @@ -11,17 +24,13 @@ #include "interfaces/status_manager.hpp" #include "interfaces/statusline.hpp" -#include "engine/data/vector2.hpp" - -#include <chrono> -#include <cstddef> -#include <functional> -#include <list> -#include <memory> -#include <optional> -#include <string> -#include <string_view> -#include <vector> +class ICellHelper; +class IGenerationTracker; +class IRLEReader; +class IStatusManager; +class IUserInputObserver; +template <typename ElementType> +class IMatrix; constexpr auto DEFAULT_GENERATIONS_PER_SECOND = 5L; |