From 0bbd43eb3217bb04184ba9e1b27e43424a899c89 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sat, 13 Aug 2011 20:18:23 +0200 Subject: MOHAWK: Implement Myst demo opcodes 298 and 299, sneak preview speech. --- engines/mohawk/graphics.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/mohawk/graphics.h') diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h index d7057f48cf..c5ce016f0a 100644 --- a/engines/mohawk/graphics.h +++ b/engines/mohawk/graphics.h @@ -129,6 +129,8 @@ public: void drawRect(Common::Rect rect, RectState state); void drawLine(const Common::Point &p1, const Common::Point &p2, uint32 color); void enableDrawingTimeSimulation(bool enable); + void fadeToBlack(); + void fadeFromBlack(); protected: MohawkSurface *decodeImage(uint16 id); -- cgit v1.2.3 From fcd84f67c8640f24dd9eb48e18f500aa180fe5c8 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 15 Aug 2011 22:53:02 -0400 Subject: MOHAWK: Stub off Riven transition speed code --- engines/mohawk/graphics.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/mohawk/graphics.h') diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h index c5ce016f0a..96357bbff1 100644 --- a/engines/mohawk/graphics.h +++ b/engines/mohawk/graphics.h @@ -196,6 +196,7 @@ public: void scheduleTransition(uint16 id, Common::Rect rect = Common::Rect(0, 0, 608, 392)); void runScheduledTransition(); void fadeToBlack(); + void setTransitionSpeed(uint32 speed) { _transitionSpeed = speed; } // Inventory void showInventory(); @@ -231,6 +232,7 @@ private: // Transitions int16 _scheduledTransition; Common::Rect _transitionRect; + uint32 _transitionSpeed; // Inventory void clearInventoryArea(); -- cgit v1.2.3