[Scummvm-cvs-logs] scummvm master -> 6b4e62004ae435561bb02eb12521b89f22e90f64

sev- sev at scummvm.org
Fri May 17 07:53:40 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
6b4e62004a NEVERHOOD: Add detection for Russian version. Requires more work


Commit: 6b4e62004ae435561bb02eb12521b89f22e90f64
    https://github.com/scummvm/scummvm/commit/6b4e62004ae435561bb02eb12521b89f22e90f64
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2013-05-16T22:52:45-07:00

Commit Message:
NEVERHOOD: Add detection for Russian version. Requires more work

Changed paths:
    engines/neverhood/detection.cpp
    engines/neverhood/neverhood.cpp



diff --git a/engines/neverhood/detection.cpp b/engines/neverhood/detection.cpp
index 4f70c63..5f860f8 100644
--- a/engines/neverhood/detection.cpp
+++ b/engines/neverhood/detection.cpp
@@ -104,6 +104,40 @@ static const NeverhoodGameDescription gameDescriptions[] = {
 		0,
 	},
 
+	{
+		// Neverhood Russian version. Dyadyushka Risech
+		{
+			"neverhood",
+			"DR",
+			AD_ENTRY1s("hd.blb", "787951bf094aad9962291e69a707bdde", 4248635),
+			Common::RU_RUS,
+			Common::kPlatformWindows,
+			ADGF_NO_FLAGS,
+			GUIO1(GUIO_NONE)
+		},
+		0,
+		0,
+		0,
+		0,
+	},
+
+	{
+		// Neverhood Russian version. Fargus
+		{
+			"neverhood",
+			"Fargus",
+			AD_ENTRY1s("hd.blb", "c87c69db423f560d3708e9de78751a7f", 4425816),
+			Common::RU_RUS,
+			Common::kPlatformWindows,
+			ADGF_NO_FLAGS,
+			GUIO1(GUIO_NONE)
+		},
+		0,
+		0,
+		0,
+		0,
+	},
+
 	{ AD_TABLE_END_MARKER, 0, 0, 0, 0 }
 };
 
diff --git a/engines/neverhood/neverhood.cpp b/engines/neverhood/neverhood.cpp
index 475a459..42fe117 100644
--- a/engines/neverhood/neverhood.cpp
+++ b/engines/neverhood/neverhood.cpp
@@ -59,6 +59,10 @@ NeverhoodEngine::~NeverhoodEngine() {
 Common::Error NeverhoodEngine::run() {
 	initGraphics(640, 480, true);
 
+	const Common::FSNode gameDataDir(ConfMan.get("path"));
+
+	SearchMan.addSubDirectoryMatching(gameDataDir, "data");
+
 	_isSaveAllowed = false;
 
 	_mouseX = 0;






More information about the Scummvm-git-logs mailing list