aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/detection.cpp')
-rw-r--r--engines/m4/detection.cpp20
1 files changed, 11 insertions, 9 deletions
diff --git a/engines/m4/detection.cpp b/engines/m4/detection.cpp
index 4b204996f3..1aefe3d02d 100644
--- a/engines/m4/detection.cpp
+++ b/engines/m4/detection.cpp
@@ -18,9 +18,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * $URL$
- * $Id$
- *
*/
#include "base/plugins.h"
@@ -44,11 +41,11 @@ uint32 MadsM4Engine::getFeatures() const { return _gameDescription->features; }
Common::Language MadsM4Engine::getLanguage() const { return _gameDescription->desc.language; }
Common::Platform MadsM4Engine::getPlatform() const { return _gameDescription->desc.platform; }
-}
+} // End of namespace M4
static const PlainGameDescriptor m4Games[] = {
{"m4", "MADS/M4 engine game"},
- {"riddle", "Riddle of Master Lu: Believe it or Not!"},
+ {"riddle", "Ripley's Believe It or Not!: The Riddle of Master Lu"},
{"burger", "Orion Burger"},
{"rex", "Rex Nebular and the Cosmic Gender Bender"},
{"dragon", "DragonSphere"},
@@ -380,7 +377,12 @@ static const M4GameDescription gameDescriptions[] = {
{ AD_TABLE_END_MARKER, 0, 0 }
};
-}
+} // End of namespace M4
+
+static const char *directoryGlobs[] = {
+ "option1",
+ 0
+};
static const ADParams detectionParams = {
// Pointer to ADGameDescription or its superset structure
@@ -402,9 +404,9 @@ static const ADParams detectionParams = {
// Additional GUI options (for every game}
Common::GUIO_NOMIDI,
// Maximum directory depth
- 1,
+ 2,
// List of directory globs
- 0
+ directoryGlobs
};
class M4MetaEngine : public AdvancedMetaEngine {
@@ -412,7 +414,7 @@ public:
M4MetaEngine() : AdvancedMetaEngine(detectionParams) {}
virtual const char *getName() const {
- return "MADS/M4 engine";
+ return "MADS/M4";
}
virtual const char *getOriginalCopyright() const {