diff options
author | Max Horn | 2005-04-19 20:35:48 +0000 |
---|---|---|
committer | Max Horn | 2005-04-19 20:35:48 +0000 |
commit | 25d56525c8856a069de0762ac72d2470083226c5 (patch) | |
tree | f8a733c7156d11e15e65b2e9865a34591942df8c /common | |
parent | 2cfb9322e2e2b59fa2ab311491445ef801d4979a (diff) | |
download | scummvm-rg350-25d56525c8856a069de0762ac72d2470083226c5.tar.gz scummvm-rg350-25d56525c8856a069de0762ac72d2470083226c5.tar.bz2 scummvm-rg350-25d56525c8856a069de0762ac72d2470083226c5.zip |
Replace OSystem::hasAlpha with a feature flag
svn-id: r17695
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/common/system.h b/common/system.h index 94d7bd3e84..ec7c7b40b7 100644 --- a/common/system.h +++ b/common/system.h @@ -110,7 +110,12 @@ public: * Entertainment games. If backend doesn't implement this feature then * engine switches to b/w version of cursors. */ - kFeatureCursorHasPalette + kFeatureCursorHasPalette, + + /** + * Set to true if the overlay pixel format has an alpha channel. + */ + kFeatureOverlaySupportsAlpha }; /** @@ -461,13 +466,6 @@ public: virtual int overlayToScreenY(int y) { return y; } /** - * Return true if the overlay pixel format has an alpha channel. - */ - virtual bool hasAlpha() const { - return false; - } - - /** * Convert the given RGB triplet into an OverlayColor. A OverlayColor can * be 8bit, 16bit or 32bit, depending on the target system. The default * implementation generates a 16 bit color value, in the 565 format |