MOHAWK: detect/load the Rugrats Adventure Game
svn-id: r55035
This commit is contained in:
parent
bc9442d6d8
commit
85da9de3bf
3 changed files with 39 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue