From 26a7bf4eb5616dc4d5d5556050b0eb21ded2e934 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 5 Dec 2010 13:34:03 +0000 Subject: TOLTECS: Reduced header dependencies --- engines/toltecs/animation.cpp | 11 ----------- engines/toltecs/animation.h | 13 ------------- engines/toltecs/menu.cpp | 10 ---------- engines/toltecs/menu.h | 14 +------------- 4 files changed, 1 insertion(+), 47 deletions(-) diff --git a/engines/toltecs/animation.cpp b/engines/toltecs/animation.cpp index 3175bf67fe..8c0337d1c3 100644 --- a/engines/toltecs/animation.cpp +++ b/engines/toltecs/animation.cpp @@ -21,17 +21,6 @@ * */ -#include "common/events.h" -#include "common/keyboard.h" -#include "common/file.h" -#include "common/savefile.h" -#include "common/config-manager.h" - -#include "base/plugins.h" -#include "base/version.h" - -#include "sound/mixer.h" - #include "toltecs/toltecs.h" #include "toltecs/animation.h" #include "toltecs/palette.h" diff --git a/engines/toltecs/animation.h b/engines/toltecs/animation.h index 8b1ac7bab1..22576d7535 100644 --- a/engines/toltecs/animation.h +++ b/engines/toltecs/animation.h @@ -24,19 +24,6 @@ #ifndef TOLTECS_ANIMATION_H #define TOLTECS_ANIMATION_H -#include "common/scummsys.h" -#include "common/endian.h" -#include "common/util.h" -#include "common/file.h" -#include "common/savefile.h" -#include "common/system.h" -#include "common/hash-str.h" -#include "common/events.h" -#include "common/keyboard.h" -#include "common/array.h" - -#include "engines/engine.h" - #include "toltecs/toltecs.h" #include "toltecs/resource.h" diff --git a/engines/toltecs/menu.cpp b/engines/toltecs/menu.cpp index f79d70b1f2..ac08d88548 100644 --- a/engines/toltecs/menu.cpp +++ b/engines/toltecs/menu.cpp @@ -21,23 +21,13 @@ * */ -#include "common/events.h" -#include "common/keyboard.h" -#include "common/file.h" #include "common/savefile.h" -#include "common/config-manager.h" - -#include "base/plugins.h" -#include "base/version.h" - -#include "sound/mixer.h" #include "toltecs/toltecs.h" #include "toltecs/menu.h" #include "toltecs/palette.h" #include "toltecs/render.h" #include "toltecs/resource.h" -#include "toltecs/screen.h" namespace Toltecs { diff --git a/engines/toltecs/menu.h b/engines/toltecs/menu.h index 12f48ca875..d4cbddcd81 100644 --- a/engines/toltecs/menu.h +++ b/engines/toltecs/menu.h @@ -24,20 +24,8 @@ #ifndef TOLTECS_MENU_H #define TOLTECS_MENU_H -#include "common/scummsys.h" -#include "common/endian.h" -#include "common/util.h" -#include "common/file.h" -#include "common/savefile.h" -#include "common/system.h" -#include "common/hash-str.h" -#include "common/events.h" -#include "common/keyboard.h" #include "common/array.h" -#include "common/rect.h" -#include "common/str.h" - -#include "engines/engine.h" +#include "common/str-array.h" namespace Toltecs { -- cgit v1.2.3