[Scummvm-git-logs] scummvm master -> 9cc31d336df4342b994d0b76515a14911ae2a124
sluicebox
noreply at scummvm.org
Fri Dec 13 18:01:54 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:
9cc31d336d AGI: Update PictureMgr
Commit: 9cc31d336df4342b994d0b76515a14911ae2a124
https://github.com/scummvm/scummvm/commit/9cc31d336df4342b994d0b76515a14911ae2a124
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2024-12-13T10:01:32-08:00
Commit Message:
AGI: Update PictureMgr
Changed paths:
engines/agi/picture.cpp
diff --git a/engines/agi/picture.cpp b/engines/agi/picture.cpp
index 1cfcce9109c..9e0eb7d528d 100644
--- a/engines/agi/picture.cpp
+++ b/engines/agi/picture.cpp
@@ -62,7 +62,7 @@ void PictureMgr::putVirtPixel(int x, int y) {
x += _xOffset;
y += _yOffset;
- byte drawMask;
+ byte drawMask= 0;
if (_priOn)
drawMask |= GFX_SCREEN_MASK_PRIORITY;
if (_scrOn)
@@ -534,6 +534,9 @@ void PictureMgr::drawPictureV2() {
case 0xfa:
plotBrush();
break;
+ // FIXME: There is no opcode FC. A refactor in 2016 moved it to this
+ // function and removed the comment that it was for V1 or V1.5.
+ // Determine where this should go (if anywhere) before removing.
case 0xfc:
draw_SetColor();
draw_SetPriority();
More information about the Scummvm-git-logs
mailing list