diff options
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_people.h')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_people.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/engines/sherlock/scalpel/scalpel_people.h b/engines/sherlock/scalpel/scalpel_people.h index 0f8aa9dcc7..b53da2e6d8 100644 --- a/engines/sherlock/scalpel/scalpel_people.h +++ b/engines/sherlock/scalpel/scalpel_people.h @@ -42,11 +42,6 @@ enum ScalpelSequences { }; class ScalpelPerson : public Person { -protected: - /** - * Get the source position for a character potentially affected by scaling - */ - virtual Common::Point getSourcePoint() const; public: ScalpelPerson() : Person() {} virtual ~ScalpelPerson() {} @@ -72,6 +67,10 @@ public: */ virtual void walkToCoords(const Point32 &destPos, int destDir); + /** + * Get the source position for a character potentially affected by scaling + */ + virtual Common::Point getSourcePoint() const; }; class ScalpelPeople : public People { @@ -98,6 +97,11 @@ public: virtual void setTalkSequence(int speaker, int sequenceNum = 1); /** + * Restrict passed point to zone using Sherlock's positioning rules + */ + virtual const Common::Point restrictToZone(int zoneId, const Common::Point &destPos); + + /** * Load the walking images for Sherlock */ virtual bool loadWalk(); |