aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-08-31 00:39:30 +0000
committerTravis Howell2009-08-31 00:39:30 +0000
commitdadbb53350ee214bfcd3a6dc29749f669526e965 (patch)
tree4add48e6c1571c2808722c8d93ace5713f597dfb
parent5791d475f52b3ed44de795555e5eacce21be5f1a (diff)
downloadscummvm-rg350-dadbb53350ee214bfcd3a6dc29749f669526e965.tar.gz
scummvm-rg350-dadbb53350ee214bfcd3a6dc29749f669526e965.tar.bz2
scummvm-rg350-dadbb53350ee214bfcd3a6dc29749f669526e965.zip
Add configure option for Groovie 2 games.
svn-id: r43843
-rwxr-xr-xconfigure3
-rw-r--r--engines/engines.mk4
-rw-r--r--engines/groovie/detection.cpp6
3 files changed, 8 insertions, 5 deletions
diff --git a/configure b/configure
index 3c35a0c73c..c674c7a6ae 100755
--- a/configure
+++ b/configure
@@ -77,7 +77,8 @@ add_engine cine "Cinematique evo 1" yes
add_engine cruise "Cinematique evo 2" yes
add_engine drascula "Drascula: The Vampire Strikes Back" yes
add_engine gob "Gobli*ns" yes
-add_engine groovie "Groovie" yes
+add_engine groovie "Groovie" yes "groovie2"
+add_engine groovie2 "Groovie 2 games" no
add_engine igor "Igor: Objective Uikokahonia" no
add_engine kyra "Legend of Kyrandia" yes "lol"
add_engine lol "Lands of Lore" no
diff --git a/engines/engines.mk b/engines/engines.mk
index b73f45b8e6..acda075b46 100644
--- a/engines/engines.mk
+++ b/engines/engines.mk
@@ -49,6 +49,10 @@ endif
ifdef ENABLE_GROOVIE
DEFINES += -DENABLE_GROOVIE=$(ENABLE_GROOVIE)
MODULES += engines/groovie
+
+ifdef ENABLE_GROOVIE2
+DEFINES += -DENABLE_GROOVIE2
+endif
endif
ifdef ENABLE_IGOR
diff --git a/engines/groovie/detection.cpp b/engines/groovie/detection.cpp
index 14f1c6463c..f09308b361 100644
--- a/engines/groovie/detection.cpp
+++ b/engines/groovie/detection.cpp
@@ -30,13 +30,11 @@
namespace Groovie {
-//#define GROOVIE_EXPERIMENTAL
-
static const PlainGameDescriptor groovieGames[] = {
// Games
{"t7g", "The 7th Guest"},
-#ifdef GROOVIE_EXPERIMENTAL
+#ifdef ENABLE_GROOVIE2
{"11h", "The 11th Hour: The sequel to The 7th Guest"},
{"clandestiny", "Clandestiny"},
{"unclehenry", "Uncle Henry's Playhouse"},
@@ -84,7 +82,7 @@ static const GroovieGameDescription gameDescriptions[] = {
kGroovieT7G, 0
},
-#ifdef GROOVIE_EXPERIMENTAL
+#ifdef ENABLE_GROOVIE2
// The 11th Hour DOS English
{
{