From 98a28791299c39460092d50e9f19374f90a2ceb4 Mon Sep 17 00:00:00 2001 From: Love Billenius Date: Sun, 4 Aug 2024 14:51:10 +0200 Subject: [PATCH] move to data --- CMakeLists.txt | 4 ++-- src/Game.cpp | 2 +- src/{ => data}/words.cpp | 0 src/{ => data}/words.hpp | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/{ => data}/words.cpp (100%) rename src/{ => data}/words.hpp (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f33e0f..071d7d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,8 +15,8 @@ add_executable(hang_man src/main.cpp src/Game.cpp src/Game.hpp src/State.hpp - src/words.hpp - src/words.cpp + src/data/words.hpp + src/data/words.cpp src/utils.hpp src/GuessCorrector.cpp src/GuessCorrector.hpp diff --git a/src/Game.cpp b/src/Game.cpp index c879ebb..6610f73 100644 --- a/src/Game.cpp +++ b/src/Game.cpp @@ -5,7 +5,7 @@ #include "Game.hpp" #include "SDL.h" #include "SDL_ttf.h" -#include "words.hpp" +#include "data/words.hpp" #include "utils.hpp" #include "default_font.hpp" #include "State.hpp" diff --git a/src/words.cpp b/src/data/words.cpp similarity index 100% rename from src/words.cpp rename to src/data/words.cpp diff --git a/src/words.hpp b/src/data/words.hpp similarity index 100% rename from src/words.hpp rename to src/data/words.hpp