[Scummvm-cvs-logs] SF.net SVN: scummvm:[39027] scummvm/branches/branch-0-13-0/engines/agos

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sun Mar 1 11:16:28 CET 2009


Revision: 39027
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39027&view=rev
Author:   Kirben
Date:     2009-03-01 10:16:28 +0000 (Sun, 01 Mar 2009)

Log Message:
-----------
Add DOS demo of Elvira 1.

Modified Paths:
--------------
    scummvm/branches/branch-0-13-0/engines/agos/agos.cpp
    scummvm/branches/branch-0-13-0/engines/agos/detection_tables.h

Modified: scummvm/branches/branch-0-13-0/engines/agos/agos.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/engines/agos/agos.cpp	2009-03-01 10:09:27 UTC (rev 39026)
+++ scummvm/branches/branch-0-13-0/engines/agos/agos.cpp	2009-03-01 10:16:28 UTC (rev 39027)
@@ -1004,7 +1004,8 @@
 
 	}
 
-	if (getGameType() == GType_ELVIRA1 && getFeatures() & GF_DEMO) {
+	if (getGameType() == GType_ELVIRA1 && getPlatform() == Common::kPlatformAmiga &&
+		(getFeatures() & GF_DEMO)) {
 		playMusic(0, 0);
 	}
 

Modified: scummvm/branches/branch-0-13-0/engines/agos/detection_tables.h
===================================================================
--- scummvm/branches/branch-0-13-0/engines/agos/detection_tables.h	2009-03-01 10:09:27 UTC (rev 39026)
+++ scummvm/branches/branch-0-13-0/engines/agos/detection_tables.h	2009-03-01 10:16:28 UTC (rev 39027)
@@ -174,6 +174,28 @@
 		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,
+			Common::ADGF_DEMO
+		},
+
+		GType_ELVIRA1,
+		GID_ELVIRA1,
+		GF_OLD_BUNDLE | GF_DEMO
+	},
+
 	// Elvira 1 - English DOS Floppy
 	{
 		{


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list