diff options
author | Paul Gilbert | 2015-03-30 21:07:01 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-30 21:07:01 -0400 |
commit | 943d0a702fe468f14fb40f73ef68588705488037 (patch) | |
tree | f92f1c06acd087a7daaefa0042081d8d08bcf877 /engines/sherlock/people.h | |
parent | 3149ce0204f658e7420f16a151710f43052506f2 (diff) | |
download | scummvm-rg350-943d0a702fe468f14fb40f73ef68588705488037.tar.gz scummvm-rg350-943d0a702fe468f14fb40f73ef68588705488037.tar.bz2 scummvm-rg350-943d0a702fe468f14fb40f73ef68588705488037.zip |
SHERLOCK: Beginnings of talk loading, added skeleton Scripts class
Diffstat (limited to 'engines/sherlock/people.h')
-rw-r--r-- | engines/sherlock/people.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/sherlock/people.h b/engines/sherlock/people.h index 0393528095..6b5c59b1bd 100644 --- a/engines/sherlock/people.h +++ b/engines/sherlock/people.h @@ -52,17 +52,24 @@ enum { class SherlockEngine; +class Person: public Sprite { +public: + Person() : Sprite() {} + + Common::String _portrait; +}; + class People { private: SherlockEngine *_vm; - Sprite _data[MAX_PEOPLE]; - Sprite &_player; + Person _data[MAX_PEOPLE]; bool _walkLoaded; int _oldWalkSequence; int _srcZone, _destZone; public: Common::Point _walkDest; Common::Stack<Common::Point> _walkTo; + Person &_player; bool _holmesOn; bool _portraitLoaded; Object _portrait; @@ -72,7 +79,7 @@ public: People(SherlockEngine *vm); ~People(); - Sprite &operator[](PeopleId id) { return _data[id]; } + Person &operator[](PeopleId id) { return _data[id]; } bool isHolmesActive() const { return _walkLoaded && _holmesOn; } |