diff options
author | Gregory Montoir | 2004-01-07 15:45:24 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-07 15:45:24 +0000 |
commit | 272eb212878e90285f21a6b3d4ab655a9e59b0b3 (patch) | |
tree | 88d60176297bf45be859a3119f3f9bbfe67e4fc8 /queen/talk.cpp | |
parent | cb609b4cf544cc369b6b38ad685a939d73a79ffa (diff) | |
download | scummvm-rg350-272eb212878e90285f21a6b3d4ab655a9e59b0b3.tar.gz scummvm-rg350-272eb212878e90285f21a6b3d4ab655a9e59b0b3.tar.bz2 scummvm-rg350-272eb212878e90285f21a6b3d4ab655a9e59b0b3.zip |
- moved some Person/Anim code to Graphics
- some renaming
svn-id: r12218
Diffstat (limited to 'queen/talk.cpp')
-rw-r--r-- | queen/talk.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index 564a270f27..1b561322e2 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -99,7 +99,7 @@ void Talk::talk(const char *filename, int personInRoom, char *cutawayFilename) { if (State::findTalk(data->state) == STATE_TALK_MUTE) { // 'I can't talk to that' - _vm->logic()->joeSpeak(24 + _vm->randomizer.getRandomNumber(2)); + _vm->logic()->makeJoeSpeak(24 + _vm->randomizer.getRandomNumber(2)); return; } @@ -107,7 +107,7 @@ void Talk::talk(const char *filename, int personInRoom, char *cutawayFilename) { Person person; memset(&person, 0, sizeof(Person)); - _vm->logic()->personSetData(personInRoom, "", false, &person); + _vm->logic()->initPerson(personInRoom, "", false, &person); if (NULL == person.name) { error("Invalid person object"); @@ -337,7 +337,7 @@ void Talk::talk(const char *filename, int personInRoom, char *cutawayFilename) { pbs->y = person.actor->y; // Better kick start the persons anim sequence - _vm->graphics()->animReset(person.actor->bobNum); + _vm->graphics()->resetPersonAnim(person.actor->bobNum); } _vm->logic()->joeWalk(JWM_NORMAL); |