[Scummvm-cvs-logs] scummvm master -> 796c40dc593dea8ea72bff6c0eee96a3d144f550

eriktorbjorn eriktorbjorn at telia.com
Wed Aug 24 07:04:12 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
796c40dc59 DIRECTOR: Add more width corrections for Apartment demo


Commit: 796c40dc593dea8ea72bff6c0eee96a3d144f550
    https://github.com/scummvm/scummvm/commit/796c40dc593dea8ea72bff6c0eee96a3d144f550
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2016-08-24T07:00:39+02:00

Commit Message:
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.)

Changed paths:
    engines/director/frame.cpp



diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp
index 7e272d1..018cb79 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
 };
 






More information about the Scummvm-git-logs mailing list