From 6a26539abbf7951f4783935b336dcabfbf548055 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 15 Mar 2016 23:49:18 -0400 Subject: TITANIC: Fleshing out resource key and view loading --- engines/titanic/titanic.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/titanic/titanic.cpp') diff --git a/engines/titanic/titanic.cpp b/engines/titanic/titanic.cpp index d1d8386228..a9d0cc9421 100644 --- a/engines/titanic/titanic.cpp +++ b/engines/titanic/titanic.cpp @@ -21,6 +21,7 @@ */ #include "common/scummsys.h" +#include "common/archive.h" #include "common/config-manager.h" #include "common/debug-channels.h" #include "common/events.h" @@ -55,6 +56,11 @@ TitanicEngine::~TitanicEngine() { CSaveableObject::freeClassList(); } +void TitanicEngine::initializePath(const Common::FSNode &gamePath) { + Engine::initializePath(gamePath); + SearchMan.addSubDirectoryMatching(gamePath, "assets"); +} + void TitanicEngine::initialize() { // Set up debug channels DebugMan.addDebugChannel(kDebugCore, "core", "Core engine debug level"); -- cgit v1.2.3