[Scummvm-git-logs] scummvm master -> dee25ecfc59eb908085a1d9ff0231fd01c7fc06c

athrxx noreply at scummvm.org
Sat Oct 8 14:57:39 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:
dee25ecfc5 SCUMM: (SAM) - add dissolve effect when restarting with F8


Commit: dee25ecfc59eb908085a1d9ff0231fd01c7fc06c
    https://github.com/scummvm/scummvm/commit/dee25ecfc59eb908085a1d9ff0231fd01c7fc06c
Author: athrxx (athrxx at scummvm.org)
Date: 2022-10-08T16:57:07+02:00

Commit Message:
SCUMM: (SAM) - add dissolve effect when restarting with F8

SAM has this hard coded for the restart handling. I noticed it in an
emulator and then found it in the original code . Without that, the
game would show the box transition for the restart which is
not suitable for SAM (it is made for games with a separate
verb interface).

Changed paths:
    engines/scumm/gfx_gui.cpp


diff --git a/engines/scumm/gfx_gui.cpp b/engines/scumm/gfx_gui.cpp
index 42e4ffc73e3..bde8687fa15 100644
--- a/engines/scumm/gfx_gui.cpp
+++ b/engines/scumm/gfx_gui.cpp
@@ -1330,6 +1330,9 @@ void ScummEngine::queryRestart() {
 			if (_game.version < 5)
 				restoreCharsetBg();
 
+			if (_game.id == GID_SAMNMAX)
+				fadeOut(134);
+
 			restart();
 		}
 	}




More information about the Scummvm-git-logs mailing list