aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
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-12* Moved the updated IFF code from Parallaction to common/Nicola Mettifogo
* Updated Parallaction and SAGA to use the new decoder infrastructure. svn-id: r41465
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-10Add a convenience wrapper to CursorMan for checking whether cursor palettes ↵Johannes Schickel
are supported. svn-id: r41432
2009-06-10Fix a bug in disableCursorPalette, where it never allowed the palette to be ↵Johannes Schickel
enabled properly again. svn-id: r41428
2009-06-09Laying the foundation for preliminary bitdepth negotiation. (No ↵Jody Northup
functionality changes yet) svn-id: r41396
2009-06-07Changed the bitstream buffer used to initialize the big Huffman trees to be ↵Filippos Karapetis
a normal byte array, instead of a Common::Array svn-id: r41356
2009-06-07FormattingFilippos Karapetis
svn-id: r41354
2009-06-07Applied madmoose's patch from bug report #2794216 - "Loading large Smacker ↵Filippos Karapetis
movies is slow" svn-id: r41353
2009-06-06Implement widget property "textalign". Added it to all theme layoutsEugene Sandulenko
svn-id: r41265
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
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-03-20Oops forgot one line in last commit, now the file should compile cleanly ↵Johannes Schickel
with mingw64. svn-id: r39555
2009-03-20Fix compilation on mingw64.Johannes Schickel
svn-id: r39554
2009-03-15* Improved ILBMDecoder to also handle files with width non divisible by 8.Nicola Mettifogo
* Changed PackBitsReadStream to discard padding bytes on ditto files. svn-id: r39410
2009-03-11Fixed bug #2619802 (Game name overwrites scroll bar).Vicent Marti
svn-id: r39335
2009-03-09Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as ↵Max Horn
some other tweaks svn-id: r39255
2009-03-08Patch #2658710: "Add comments to specify which engines use which decoders"Eugene Sandulenko
svn-id: r39236
2009-02-18Honour alpha bits in applyScreenShading() (used in "add game", "edit game" ↵Joost Peters
and "options" dialogs). svn-id: r38478
2009-02-18Use 4444 overlay on PSP (instead of 1555).Joost Peters
svn-id: r38475