[ scummvm-Patches-738100 ] SAM: Hack to fix bug #737387

SourceForge.net noreply at sourceforge.net
Thu May 15 09:26:50 CEST 2003


Patches item #738100, was opened at 2003-05-15 09:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=738100&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: SAM: Hack to fix bug #737387

Initial Comment:
This patch fixes bug #737387 ("SAM: Part of text
(subtitles) disappears when moving mouse"), albeit in a
slightly hacky way.

The problem is that our useIm01Cursor() works by
drawing the cursor image to the upper left corner, from
which it then copies it into _grabbedCursor before
finally restoring the screen. It's the last step that
doesn't quite work. I think it simply redraws the
original background, and that does not include the text
that was drawn there.

This patch fixes that by copying the screen are to a
temporary buffer and restore it from there instead. A
nicer solution would probably be if useIm01Cursor()
could render the image directly into _grabbedCursor
instead, like useBompCursor() does, but I'm not
familiar enough with the code.

There is a possibly related glitch with The Dig, where
it draws a cursor image in the upper left corner
without erasing it afterwards. Unfortunately this patch
does nothing whatsoever to fix that.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=738100&group_id=37116




More information about the Scummvm-tracker mailing list