diff options
author | Gregory Montoir | 2007-11-25 23:27:51 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-11-25 23:27:51 +0000 |
commit | 798ce43e19f1f4ee5b95f4de291217bf25a342f9 (patch) | |
tree | b4641214f0b39923c249eaec3ce1a62982cebaf2 /engines/igor/detection.cpp | |
parent | 3d59f805202bd1d2161baa69902d377fa01ee7c6 (diff) | |
download | scummvm-rg350-798ce43e19f1f4ee5b95f4de291217bf25a342f9.tar.gz scummvm-rg350-798ce43e19f1f4ee5b95f4de291217bf25a342f9.tar.bz2 scummvm-rg350-798ce43e19f1f4ee5b95f4de291217bf25a342f9.zip |
- enabled speech sounds
- added end of demo check for demo 1.10
- simplified parts loop
- populated strings table in IGOR.TBL
- updated and packed charset data
svn-id: r29641
Diffstat (limited to 'engines/igor/detection.cpp')
-rw-r--r-- | engines/igor/detection.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/engines/igor/detection.cpp b/engines/igor/detection.cpp index 130cf22780..998efb0e31 100644 --- a/engines/igor/detection.cpp +++ b/engines/igor/detection.cpp @@ -33,6 +33,7 @@ struct IgorGameDescription { Common::ADGameDescription desc; int gameVersion; + int gameFlags; }; static const IgorGameDescription igorGameDescriptions[] = { @@ -49,7 +50,8 @@ static const IgorGameDescription igorGameDescriptions[] = { Common::kPlatformPC, Common::ADGF_DEMO }, - Igor::kIdEngDemo100 + Igor::kIdEngDemo100, + Igor::kFlagDemo | Igor::kFlagFloppy }, { { @@ -64,7 +66,8 @@ static const IgorGameDescription igorGameDescriptions[] = { Common::kPlatformPC, Common::ADGF_DEMO }, - Igor::kIdEngDemo110 + Igor::kIdEngDemo110, + Igor::kFlagDemo | Igor::kFlagFloppy }, { { @@ -79,9 +82,10 @@ static const IgorGameDescription igorGameDescriptions[] = { Common::kPlatformPC, Common::ADGF_NO_FLAGS }, - Igor::kIdSpaCD + Igor::kIdSpaCD, + Igor::kFlagTalkie }, - { AD_TABLE_END_MARKER, 0 } + { AD_TABLE_END_MARKER, 0, 0 } }; static const PlainGameDescriptor igorGameDescriptors[] = { @@ -104,7 +108,7 @@ 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); + *engine = new Igor::IgorEngine(syst, gd->gameVersion, gd->gameFlags, gd->desc.language); } return gd != 0; } |