[Scummvm-cvs-logs] SF.net SVN: scummvm:[38254] scummvm/trunk/engines/sci/engine/game.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Feb 15 16:15:27 CET 2009
Revision: 38254
http://scummvm.svn.sourceforge.net/scummvm/?rev=38254&view=rev
Author: thebluegr
Date: 2009-02-15 15:15:26 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Yet more warning fixes
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/game.cpp
Modified: scummvm/trunk/engines/sci/engine/game.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/game.cpp 2009-02-15 15:10:47 UTC (rev 38253)
+++ scummvm/trunk/engines/sci/engine/game.cpp 2009-02-15 15:15:26 UTC (rev 38254)
@@ -216,17 +216,18 @@
if (s->resmgr->sci_version >= SCI_VERSION_01_VGA)
{
+ // This bit sets the foreground and background colors in VGA SCI games
+#if 0
gfx_color_t fgcolor;
gfx_color_t bgcolor;
-#if 0
fgcolor.visual = s->gfx_state->resstate->static_palette[0];
fgcolor.mask = GFX_MASK_VISUAL;
bgcolor.visual = s->gfx_state->resstate->static_palette[255];
bgcolor.mask = GFX_MASK_VISUAL;
-#endif
s->titlebar_port = gfxw_new_port(s->visual, NULL, gfx_rect(0, 0, 320, 10),
fgcolor, bgcolor);
+#endif
} else
s->titlebar_port = gfxw_new_port(s->visual, NULL, gfx_rect(0, 0, 320, 10),
s->ega_colors[0], s->ega_colors[15]);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list