diff options
author | Bastien Bouclet | 2017-02-20 18:02:57 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | f977b5712328133b638c33992d4e111624d1881d (patch) | |
tree | c8480f6b0f9f3f2471f44fa09c894015fdc49ba1 /engines/mohawk/riven_graphics.h | |
parent | 9153393219b398ce5a7a8122d9af38e32e128059 (diff) | |
download | scummvm-rg350-f977b5712328133b638c33992d4e111624d1881d.tar.gz scummvm-rg350-f977b5712328133b638c33992d4e111624d1881d.tar.bz2 scummvm-rg350-f977b5712328133b638c33992d4e111624d1881d.zip |
MOHAWK: Rewrite the Riven movie manager
Diffstat (limited to 'engines/mohawk/riven_graphics.h')
-rw-r--r-- | engines/mohawk/riven_graphics.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/mohawk/riven_graphics.h b/engines/mohawk/riven_graphics.h index b09eefbded..6b63a869ba 100644 --- a/engines/mohawk/riven_graphics.h +++ b/engines/mohawk/riven_graphics.h @@ -59,6 +59,7 @@ public: // Screen updates void beginScreenUpdate(); void applyScreenUpdate(bool force = false); + void enableCardUpdateScript(bool enable); void copyImageToScreen(uint16 image, uint32 left, uint32 top, uint32 right, uint32 bottom); void updateScreen(const Common::Rect &updateRect = Common::Rect(0, 0, 608, 392)); @@ -67,6 +68,9 @@ public: void drawExtrasImage(uint16 id, const Common::Rect &dstRect); void drawExtrasImageToScreen(uint16 id, const Common::Rect &rect); + /** Copy a rect from the system screen to the game screen */ + void copySystemRectToScreen(const Common::Rect &rect); + Graphics::Surface *getEffectScreen(); Graphics::Surface *getBackScreen(); @@ -101,6 +105,7 @@ private: MohawkBitmap *_bitmapDecoder; int _screenUpdateNesting; bool _screenUpdateRunning; + bool _enableCardUpdateScript; // Water Effects struct SFXERecord { |