From 46056aba3ca7d9f51833b1a5154f8a9cc371f340 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Thu, 2 Jan 2020 17:32:51 +0000 Subject: ENGINES: Reduce winexe_*.h header includes --- engines/scumm/he/moonbase/moonbase.cpp | 2 ++ engines/scumm/he/moonbase/moonbase.h | 4 +++- engines/scumm/he/moonbase/moonbase_fow.cpp | 1 + engines/scumm/he/resource_he.cpp | 1 + engines/scumm/he/resource_he.h | 5 ++++- 5 files changed, 11 insertions(+), 2 deletions(-) (limited to 'engines/scumm') 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 { -- cgit v1.2.3