aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/system.h14
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