[Scummvm-cvs-logs] SF.net SVN: scummvm:[41542] scummvm/branches/gsoc2009-16bit/engines/cine/ pal.h
sev at users.sourceforge.net
sev at users.sourceforge.net
Mon Jun 15 13:37:07 CEST 2009
Revision: 41542
http://scummvm.svn.sourceforge.net/scummvm/?rev=41542&view=rev
Author: sev
Date: 2009-06-15 11:37:07 +0000 (Mon, 15 Jun 2009)
Log Message:
-----------
Fix compilation
Modified Paths:
--------------
scummvm/branches/gsoc2009-16bit/engines/cine/pal.h
Modified: scummvm/branches/gsoc2009-16bit/engines/cine/pal.h
===================================================================
--- scummvm/branches/gsoc2009-16bit/engines/cine/pal.h 2009-06-15 11:35:51 UTC (rev 41541)
+++ scummvm/branches/gsoc2009-16bit/engines/cine/pal.h 2009-06-15 11:37:07 UTC (rev 41542)
@@ -36,18 +36,19 @@
#define kLowPalNumBytes ((kLowPalNumColors) * (kLowPalBytesPerColor))
/*! \brief Low resolution (9-bit) color format used in Cine's 16-color modes. */
-static const Graphics::PixelFormat kLowPalFormat = {kLowPalBytesPerColor, 5, 5, 5, 8, 8, 4, 0, 0};
+ static const Graphics::PixelFormat kLowPalFormat(kLowPalBytesPerColor, 5, 5, 5, 8, 8, 4, 0, 0);
+
// Constants related to kHighPalFormat
#define kHighPalBytesPerColor 3
#define kHighPalNumColors 256
#define kHighPalNumBytes ((kHighPalNumColors) * (kHighPalBytesPerColor))
/*! \brief High resolution (24-bit) color format used in Cine's 256-color modes. */
-static const Graphics::PixelFormat kHighPalFormat = {kHighPalBytesPerColor, 0, 0, 0, 8, 0, 8, 16, 0};
+static const Graphics::PixelFormat kHighPalFormat(kHighPalBytesPerColor, 0, 0, 0, 8, 0, 8, 16, 0);
/*! \brief The color format used by OSystem's setPalette-function. */
-static const Graphics::PixelFormat kSystemPalFormat = {4, 0, 0, 0, 8, 0, 8, 16, 0};
+static const Graphics::PixelFormat kSystemPalFormat(4, 0, 0, 0, 8, 0, 8, 16, 0);
/*! \brief Endian types. Used at least by Palette class's load and save functions.
* TODO: Move somewhere more general as this is definitely not Cine-engine specific
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