aboutsummaryrefslogtreecommitdiff
path: root/engines/igor
diff options
context:
space:
mode:
authorMax Horn2009-01-29 22:13:01 +0000
committerMax Horn2009-01-29 22:13:01 +0000
commit28cf213605ff916ddac62d6c07e02beb915a9a8f (patch)
treefcb26632dfda8061f1bbe3497d5a1b167fc75bb4 /engines/igor
parent7eaafd933f1abed7146a8099df3aac0ffc3aea9a (diff)
downloadscummvm-rg350-28cf213605ff916ddac62d6c07e02beb915a9a8f.tar.gz
scummvm-rg350-28cf213605ff916ddac62d6c07e02beb915a9a8f.tar.bz2
scummvm-rg350-28cf213605ff916ddac62d6c07e02beb915a9a8f.zip
Moved AdvancedDetector from common/ to engines/
svn-id: r36132
Diffstat (limited to 'engines/igor')
-rw-r--r--engines/igor/detection.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/igor/detection.cpp b/engines/igor/detection.cpp
index b04de19fb9..3d821fa639 100644
--- a/engines/igor/detection.cpp
+++ b/engines/igor/detection.cpp
@@ -25,13 +25,13 @@
#include "base/plugins.h"
-#include "common/advancedDetector.h"
+#include "engines/advancedDetector.h"
#include "common/config-manager.h"
#include "igor/igor.h"
struct IgorGameDescription {
- Common::ADGameDescription desc;
+ ADGameDescription desc;
int gameVersion;
int gameFlags;
};
@@ -48,7 +48,7 @@ static const IgorGameDescription igorGameDescriptions[] = {
},
Common::EN_ANY,
Common::kPlatformPC,
- Common::ADGF_DEMO
+ ADGF_DEMO
},
Igor::kIdEngDemo100,
Igor::kFlagDemo | Igor::kFlagFloppy
@@ -64,7 +64,7 @@ static const IgorGameDescription igorGameDescriptions[] = {
},
Common::EN_ANY,
Common::kPlatformPC,
- Common::ADGF_DEMO
+ ADGF_DEMO
},
Igor::kIdEngDemo110,
Igor::kFlagDemo | Igor::kFlagFloppy
@@ -80,7 +80,7 @@ static const IgorGameDescription igorGameDescriptions[] = {
},
Common::ES_ESP,
Common::kPlatformPC,
- Common::ADGF_NO_FLAGS
+ ADGF_NO_FLAGS
},
Igor::kIdSpaCD,
Igor::kFlagTalkie
@@ -93,7 +93,7 @@ static const PlainGameDescriptor igorGameDescriptors[] = {
{ 0, 0 }
};
-static const Common::ADParams igorDetectionParams = {
+static const ADParams igorDetectionParams = {
(const byte *)igorGameDescriptions,
sizeof(IgorGameDescription),
1024, // number of md5 bytes
@@ -104,9 +104,9 @@ static const Common::ADParams igorDetectionParams = {
0
};
-class IgorMetaEngine : public Common::AdvancedMetaEngine {
+class IgorMetaEngine : public AdvancedMetaEngine {
public:
- IgorMetaEngine() : Common::AdvancedMetaEngine(igorDetectionParams) {}
+ IgorMetaEngine() : AdvancedMetaEngine(igorDetectionParams) {}
virtual const char *getName() const {
return "Igor: Objective Uikokahonia";
@@ -116,10 +116,10 @@ public:
return "Igor: Objective Uikokahonia (C) Pendulo Studios";
}
- virtual bool createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const;
+ virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const;
};
-bool IgorMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const {
+bool IgorMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const {
const IgorGameDescription *gd = (const IgorGameDescription *)desc;
if (gd) {
Igor::DetectedGameVersion dgv;