[Scummvm-cvs-logs] SF.net SVN: scummvm: [32500] scummvm/trunk/engines/drascula/detection.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Mon Jun 2 20:38:51 CEST 2008


Revision: 32500
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32500&view=rev
Author:   sev
Date:     2008-06-02 11:38:50 -0700 (Mon, 02 Jun 2008)

Log Message:
-----------
Simplified detection table

Modified Paths:
--------------
    scummvm/trunk/engines/drascula/detection.cpp

Modified: scummvm/trunk/engines/drascula/detection.cpp
===================================================================
--- scummvm/trunk/engines/drascula/detection.cpp	2008-06-02 18:28:55 UTC (rev 32499)
+++ scummvm/trunk/engines/drascula/detection.cpp	2008-06-02 18:38:50 UTC (rev 32500)
@@ -35,12 +35,10 @@
 
 struct DrasculaGameDescription {
 	Common::ADGameDescription desc;
-
-	uint32 features;
 };
 
 uint32 DrasculaEngine::getFeatures() const {
-	return _gameDescription->features;
+	return _gameDescription->desc.flags;
 }
 
 Common::Language DrasculaEngine::getLanguage() const {
@@ -80,7 +78,6 @@
 			Common::kPlatformPC,
 			Common::ADGF_NO_FLAGS
 		},
-		0,
 	},
 
 	{
@@ -91,9 +88,8 @@
 			AD_ENTRY1s("packet.001", "c6a8697396e213a18472542d5f547cb4", 32847563),
 			Common::EN_ANY,
 			Common::kPlatformPC,
-			Common::ADGF_KEEPMATCH
+			Common::ADGF_KEEPMATCH | GF_PACKED
 		},
-		GF_PACKED,
 	},
 
 	{
@@ -108,9 +104,8 @@
 			},
 			Common::DE_DEU,
 			Common::kPlatformPC,
-			Common::ADGF_NO_FLAGS
+			GF_PACKED
 		},
-		GF_PACKED,
 	},
 
 	{
@@ -125,9 +120,8 @@
 			},
 			Common::FR_FRA,
 			Common::kPlatformPC,
-			Common::ADGF_NO_FLAGS
+			GF_PACKED
 		},
-		GF_PACKED,
 	},
 
 	{
@@ -138,9 +132,8 @@
 			AD_ENTRY1s("packet.001", "3c971aba65a037d29d0b479cad6f5943", 31702652),
 			Common::ES_ESP,
 			Common::kPlatformPC,
-			Common::ADGF_NO_FLAGS
+			GF_PACKED
 		},
-		GF_PACKED,
 	},
 
 	{
@@ -153,7 +146,6 @@
 			Common::kPlatformPC,
 			Common::ADGF_NO_FLAGS
 		},
-		0,
 	},
 
 	{
@@ -166,7 +158,6 @@
 			Common::kPlatformPC,
 			Common::ADGF_NO_FLAGS
 		},
-		0,
 	},
 
 	{
@@ -179,7 +170,6 @@
 			Common::kPlatformPC,
 			Common::ADGF_NO_FLAGS
 		},
-		0,
 	},
 
 	{
@@ -190,9 +180,8 @@
 			AD_ENTRY1s("packet.001", "0253e924af223f5fe52537023385159b", 32564209),
 			Common::IT_ITA,
 			Common::kPlatformPC,
-			Common::ADGF_NO_FLAGS
+			GF_PACKED
 		},
-		GF_PACKED,
 	},
 	{
 		// Drascula Italian version
@@ -204,10 +193,9 @@
 			Common::kPlatformPC,
 			Common::ADGF_NO_FLAGS
 		},
-		0,
 	},
 
-	{ AD_TABLE_END_MARKER, 0, }
+	{ AD_TABLE_END_MARKER }
 };
 
 } // End of namespace Drascula


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