diff options
author | 2025-05-18 11:48:51 +0200 | |
---|---|---|
committer | 2025-05-18 11:50:57 +0200 | |
commit | 987209dde8f477535a8805aeef9ecf35b7cb5e4f (patch) | |
tree | 17ec359f14c30b0072fc9e0b439025a47eca8a6e /src/main | |
parent | 24339d371c2194405dc151e8de0c319d976a78ba (diff) | |
download | tris-987209dde8f477535a8805aeef9ecf35b7cb5e4f.tar.gz tris-987209dde8f477535a8805aeef9ecf35b7cb5e4f.zip |
Move the game engine inside a dedicated directory
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/game/game.c (renamed from src/main/game.c) | 2 | ||||
-rw-r--r-- | src/main/game/game.h (renamed from src/main/game.h) | 0 | ||||
-rw-r--r-- | src/main/main.c | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/src/main/game.c b/src/main/game/game.c index 007bc8c..4addcf2 100644 --- a/src/main/game.c +++ b/src/main/game/game.c @@ -17,7 +17,7 @@ * along with Tris Game. If not, see <http://www.gnu.org/licenses/>. */ -#include "engine/engine.h" +#include "../engine/engine.h" void game_draw_field(int box_size, int x, int y) diff --git a/src/main/game.h b/src/main/game/game.h index 8148645..8148645 100644 --- a/src/main/game.h +++ b/src/main/game/game.h diff --git a/src/main/main.c b/src/main/main.c index 4780e76..ea2bc91 100644 --- a/src/main/main.c +++ b/src/main/main.c @@ -23,7 +23,7 @@ #include <stdlib.h> #include "ui/ui.h" #include "engine/engine.h" -#include "game.h" +#include "game/game.h" #define WIDTH 640 #define HEIGHT 480 |