[Scummvm-cvs-logs] scummvm master -> 2d0b9143014f74919efadf1065175a3e39c9768c

sev- sev at scummvm.org
Thu Nov 19 00:54:05 CET 2015


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

Summary:
efaf82c66e SWORD25: Fix Hungarian version support
2d0b914301 SWORD25: Added Ultimate version detection


Commit: efaf82c66e4f1b502acae2b349a9491ccb9cf744
    https://github.com/scummvm/scummvm/commit/efaf82c66e4f1b502acae2b349a9491ccb9cf744
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2015-11-19T00:51:44+01:00

Commit Message:
SWORD25: Fix Hungarian version support

Changed paths:
    engines/sword25/util/lua/scummvm_file.cpp



diff --git a/engines/sword25/util/lua/scummvm_file.cpp b/engines/sword25/util/lua/scummvm_file.cpp
index c38aba0..bdceff0 100644
--- a/engines/sword25/util/lua/scummvm_file.cpp
+++ b/engines/sword25/util/lua/scummvm_file.cpp
@@ -183,7 +183,7 @@ Common::String Sword25FileProxy::getLanguage() {
 	case Common::FR_FRA:
 		return "fr";
 	case Common::HU_HUN:
-		return "hr";
+		return "hu";
 	case Common::IT_ITA:
 		return "it";
 	case Common::PL_POL:
@@ -210,7 +210,7 @@ void Sword25FileProxy::setLanguage(const Common::String &lang) {
 		ConfMan.set("language", Common::getLanguageCode(Common::ES_ESP));
 	else if (lang == "fr")
 		ConfMan.set("language", Common::getLanguageCode(Common::FR_FRA));
-	else if (lang == "hr")
+	else if (lang == "hu")
 		ConfMan.set("language", Common::getLanguageCode(Common::HU_HUN));
 	else if (lang == "it")
 		ConfMan.set("language", Common::getLanguageCode(Common::IT_ITA));


Commit: 2d0b9143014f74919efadf1065175a3e39c9768c
    https://github.com/scummvm/scummvm/commit/2d0b9143014f74919efadf1065175a3e39c9768c
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2015-11-19T00:52:20+01:00

Commit Message:
SWORD25: Added Ultimate version detection

Changed paths:
    engines/sword25/detection_tables.h



diff --git a/engines/sword25/detection_tables.h b/engines/sword25/detection_tables.h
index a9f263b..644b8ef 100644
--- a/engines/sword25/detection_tables.h
+++ b/engines/sword25/detection_tables.h
@@ -129,6 +129,19 @@ static const ADGameDescription gameDescriptions[] = {
 		GF_EXTRACTED | ADGF_UNSTABLE,
 		GUIO1(GUIO_NOASPECT)
 	},
+
+	// Distributed by ScummVM
+	// Contains all language packs, English voice-overs and Hungarian version
+	{
+		"sword25",
+		"Latest version",
+		AD_ENTRY1s("data.b25c", "880a8a67faf4a4e7ab62cf114b771428", 827397764),
+		Common::EN_ANY,
+		Common::kPlatformUnknown,
+		ADGF_UNSTABLE,
+		GUIO1(GUIO_NOASPECT)
+	},
+
 	AD_TABLE_END_MARKER
 };
 






More information about the Scummvm-git-logs mailing list