[ scummvm-Patches-1003866 ] SCUMM: New text rendering code (fixes various bugs)

SourceForge.net noreply at sourceforge.net
Thu Aug 5 12:36:10 CEST 2004


Patches item #1003866, was opened at 2004-08-05 12:36
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=1003866&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Max Horn (fingolfin)
Assigned to: Torbjörn Andersson (eriktorbjorn)
Summary: SCUMM: New text rendering code (fixes various bugs)

Initial Comment:
This is the new code we discussed on bug #937017 (SAM: 
Inventory masking regression). That bug is fixed by this code. 
Also, bug #777999 (COMI: Text on scrolling backgrounds) is fixed.
Contrary to my hopes, bug #744650 (SAM: screen scrolling doesn't 
redisplay subtitles) is not fixed, though. It seems to be caused by 
something else; I noticed that the camera won't move until the text 
ends (so you can delay the camer movement infinitely by 
repeatedly 'e'xamining an object)...

What it does is this: a new surface is added into which text is 
rendered (not all text: only text on double buffered virtual screens; 
and only text for which the ignoreCharsetMask flag isn't set). This 
text is then composited over the actual graphis by Gdi::
drawStripToScreen.

The result is that it is possible to keep the text fixed while the 
game graphics behind it scroll (relevant for the above mentioned 
COMI bug). Also, the mask level 0 isn't (ab)used for the charset 
mask anymore, which fixes the SAM regression. 

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

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




More information about the Scummvm-tracker mailing list