aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-12-05 13:34:03 +0000
committerWillem Jan Palenstijn2011-11-20 22:43:10 +0100
commit26a7bf4eb5616dc4d5d5556050b0eb21ded2e934 (patch)
tree49e9a07063e5da647aabb9025124c71d35d7e0eb
parent7746fbc5437c018e450e9673f978f02b27a60480 (diff)
downloadscummvm-rg350-26a7bf4eb5616dc4d5d5556050b0eb21ded2e934.tar.gz
scummvm-rg350-26a7bf4eb5616dc4d5d5556050b0eb21ded2e934.tar.bz2
scummvm-rg350-26a7bf4eb5616dc4d5d5556050b0eb21ded2e934.zip
TOLTECS: Reduced header dependencies
-rw-r--r--engines/toltecs/animation.cpp11
-rw-r--r--engines/toltecs/animation.h13
-rw-r--r--engines/toltecs/menu.cpp10
-rw-r--r--engines/toltecs/menu.h14
4 files changed, 1 insertions, 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 {