aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-08-31 08:54:35 +0000
committerTravis Howell2004-08-31 08:54:35 +0000
commit3efe85f5cec5b0cc28a7b3365b644354a307ce0b (patch)
tree99d69e02e506dcdcf10e137a9a3cb489a23ae499 /scumm
parent6130d8920179fd683817bfe25b5bb5debab00a39 (diff)
downloadscummvm-rg350-3efe85f5cec5b0cc28a7b3365b644354a307ce0b.tar.gz
scummvm-rg350-3efe85f5cec5b0cc28a7b3365b644354a307ce0b.tar.bz2
scummvm-rg350-3efe85f5cec5b0cc28a7b3365b644354a307ce0b.zip
Ignore akos codec 32 for now
svn-id: r14848
Diffstat (limited to 'scumm')
-rw-r--r--scumm/akos.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index abaa33b270..1d5080976e 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -321,6 +321,10 @@ byte AkosRenderer::drawLimb(const CostumeData &cost, int limb) {
case 16:
result |= codec16(xmoveCur, ymoveCur);
break;
+ case 32:
+ // TODO Add codec32
+ result = 1;
+ break;
default:
error("akos_drawLimb: invalid codec %d", codec);
}
@@ -358,6 +362,10 @@ byte AkosRenderer::drawLimb(const CostumeData &cost, int limb) {
case 16:
result |= codec16(xmoveCur, ymoveCur);
break;
+ case 32:
+ // TODO Add codec32
+ result = 1;
+ break;
default:
error("akos_drawLimb: invalid codec %d", codec);
}
@@ -722,6 +730,7 @@ byte AkosRenderer::codec1(int xmoveCur, int ymoveCur) {
rect.top = cur_y;
rect.bottom = cur_y + _height;
+ rect.bottom = 400;
startScaleIndexX = value;
startScaleIndexY = value;
@@ -1002,6 +1011,7 @@ byte AkosRenderer::codec16(int xmoveCur, int ymoveCur) {
clip.top = _actorY + ymoveCur;
clip.right = clip.left + _width;
clip.bottom = clip.top + _height;
+ clip.bottom = 400;
maxw = _outwidth;
maxh = _outheight;