From 1aa42338025543814ac0dbf41ed62c03ccf01ba8 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sun, 19 Feb 2017 09:36:38 +0100 Subject: MOHAWK: Rework stack frame updates to work like the original --- engines/mohawk/riven_card.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'engines/mohawk/riven_card.h') diff --git a/engines/mohawk/riven_card.h b/engines/mohawk/riven_card.h index 73c47b66aa..27e6ec2ca8 100644 --- a/engines/mohawk/riven_card.h +++ b/engines/mohawk/riven_card.h @@ -118,11 +118,14 @@ public: /** Handle a mouse move event */ RivenScriptPtr onMouseMove(const Common::Point &mouse); + /** General frame update handler */ + RivenScriptPtr onFrame(); + /** Frame update handler for the mouse cursor */ - void onMouseUpdate(); + RivenScriptPtr onMouseUpdate(); /** Frame update handler for mouse dragging */ - void onMouseDragUpdate(); + RivenScriptPtr onMouseDragUpdate(); /** Write all of the card's data to standard output */ void dump() const; -- cgit v1.2.3