[Scummvm-git-logs] scummvm master -> 8cb344ab2e006f9025f58c1cb94e7d7d1189c8eb

sev- noreply at scummvm.org
Tue Sep 17 09:59:05 UTC 2024


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:
5c166d743f DENGINE: Plugged in ShveikShkatulka.dll minigame
8cb344ab2e QDENGINE: Fixed strings in ShveikShkatulka.dll


Commit: 5c166d743f8fc49291ad1da3b1b47c5daf2aec47
    https://github.com/scummvm/scummvm/commit/5c166d743f8fc49291ad1da3b1b47c5daf2aec47
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-09-17T11:58:55+02:00

Commit Message:
DENGINE: Plugged in ShveikShkatulka.dll minigame

Changed paths:
    engines/qdengine/qdcore/qd_minigame.cpp


diff --git a/engines/qdengine/qdcore/qd_minigame.cpp b/engines/qdengine/qdcore/qd_minigame.cpp
index 22ec3c84b5d..bca4ae51ae1 100644
--- a/engines/qdengine/qdcore/qd_minigame.cpp
+++ b/engines/qdengine/qdcore/qd_minigame.cpp
@@ -313,9 +313,10 @@ bool qdMiniGame::load_interface() {
 		} else if (_dll_name == "DLL\\inv_popup.dll") {
 			_interface = new qdInvPopupMiniGame();
 			return true;
+		} else if (_dll_name == "DLL\\ShveikShkatulka.dll") {
+			_interface = new qdShveikShkatulkaMiniGame();
+			return true;
 		// ShveikPortret.dll
-		// ShveikShkatulka.dll
-		// inv_popup.dll
 
 		// klepa
 		// Karaoke.dll


Commit: 8cb344ab2e006f9025f58c1cb94e7d7d1189c8eb
    https://github.com/scummvm/scummvm/commit/8cb344ab2e006f9025f58c1cb94e7d7d1189c8eb
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-09-17T11:58:58+02:00

Commit Message:
QDENGINE: Fixed strings in ShveikShkatulka.dll

Changed paths:
    engines/qdengine/minigames/shveik_shkatulka.h


diff --git a/engines/qdengine/minigames/shveik_shkatulka.h b/engines/qdengine/minigames/shveik_shkatulka.h
index b4d22f4dd00..62a10892689 100644
--- a/engines/qdengine/minigames/shveik_shkatulka.h
+++ b/engines/qdengine/minigames/shveik_shkatulka.h
@@ -79,7 +79,7 @@ public:
 		debugC(3, kDebugMinigames, "ShveikShkatulka::quant(%f)", dt);
 
 		if (checkSolution()) {
-			_doneObj->set_state("да");
+			_doneObj->set_state("\xe4\xe0");	// "да"
 			_cursorObj->set_state("nottaken");
 			_draggedStone = 0;
 			_compartment = 0;
@@ -219,7 +219,7 @@ LABEL_38:
 LABEL_53:
 						_draggedStone->set_state(buf1);
 						_mousePos.x = curPos.x;
-						_jumpSoundObj->set_state("да");
+						_jumpSoundObj->set_state("\xe4\xe0");	// "да"
 						goto LABEL_88;
 
 					default:
@@ -251,7 +251,7 @@ LABEL_53:
 LABEL_86:
 					_draggedStone->set_state(buf1);
 					_mousePos.y = curPos.y;
-					_jumpSoundObj->set_state("да");
+					_jumpSoundObj->set_state("\xe4\xe0");	// "да"
 					goto LABEL_88;
 
 				case 4:
@@ -267,7 +267,7 @@ LABEL_72:
 						snprintf(buf1, 29, "%d%d", side, draggedStonePos - 1);
 						_draggedStone->set_state(buf1);
 						_mousePos.x = curPos.x;
-						_jumpSoundObj->set_state("да");
+						_jumpSoundObj->set_state("\xe4\xe0");	// "да"
 					}
 LABEL_88:
 					_compartment = 0;




More information about the Scummvm-git-logs mailing list