[Scummvm-devel] Non-hardcoded gameids
Marcus Comstedt
marcus at mc.pp.se
Wed May 31 07:52:02 CEST 2006
Marcus Comstedt <marcus at mc.pp.se> writes:
> On the Dreamcast, the overlay is in ARGB4444 format, so you specify
> transparency with the 4 most significant bits. All other backends
> have opaque overlays, without transparency support, I think.
I should add that there is a backend function ARGBToColor() you can use
to convert a quadruple <a,r,g,b> of bytes to whatever pixel format that
the overlay uses. But unless the overlay supports alpha, as indicated by
kFeatureOverlaySupportsAlpha, the "a" component will just be discarded.
// Marcus
More information about the Scummvm-devel
mailing list