[Scummvm-cvs-logs] SF.net SVN: scummvm:[55035] scummvm/trunk/engines/mohawk
fuzzie at users.sourceforge.net
fuzzie at users.sourceforge.net
Sat Dec 25 19:45:29 CET 2010
Revision: 55035
http://scummvm.svn.sourceforge.net/scummvm/?rev=55035&view=rev
Author: fuzzie
Date: 2010-12-25 18:45:29 +0000 (Sat, 25 Dec 2010)
Log Message:
-----------
MOHAWK: detect/load the Rugrats Adventure Game
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/detection.cpp
scummvm/trunk/engines/mohawk/detection_tables.h
scummvm/trunk/engines/mohawk/livingbooks.cpp
Modified: scummvm/trunk/engines/mohawk/detection.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/detection.cpp 2010-12-24 15:53:06 UTC (rev 55034)
+++ scummvm/trunk/engines/mohawk/detection.cpp 2010-12-25 18:45:29 UTC (rev 55035)
@@ -120,6 +120,7 @@
{"arthurrace", "Arthur's Reading Race"},
{"arthurbday", "Arthur's Birthday"},
{"lilmonster", "Little Monster at School"},
+ {"rugrats", "Rugrats Adventure Game"},
#endif
{0, 0}
};
@@ -130,6 +131,8 @@
"all",
"assets1",
"data",
+ "program",
+ "Rugrats Adventure Game",
0
};
Modified: scummvm/trunk/engines/mohawk/detection_tables.h
===================================================================
--- scummvm/trunk/engines/mohawk/detection_tables.h 2010-12-24 15:53:06 UTC (rev 55034)
+++ scummvm/trunk/engines/mohawk/detection_tables.h 2010-12-25 18:45:29 UTC (rev 55035)
@@ -1008,6 +1008,36 @@
0,
"Little Monster at School"
},
+
+ {
+ {
+ "rugrats",
+ "",
+ AD_ENTRY1("outline", "525be248363fe27d50d750632c1e759e"),
+ Common::EN_ANY,
+ Common::kPlatformWindows,
+ ADGF_NO_FLAGS,
+ Common::GUIO_NONE
+ },
+ GType_LIVINGBOOKSV3,
+ 0,
+ 0,
+ },
+
+ {
+ {
+ "rugrats",
+ "",
+ AD_ENTRY1("BookOutline", "54a324ee6f8260258bff7043a05b0004"),
+ Common::EN_ANY,
+ Common::kPlatformMacintosh,
+ ADGF_NO_FLAGS,
+ Common::GUIO_NONE
+ },
+ GType_LIVINGBOOKSV3,
+ 0,
+ 0,
+ },
#endif
{ AD_TABLE_END_MARKER, 0, 0, 0 }
Modified: scummvm/trunk/engines/mohawk/livingbooks.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/livingbooks.cpp 2010-12-24 15:53:06 UTC (rev 55034)
+++ scummvm/trunk/engines/mohawk/livingbooks.cpp 2010-12-25 18:45:29 UTC (rev 55035)
@@ -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 @@
_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() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list