aboutsummaryrefslogtreecommitdiff
path: root/image/pict.h
diff options
context:
space:
mode:
authorsluicebox2019-03-30 22:52:56 -0700
committerFilippos Karapetis2019-03-31 14:02:58 +0300
commitb195ff5e190388f8598a7db4822d57f73f4b6b65 (patch)
tree029c0a6c25450c52f8dadba444c43d57f567ad65 /image/pict.h
parent20d77710c98ace3a018244586c08ab82bb9b5c41 (diff)
downloadscummvm-rg350-b195ff5e190388f8598a7db4822d57f73f4b6b65.tar.gz
scummvm-rg350-b195ff5e190388f8598a7db4822d57f73f4b6b65.tar.bz2
scummvm-rg350-b195ff5e190388f8598a7db4822d57f73f4b6b65.zip
GRAPHICS: Add support for PICT opcode $90 BitsRect
Add limited support for unpacked PICT bits which FPFP Mac requires. SCI games use packed PICT bits unless an image is less than 8 bytes per row in which case they can't be packed, like FPFP's shovel icon. Fixes bug #7059 which prevents the game from being completed.
Diffstat (limited to 'image/pict.h')
-rw-r--r--image/pict.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/image/pict.h b/image/pict.h
index 77b450f4a2..7fd65c6052 100644
--- a/image/pict.h
+++ b/image/pict.h
@@ -123,6 +123,7 @@ private:
// Regular-mode Opcodes
void setupOpcodesNormal();
+ DECLARE_OPCODE(on_bitsRect);
DECLARE_OPCODE(on_packBitsRect);
DECLARE_OPCODE(on_directBitsRect);
DECLARE_OPCODE(on_compressedQuickTime);