From 544e6043494d2e595d19f99921233f737e942596 Mon Sep 17 00:00:00 2001 From: Sara Date: Sat, 8 Apr 2023 00:26:52 +0200 Subject: [PATCH] updated includes --- src/engine.cc | 4 ++-- src/engine.hpp | 2 +- src/game.cc | 8 ++++---- src/tilemap.cc | 2 +- src/tilemap.hpp | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/engine.cc b/src/engine.cc index 3212cd2..83e538c 100644 --- a/src/engine.cc +++ b/src/engine.cc @@ -1,6 +1,6 @@ #include "engine.hpp" -#include "assets.h" -#include "render.h" +#include "corelib/assets.h" +#include "corelib/render.h" #include "SDL2/SDL_image.h" int engine_start() { diff --git a/src/engine.hpp b/src/engine.hpp index 4218c08..650c615 100644 --- a/src/engine.hpp +++ b/src/engine.hpp @@ -2,7 +2,7 @@ #define _engine_h #include "SDL2/SDL.h" -#include "context.h" +#include "corelib/context.h" /* TO BE DEFINED IN GAME */ extern void load_game(); diff --git a/src/game.cc b/src/game.cc index ea10e0f..35b4d75 100644 --- a/src/game.cc +++ b/src/game.cc @@ -1,8 +1,8 @@ #include "engine.hpp" -#include "input.h" -#include "render.h" -#include "assets.h" -#include "layers.h" +#include "corelib/input.h" +#include "corelib/render.h" +#include "corelib/assets.h" +#include "corelib/layers.h" #include "tilemap.hpp" #include "SDL2/SDL_mouse.h" #include diff --git a/src/tilemap.cc b/src/tilemap.cc index 50aae14..a63ae0f 100644 --- a/src/tilemap.cc +++ b/src/tilemap.cc @@ -1,5 +1,5 @@ #include "tilemap.hpp" -#include "layers.h" +#include "corelib/layers.h" #include "stdio.h" #include "string.h" #include "signal.h" diff --git a/src/tilemap.hpp b/src/tilemap.hpp index e1b58a7..585585e 100644 --- a/src/tilemap.hpp +++ b/src/tilemap.hpp @@ -1,8 +1,8 @@ #ifndef _tilemap_h #define _tilemap_h -#include "render.h" #include "vector" +#include "corelib/render.h" #define TILEMAP_MAX_SIZE 128*128