aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2009-06-15 11:37:07 +0000
committerEugene Sandulenko2009-06-15 11:37:07 +0000
commitdcc5e26cab7ea7f24cfe3ac972355e2789aa67d9 (patch)
treea98356b519bdf21751a60807ff17ef08fcfd8804 /engines
parent5d61784dae5dace556d15e1603d86d565d66cb31 (diff)
downloadscummvm-rg350-dcc5e26cab7ea7f24cfe3ac972355e2789aa67d9.tar.gz
scummvm-rg350-dcc5e26cab7ea7f24cfe3ac972355e2789aa67d9.tar.bz2
scummvm-rg350-dcc5e26cab7ea7f24cfe3ac972355e2789aa67d9.zip
Fix compilation
svn-id: r41542
Diffstat (limited to 'engines')
-rw-r--r--engines/cine/pal.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/cine/pal.h b/engines/cine/pal.h
index f59dee53df..fd0ea8587b 100644
--- a/engines/cine/pal.h
+++ b/engines/cine/pal.h
@@ -36,7 +36,8 @@ namespace Cine {
#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
@@ -44,10 +45,10 @@ static const Graphics::PixelFormat kLowPalFormat = {kLowPalBytesPerColor, 5, 5,
#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