aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/res_ami.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-10-09 10:26:27 +0000
committerTravis Howell2006-10-09 10:26:27 +0000
commitb2d4d36e8bf954aaa82cb6cadeb07fbc17d569f0 (patch)
tree0ade0fbdf83816e130f41a7fa789ee95cf7e7713 /engines/agos/res_ami.cpp
parent05dfe432affda2a9f35712b20257d1b07f83abde (diff)
downloadscummvm-rg350-b2d4d36e8bf954aaa82cb6cadeb07fbc17d569f0.tar.gz
scummvm-rg350-b2d4d36e8bf954aaa82cb6cadeb07fbc17d569f0.tar.bz2
scummvm-rg350-b2d4d36e8bf954aaa82cb6cadeb07fbc17d569f0.zip
Add Amiga ECS verison of Simon the Sorcerer 1
svn-id: r24250
Diffstat (limited to 'engines/agos/res_ami.cpp')
-rw-r--r--engines/agos/res_ami.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/agos/res_ami.cpp b/engines/agos/res_ami.cpp
index ecafd46264..2c32b64382 100644
--- a/engines/agos/res_ami.cpp
+++ b/engines/agos/res_ami.cpp
@@ -39,6 +39,8 @@ byte *clipoutptr;
int clipnumber;
static void uncompressplane(byte *plane, byte *outptr, uint16 length) {
+ debug(0, "uncompressplane: length %d", length);
+
char x;
byte y, z;
while (length) {
@@ -69,6 +71,8 @@ static void uncompressplane(byte *plane, byte *outptr, uint16 length) {
}
static void convertcompressedclip(uint16 height, uint16 width) {
+ debug(0, "convertcompressedclip: height %d width %d", height, width);
+
byte *plane0;
byte *plane1;
byte *plane2;
@@ -218,6 +222,8 @@ static void convertcompressedclip(uint16 height, uint16 width) {
}
static void convertclip(uint32 offset, uint16 height, uint16 width) {
+ debug(0, "convertclip: height %d width %d", height, width);
+
uint32 length, i, j;
uint16 word1, word2, word3, word4;
byte outbyte, outbyte1;