aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt5
-rw-r--r--src/engine/matrix.hpp (renamed from src/matrix.hpp)0
-rw-r--r--src/engine/matrix.tpp (renamed from src/matrix.tpp)0
-rw-r--r--src/engine/vector2.cpp (renamed from src/vector2.cpp)0
-rw-r--r--src/engine/vector2.hpp (renamed from src/vector2.hpp)0
-rw-r--r--src/maze.hpp4
-rw-r--r--src/maze.tpp1
-rw-r--r--src/mazerator.cpp4
8 files changed, 8 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5747315..b795a86 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,10 @@ set(CMAKE_CXX_STANDARD 17)
project(mazerator CXX)
-file(GLOB SOURCES src/*.cpp)
+file(GLOB SOURCES
+ src/mazerator.cpp
+ src/utils.cpp
+ src/engine/vector2.cpp)
add_executable(${PROJECT_NAME} ${SOURCES})
diff --git a/src/matrix.hpp b/src/engine/matrix.hpp
index ddc1a1c..ddc1a1c 100644
--- a/src/matrix.hpp
+++ b/src/engine/matrix.hpp
diff --git a/src/matrix.tpp b/src/engine/matrix.tpp
index b9fa495..b9fa495 100644
--- a/src/matrix.tpp
+++ b/src/engine/matrix.tpp
diff --git a/src/vector2.cpp b/src/engine/vector2.cpp
index effc8b5..effc8b5 100644
--- a/src/vector2.cpp
+++ b/src/engine/vector2.cpp
diff --git a/src/vector2.hpp b/src/engine/vector2.hpp
index 3dc1db1..3dc1db1 100644
--- a/src/vector2.hpp
+++ b/src/engine/vector2.hpp
diff --git a/src/maze.hpp b/src/maze.hpp
index f343010..e525d70 100644
--- a/src/maze.hpp
+++ b/src/maze.hpp
@@ -1,7 +1,7 @@
#pragma once
-#include "matrix.hpp"
-#include "vector2.hpp"
+#include "engine/matrix.hpp"
+#include "engine/vector2.hpp"
#include <memory>
#include <random>
#include <string>
diff --git a/src/maze.tpp b/src/maze.tpp
index fd71479..19390cc 100644
--- a/src/maze.tpp
+++ b/src/maze.tpp
@@ -1,4 +1,3 @@
-#include "matrix.hpp"
#include "maze.hpp"
#include "stack.hpp"
#include <vector>
diff --git a/src/mazerator.cpp b/src/mazerator.cpp
index a82bbaf..33ef1b1 100644
--- a/src/mazerator.cpp
+++ b/src/mazerator.cpp
@@ -1,8 +1,8 @@
+#include "engine/matrix.hpp"
+#include "engine/vector2.hpp"
#include "getopt.h"
-#include "matrix.hpp"
#include "maze.hpp"
#include "utils.hpp"
-#include "vector2.hpp"
#include <iostream>
#include <memory>
#include <random>