From 9b8e5020bfae37505cf178aa6604882ee84d12c2 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 9 Jan 2016 01:25:23 +0100 Subject: [PATCH] WAGE: Reduced header dependency --- engines/wage/design.cpp | 1 - engines/wage/gui.cpp | 2 +- engines/wage/randomhat.cpp | 1 - engines/wage/util.cpp | 4 ++-- engines/wage/wage.cpp | 6 ------ engines/wage/world.cpp | 3 --- 6 files changed, 3 insertions(+), 14 deletions(-) diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index 5ce1ff376c2..abed29bee5e 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -45,7 +45,6 @@ * */ -#include "common/system.h" #include "graphics/primitives.h" #include "wage/wage.h" #include "wage/design.h" diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index f5c24d00219..3e97f11e598 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -45,12 +45,12 @@ * */ -#include "common/system.h" #include "common/timer.h" #include "common/unzip.h" #include "graphics/cursorman.h" #include "graphics/fonts/bdf.h" #include "graphics/palette.h" + #include "wage/wage.h" #include "wage/design.h" #include "wage/entities.h" diff --git a/engines/wage/randomhat.cpp b/engines/wage/randomhat.cpp index 6461abf0c2a..f908e0b1a82 100644 --- a/engines/wage/randomhat.cpp +++ b/engines/wage/randomhat.cpp @@ -48,7 +48,6 @@ #include "common/hashmap.h" #include "wage/randomhat.h" - namespace Wage { void RandomHat::addTokens(int type, int count) { diff --git a/engines/wage/util.cpp b/engines/wage/util.cpp index 1390c496ce4..1216a275b0f 100644 --- a/engines/wage/util.cpp +++ b/engines/wage/util.cpp @@ -45,10 +45,10 @@ * */ -#include "wage/wage.h" - #include "common/stream.h" +#include "wage/wage.h" + namespace Wage { Common::String readPascalString(Common::SeekableReadStream *in) { diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index da29a20eb63..920f8feb86f 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -45,13 +45,7 @@ * */ -#include "common/scummsys.h" - -#include "common/config-manager.h" #include "common/debug-channels.h" -#include "common/error.h" -#include "common/file.h" -#include "common/fs.h" #include "engines/engine.h" #include "engines/util.h" diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp index d44267aeaf0..1ef51de0556 100644 --- a/engines/wage/world.cpp +++ b/engines/wage/world.cpp @@ -46,9 +46,6 @@ */ #include "common/file.h" -#include "common/macresman.h" -#include "common/memstream.h" -#include "common/str-array.h" #include "wage/wage.h" #include "wage/entities.h"