[Scummvm-cvs-logs] scummvm master -> 5d546d41031425e333b399b2510e8ada74fa1ee2

Strangerke Strangerke at scummvm.org
Sat May 11 12:18: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:
5d546d4103 HOPKINS: Fix bug #3613068 - Detection of Hopkins Russian


Commit: 5d546d41031425e333b399b2510e8ada74fa1ee2
    https://github.com/scummvm/scummvm/commit/5d546d41031425e333b399b2510e8ada74fa1ee2
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-05-11T03:15:45-07:00

Commit Message:
HOPKINS: Fix bug #3613068 - Detection of Hopkins Russian

Changed paths:
    engines/hopkins/detection_tables.h
    engines/hopkins/globals.cpp



diff --git a/engines/hopkins/detection_tables.h b/engines/hopkins/detection_tables.h
index 8f0f104..3e04375 100644
--- a/engines/hopkins/detection_tables.h
+++ b/engines/hopkins/detection_tables.h
@@ -158,7 +158,7 @@ static const HopkinsGameDescription gameDescriptions[] = {
 		// Hopkins FBI Win95 EN, provided by greencis in bug #3612406
 		{
 			"hopkins",
-				0,
+			0,
 			{
 				{"hopkins.exe", 0, "020690049fa1dfcd63a18fdafb139a0e", 421386},
 				{"RES_VAN.RES", 0, "f1693ac0b0859c8ecd8cb30ff43cf55f", 38296346},
@@ -171,6 +171,22 @@ static const HopkinsGameDescription gameDescriptions[] = {
 		},
 	},
 	{
+		// Hopkins FBI Win95 RU, provided by greencis in bug #3613068
+		{
+			"hopkins",
+			0,
+			{
+				{"hopkins.exe", 0, "3043fef0bd3bfeba8252647cd090ce09", 419281},
+				{"res_van.res", 0, "bf17c710e184a25a6c8e9d1d9503c38e", 32197685},
+				AD_LISTEND
+			},
+			Common::RU_RUS,
+			Common::kPlatformWindows,
+			ADGF_NO_FLAGS,
+			GUIO1(GUIO_NONE)
+		},
+	},
+	{
 		// Hopkins FBI Linux, provided by Strangerke
 		{
 			"hopkins",
diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp
index 9b61e04..28f22ed 100644
--- a/engines/hopkins/globals.cpp
+++ b/engines/hopkins/globals.cpp
@@ -134,9 +134,11 @@ Globals::~Globals() {
 void Globals::setConfig() {
 	// CHECKME: Should be in Globals() but it doesn't work
 	// The Polish version is a translation of the English version. The filenames are the same.
+	// The Russian version looks like a translation of the English version, based on the filenames. 
 	switch (_vm->getLanguage()) {
 	case Common::EN_ANY:
 	case Common::PL_POL:
+	case Common::RU_RUS:
 		_language = LANG_EN;
 		break;
 	case Common::FR_FRA:






More information about the Scummvm-git-logs mailing list