aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2009-07-01Add JPEG support to 16bpp branch (if it breaks or is wrong, clone2727 made me)Scott Thomas
svn-id: r41990
2009-07-01Implemented Graphics::PixelFormat ↵Jody Northup
Graphics::findCompatibleFormat(Common::List<Graphics::PixelFormat> backend, Common::List<Graphics::PixelFormat> frontend) svn-id: r41986
2009-07-01Allowed for 16, 24, and 32 bit pixel format factory constructors to be used ↵Jody Northup
without backend RGB color support svn-id: r41985
2009-06-30Fixed a few formatting bitsJordi Vilalta Prat
svn-id: r41973
2009-06-30renamed kTransactionPixelFormatNotSupported to ↵Jody Northup
kTransactionFormatNotSupported, retyped all Graphics::PixelFormat * parameters to const Graphics::PixelFormat *, (hopefully) repaired all memory leaks on screen and cursor format changes, provided OSystem::getScreenFormat and OSystem::getSupportedFormats methods for when ENABLE_RGB_COLOR is not set, completely forgot the "commit early, commit often" mantra. svn-id: r41972
2009-06-26Converted OSystem::SetMouseCursor to take pointer to PixelFormat, instead of ↵Jody Northup
full PixelFormat. Removed OSystem::setCursorFormat (since I forgot to do so several commits ago) svn-id: r41901
2009-06-26Changed cursor manager functions to take *Graphics::PixelFormat with default ↵Jody Northup
parameter of NULL (and initialize NULL pointers with CLUT8), rather than taking a Graphics::PixelFormat with default parameter of Graphics::PixelFormat::createFormatCLUT8() svn-id: r41900
2009-06-24made the cursor's pixel format a member of the cursor object, merged ↵Jody Northup
____CursorFormat functions into equivalent ____Cursor functions. svn-id: r41825
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-16Simplified cursor related 16-bit code.Jody Northup
svn-id: r41577
2009-06-15Fix compilation when 16BIT code is disabled.Eugene Sandulenko
svn-id: r41543
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-13Fixed cursor code to keep track of cursor formats so that ThemeEngine and/or ↵Jody Northup
GuiManager cursors will render properly over the game (on spacebar hit, for instance) svn-id: r41491
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-06-06Corrected cursor display errors introduced by revision 41204, reimplemented ↵Jody Northup
16-bit cursor support in a less hacky, but still temporary way. svn-id: r41209
2009-06-05Fixes ScummEngine_v70he::setDefaultCursor to work in 16-bit, using a ↵Jody Northup
temporary hack. svn-id: r41204
2009-06-05Corrected backend to be able to accept a 16-bit mouseKeyColor without overflowJody Northup
svn-id: r41194
2009-06-05Converted cursor code to use 16-bit.Jody Northup
svn-id: r41191
2009-06-05Ooops, update asserts in grabScreen565() too.Travis Howell
svn-id: r41183
2009-06-04Add 16bit color support for later HE games.Travis Howell
svn-id: r41153
2009-06-03Revert last change, better to wait for 16bit backend support.Travis Howell
svn-id: r41131
2009-06-03Update thumbnail code to capture RGB565 screen.Travis Howell
svn-id: r41130
2009-05-28Tweak the hq2x/hq3x a little bit (interpolation code is little bit shorter, ↵Max Horn
faster and easier to read... but 70+% of the time is spent on computing diffYUV etc. anyway, so I guess this a bit pointless... whatever... ;) svn-id: r40964
2009-05-26Reserve some space in the Huffman tree arrays before starting to decode the ↵Filippos Karapetis
Huffman trees. Hopefully, this will speed up the tree constructing phase somewhat svn-id: r40900
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-21Move Indeo3 static data from indeo3data.h to indeo3.cpp.Johannes Schickel
svn-id: r40762
2009-05-21I'm no longer sure I've really seen case 12 happen, so don't mention it.Torbjörn Andersson
svn-id: r40761
2009-05-21Renamed the DXA, SMK and FLIC video decoders to reflect the fact that ↵Filippos Karapetis
they're decoders, not players svn-id: r40759
2009-05-21Moved the Coktel video player into its own subdirectoryFilippos Karapetis
svn-id: r40755
2009-05-21Added comment and warning message about possibly missing cases.Torbjörn Andersson
svn-id: r40752
2009-05-21Fixed indentation. (Don't worry, it's just a small change, and it matches theTorbjörn Andersson
original FFmpeg code, as far as I can tell.) svn-id: r40749
2009-05-20Moving CoktelVideo (IMD/VMD) and the Indeo3 code (needed for Urban Runner's ↵Sven Hesse
VMDs) to graphics/video/ svn-id: r40744
2009-05-20- Reverted commit #40730, as it introduced rounding errorsFilippos Karapetis
- Properly fixed the FLIC player - The sound chunk tag of DXA files is now read by the DXADecoder's loadFile() method svn-id: r40736
2009-05-19Changed calculations based on frame delay to be based on the scale of 1ms, ↵Filippos Karapetis
not 1/100. This fixes the FLIC player and also makes the overall code a bit clearer and easier to understand svn-id: r40730
2009-05-19Some fixes to the video decoders, thanks to salty-horse's commentsFilippos Karapetis
svn-id: r40729
2009-05-19COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are ↵Max Horn
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses) svn-id: r40725
2009-05-17The 'frameSize' variable isn't used at the moment.Torbjörn Andersson
svn-id: r40640
2009-05-17Changed the FLIC player to the common VideoDecoder interface. Note that ↵Filippos Karapetis
currently the double animation in Bud Tucker's intro credits is broken, as the second background animation is not played svn-id: r40638
2009-05-16Add initial support for DOS non-interactive demos of The Feeble Files.Travis Howell
svn-id: r40619
2009-05-12Must include common/scummsys.h in graphics/pixelformat.h because it uses ↵Max Horn
type 'byte' svn-id: r40513
2009-05-06Silence warnings. Const correctnessEugene Sandulenko
svn-id: r40347