aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise
diff options
context:
space:
mode:
authorMax Horn2008-03-14 17:31:04 +0000
committerMax Horn2008-03-14 17:31:04 +0000
commit6547ef6e129fb42c75c20f24e1f24dff1458f727 (patch)
tree95cdbfad275c76a32608d1a8b414e6824fe47091 /engines/cruise
parentaa8105011748674313e7bf19e23ea8f2ee90c7aa (diff)
downloadscummvm-rg350-6547ef6e129fb42c75c20f24e1f24dff1458f727.tar.gz
scummvm-rg350-6547ef6e129fb42c75c20f24e1f24dff1458f727.tar.bz2
scummvm-rg350-6547ef6e129fb42c75c20f24e1f24dff1458f727.zip
Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
svn-id: r31121
Diffstat (limited to 'engines/cruise')
-rw-r--r--engines/cruise/detection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/cruise/detection.cpp b/engines/cruise/detection.cpp
index 07d2ab7c8e..b9330ada77 100644
--- a/engines/cruise/detection.cpp
+++ b/engines/cruise/detection.cpp
@@ -133,11 +133,11 @@ public:
return "Cruise for a Corpse (C) Delphine Software";
}
- virtual bool createInstance(OSystem *syst, Engine **engine, const Common::EncapsulatedADGameDesc &encapsulatedDesc) const;
+ virtual bool createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const;
};
-bool CruiseMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::EncapsulatedADGameDesc &encapsulatedDesc) const {
- const Cruise::CRUISEGameDescription *gd = (const Cruise::CRUISEGameDescription *)(encapsulatedDesc.realDesc);
+bool CruiseMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const {
+ const Cruise::CRUISEGameDescription *gd = (const Cruise::CRUISEGameDescription *)desc;
if (gd) {
*engine = new Cruise::CruiseEngine(syst, gd);
}