aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2011-06-10 21:55:01 +0200
committerMax Horn2011-06-10 22:15:47 +0200
commit95bfa811682bb620097e700c043ce5bd6ddfd562 (patch)
tree161178b7411b7622ed141b40f0a5c13f8d287efd
parent8878be7b11e48541666a9a42a3d72122ad7c99f5 (diff)
downloadscummvm-rg350-95bfa811682bb620097e700c043ce5bd6ddfd562.tar.gz
scummvm-rg350-95bfa811682bb620097e700c043ce5bd6ddfd562.tar.bz2
scummvm-rg350-95bfa811682bb620097e700c043ce5bd6ddfd562.zip
TOON: Reduce header dependencies
-rw-r--r--engines/toon/toon.cpp1
-rw-r--r--engines/toon/toon.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index 93da20fb47..0e0978b3d6 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -28,6 +28,7 @@
#include "common/savefile.h"
#include "common/memstream.h"
+#include "engines/advancedDetector.h"
#include "engines/util.h"
#include "graphics/palette.h"
#include "graphics/surface.h"
diff --git a/engines/toon/toon.h b/engines/toon/toon.h
index 02828f26d1..65c6ba0234 100644
--- a/engines/toon/toon.h
+++ b/engines/toon/toon.h
@@ -23,7 +23,6 @@
#ifndef TOON_TOON_H
#define TOON_TOON_H
-#include "engines/advancedDetector.h"
#include "engines/engine.h"
#include "graphics/surface.h"
#include "common/random.h"
@@ -44,6 +43,8 @@ namespace Common {
class MemoryWriteStreamDynamic;
}
+struct ADGameDescription;
+
#define TOON_DAT_VER_MAJ 0 // 1 byte
#define TOON_DAT_VER_MIN 3 // 1 byte
#define TOON_SAVEGAME_VERSION 4