diff options
-rwxr-xr-x | engines/startrek/detection.cpp | 15 | ||||
-rwxr-xr-x | engines/startrek/startrek.cpp | 11 |
2 files changed, 23 insertions, 3 deletions
diff --git a/engines/startrek/detection.cpp b/engines/startrek/detection.cpp index f0f2a353a6..d6e449e98b 100755 --- a/engines/startrek/detection.cpp +++ b/engines/startrek/detection.cpp @@ -163,6 +163,21 @@ static const StarTrekGameDescription gameDescriptions[] = { GF_DEMO, 0, }, + + { + { + "st25", + "Demo", + AD_ENTRY1("Star Trek Data", "88f88b81d389a3217fc7efd6ee631c42"), + Common::EN_ANY, + Common::kPlatformMacintosh, + ADGF_MACRESFORK | ADGF_DEMO, + GUIO0() + }, + GType_ST25, + GF_DEMO, + 0, + }, { { diff --git a/engines/startrek/startrek.cpp b/engines/startrek/startrek.cpp index 78b78aacac..303cd59cbc 100755 --- a/engines/startrek/startrek.cpp +++ b/engines/startrek/startrek.cpp @@ -88,9 +88,14 @@ Common::Error StarTrekEngine::run() { #if 1 if (getGameType() == GType_ST25) { if (getPlatform() == Common::kPlatformMacintosh) { - playMovie("Voice Data/Additional Audio/Intro Movie"); - _gfx->setPalette("BRIDGES.PAL"); - _gfx->drawImage("BRIDGE0.BMP"); + if (getFeatures() & GF_DEMO) { + _gfx->setPalette("BRIDGE.PAL"); + _gfx->drawImage("BRIDGE.BMP"); + } else { + playMovie("Voice Data/Additional Audio/Intro Movie"); + _gfx->setPalette("BRIDGES.PAL"); + _gfx->drawImage("BRIDGE0.BMP"); + } } else { _gfx->setPalette("BRIDGE.PAL"); //_gfx->loadEGAData("BRIDGE.EGA"); |