aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2011-05-07GRAPHICS: implement the long awaited interpolate16_5_3peres
2011-05-05GRAPHICS: Add a new MacCursor class for handling CURS/crsr cursorsMatthew Hoops
2011-05-02GRAPHICS: Turn printf into warningMax Horn
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-27PNG: Changed getPalette() to properly return a copy of the image palettemd5
2011-04-27PNG: Improved code readability a bitmd5
2011-04-25PNG: This PNG::getPalette.Johannes Schickel
Formerly the palette parameter was a value copy, which was assigned in getPalette. That did not make much sense, thus I changed it to be a reference. Since I am not quite sure whether this really shouldn't make a palette copy I added an TODO comment about it.
2011-04-17ALL/GRAPHICS: Remove Surface::bytesPerPixel.Johannes Schickel
2011-04-17GRPAHICS: Do not access Surface::bytesPerPixel anymore.Johannes Schickel
2011-04-17GRAPHICS: Prefer Surface::create taking a PixelFormat over the one taking a ↵Johannes Schickel
byte depth.
2011-04-17GRAPHICS: Add a PixelFormat member to Surface.Johannes Schickel
2011-04-14GRAPHICS: Tidy up 4bpp handling a little.Alyssa Milburn
2011-04-14GRAPHICS: Handle 4bpp paletted PNG files.Alyssa Milburn
2011-04-14GRAPHICS: Replace PNG_HEADER macro with MKTAGAlyssa Milburn
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-19ALL: s/PI/M_PI/dhewg
Tip of the day: git grep -w PI
2011-03-19GRAPHICS: Silenced a warningmd5
2011-03-07GRAPHICS: Cleanup WinCursorGroup functions a bitMatthew Hoops
ScopedPtr is now used on the streams to avoid having repetitive delete calls.
2011-03-07GRAPHICS: Add doxygen comments for WinCursorGroupMatthew Hoops
2011-03-07GRAPHICS: Fix a missing 'f'Matthew Hoops
Thanks, fuzzie
2011-03-07GRAPHICS: Improve support of Windows 8bpp cursorsMatthew Hoops
2011-03-06GRAPHICS: Fix PE cursorsMatthew Hoops
Initial work on 8bpp cursors has also been added
2011-03-05GRAPHICS: Add support for PE cursors in WinCursorGroupMatthew Hoops
Only 1bpp still
2011-03-04GRAPHICS: Split the NE cursor code from the NEResources classMatthew Hoops
Now the code lies in Graphics and all cursors are not cached upon opening an exe. The engine is now in charge of caching which cursors it wants.
2011-02-23GRAPHICS: Add support for PE FON filesMatthew Hoops
This hopefully will work out of the box, but requires testing
2011-02-22COMMON: Begin to merge some NE/PE codeMatthew Hoops
The ID classes are now common to both. The files have been renamed to better illustrate their purpose.
2011-02-20GRAPHICS: Let PNG::getPalette take an uint16 for the palette entry count.Johannes Schickel
This is in analogy to r55742 / 2f08dcb. I also took the freedom to clarify that the PNG loader uses a RGBA palette format.
2011-02-20GRAPHICS: Remove leftover RGBA reference in PaletteManager documentation.Johannes Schickel
2011-02-20GRAPHICS: Switch PICT's palette from RGBA to RGBMatthew Hoops
2011-02-20GRAPHICS: Use the DirectBits size instead of the overall PICT dimensionsMatthew Hoops
Fixes some Myst ME images
2011-02-20GRAPHICS: Fix cursor palette buffering after RGBA->RGB change.Johannes Schickel
Thanks to clone2727 for noticing this.
2011-02-19GRAPHICS: Remove note about alpha channel removal in PaletteManager.Johannes Schickel
2011-02-14GRAPHICS: Update CursorManager documentation for RGBA->RGB change.Johannes Schickel
2011-02-14GRAPHICS: Adapt thumbnail code to grabPalette RGBA->RGB change.Johannes Schickel
2011-02-14GRAPHICS: Update PaletteManager documentation for RGBA->RGB change.Johannes Schickel
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-02-06GRAPHICS: Improved JPEG decoder performanceBastien Bouclet
Replaced the 2D IDCT by two 1D IDCT (rows, then columns). JPEG images now decode about twice as fast as they used to. svn-id: r55794
2011-02-02GRAPHICS: Fixed a bug with indexed PNGs in the PNG decoder (a byte can't ↵Filippos Karapetis
hold 256 entries) svn-id: r55742
2011-02-02GRAPHICS: Updated the copyright information regarding LodePNG. Removed the ↵Filippos Karapetis
obsolete reference to ysflight, as no code is actually used from or based on that project svn-id: r55726
2011-02-02GRAPHICS: Implemented a PNG decoder, and set it as default for the sword25 ↵Filippos Karapetis
engine libpng is still needed for PNG encoding (for thumbnails in saved games of sword25), but since we'll probably drop support for the original saved games anyway, the PNG encoding code will ultimately be removed svn-id: r55723
2011-01-31Silenced some MSVC warningsFilippos Karapetis
svn-id: r55699
2011-01-28GRAPHICS: Make JPEG::getComponent error out if component was not foundMax Horn
svn-id: r55587
2011-01-28GRAPHICS: Turn sqrt(2) and cosine values into constants ;)Max Horn
svn-id: r55586
2011-01-28GRAPHICS: Rename JPEG::_str to _streamMax Horn
We use _str to denote strings almost everywhere, so this was a bit confusing. Another alternative would be to use _s. svn-id: r55585
2011-01-23JANITORIAL: Remove unnecessary backslashTorbjörn Andersson
svn-id: r55483
2011-01-23GRAPHICS: Move graphics/video/ to video/. Step 1/2Eugene Sandulenko
svn-id: r55473
2011-01-23VIDEO: Fix createSurface() for the case that there's no videoSven Hesse
Fixes clicking on the Piano in the Apartment in Urban Runner. svn-id: r55456