From c7397826ccf49bacb299e6f148bb2f0d04220361 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Mon, 30 May 2022 00:29:05 +0300 Subject: [PATCH] Add missing includes See #17 --- src/core.cc | 1 + src/loadsave.cc | 1 + src/main.cc | 2 ++ src/map.cc | 1 + src/scripts.cc | 1 + src/sound.cc | 1 + src/window_manager.cc | 1 + src/world_map.cc | 1 + 8 files changed, 9 insertions(+) diff --git a/src/core.cc b/src/core.cc index bf3ba77..b2a7be2 100644 --- a/src/core.cc +++ b/src/core.cc @@ -13,6 +13,7 @@ #include "window_manager_private.h" #include +#include #include #include diff --git a/src/loadsave.cc b/src/loadsave.cc index 4bdf654..f336201 100644 --- a/src/loadsave.cc +++ b/src/loadsave.cc @@ -42,6 +42,7 @@ #include #include +#include #include #include diff --git a/src/main.cc b/src/main.cc index ce7ceeb..da1e42a 100644 --- a/src/main.cc +++ b/src/main.cc @@ -31,7 +31,9 @@ #include "word_wrap.h" #include "world_map.h" +#include #include +#include #define MAIN_MENU_WINDOW_WIDTH 640 #define MAIN_MENU_WINDOW_HEIGHT 480 diff --git a/src/map.cc b/src/map.cc index 090e470..a19ea21 100644 --- a/src/map.cc +++ b/src/map.cc @@ -34,6 +34,7 @@ #include "world_map.h" #include +#include // 0x50B058 char byte_50B058[] = ""; diff --git a/src/scripts.cc b/src/scripts.cc index 90836a8..c4d0169 100644 --- a/src/scripts.cc +++ b/src/scripts.cc @@ -27,6 +27,7 @@ #include #include +#include #include // 0x50D6B8 diff --git a/src/sound.cc b/src/sound.cc index 3c17c2d..00291cb 100644 --- a/src/sound.cc +++ b/src/sound.cc @@ -9,6 +9,7 @@ #include #include #include +#include #include diff --git a/src/window_manager.cc b/src/window_manager.cc index b7e69e2..d7bc980 100644 --- a/src/window_manager.cc +++ b/src/window_manager.cc @@ -12,6 +12,7 @@ #include "window_manager_private.h" #include +#include #include diff --git a/src/world_map.cc b/src/world_map.cc index 7809233..e6ba0a8 100644 --- a/src/world_map.cc +++ b/src/world_map.cc @@ -35,6 +35,7 @@ #include "window_manager.h" #include +#include #include #include