diff options
author | johndoe123 | 2014-03-21 19:58:53 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 812c7fc3a83f57b9ba181c47d3699155c16ab379 (patch) | |
tree | 02dc7789f53b9fb5163f0e17d37f073555773c7b /engines/illusions/dictionary.cpp | |
parent | 762be35a364fe66359d29b85b650c6e7add80e47 (diff) | |
download | scummvm-rg350-812c7fc3a83f57b9ba181c47d3699155c16ab379.tar.gz scummvm-rg350-812c7fc3a83f57b9ba181c47d3699155c16ab379.tar.bz2 scummvm-rg350-812c7fc3a83f57b9ba181c47d3699155c16ab379.zip |
ILLUSIONS: Add TalkResource and related
Diffstat (limited to 'engines/illusions/dictionary.cpp')
-rw-r--r-- | engines/illusions/dictionary.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/illusions/dictionary.cpp b/engines/illusions/dictionary.cpp index 2d3de2a29c..2d9d4b4812 100644 --- a/engines/illusions/dictionary.cpp +++ b/engines/illusions/dictionary.cpp @@ -24,6 +24,7 @@ #include "illusions/dictionary.h" #include "illusions/actorresource.h" #include "illusions/backgroundresource.h" +#include "illusions/talkresource.h" namespace Illusions { @@ -51,6 +52,18 @@ Sequence *Dictionary::findSequence(uint32 id) { return _sequences.find(id); } +void Dictionary::addTalkEntry(uint32 id, TalkEntry *talkEntry) { + _talkEntries.add(id, talkEntry); +} + +void Dictionary::removeTalkEntry(uint32 id) { + _talkEntries.remove(id); +} + +TalkEntry *Dictionary::findTalkEntry(uint32 id) { + return _talkEntries.find(id); +} + void Dictionary::setObjectControl(uint32 objectId, Control *control) { if (control) _controls.add(objectId, control); |