Skip to content

Commit

Permalink
Include cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbbbr committed Feb 16, 2022
1 parent 8f0e34b commit a7b8a3b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
6 changes: 3 additions & 3 deletions src/board.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// board.c

#include <gbdk/platform.h>
#include <string.h>
#include <stdint.h>
#include <gbdk/incbin.h>
#include <gb/gbdecompress.h>

#include "word-db.h"
#include <string.h>
#include <stdint.h>
#include <stdbool.h>

#include "common.h"
#include "gfx_common.h"
Expand Down
6 changes: 3 additions & 3 deletions src/gfx_common.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// gfx_common.c

#include <gbdk/platform.h>
#include <string.h>
#include <stdint.h>
#include <gbdk/incbin.h>
#include <gb/gbdecompress.h>

#include "word-db.h"
#include <string.h>
#include <stdint.h>
#include <stdbool.h>

#include "common.h"
#include "gfx_common.h"
Expand Down
3 changes: 1 addition & 2 deletions src/input.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// input.c

#include <gb/gb.h>
#include <gb/cgb.h> // Include cgb functions
#include <gbdk/platform.h>

#include "input.h"

Expand Down
3 changes: 1 addition & 2 deletions src/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
#include <gbdk/platform.h>
#include <string.h>
#include <stdint.h>

#include "word-db.h"
#include <stdbool.h>

#include "common.h"
#include "gfx_common.h"
Expand Down
7 changes: 4 additions & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
* CGB + GFX refactor improvement by bbbbbr
*/
#include <gbdk/platform.h>
// #include <gbdk/font.h>
#include <gbdk/incbin.h>
#include <gb/gbdecompress.h>

#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#include <rand.h>
#include <gbdk/incbin.h>
#include <gb/gbdecompress.h>

#include "word-db.h"

Expand Down
2 changes: 1 addition & 1 deletion src/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#include <gbdk/platform.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>

#include "word-db.h"

#include "common.h"
#include "input.h"
Expand Down

0 comments on commit a7b8a3b

Please sign in to comment.