aboutsummaryrefslogtreecommitdiff
path: root/graphics/pixelformat.h
AgeCommit message (Collapse)Author
2009-06-20Factory constructors for ARGB BGR ABGR and BGRA pixel formats.Jody Northup
svn-id: r41697
2009-06-20renamed ENABLE_16BIT define to more accurate ENABLE_RGB_COLORJody Northup
svn-id: r41696
2009-06-20Fixed compilation.Torbjörn Andersson
svn-id: r41695
2009-06-19Removed replaced Graphics::ColorMode enum type with factory methods for ↵Jody Northup
Graphics::PixelFormat. svn-id: r41662
2009-06-16Fixed warning. (GCC doesn't like commas at the end of an enum list.)Torbjörn Andersson
svn-id: r41586
2009-06-16Simplified colormode enumJody Northup
svn-id: r41578
2009-06-15Remove uglyness with PixelFormat initialization.Eugene Sandulenko
svn-id: r41541
2009-06-15made Graphics::PixelFormat(ColorMode) constructor explicit, removed ↵Jody Northup
Graphics::PixelFormat(int bitFormat) constructor that was never really implemented anyway svn-id: r41540
2009-06-15Added kUnsupportedColorMode error code brought Scumm engine and SDL backend ↵Jody Northup
into compliance with API outlined in http://scummvmupthorn09.wordpress.com/2009/06/14/how-this-is-going-to-work/ Provided convenient Graphics::PixelFormat constructors for ColorMode enums, and bitformat integers. Removed last vestiges (I think) of initial cursor hack. svn-id: r41539
2009-06-12Unfinished proof of concept regarding my compromise with LordHoto in IRC.Jody Northup
svn-id: r41464
2009-06-11Renamed Graphics::ColorFormat to Graphics::ColorMode, streamlined enum by ↵Jody Northup
removing order section and temporarily removing kFormatARGB1555 Converted cursor code to make use of _screenFormat, instead of a parameter passed directly to it by the engine. Adjusted scumm engine to account for these changes. This should probably have been two separate commits, but the changes concern the same files... svn-id: r41443
2009-06-09Laying the foundation for preliminary bitdepth negotiation. (No ↵Jody Northup
functionality changes yet) svn-id: r41396
2009-05-12Must include common/scummsys.h in graphics/pixelformat.h because it uses ↵Max Horn
type 'byte' svn-id: r40513
2009-03-27Add color component bit count (rBits, gBits, bBits, aBits) and maximum value ↵Kari Salminen
(rMax, gMax, bMax, aMax) convenience functions to PixelFormat-struct (If someone objects to adding these, holler and/or revert this commit, I can live without 'em but they'd ease some parts of Cine::Palette-code). svn-id: r39711
2009-01-22Added an '!=' operator to PixelFormat.Johannes Schickel
svn-id: r35998
2009-01-22Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵Max Horn
into methods, and added an operator== svn-id: r35993