aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-08 16:29:16 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:57:01 +0200
commit45e3ae285c63d91dcac426cffdd9d9648e48399b (patch)
treea3d483027356fec5a953545e691ea07ef417bf63 /src
parentdcc6d3d5cafe47d53d1b321476bf73bb2d65ae9b (diff)
refactor: move components to game folder
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/bootstrap.cpp2
-rw-r--r--src/game/components/statusline.cpp (renamed from src/engine/components/statusline.cpp)0
-rw-r--r--src/game/components/statusline.hpp (renamed from src/engine/components/statusline.hpp)0
4 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4b470a6..52c5679 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -14,6 +14,7 @@ file(GLOB SOURCES
game/game.cpp
game/status_manager.cpp
game/generation_tracker.cpp
+ game/components/statusline.cpp
engine/engine.cpp
engine/main.cpp
engine/data/vector2.cpp
@@ -21,7 +22,6 @@ file(GLOB SOURCES
engine/graphics/scene.cpp
engine/graphics/string_matrix.cpp
engine/graphics/component_renderer.cpp
- engine/components/statusline.cpp
engine/user/input.cpp
engine/user/cursor.cpp)
diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp
index 1231937..3554183 100644
--- a/src/bootstrap.cpp
+++ b/src/bootstrap.cpp
@@ -15,7 +15,6 @@
#include "interfaces/statusline.hpp"
// Implementations
-#include "engine/components/statusline.hpp"
#include "engine/data/bounds.hpp"
#include "engine/data/vector2.hpp"
#include "engine/engine.hpp"
@@ -25,6 +24,7 @@
#include "engine/user/cursor.hpp"
#include "engine/user/input.hpp"
#include "game/cell_helper.hpp"
+#include "game/components/statusline.hpp"
#include "game/game.hpp"
#include "game/generation_tracker.hpp"
#include "game/status_manager.hpp"
diff --git a/src/engine/components/statusline.cpp b/src/game/components/statusline.cpp
index 5b59a53..5b59a53 100644
--- a/src/engine/components/statusline.cpp
+++ b/src/game/components/statusline.cpp
diff --git a/src/engine/components/statusline.hpp b/src/game/components/statusline.hpp
index 8c1969b..8c1969b 100644
--- a/src/engine/components/statusline.hpp
+++ b/src/game/components/statusline.hpp