aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_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/tattoo/tattoo_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/tattoo/tattoo_people.h')
-rw-r--r--engines/sherlock/tattoo/tattoo_people.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/sherlock/tattoo/tattoo_people.h b/engines/sherlock/tattoo/tattoo_people.h
index fb3f6e7628..0983ca4dcc 100644
--- a/engines/sherlock/tattoo/tattoo_people.h
+++ b/engines/sherlock/tattoo/tattoo_people.h
@@ -176,6 +176,12 @@ public:
*/
void synchronize(Serializer &s);
+
+ /**
+ * Walk Holmes to the NPC
+ */
+ void walkHolmesToNPC();
+
/**
* This adjusts the sprites position, as well as it's animation sequence:
*/
@@ -207,9 +213,9 @@ public:
virtual void setObjTalkSequence(int seq);
/**
- * Walk Holmes to the NPC
+ * Center the visible screen so that the person is in the center of the screen
*/
- void walkHolmesToNPC();
+ virtual void centerScreenOnPerson();
};
class TattooPeople : public People {