diff options
author | Torbjörn Andersson | 2016-08-24 07:00:39 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2016-08-24 07:00:39 +0200 |
commit | 796c40dc593dea8ea72bff6c0eee96a3d144f550 (patch) | |
tree | e3f2e9b06c7fbc7d837db2e421d1dd58e46c0f65 | |
parent | 3a20dca0cb487e1c542b75f442eacb33eadd2e26 (diff) | |
download | scummvm-rg350-796c40dc593dea8ea72bff6c0eee96a3d144f550.tar.gz scummvm-rg350-796c40dc593dea8ea72bff6c0eee96a3d144f550.tar.bz2 scummvm-rg350-796c40dc593dea8ea72bff6c0eee96a3d144f550.zip |
DIRECTOR: Add more width corrections for Apartment demo
These are the widths for the taxi. 1110 doesn't actually need a
correction to be drawn right, but 96 makes more sense than 90 if I
decode the image by hand. It may be worth noting that all three
sprite widths are multiples of 8, and that one of them was already
a multiple of 8, but I still needed to add 8 to it.
(This would suggest that w = (w & ~7) + 8 would yield the correct
width for everything, except it doesn't so scratch that idea.)
-rw-r--r-- | engines/director/frame.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 7e272d16a0..018cb7983c 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -528,6 +528,9 @@ static const int corrections[] = { 1041, 110, 110, // descr 1042, 120, 121, // descr 2 1065, 27, 27, // car + 1109, 104, 112, // taxi + 1110, 90, 96, // taxi + 1111, 74, 80, // taxi 0, 0, 0 }; |