Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
svn-id: r31121
This commit is contained in:
parent
aa81050117
commit
6547ef6e12
14 changed files with 40 additions and 43 deletions
|
@ -135,11 +135,11 @@ public:
|
|||
return "Touche: The Adventures of the 5th Musketeer (C) Clipper 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 ToucheMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::EncapsulatedADGameDesc &encapsulatedDesc) const {
|
||||
const Common::ADGameDescription *gd = encapsulatedDesc.realDesc;
|
||||
bool ToucheMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const {
|
||||
const Common::ADGameDescription *gd = desc;
|
||||
if (gd) {
|
||||
*engine = new Touche::ToucheEngine(syst, gd->language);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue