aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/people.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-25 17:24:31 -0400
committerPaul Gilbert2015-07-25 17:24:31 -0400
commit3e0383ac0c3101460453d8305468db8cc9ac38b2 (patch)
treec27ab0d486e4616201678175f40c033ddeeffe55 /engines/sherlock/people.h
parent8753fa17d302297ff9cd2cc0156397fb4d3da0ed (diff)
downloadscummvm-rg350-3e0383ac0c3101460453d8305468db8cc9ac38b2.tar.gz
scummvm-rg350-3e0383ac0c3101460453d8305468db8cc9ac38b2.tar.bz2
scummvm-rg350-3e0383ac0c3101460453d8305468db8cc9ac38b2.zip
SHERLOCK: RT: Fix centering screen on person when scene starts
Diffstat (limited to 'engines/sherlock/people.h')
-rw-r--r--engines/sherlock/people.h5
1 files changed, 5 insertions, 0 deletions
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;