aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2011-02-09 00:13:42 +0000
committerMax Horn2011-02-09 00:13:42 +0000
commitee7056542c258e6ed920c0b04f3d50f3bc135990 (patch)
tree3ea5440a82fe187dc50c111deaf4735d833038fc
parent4cfa520dce72cf7805cf299f67c7faa9fc165922 (diff)
downloadscummvm-rg350-ee7056542c258e6ed920c0b04f3d50f3bc135990.tar.gz
scummvm-rg350-ee7056542c258e6ed920c0b04f3d50f3bc135990.tar.bz2
scummvm-rg350-ee7056542c258e6ed920c0b04f3d50f3bc135990.zip
AGOS: Reduce header interdependencies
svn-id: r55843
-rw-r--r--engines/agos/agos.h7
-rw-r--r--engines/agos/event.cpp1
-rw-r--r--engines/agos/feeble.cpp1
3 files changed, 6 insertions, 3 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h
index 4cdd56dc8d..a2962cd827 100644
--- a/engines/agos/agos.h
+++ b/engines/agos/agos.h
@@ -35,9 +35,6 @@
#include "common/stack.h"
#include "common/util.h"
-#ifdef ENABLE_AGOS2
-#include "agos/animation.h"
-#endif
#include "agos/midi.h"
#include "agos/sound.h"
#include "agos/vga.h"
@@ -61,6 +58,10 @@ uint fileReadItemID(Common::SeekableReadStream *in);
#define CHECK_BOUNDS(x, y) assert((uint)(x) < ARRAYSIZE(y))
+#ifdef ENABLE_AGOS2
+class MoviePlayer;
+#endif
+
struct Child;
struct SubObject;
diff --git a/engines/agos/event.cpp b/engines/agos/event.cpp
index b937685b98..fc0b4f96cd 100644
--- a/engines/agos/event.cpp
+++ b/engines/agos/event.cpp
@@ -26,6 +26,7 @@
#include "agos/agos.h"
+#include "agos/animation.h"
#include "agos/debugger.h"
#include "agos/intern.h"
diff --git a/engines/agos/feeble.cpp b/engines/agos/feeble.cpp
index 7dbeacd62f..843298c6d7 100644
--- a/engines/agos/feeble.cpp
+++ b/engines/agos/feeble.cpp
@@ -31,6 +31,7 @@
#include "agos/intern.h"
#include "agos/agos.h"
+#include "agos/animation.h"
namespace AGOS {