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:
parent
f812447274
commit
3d0e2cb5b0
15 changed files with 349 additions and 313 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue