SHERLOCK: Beginning of descendent Person classes

Tattoo has some different Sprite methods, and since Person descends
from Sprite, need to create descendents from it. And this has also
necessitated some refactoring of People class's _data array
This commit is contained in:
Paul Gilbert 2015-06-11 22:02:33 -04:00
parent f812447274
commit 3d0e2cb5b0
15 changed files with 349 additions and 313 deletions

View file

@ -2230,9 +2230,9 @@ void ScalpelUserInterface::checkAction(ActionType &action, const char *const mes
if (!talk._talkToAbort) {
// Ensure Holmes is on the exact intended location
people[AL]._position = pt;
people[AL]._sequenceNumber = dir;
people.gotoStand(people[AL]);
people[PLAYER]._position = pt;
people[PLAYER]._sequenceNumber = dir;
people.gotoStand(people[PLAYER]);
talk.talkTo(action._names[nameIdx].c_str() + 2);
if (ch == 'T')