diff options
Diffstat (limited to 'engines/parallaction/disk.cpp')
-rw-r--r-- | engines/parallaction/disk.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/parallaction/disk.cpp b/engines/parallaction/disk.cpp index 86674be31e..ff4487fbf6 100644 --- a/engines/parallaction/disk.cpp +++ b/engines/parallaction/disk.cpp @@ -116,4 +116,20 @@ void loadFont(const char* name, Cnv* cnv) { _vm->_graphics->loadExternalCnv(path, cnv); } +// loads character's icons set + +void openObjects(const char *name, Cnv* cnv) { + + if (!scumm_strnicmp("mini", name, 4)) { + name += 4; + } + + char path[PATH_LEN]; + sprintf(path, "%sobj", name); + + _vm->_graphics->loadExternalCnv(path, cnv); + + return; +} + } // namespace Parallaction |