diff options
author | Paul Gilbert | 2015-03-21 09:20:39 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-21 09:20:39 -0400 |
commit | 06fbefc7875b37dd531b65c42087e4e6782c03a6 (patch) | |
tree | e7bf6566d22b0b9e328742242dac283195756f8f /engines/sherlock/people.h | |
parent | f0ad2f624bddcc031c99a487bff1d5ec89956477 (diff) | |
download | scummvm-rg350-06fbefc7875b37dd531b65c42087e4e6782c03a6.tar.gz scummvm-rg350-06fbefc7875b37dd531b65c42087e4e6782c03a6.tar.bz2 scummvm-rg350-06fbefc7875b37dd531b65c42087e4e6782c03a6.zip |
SHERLOCK: Beginnings of transitionToScene
Diffstat (limited to 'engines/sherlock/people.h')
-rw-r--r-- | engines/sherlock/people.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/engines/sherlock/people.h b/engines/sherlock/people.h index 4bdc6a88f0..74a4575af6 100644 --- a/engines/sherlock/people.h +++ b/engines/sherlock/people.h @@ -28,8 +28,13 @@ namespace Sherlock { -#define MAX_PEOPLE 2 -#define PLAYER 0 +// People definitions +enum PeopleId { + PLAYER = 0, + AL = 0, + PEG = 1, + MAX_PEOPLE = 2 +}; // Animation sequence identifiers for characters enum { @@ -48,12 +53,16 @@ private: Sprite _data[MAX_PEOPLE]; bool _walkLoaded; public: + bool _holmesOn; +public: People(SherlockEngine *vm); ~People(); void reset(); bool loadWalk(); + + Sprite &operator[](PeopleId id) { return _data[id]; } }; } // End of namespace Sherlock |