[Scummvm-tracker] [ScummVM :: Bugs] #15030: SCUMM: LOOM (EGA): font drop shadow changes over animation & unique drop shadows in certain scenes are not implemented
ScummVM :: Bugs
trac at scummvm.org
Thu Aug 22 10:52:26 UTC 2024
#15030: SCUMM: LOOM (EGA): font drop shadow changes over animation & unique drop
shadows in certain scenes are not implemented
-------------------------+----------------------------
Reporter: ATMcashpoint | Owner: athrxx
Type: defect | Status: closed
Priority: normal | Component: Engine: SCUMM
Version: | Resolution: fixed
Keywords: fonts | Game: Loom
-------------------------+----------------------------
Comment (by AndywinXp):
I wouldn't really know what to tell you. As I said it's a matter of code
design differences between what's in loom and what's in everything else
following it up. I'll go into details so I can explain myself better:
- When text is drawn, the exact coordinates at which each of their pixels
is drawn needs to be saved in a buffer -> the text z-plane
- Whenever the screen is drawn (and the actors with it) all the z-planes
available in the scene are taken into consideration so that they will stay
on top of the screen and not get overdrawn on top by something else
- As I said, the text z-plane has to be calculated for each pixel of the
subtitle line, and while later version of SPUTM do this correctly, in the
early days they did not take into account font shadows (they just
"protected" the core part of the font characters)
- This means that anything that will be drawn on top of the text (actors,
and animations) will avoid drawing any single pixels on anything that is
protected by the z-plane... but the font shadows are not protected by it.
:-)
Sometimes mistakes are just that: mistakes. No symbolism and no secret
intentions. Just mistakes.
If you happen to talk with Aric Wilmunder about this, he might be able to
shed some light on this. But until this happens this thing, looking at the
code (so no strange guessing) seems like a mistake.
--
Ticket URL: <https://bugs.scummvm.org/ticket/15030#comment:10>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list