aboutsummaryrefslogtreecommitdiff
path: root/graphics/png.cpp
AgeCommit message (Collapse)Author
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-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