aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorJody Northup2009-06-12 08:49:45 +0000
committerJody Northup2009-06-12 08:49:45 +0000
commit2ee51a8fa189fc7817fd6d78533664ec870fca48 (patch)
tree5c3e248fbb75b54d9d54d6d0b05cdcc5271d44bc /graphics
parent6adbd0c41e79b5a21f0430e060347d4978e9ce78 (diff)
downloadscummvm-rg350-2ee51a8fa189fc7817fd6d78533664ec870fca48.tar.gz
scummvm-rg350-2ee51a8fa189fc7817fd6d78533664ec870fca48.tar.bz2
scummvm-rg350-2ee51a8fa189fc7817fd6d78533664ec870fca48.zip
Unfinished proof of concept regarding my compromise with LordHoto in IRC.
svn-id: r41464
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pixelformat.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/pixelformat.h b/graphics/pixelformat.h
index d37a7794f4..fa5925b1f9 100644
--- a/graphics/pixelformat.h
+++ b/graphics/pixelformat.h
@@ -44,15 +44,15 @@ namespace Graphics {
* to get the applicable color order.
*/
enum ColorMode {
- kFormatCLUT8 = 0,
+ kFormatCLUT8 = 0, //256 color palette.
kFormatRGB555 = 1,
- kFormatRGB556 = 2, // 6 bits for blue, in case this ever happens
+ kFormatXRGB1555 = 2, // Special case, high bit has special purpose, which may be alpha.
+ // Engines should probably handle this bit internally and pass RGB only, though
kFormatRGB565 = 3,
- kFormatRGB655 = 4, // 6 bits for red, in case this ever happens
- kFormatRGBA4444 = 5,
- kFormatRGB888 = 6,
- kFormatRGBA6666 = 7, // I've never heard of this, but it's theoretically possible
- kFormatRGBA8888 = 8
+ kFormatRGBA4444 = 4, // since this mode is commonly supported in game hardware, some unimplemented engines may use it?
+ kFormatRGB888 = 5,
+ kFormatRGBA6666 = 6, // I've never heard of this, but it's vaguely plausible
+ kFormatRGBA8888 = 7
};
#endif