aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/data
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lastexpress/data')
-rw-r--r--engines/lastexpress/data/animation.cpp1
-rw-r--r--engines/lastexpress/data/animation.h5
-rw-r--r--engines/lastexpress/data/background.cpp2
-rw-r--r--engines/lastexpress/data/background.h4
-rw-r--r--engines/lastexpress/data/cursor.cpp1
-rw-r--r--engines/lastexpress/data/cursor.h4
-rw-r--r--engines/lastexpress/data/font.cpp1
-rw-r--r--engines/lastexpress/data/font.h5
-rw-r--r--engines/lastexpress/data/scene.cpp2
-rw-r--r--engines/lastexpress/data/scene.h5
-rw-r--r--engines/lastexpress/data/sequence.cpp2
-rw-r--r--engines/lastexpress/data/sequence.h5
-rw-r--r--engines/lastexpress/data/snd.h5
-rw-r--r--engines/lastexpress/data/subtitle.cpp1
-rw-r--r--engines/lastexpress/data/subtitle.h5
15 files changed, 40 insertions, 8 deletions
diff --git a/engines/lastexpress/data/animation.cpp b/engines/lastexpress/data/animation.cpp
index 5ac9f8bf00..f3179749c0 100644
--- a/engines/lastexpress/data/animation.cpp
+++ b/engines/lastexpress/data/animation.cpp
@@ -35,6 +35,7 @@
#include "common/events.h"
#include "common/rational.h"
+#include "common/stream.h"
#include "engines/engine.h"
diff --git a/engines/lastexpress/data/animation.h b/engines/lastexpress/data/animation.h
index 435621eb8e..9bc2ba99cb 100644
--- a/engines/lastexpress/data/animation.h
+++ b/engines/lastexpress/data/animation.h
@@ -41,7 +41,10 @@
#include "lastexpress/drawable.h"
#include "common/array.h"
-#include "common/stream.h"
+
+namespace Common {
+class SeekableReadStream;
+}
namespace LastExpress {
diff --git a/engines/lastexpress/data/background.cpp b/engines/lastexpress/data/background.cpp
index 94d7fb16c3..8b0d338f64 100644
--- a/engines/lastexpress/data/background.cpp
+++ b/engines/lastexpress/data/background.cpp
@@ -31,6 +31,8 @@
#include "lastexpress/debug.h"
+#include "common/stream.h"
+
namespace LastExpress {
Background::Background() : _data(NULL) {
diff --git a/engines/lastexpress/data/background.h b/engines/lastexpress/data/background.h
index 5fbdbc13ed..994b216ff9 100644
--- a/engines/lastexpress/data/background.h
+++ b/engines/lastexpress/data/background.h
@@ -46,7 +46,9 @@
#include "lastexpress/drawable.h"
-#include "common/stream.h"
+namespace Common {
+class SeekableReadStream;
+}
namespace LastExpress {
diff --git a/engines/lastexpress/data/cursor.cpp b/engines/lastexpress/data/cursor.cpp
index 4e7003578a..5489fc3d21 100644
--- a/engines/lastexpress/data/cursor.cpp
+++ b/engines/lastexpress/data/cursor.cpp
@@ -27,6 +27,7 @@
#include "lastexpress/lastexpress.h"
+#include "common/stream.h"
#include "common/system.h"
#include "graphics/cursorman.h"
diff --git a/engines/lastexpress/data/cursor.h b/engines/lastexpress/data/cursor.h
index 992266569f..0e9556aa6e 100644
--- a/engines/lastexpress/data/cursor.h
+++ b/engines/lastexpress/data/cursor.h
@@ -43,7 +43,9 @@
#include "lastexpress/shared.h"
-#include "common/stream.h"
+namespace Common {
+class SeekableReadStream;
+}
namespace LastExpress {
diff --git a/engines/lastexpress/data/font.cpp b/engines/lastexpress/data/font.cpp
index 5f4b3b40b8..99239606ab 100644
--- a/engines/lastexpress/data/font.cpp
+++ b/engines/lastexpress/data/font.cpp
@@ -25,6 +25,7 @@
#include "lastexpress/data/font.h"
+#include "common/stream.h"
#include "common/system.h"
namespace LastExpress {
diff --git a/engines/lastexpress/data/font.h b/engines/lastexpress/data/font.h
index 457c0c3432..d49db35ba5 100644
--- a/engines/lastexpress/data/font.h
+++ b/engines/lastexpress/data/font.h
@@ -39,9 +39,12 @@
byte {x} - Unknown data (probably just garbage)
*/
-#include "common/stream.h"
#include "graphics/surface.h"
+namespace Common {
+class SeekableReadStream;
+}
+
namespace LastExpress {
class Font {
diff --git a/engines/lastexpress/data/scene.cpp b/engines/lastexpress/data/scene.cpp
index 47266358f2..5a943982c4 100644
--- a/engines/lastexpress/data/scene.cpp
+++ b/engines/lastexpress/data/scene.cpp
@@ -31,6 +31,8 @@
#include "lastexpress/lastexpress.h"
#include "lastexpress/resource.h"
+#include "common/stream.h"
+
namespace LastExpress {
SceneHotspot::~SceneHotspot() {
diff --git a/engines/lastexpress/data/scene.h b/engines/lastexpress/data/scene.h
index d4c8e7d0da..7fc9425f28 100644
--- a/engines/lastexpress/data/scene.h
+++ b/engines/lastexpress/data/scene.h
@@ -72,7 +72,10 @@
#include "lastexpress/shared.h"
#include "common/array.h"
-#include "common/stream.h"
+
+namespace Common {
+class SeekableReadStream;
+}
namespace LastExpress {
diff --git a/engines/lastexpress/data/sequence.cpp b/engines/lastexpress/data/sequence.cpp
index cf71bd6a61..2308d70a2b 100644
--- a/engines/lastexpress/data/sequence.cpp
+++ b/engines/lastexpress/data/sequence.cpp
@@ -29,6 +29,8 @@
#include "lastexpress/debug.h"
+#include "common/stream.h"
+
namespace LastExpress {
void FrameInfo::read(Common::SeekableReadStream *in, bool isSequence) {
diff --git a/engines/lastexpress/data/sequence.h b/engines/lastexpress/data/sequence.h
index 25170993df..7ad0a57254 100644
--- a/engines/lastexpress/data/sequence.h
+++ b/engines/lastexpress/data/sequence.h
@@ -77,7 +77,10 @@
#include "lastexpress/shared.h"
#include "common/array.h"
-#include "common/stream.h"
+
+namespace Common {
+class SeekableReadStream;
+}
namespace LastExpress {
diff --git a/engines/lastexpress/data/snd.h b/engines/lastexpress/data/snd.h
index 2e0bc8c1b0..f76f8ff6ca 100644
--- a/engines/lastexpress/data/snd.h
+++ b/engines/lastexpress/data/snd.h
@@ -39,7 +39,6 @@
byte {x} - IMA ADPCM sample codes
*/
-#include "common/stream.h"
#include "sound/mixer.h"
namespace Audio {
@@ -47,6 +46,10 @@ namespace Audio {
class QueuingAudioStream;
}
+namespace Common {
+class SeekableReadStream;
+}
+
namespace LastExpress {
class SimpleSound {
diff --git a/engines/lastexpress/data/subtitle.cpp b/engines/lastexpress/data/subtitle.cpp
index 67d6445ab9..953edd1d1a 100644
--- a/engines/lastexpress/data/subtitle.cpp
+++ b/engines/lastexpress/data/subtitle.cpp
@@ -33,6 +33,7 @@
#include "lastexpress/debug.h"
#include "common/debug.h"
+#include "common/stream.h"
namespace LastExpress {
diff --git a/engines/lastexpress/data/subtitle.h b/engines/lastexpress/data/subtitle.h
index 9acb7068f1..6d8e7535cb 100644
--- a/engines/lastexpress/data/subtitle.h
+++ b/engines/lastexpress/data/subtitle.h
@@ -45,7 +45,10 @@
#include "lastexpress/drawable.h"
#include "common/array.h"
-#include "common/stream.h"
+
+namespace Common {
+class SeekableReadStream;
+}
namespace LastExpress {