diff options
author | James Brown | 2002-04-25 04:12:18 +0000 |
---|---|---|
committer | James Brown | 2002-04-25 04:12:18 +0000 |
commit | b7ce4fc9361d63730beea669d6245bcf2f4ea1c8 (patch) | |
tree | d983fe1885d48378f84e4ae5a7f94da29872d7c6 /script_v1.cpp | |
parent | 2334c4778b6d1e58a419116cc1a35bf3037cf902 (diff) | |
download | scummvm-rg350-b7ce4fc9361d63730beea669d6245bcf2f4ea1c8.tar.gz scummvm-rg350-b7ce4fc9361d63730beea669d6245bcf2f4ea1c8.tar.bz2 scummvm-rg350-b7ce4fc9361d63730beea669d6245bcf2f4ea1c8.zip |
Fix MI1 floppy scaling, and update readme.
svn-id: r4077
Diffstat (limited to 'script_v1.cpp')
-rw-r--r-- | script_v1.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/script_v1.cpp b/script_v1.cpp index df8dad2e49..4b0b0c711e 100644 --- a/script_v1.cpp +++ b/script_v1.cpp @@ -778,15 +778,13 @@ void Scumm::o5_actorSet() a->width = getVarOrDirectByte(0x80); break; case 17: /* scale */ - // FIXME: 0x11 is definitly an one byte opcode in MI1 256 col Floppy ! - // but it's not 1, 9, 16, 19, 22 or 23 (testet), what else ? if (_gameId & GID_MONKEY_VGA) { - warning("o5_actorset: unk opcode 0x11 (%d)", getVarOrDirectByte(0x80)); - break; + a->scalex = a->scaley = getVarOrDirectByte(0x80); + } else { + a->scalex = getVarOrDirectByte(0x80); + a->scaley = getVarOrDirectByte(0x40); } - a->scalex = getVarOrDirectByte(0x80); - a->scaley = getVarOrDirectByte(0x40); if (a->scalex > 255 || a->scaley > 255) error("Setting an bad actor scale!"); a->needRedraw = true; |