[Scummvm-devel] 'gob' engine & 8bpp
Sven Hesse
drmccoy at drmccoy.de
Wed Apr 1 00:59:04 CEST 2015
Hej hej!
On 2015-04-01 00:18:08 +0200, Miro Kropáček wrote:
> I've noticed that Gobliiins
> (both EGA and VGA versions) for some strange reason asks SDL for
> 320x240x16bpp resolution.
If you look at Video::setSize() in engines/gob/video.cpp:240:
<https://github.com/scummvm/scummvm/blob/master/engines/gob/video.cpp#L240>
and the relevant comment in engines/util.h:
<https://github.com/scummvm/scummvm/blob/master/engines/util.h#L35>
You'll see that gob, unless the game is a True Color one (of which
there is current only Urban Runner), calls the initGraphics() function
for a 256 color mode. This is outside gob's scope, and rather a
feature of the backends. All games, not just gob games, should behave
the same in that respect.
So yeah, sorry, that's not something I as the resident gob engine
person can help you with.
(For more information on how the SDL backend works, I'll refer you to
Johannes, who so neatly ninja'd me here and made all my speculations
and half-explanations meaningless :P)
Cheers
Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20150401/9bce804f/attachment.sig>
More information about the Scummvm-devel
mailing list