From a7b8a3b8d581eacbf9d6c89035b7d863ea9abd0d Mon Sep 17 00:00:00 2001 From: bbbbbr Date: Wed, 16 Feb 2022 00:20:52 -0800 Subject: [PATCH] Include cleanup --- src/board.c | 6 +++--- src/gfx_common.c | 6 +++--- src/input.c | 3 +-- src/keyboard.c | 3 +-- src/main.c | 7 ++++--- src/window.c | 2 +- 6 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/board.c b/src/board.c index 7837e3c..b18bb0d 100644 --- a/src/board.c +++ b/src/board.c @@ -1,12 +1,12 @@ // board.c #include -#include -#include #include #include -#include "word-db.h" +#include +#include +#include #include "common.h" #include "gfx_common.h" diff --git a/src/gfx_common.c b/src/gfx_common.c index b424604..bc49029 100644 --- a/src/gfx_common.c +++ b/src/gfx_common.c @@ -1,12 +1,12 @@ // gfx_common.c #include -#include -#include #include #include -#include "word-db.h" +#include +#include +#include #include "common.h" #include "gfx_common.h" diff --git a/src/input.c b/src/input.c index 79b1d70..2ee7696 100644 --- a/src/input.c +++ b/src/input.c @@ -1,7 +1,6 @@ // input.c -#include -#include // Include cgb functions +#include #include "input.h" diff --git a/src/keyboard.c b/src/keyboard.c index b7eebf4..c98f3c7 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3,8 +3,7 @@ #include #include #include - -#include "word-db.h" +#include #include "common.h" #include "gfx_common.h" diff --git a/src/main.c b/src/main.c index 8754a1c..3821f88 100644 --- a/src/main.c +++ b/src/main.c @@ -8,12 +8,13 @@ * CGB + GFX refactor improvement by bbbbbr */ #include -// #include +#include +#include + #include #include +#include #include -#include -#include #include "word-db.h" diff --git a/src/window.c b/src/window.c index 7bcd910..f7e44fd 100644 --- a/src/window.c +++ b/src/window.c @@ -3,8 +3,8 @@ #include #include #include +#include -#include "word-db.h" #include "common.h" #include "input.h"