From 22126a90d04c68ca4b058fd70aa12741a29383c3 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 31 Oct 2016 08:25:22 -0400 Subject: TITANIC: Implement manual mouse control used during intro --- engines/titanic/events.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engines/titanic/events.h') diff --git a/engines/titanic/events.h b/engines/titanic/events.h index 3ea9b63217..497c867217 100644 --- a/engines/titanic/events.h +++ b/engines/titanic/events.h @@ -138,6 +138,16 @@ public: * Wait for a mouse or keypress */ bool waitForPress(uint expiry); + + /** + * Get the mouse position + */ + Common::Point getMousePos() const { return _mousePos; } + + /** + * Sets the mouse position + */ + void setMousePos(const Common::Point &pt); }; } // End of namespace Titanic -- cgit v1.2.3