diff --git a/src/context.h b/src/context.h index 5a49ca1..7b4862d 100644 --- a/src/context.h +++ b/src/context.h @@ -2,11 +2,9 @@ #define CONTEXT_H -#include "config.h" #include "private/rendering.h" #include "textures.h" #include "input.h" -#include "game_api.h" #include diff --git a/src/main.c b/src/main.c index ad1b544..053d789 100644 --- a/src/main.c +++ b/src/main.c @@ -15,10 +15,8 @@ #include #include #include -#include #include #include -#include static void poll_events(void) { diff --git a/src/rendering.c b/src/rendering.c index 0d5092b..57968c5 100644 --- a/src/rendering.c +++ b/src/rendering.c @@ -1,6 +1,5 @@ #include "private/rendering.h" #include "context.h" -#include "config.h" #include "textures.h" #include diff --git a/src/text.c b/src/text.c index 727a43b..6c36ea0 100644 --- a/src/text.c +++ b/src/text.c @@ -1,5 +1,5 @@ #include "text.h" +#include "SDL.h" #include "SDL_ttf.h" - diff --git a/src/text.h b/src/text.h index 2b8f06a..9b7467c 100644 --- a/src/text.h +++ b/src/text.h @@ -4,9 +4,6 @@ #include "util.h" -#include "SDL.h" -#include "SDL_ttf.h" - struct text { char *text; diff --git a/src/util.c b/src/util.c index 5551eee..f8764cf 100644 --- a/src/util.c +++ b/src/util.c @@ -14,7 +14,6 @@ #include #include #include -#include #include