aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_graphics.h
diff options
context:
space:
mode:
authorBastien Bouclet2017-02-19 09:36:38 +0100
committerEugene Sandulenko2017-07-03 08:50:10 +0200
commit1aa42338025543814ac0dbf41ed62c03ccf01ba8 (patch)
tree1f03b0d35055024bd169992915e7a38852301396 /engines/mohawk/riven_graphics.h
parentad7f94f10f5893ed2ee14f9fc7b48d8ebbce49de (diff)
downloadscummvm-rg350-1aa42338025543814ac0dbf41ed62c03ccf01ba8.tar.gz
scummvm-rg350-1aa42338025543814ac0dbf41ed62c03ccf01ba8.tar.bz2
scummvm-rg350-1aa42338025543814ac0dbf41ed62c03ccf01ba8.zip
MOHAWK: Rework stack frame updates to work like the original
Diffstat (limited to 'engines/mohawk/riven_graphics.h')
-rw-r--r--engines/mohawk/riven_graphics.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/mohawk/riven_graphics.h b/engines/mohawk/riven_graphics.h
index 36225dab28..b09eefbded 100644
--- a/engines/mohawk/riven_graphics.h
+++ b/engines/mohawk/riven_graphics.h
@@ -73,12 +73,13 @@ public:
// Water Effect
void scheduleWaterEffect(uint16);
void clearWaterEffects();
- void runScheduledWaterEffects();
// Flies Effect
void setFliesEffect(uint16 count, bool fireflies);
void clearFliesEffect();
- void runFliesEffect();
+
+ /** Update the screen with the water and fly effects */
+ void updateEffects();
// Transitions
void scheduleTransition(RivenTransition id, const Common::Rect &rect = Common::Rect(0, 0, 608, 392));
@@ -115,6 +116,8 @@ private:
};
Common::Array<SFXERecord> _waterEffects;
+ void runScheduledWaterEffects();
+
// Flies Effect
FliesEffect *_fliesEffect;