sync'ing with local tree for now

- some minor changes to detection code
- added missing spanish strings to IGOR.TBL
- fixed '@' charset index

svn-id: r29672
This commit is contained in:
Gregory Montoir 2007-11-30 19:05:53 +00:00
parent 13e9079e89
commit 98545ad4e5
24 changed files with 554 additions and 369 deletions

View file

@ -108,7 +108,13 @@ static const Common::ADParams igorDetectionParams = {
static bool Engine_IGOR_createInstance(OSystem *syst, Engine **engine, Common::EncapsulatedADGameDesc encapsulatedDesc) {
const IgorGameDescription *gd = (const IgorGameDescription *)(encapsulatedDesc.realDesc);
if (gd) {
*engine = new Igor::IgorEngine(syst, gd->gameVersion, gd->gameFlags, gd->desc.language);
Igor::DetectedGameVersion dgv;
dgv.version = gd->gameVersion;
dgv.flags = gd->gameFlags;
dgv.language = gd->desc.language;
dgv.ovlFileName = gd->desc.filesDescriptions[0].fileName;
dgv.sfxFileName = gd->desc.filesDescriptions[1].fileName;
*engine = new Igor::IgorEngine(syst, &dgv);
}
return gd != 0;
}