diff options
author | johndoe123 | 2014-04-11 09:40:54 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 2e149cf651ee9344ee96ea904c5dce5a444aeaff (patch) | |
tree | 5fb2c760d303a4db0856cbc4de7c94609d8b4238 /engines/illusions/dictionary.cpp | |
parent | 67366aa04b723fadec300cc6ce1d5c6ee9241af7 (diff) | |
download | scummvm-rg350-2e149cf651ee9344ee96ea904c5dce5a444aeaff.tar.gz scummvm-rg350-2e149cf651ee9344ee96ea904c5dce5a444aeaff.tar.bz2 scummvm-rg350-2e149cf651ee9344ee96ea904c5dce5a444aeaff.zip |
ILLUSIONS: More work on Duckman
- Implement Duckman cursor and interaction handling
- Add more script opcodes
- Add TextDrawer and ScreenText (needs minor refactoring for BBDOU)
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 2d9d4b4812..5cf4cef652 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/fontresource.h" #include "illusions/talkresource.h" namespace Illusions { @@ -40,6 +41,18 @@ ActorType *Dictionary::findActorType(uint32 id) { return _actorTypes.find(id); } +void Dictionary::addFont(uint32 id, FontResource *fontResource) { + _fontResources.add(id, fontResource); +} + +void Dictionary::removeFont(uint32 id) { + _fontResources.remove(id); +} + +FontResource *Dictionary::findFont(uint32 id) { + return _fontResources.find(id); +} + void Dictionary::addSequence(uint32 id, Sequence *sequence) { _sequences.add(id, sequence); } |