[Scummvm-cvs-logs] CVS: scummvm/common system.h,1.95,1.96
Max Horn
fingolfin at users.sourceforge.net
Tue Apr 19 13:36:44 CEST 2005
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20409/common
Modified Files:
system.h
Log Message:
Replace OSystem::hasAlpha with a feature flag
Index: system.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/system.h,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- system.h 19 Apr 2005 20:22:48 -0000 1.95
+++ system.h 19 Apr 2005 20:35:47 -0000 1.96
@@ -110,7 +110,12 @@
* 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 @@
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
More information about the Scummvm-git-logs
mailing list