aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sludge/detection.cpp59
-rw-r--r--engines/sludge/detection_tables.h55
2 files changed, 56 insertions, 58 deletions
diff --git a/engines/sludge/detection.cpp b/engines/sludge/detection.cpp
index e45ada2197..423246ec2c 100644
--- a/engines/sludge/detection.cpp
+++ b/engines/sludge/detection.cpp
@@ -49,64 +49,7 @@ static const PlainGameDescriptor sludgeGames[] = {
{ 0, 0 }
};
-namespace Sludge {
-static const SludgeGameDescription gameDescriptions[] = {
- {
- {
- "welcome",
- "",
- AD_ENTRY1("Welcome.slg", "50445503761cf6684fe3270d0860a4c3"),
- Common::EN_ANY,
- Common::kPlatformUnknown,
- ADGF_NO_FLAGS,
- GUIO0()
- },
- 0
- },
-
- {
- {
- "welcome2",
- "",
- AD_ENTRY1("Welcome.slg", "cb1f307c05b8ae4107bcc7f86a3d2f99"),
- Common::EN_ANY,
- Common::kPlatformUnknown,
- ADGF_NO_FLAGS,
- GUIO0()
- },
- 0
- },
-
- {
- {
- "welcomePng",
- "",
- AD_ENTRY1("Welcome.slg", "ff0d7ef0ce73b5503ef6b965928af6d6"),
- Common::EN_ANY,
- Common::kPlatformUnknown,
- ADGF_NO_FLAGS,
- GUIO0()
- },
- 0
- },
-
- {
- {
- "verbcoin",
- "",
- AD_ENTRY1("Welcome.slg", "e39ec315dcbf3a1137481f0a5fe1617d"),
- Common::EN_ANY,
- Common::kPlatformUnknown,
- ADGF_NO_FLAGS,
- GUIO0()
- },
- 0
- },
-
- { AD_TABLE_END_MARKER, 0 }
-};
-
-} // End of namespace Sludge
+#include "sludge/detection_tables.h"
class SludgeMetaEngine : public AdvancedMetaEngine {
public:
diff --git a/engines/sludge/detection_tables.h b/engines/sludge/detection_tables.h
new file mode 100644
index 0000000000..1176832f88
--- /dev/null
+++ b/engines/sludge/detection_tables.h
@@ -0,0 +1,55 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+namespace Sludge {
+
+static const SludgeGameDescription gameDescriptions[] = {
+ {
+ {
+ "welcome",
+ "",
+ AD_ENTRY1s("Welcome.slg", "50445503761cf6684fe3270d0860a4c3", 51736),
+ Common::EN_ANY,
+ Common::kPlatformUnknown,
+ ADGF_NO_FLAGS,
+ GUIO0()
+ },
+ 0
+ },
+
+ {
+ {
+ "verbcoin",
+ "",
+ AD_ENTRY1s("Verb Coin.slg", "e39ec315dcbf3a1137481f0a5fe1617d", 980270),
+ Common::EN_ANY,
+ Common::kPlatformUnknown,
+ ADGF_NO_FLAGS,
+ GUIO0()
+ },
+ 0
+ },
+
+ { AD_TABLE_END_MARKER, 0 }
+};
+
+} // End of namespace Wage