From 41978f466d423e9b5f3c3980666c1beb4219b937 Mon Sep 17 00:00:00 2001 From: johndoe123 Date: Wed, 18 Nov 2015 16:25:42 +0100 Subject: ILLUSIONS: Add GAM archive reader for Duckman and adjust the resource reader/system --- engines/illusions/bbdou/illusions_bbdou.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/illusions/bbdou') diff --git a/engines/illusions/bbdou/illusions_bbdou.cpp b/engines/illusions/bbdou/illusions_bbdou.cpp index b2e5098085..98a4a24175 100644 --- a/engines/illusions/bbdou/illusions_bbdou.cpp +++ b/engines/illusions/bbdou/illusions_bbdou.cpp @@ -25,6 +25,7 @@ #include "illusions/camera.h" #include "illusions/cursor.h" #include "illusions/dictionary.h" +#include "illusions/fileresourcereader.h" #include "illusions/graphics.h" #include "illusions/input.h" #include "illusions/resources/actorresource.h" @@ -138,6 +139,8 @@ Common::Error IllusionsEngine_BBDOU::run() { _dict = new Dictionary(); + _resReader = new ResourceReaderFileReader(); + _resSys = new ResourceSystem(this); _resSys->addResourceLoader(0x00060000, new ActorResourceLoader(this)); _resSys->addResourceLoader(0x00080000, new SoundGroupResourceLoader(this)); @@ -216,6 +219,7 @@ Common::Error IllusionsEngine_BBDOU::run() { delete _screenText; delete _screen; delete _resSys; + delete _resReader; delete _dict; debug("Ok"); -- cgit v1.2.3