[Scummvm-git-logs] scummvm branch-2-8 -> 18dc8966923776dc885d3e3d2f897628463fb486
sluicebox
noreply at scummvm.org
Mon Mar 4 23:15:22 UTC 2024
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:
18dc896692 AGI: Exclude DDP from motion/loop workaround
Commit: 18dc8966923776dc885d3e3d2f897628463fb486
https://github.com/scummvm/scummvm/commit/18dc8966923776dc885d3e3d2f897628463fb486
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2024-03-04T16:15:05-07:00
Commit Message:
AGI: Exclude DDP from motion/loop workaround
Fixes Donald Duck's Playground introduction, bug #14170
Changed paths:
engines/agi/motion.cpp
diff --git a/engines/agi/motion.cpp b/engines/agi/motion.cpp
index 3eb81908354..bc0069c03ca 100644
--- a/engines/agi/motion.cpp
+++ b/engines/agi/motion.cpp
@@ -70,7 +70,17 @@ void AgiEngine::changePos(ScreenObjEntry *screenObj) {
// - BC: right at the end when the witches disappear at least on Apple IIgs (room 12, screen object 13, view 84)
// - KQ1: when grabbing the eagle (room 22).
// - KQ2: happened somewhere in the game, LordHoto couldn't remember exactly where
+// FIXME: This workaround prevents the DDP introduction from animating the three
+// jumping ducks while they move from left to right. Bug #14170
+// For now, this game is excluded from the workaround, but a proper fix
+// is needed, or at least an explanation for why blocking this behavior
+// is the right thing to do when at least one game relies on it.
void AgiEngine::motionActivated(ScreenObjEntry *screenObj) {
+ // Exclude DDP from workaround; see above
+ if (getGameID() == GID_DDP) {
+ return;
+ }
+
if (screenObj->flags & fCycling) {
// Cycling active too
switch (screenObj->cycle) {
More information about the Scummvm-git-logs
mailing list