From fdb9cd9ce2c560486a62d959efdaa8519919e279 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 1 Mar 2009 10:09:27 +0000 Subject: Add DOS demo of Elvira 1. svn-id: r39026 --- engines/agos/agos.cpp | 3 ++- engines/agos/detection_tables.h | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) (limited to 'engines/agos') diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index f8681b7a94..488e9866e1 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -1003,7 +1003,8 @@ Common::Error AGOSEngine::go() { delay(0); } - if (getGameType() == GType_ELVIRA1 && getFeatures() & GF_DEMO) { + if (getGameType() == GType_ELVIRA1 && getPlatform() == Common::kPlatformAmiga && + (getFeatures() & GF_DEMO)) { playMusic(0, 0); } diff --git a/engines/agos/detection_tables.h b/engines/agos/detection_tables.h index 19a307fc71..df8175ac8b 100644 --- a/engines/agos/detection_tables.h +++ b/engines/agos/detection_tables.h @@ -174,6 +174,28 @@ static const AGOSGameDescription gameDescriptions[] = { GF_OLD_BUNDLE | GF_CRUNCHED | GF_PLANAR }, + // Elvira 1 - English DOS Floppy Demo + { + { + "elvira1", + "Demo", + + { + { "demo", GAME_BASEFILE, "54b43b6ab38964bd7fd17e9f1b41cc64", 2308}, + { "icon.dat", GAME_ICONFILE, "55d8dd70c54340397ca518665274a477", 576}, + { "tbllist", GAME_TBLFILE, "319f6b227c7822a551f57d24e70f8149", 368}, + { NULL, 0, NULL, 0} + }, + Common::EN_ANY, + Common::kPlatformPC, + ADGF_DEMO + }, + + GType_ELVIRA1, + GID_ELVIRA1, + GF_OLD_BUNDLE | GF_DEMO + }, + // Elvira 1 - English DOS Floppy { { -- cgit v1.2.3