aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
diff options
context:
space:
mode:
authorEugene Sandulenko2011-10-23 17:52:43 +0100
committerEugene Sandulenko2011-10-23 17:53:13 +0100
commit32972a5ffb180c9e8a6a9eae51d0e7564ce76d9e (patch)
tree052e527c673bc82a9f8ebccd4f3bd1a43e46579a /engines/m4
parent77c65648b1db8f8b7b245510681eafd856798d26 (diff)
downloadscummvm-rg350-32972a5ffb180c9e8a6a9eae51d0e7564ce76d9e.tar.gz
scummvm-rg350-32972a5ffb180c9e8a6a9eae51d0e7564ce76d9e.tar.bz2
scummvm-rg350-32972a5ffb180c9e8a6a9eae51d0e7564ce76d9e.zip
AD: Switched rest of the engines to new GUIO
Diffstat (limited to 'engines/m4')
-rw-r--r--engines/m4/detection.cpp43
1 files changed, 20 insertions, 23 deletions
diff --git a/engines/m4/detection.cpp b/engines/m4/detection.cpp
index 9c359c081f..58a5db6c89 100644
--- a/engines/m4/detection.cpp
+++ b/engines/m4/detection.cpp
@@ -65,9 +65,6 @@ const char *MadsM4Engine::getGameFile(int fileType) {
return NULL;
}
-using Common::GUIO_NONE;
-using Common::GUIO_NOSPEECH;
-
static const M4GameDescription gameDescriptions[] = {
{
{
@@ -80,7 +77,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Burger,
kFeaturesCD
@@ -96,7 +93,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::DE_DEU,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Burger,
kFeaturesCD
@@ -112,7 +109,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::RU_RUS,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Burger,
kFeaturesCD
@@ -128,7 +125,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_DEMO | ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Burger,
kFeaturesDemo
@@ -144,7 +141,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_DEMO | ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Burger,
kFeaturesDemo
@@ -160,7 +157,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Riddle,
kFeaturesCD
@@ -176,7 +173,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Riddle,
kFeaturesCD
@@ -192,7 +189,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::DE_DEU,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Riddle,
kFeaturesCD
@@ -208,7 +205,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::FR_FRA,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Riddle,
kFeaturesCD
@@ -224,7 +221,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::ES_ESP,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Riddle,
kFeaturesCD
@@ -240,7 +237,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_DEMO | ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Riddle,
kFeaturesDemo
@@ -256,7 +253,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NOSPEECH
+ GUIO1(GUIO_NOSPEECH)
},
GType_RexNebular,
kFeaturesNone
@@ -272,7 +269,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_DEMO | ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_RexNebular,
kFeaturesDemo
@@ -288,7 +285,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NOSPEECH
+ GUIO1(GUIO_NOSPEECH)
},
GType_DragonSphere,
kFeaturesNone
@@ -305,7 +302,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_DragonSphere,
kFeaturesCD
@@ -321,7 +318,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_DEMO | ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_DragonSphere,
kFeaturesDemo
@@ -337,7 +334,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NOSPEECH
+ GUIO1(GUIO_NOSPEECH)
},
GType_Phantom,
kFeaturesNone
@@ -353,7 +350,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Phantom,
kFeaturesCD
@@ -369,7 +366,7 @@ static const M4GameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformPC,
ADGF_DEMO | ADGF_UNSTABLE,
- GUIO_NONE
+ GUIO1(GUIO_NONE)
},
GType_Phantom,
kFeaturesDemo
@@ -388,7 +385,7 @@ class M4MetaEngine : public AdvancedMetaEngine {
public:
M4MetaEngine() : AdvancedMetaEngine(M4::gameDescriptions, sizeof(M4::M4GameDescription), m4Games) {
_singleid = "m4";
- _guioptions = Common::GUIO_NOMIDI;
+ _guioptions = GUIO1(GUIO_NOMIDI);
_maxScanDepth = 2;
_directoryGlobs = directoryGlobs;
}