[Scummvm-devel] Non-hardcoded gameids

Torbjörn Andersson eriktorbjorn at telia.com
Wed May 31 08:02:02 CEST 2006


David Given wrote:

> Secondly, the game canvas is always 8bpp, but the overlay can be 8bpp or
> 16bpp --- so if I want to do 16bpp graphics, I'm going to have to draw
> on the overlay. What's the performance like when doing this? (I presume
> I create a 16bpp Surface, and use copyRectToOverlay to write the data.)
> How do I specify transparency?

Using the overlay for drawing game graphics seems like a pretty gross
hack to me. I know there have been some thought of adding supporting for
16-bit graphics without using the overlay, though. See
http://wiki.scummvm.org/index.php/HE_16bits_Support

Torbjörn




More information about the Scummvm-devel mailing list