[Scummvm-git-logs] scummvm master -> 79d48732566d5f7bf1f0332ef6cb05a6693774ca

neuromancer noreply at scummvm.org
Thu Jun 2 07:36:36 UTC 2022


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:
79d4873256 HYPNO: added missing puzzle for the italian release of spider


Commit: 79d48732566d5f7bf1f0332ef6cb05a6693774ca
    https://github.com/scummvm/scummvm/commit/79d48732566d5f7bf1f0332ef6cb05a6693774ca
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2022-06-02T09:36:58+02:00

Commit Message:
HYPNO: added missing puzzle for the italian release of spider

Changed paths:
    engines/hypno/spider/hard.cpp


diff --git a/engines/hypno/spider/hard.cpp b/engines/hypno/spider/hard.cpp
index f9d27f9a54e..2136b41a10b 100644
--- a/engines/hypno/spider/hard.cpp
+++ b/engines/hypno/spider/hard.cpp
@@ -257,6 +257,11 @@ void SpiderEngine::runNote(Code *code) {
 	char placeEasyEN[] = "????? ???? ??????? ??? ????";
 	char placeEasy2[] = "???? ????";
 
+	const char solEasyIT1[] = "parla con il russo e salva";
+	const char solEasyIT2[] = "mary jane";
+	char placeEasyIT[] = "????? ??? ?? ????? ? ?????";
+	char placeEasyIT2[] = "???? ????";
+
 	const char solHardES1[] = "encvenuse a tmesdzakpw p tv";
 	const char solHardES2[] = "mvjes mpsisa";
 	char placeHardES[] = "????????? ? ?????????? ? ??";
@@ -267,6 +272,11 @@ void SpiderEngine::runNote(Code *code) {
 	char placeHardEN[] = "???? ?????????? ?? ???? ????";
 	char placeHardEN2[] = "????";
 
+	const char solHardIT1[] = "trova smerdyakov o tua";
+	const char solHardIT2[] = "moglie moure";
+	char placeHardIT[] = "????? ?????????? ? ???";
+	char placeHardIT2[] = "?????? ?????";
+
 	changeScreenMode("640x480");
 	Common::Point mousePos;
 	Common::Event event;
@@ -283,16 +293,20 @@ void SpiderEngine::runNote(Code *code) {
 	Common::Rect firstSentenceBox;
 	Common::Rect firstSentenceBoxEasyEN(21, 140, 560, 160);
 	Common::Rect firstSentenceBoxEasyES(21, 140, 560, 160);
+	Common::Rect firstSentenceBoxEasyIT(21, 140, 540, 160);
 
 	Common::Rect firstSentenceBoxHardEN(21, 140, 580, 160);
 	Common::Rect firstSentenceBoxHardES(21, 140, 560, 160);
+	Common::Rect firstSentenceBoxHardIT(21, 140, 456, 160);
 
 	Common::Rect secondSentenceBox;
 	Common::Rect secondSentenceBoxEasyEN(21, 140, 196, 201);
 	Common::Rect secondSentenceBoxEasyES(21, 180, 195, 195);
+	Common::Rect secondSentenceBoxEasyIT(21, 180, 195, 200);
 
 	Common::Rect secondSentenceBoxHardEN(21, 180, 96, 201);
 	Common::Rect secondSentenceBoxHardES(21, 180, 260, 195);
+	Common::Rect secondSentenceBoxHardIT(21, 180, 253, 200);
 	switch (_language) {
 	case Common::EN_USA:
 	case Common::DE_DEU:
@@ -315,6 +329,26 @@ void SpiderEngine::runNote(Code *code) {
 		}
 	break;
 
+	case Common::IT_ITA:
+		alpha = alphaEN;
+		letterBox = letterBoxEN;
+		if (_sceneState["GS_PUZZLELEVEL"] == 0) { // easy
+			firstSentence = (char*) &placeEasyIT;
+			secondSentence = (char*) &placeEasyIT2;
+			firstSolution = solEasyIT1;
+			secondSolution = solEasyIT2;
+			firstSentenceBox = firstSentenceBoxEasyIT;
+			secondSentenceBox = secondSentenceBoxEasyIT;
+		} else { // hard
+			firstSentence = (char*) &placeHardIT;
+			secondSentence = (char*) &placeHardIT2;
+			firstSolution = solHardIT1;
+			secondSolution = solHardIT2;
+			firstSentenceBox = firstSentenceBoxHardIT;
+			secondSentenceBox = secondSentenceBoxHardIT;
+		}
+	break;
+
 	case Common::ES_ESP:
 		alpha = alphaES;
 		letterBox = letterBoxES;




More information about the Scummvm-git-logs mailing list