aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJody Northup2009-06-20 05:23:09 +0000
committerJody Northup2009-06-20 05:23:09 +0000
commitf7dd1c15ed38418a0371032966144eb6c2e004cb (patch)
treedc292bcaf9c657bd1db9efbc56195e70c578ea0e /common
parent8b6ed92376024f43876af93fdfccd72d6fc33ac0 (diff)
downloadscummvm-rg350-f7dd1c15ed38418a0371032966144eb6c2e004cb.tar.gz
scummvm-rg350-f7dd1c15ed38418a0371032966144eb6c2e004cb.tar.bz2
scummvm-rg350-f7dd1c15ed38418a0371032966144eb6c2e004cb.zip
renamed ENABLE_16BIT define to more accurate ENABLE_RGB_COLOR
svn-id: r41696
Diffstat (limited to 'common')
-rw-r--r--common/error.h2
-rw-r--r--common/system.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/common/error.h b/common/error.h
index 8959a6ae23..6522fbf4af 100644
--- a/common/error.h
+++ b/common/error.h
@@ -48,7 +48,7 @@ enum Error {
kInvalidPathError, //!< Engine initialization: Invalid game path was passed
kNoGameDataFoundError, //!< Engine initialization: No game data was found in the specified location
kUnsupportedGameidError, //!< Engine initialization: Gameid not supported by this (Meta)Engine
-#ifdef ENABLE_16BIT
+#ifdef ENABLE_RGB_COLOR
kUnsupportedColorMode, //!< Engine initialization: Engine does not support backend's color mode
#endif
diff --git a/common/system.h b/common/system.h
index 7df4a124e3..6846b7b9dd 100644
--- a/common/system.h
+++ b/common/system.h
@@ -343,7 +343,7 @@ public:
*/
virtual int getGraphicsMode() const = 0;
-#ifdef ENABLE_16BIT
+#ifdef ENABLE_RGB_COLOR
/**
* Set the color format of the virtual screen. Typical formats include:
* CLUT8 (e.g. 256 color, for most games)
@@ -436,7 +436,7 @@ public:
kTransactionAspectRatioFailed = (1 << 0), /**< Failed switchting aspect ratio correction mode */
kTransactionFullscreenFailed = (1 << 1), /**< Failed switchting fullscreen mode */
kTransactionModeSwitchFailed = (1 << 2), /**< Failed switchting the GFX graphics mode (setGraphicsMode) */
-#ifdef ENABLE_16BIT
+#ifdef ENABLE_RGB_COLOR
kTransactionPixelFormatNotSupported = (1 << 4), /**< Failed setting the color format (function not yet implemented) */
#endif
kTransactionSizeChangeFailed = (1 << 3) /**< Failed switchting the screen dimensions (initSize) */
@@ -720,7 +720,7 @@ public:
* @param cursorTargetScale scale factor which cursor is designed for
*/
virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, int cursorTargetScale = 1) = 0;
-#ifdef ENABLE_16BIT
+#ifdef ENABLE_RGB_COLOR
virtual void setCursorFormat(Graphics::PixelFormat format) = 0;
#endif