aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/people.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-04-11 16:52:19 -0500
committerWillem Jan Palenstijn2015-05-07 22:49:22 +0200
commit0d4d8e878cfba4ea9c32dc46e4923886df95395c (patch)
tree4eb479d00414a3e6d6bd12538f4fff55b08b2d9a /engines/sherlock/people.h
parent96e04ab797253bbe853f172ea1d734ebe812d419 (diff)
downloadscummvm-rg350-0d4d8e878cfba4ea9c32dc46e4923886df95395c.tar.gz
scummvm-rg350-0d4d8e878cfba4ea9c32dc46e4923886df95395c.tar.bz2
scummvm-rg350-0d4d8e878cfba4ea9c32dc46e4923886df95395c.zip
SHERLOCK: Implemented stubbed talk and inventory methods
Diffstat (limited to 'engines/sherlock/people.h')
-rw-r--r--engines/sherlock/people.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/sherlock/people.h b/engines/sherlock/people.h
index 1a846dded1..bec078d11e 100644
--- a/engines/sherlock/people.h
+++ b/engines/sherlock/people.h
@@ -34,7 +34,7 @@ enum PeopleId {
PLAYER = 0,
AL = 0,
PEG = 1,
- MAX_PEOPLE = 2
+ MAX_PEOPLE = 66
};
// Animation sequence identifiers for characters
@@ -66,8 +66,8 @@ private:
bool _walkLoaded;
int _oldWalkSequence;
int _srcZone, _destZone;
- ImageFile *_talkPics;
public:
+ ImageFile *_talkPics;
Common::Point _walkDest;
Common::Stack<Common::Point> _walkTo;
Person &_player;
@@ -79,6 +79,7 @@ public:
bool _allowWalkAbort;
int _portraitSide;
bool _speakerFlip;
+ bool _holmesFlip;
public:
People(SherlockEngine *vm);
~People();
@@ -102,9 +103,10 @@ public:
void goAllTheWay();
- void clearTalking();
-
int findSpeaker(int speaker);
+
+ void clearTalking();
+ void setTalking(int speaker);
};
} // End of namespace Sherlock