From 3e0383ac0c3101460453d8305468db8cc9ac38b2 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 25 Jul 2015 17:24:31 -0400 Subject: SHERLOCK: RT: Fix centering screen on person when scene starts --- engines/sherlock/people.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/sherlock/people.h') diff --git a/engines/sherlock/people.h b/engines/sherlock/people.h index b59522e4b8..d790e4ccb0 100644 --- a/engines/sherlock/people.h +++ b/engines/sherlock/people.h @@ -87,6 +87,11 @@ public: * Walk to the co-ordinates passed, and then face the given direction */ virtual void walkToCoords(const Point32 &destPos, int destDir) = 0; + + /** + * Center the visible screen so that the person is in the center of the screen + */ + virtual void centerScreenOnPerson() {} }; class SherlockEngine; -- cgit v1.2.3