aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorJody Northup2009-06-09 07:55:43 +0000
committerJody Northup2009-06-09 07:55:43 +0000
commitc426dd99a4c4149418fa16996e38f0995ddcaea5 (patch)
tree8809c1cd7e6ee72546d4eac83854e84da079fc42 /common/system.h
parentd3ede78c9a51b46fdfebf907988d13cc410af7ee (diff)
downloadscummvm-rg350-c426dd99a4c4149418fa16996e38f0995ddcaea5.tar.gz
scummvm-rg350-c426dd99a4c4149418fa16996e38f0995ddcaea5.tar.bz2
scummvm-rg350-c426dd99a4c4149418fa16996e38f0995ddcaea5.zip
Laying the foundation for preliminary bitdepth negotiation. (No functionality changes yet)
svn-id: r41396
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h
index ddbcdcc546..50d00bb8e2 100644
--- a/common/system.h
+++ b/common/system.h
@@ -407,6 +407,9 @@ 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
+ kTransactionPixelFormatNotSupported = (1 << 4), /**< Failed setting the color format (function not yet implemented) */
+#endif
kTransactionSizeChangeFailed = (1 << 3) /**< Failed switchting the screen dimensions (initSize) */
};
@@ -605,6 +608,14 @@ public:
*/
virtual Graphics::PixelFormat getOverlayFormat() const = 0;
+#ifdef ENABLE_16BIT
+ /**
+ * Returns the pixel format description of the game screen.
+ * @see Graphics::PixelFormat
+ */
+ virtual Graphics::PixelFormat getScreenFormat() const = 0;
+#endif
+
/**
* Reset the overlay.
*