diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/director.cpp | 9 | ||||
-rw-r--r-- | engines/director/module.mk | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp index 5d30ea7133..e06459144b 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -50,6 +50,15 @@ DirectorEngine::DirectorEngine(OSystem *syst, const DirectorGameDescription *gam const Common::FSNode gameDataDir(ConfMan.get("path")); SearchMan.addSubDirectoryMatching(gameDataDir, "data"); SearchMan.addSubDirectoryMatching(gameDataDir, "install"); + + //FIXME + RIFFArchive riff; + riff.openFile("bookshelf_example.mmm"); + Common::SeekableReadStream *dib = riff.getResource(1145651744, 1103); + Common::SeekableReadStream *pal = riff.getResource(1129076052, 1025); + Director::DIBDecoder img; + img.loadPalette(*pal); + img.loadStream(*dib); } DirectorEngine::~DirectorEngine() { diff --git a/engines/director/module.mk b/engines/director/module.mk index dbb60ee824..2e0dd04203 100644 --- a/engines/director/module.mk +++ b/engines/director/module.mk @@ -2,9 +2,9 @@ MODULE := engines/director MODULE_OBJS = \ detection.o \ + dib.o \ director.o \ - resource.o \ - dib.o + resource.o # This module can be built as a plugin ifeq ($(ENABLE_DIRECTOR), DYNAMIC_PLUGIN) PLUGIN := 1 |