From 1f91dc03846caecc0651101f54ad25f1864ae132 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 12 Apr 2008 23:17:21 +0000 Subject: - some refactoring for Kyra3 - removed unneeded map code in KyraEngine_v3 svn-id: r31488 --- engines/kyra/wsamovie.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'engines/kyra/wsamovie.h') diff --git a/engines/kyra/wsamovie.h b/engines/kyra/wsamovie.h index 5e97e1a5fb..ad577f7029 100644 --- a/engines/kyra/wsamovie.h +++ b/engines/kyra/wsamovie.h @@ -35,7 +35,7 @@ class SoundHandle; namespace Kyra { class KyraEngine; -class KyraEngine_v2; +class ScreenEx; class Movie { public: @@ -111,7 +111,7 @@ private: class WSAMovieV2 : public WSAMovieV1 { public: - WSAMovieV2(KyraEngine_v2 *vm); + WSAMovieV2(KyraEngine *vm, ScreenEx *scren); int open(const char *filename, int unk1, uint8 *palette); @@ -128,15 +128,11 @@ public: void setWidth(int w) { _width = w; } void setHeight(int h) { _height = h; } - - // HACK for our intro code - void flagOldOff(bool enabled) { _oldOff = enabled; } protected: - KyraEngine_v2 *_vm; + ScreenEx *_screen; int16 _xAdd; int16 _yAdd; - bool _oldOff; // old offscreen copy, HACK for our intro code }; } // end of namespace Kyra -- cgit v1.2.3