aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorCameron Cawley2020-01-02 17:32:51 +0000
committerFilippos Karapetis2020-01-11 17:34:12 +0200
commit46056aba3ca7d9f51833b1a5154f8a9cc371f340 (patch)
tree95034a9b75e7654dc4a099f7e5a8ac9511516d94 /engines/scumm
parentb8e94e1acd207771098bcb5c1a882b13740a850c (diff)
downloadscummvm-rg350-46056aba3ca7d9f51833b1a5154f8a9cc371f340.tar.gz
scummvm-rg350-46056aba3ca7d9f51833b1a5154f8a9cc371f340.tar.bz2
scummvm-rg350-46056aba3ca7d9f51833b1a5154f8a9cc371f340.zip
ENGINES: Reduce winexe_*.h header includes
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/moonbase/moonbase.cpp2
-rw-r--r--engines/scumm/he/moonbase/moonbase.h4
-rw-r--r--engines/scumm/he/moonbase/moonbase_fow.cpp1
-rw-r--r--engines/scumm/he/resource_he.cpp1
-rw-r--r--engines/scumm/he/resource_he.h5
5 files changed, 11 insertions, 2 deletions
diff --git a/engines/scumm/he/moonbase/moonbase.cpp b/engines/scumm/he/moonbase/moonbase.cpp
index 9b7ec9970e..890d9e4051 100644
--- a/engines/scumm/he/moonbase/moonbase.cpp
+++ b/engines/scumm/he/moonbase/moonbase.cpp
@@ -20,6 +20,8 @@
*
*/
+#include "common/winexe_pe.h"
+
#include "scumm/he/intern_he.h"
#include "scumm/he/moonbase/moonbase.h"
#include "scumm/he/moonbase/ai_main.h"
diff --git a/engines/scumm/he/moonbase/moonbase.h b/engines/scumm/he/moonbase/moonbase.h
index 97ad6b7095..09eb197cb5 100644
--- a/engines/scumm/he/moonbase/moonbase.h
+++ b/engines/scumm/he/moonbase/moonbase.h
@@ -25,7 +25,9 @@
#ifdef ENABLE_HE
-#include "common/winexe_pe.h"
+namespace Common {
+class PEResources;
+}
namespace Scumm {
diff --git a/engines/scumm/he/moonbase/moonbase_fow.cpp b/engines/scumm/he/moonbase/moonbase_fow.cpp
index 28d7e0cd55..af58c11310 100644
--- a/engines/scumm/he/moonbase/moonbase_fow.cpp
+++ b/engines/scumm/he/moonbase/moonbase_fow.cpp
@@ -21,6 +21,7 @@
*/
#include "common/config-manager.h"
+#include "common/winexe_pe.h"
#include "scumm/he/intern_he.h"
#include "scumm/he/moonbase/moonbase.h"
diff --git a/engines/scumm/he/resource_he.cpp b/engines/scumm/he/resource_he.cpp
index 3de890f41b..0d2c6f5365 100644
--- a/engines/scumm/he/resource_he.cpp
+++ b/engines/scumm/he/resource_he.cpp
@@ -35,6 +35,7 @@
#include "common/archive.h"
#include "common/memstream.h"
#include "common/system.h"
+#include "common/winexe_pe.h"
namespace Scumm {
diff --git a/engines/scumm/he/resource_he.h b/engines/scumm/he/resource_he.h
index 617ed1f446..c3fca17737 100644
--- a/engines/scumm/he/resource_he.h
+++ b/engines/scumm/he/resource_he.h
@@ -24,7 +24,10 @@
#define SCUMM_HE_RESOURCE_HE_H
#include "common/macresman.h"
-#include "common/winexe_pe.h"
+
+namespace Common {
+class PEResources;
+}
namespace Scumm {