diff options
author | Alyssa Milburn | 2010-12-25 18:45:29 +0000 |
---|---|---|
committer | Alyssa Milburn | 2010-12-25 18:45:29 +0000 |
commit | 85da9de3bf0297d95ed0e335355dcfce6412931c (patch) | |
tree | 2003d70454a2798c3139345623096d15b4bff3e3 /engines/mohawk/livingbooks.cpp | |
parent | bc9442d6d88f295e84c495190cd2a159f4a092e3 (diff) | |
download | scummvm-rg350-85da9de3bf0297d95ed0e335355dcfce6412931c.tar.gz scummvm-rg350-85da9de3bf0297d95ed0e335355dcfce6412931c.tar.bz2 scummvm-rg350-85da9de3bf0297d95ed0e335355dcfce6412931c.zip |
MOHAWK: detect/load the Rugrats Adventure Game
svn-id: r55035
Diffstat (limited to 'engines/mohawk/livingbooks.cpp')
-rw-r--r-- | engines/mohawk/livingbooks.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp index ba14c71c9e..a54aa11532 100644 --- a/engines/mohawk/livingbooks.cpp +++ b/engines/mohawk/livingbooks.cpp @@ -31,6 +31,8 @@ #include "common/events.h" #include "common/EventRecorder.h" +#include "common/fs.h" +#include "common/archive.h" #include "engines/util.h" @@ -80,6 +82,10 @@ MohawkEngine_LivingBooks::MohawkEngine_LivingBooks(OSystem *syst, const MohawkGa _rnd = new Common::RandomSource(); g_eventRec.registerRandomSource(*_rnd, "livingbooks"); + + const Common::FSNode gameDataDir(ConfMan.get("path")); + SearchMan.addSubDirectoryMatching(gameDataDir, "program"); + SearchMan.addSubDirectoryMatching(gameDataDir, "Rugrats Adventure Game"); } MohawkEngine_LivingBooks::~MohawkEngine_LivingBooks() { |