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
|
@ -116,11 +116,11 @@ public:
|
|||
return "Igor: Objective Uikokahonia (C) Pendulo Studios";
|
||||
}
|
||||
|
||||
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 IgorMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::EncapsulatedADGameDesc &encapsulatedDesc) const {
|
||||
const IgorGameDescription *gd = (const IgorGameDescription *)(encapsulatedDesc.realDesc);
|
||||
bool IgorMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const {
|
||||
const IgorGameDescription *gd = (const IgorGameDescription *)desc;
|
||||
if (gd) {
|
||||
Igor::DetectedGameVersion dgv;
|
||||
dgv.version = gd->gameVersion;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue