[Scummvm-git-logs] scummvm branch-2-3 -> 0e4bbfe9ea5c8e9e1d8fc008d63af4f77c2b0132
eriktorbjorn
eriktorbjorn at telia.com
Fri Sep 17 06:36:13 UTC 2021
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:
0e4bbfe9ea BURIED: Fix door opening transition to Da Vinci study (bug 12885)
Commit: 0e4bbfe9ea5c8e9e1d8fc008d63af4f77c2b0132
https://github.com/scummvm/scummvm/commit/0e4bbfe9ea5c8e9e1d8fc008d63af4f77c2b0132
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-09-17T08:34:29+02:00
Commit Message:
BURIED: Fix door opening transition to Da Vinci study (bug 12885)
Integrated upstreams code for playing the correct animation when opening
the door to Da Vinci's study. I take no credit for this, since the
complete solution was just handed to me and I could never have figured
it out on my own.
Changed paths:
engines/buried/environ/da_vinci.cpp
diff --git a/engines/buried/environ/da_vinci.cpp b/engines/buried/environ/da_vinci.cpp
index c78f10a167..4ec7db84bd 100644
--- a/engines/buried/environ/da_vinci.cpp
+++ b/engines/buried/environ/da_vinci.cpp
@@ -829,15 +829,18 @@ int CodexTowerOutsideDoor::mouseUp(Window *viewWindow, const Common::Point &poin
DestinationScene destData;
destData.destinationScene = _staticData.location;
destData.destinationScene.depth = 1;
- destData.transitionType = TRANSITION_VIDEO;
- destData.transitionData = 2;
- destData.transitionStartFrame = -1;
- destData.transitionLength = -1;
+ destData.transitionType = TRANSITION_WALK;
+ destData.transitionData = 11;
+ destData.transitionStartFrame = 196;
+ destData.transitionLength = 20;
// Play a different video otherwise
if (((SceneViewWindow *)viewWindow)->getGlobalFlags().dsCTViewedAgent3 == 0) {
destData.transitionType = TRANSITION_VIDEO;
destData.transitionData = 1;
+ destData.transitionStartFrame = -1;
+ destData.transitionLength = -1;
+ ((SceneViewWindow *)viewWindow)->getGlobalFlags().dsCTViewedAgent3 = 1;
}
((SceneViewWindow *)viewWindow)->moveToDestination(destData);
More information about the Scummvm-git-logs
mailing list