diff options
author | Matthew Hoops | 2010-09-01 23:39:25 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-09-01 23:39:25 +0000 |
commit | 1475f756539e81182cb9aaa8188ddb354ea7769f (patch) | |
tree | 1c378a273e740bf73de6da223a8a17d955133546 /engines/mohawk/riven.h | |
parent | a053ef7cd18400058af9ec39e53481ba88455b96 (diff) | |
download | scummvm-rg350-1475f756539e81182cb9aaa8188ddb354ea7769f.tar.gz scummvm-rg350-1475f756539e81182cb9aaa8188ddb354ea7769f.tar.bz2 scummvm-rg350-1475f756539e81182cb9aaa8188ddb354ea7769f.zip |
MOHAWK: Update videos when the delay opcode is called
The fixes a couple scripts which decide to delay through a background video turning into a virtual blocking video.
svn-id: r52488
Diffstat (limited to 'engines/mohawk/riven.h')
-rw-r--r-- | engines/mohawk/riven.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/mohawk/riven.h b/engines/mohawk/riven.h index aa97250627..d65dd7db05 100644 --- a/engines/mohawk/riven.h +++ b/engines/mohawk/riven.h @@ -153,10 +153,7 @@ private: bool _ignoreNextMouseUp; public: - Common::SeekableReadStream *getExtrasResource(uint32 tag, uint16 id); - bool _activatedSLST; - void runLoadDialog(); - + // Stack/card/script funtions void changeToCard(uint16 dest); void changeToStack(uint16); void refreshCard(); @@ -169,6 +166,7 @@ public: uint16 matchRMAPToCard(uint32); uint32 getCurCardRMAP(); + // Hotspot functions/variables RivenHotspot *_hotspots; int32 _curHotspot; Common::Array<ZipMode> _zipModeData; @@ -177,6 +175,7 @@ public: int32 getCurHotspot() { return _curHotspot; } Common::String getHotspotName(uint16 hotspot); + // Variable functions void initVars(); uint32 getVarCount() { return _varCount; } uint32 getGlobalVar(uint32 index); @@ -185,8 +184,13 @@ public: uint32 *matchVarToString(Common::String varName); uint32 *matchVarToString(const char *varName); + // Miscellaneous void setGameOver() { _gameOver = true; } void ignoreNextMouseUp() { _ignoreNextMouseUp = true; } + Common::SeekableReadStream *getExtrasResource(uint32 tag, uint16 id); + bool _activatedSLST; + void runLoadDialog(); + void delayAndUpdate(uint32 ms); }; } // End of namespace Mohawk |