diff options
author | Johannes Schickel | 2008-04-12 23:17:21 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-04-12 23:17:21 +0000 |
commit | 1f91dc03846caecc0651101f54ad25f1864ae132 (patch) | |
tree | bcb81be8cb19781ef4098810f8aacafe755cbf48 /engines/kyra/wsamovie.h | |
parent | 91e1a6b7be34e2cbb52826c28ce210b15bb19f1e (diff) | |
download | scummvm-rg350-1f91dc03846caecc0651101f54ad25f1864ae132.tar.gz scummvm-rg350-1f91dc03846caecc0651101f54ad25f1864ae132.tar.bz2 scummvm-rg350-1f91dc03846caecc0651101f54ad25f1864ae132.zip |
- some refactoring for Kyra3
- removed unneeded map code in KyraEngine_v3
svn-id: r31488
Diffstat (limited to 'engines/kyra/wsamovie.h')
-rw-r--r-- | engines/kyra/wsamovie.h | 10 |
1 files changed, 3 insertions, 7 deletions
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 |