[Scummvm-cvs-logs] scummvm master -> c839fd50b5ddfcceada8cbbd3046ce219df248a0

clone2727 clone2727 at gmail.com
Sun Aug 12 23:46:58 CEST 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c839fd50b5 GRAPHICS: Clarify format of the palette in ImageDecoder


Commit: c839fd50b5ddfcceada8cbbd3046ce219df248a0
    https://github.com/scummvm/scummvm/commit/c839fd50b5ddfcceada8cbbd3046ce219df248a0
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2012-08-12T14:44:23-07:00

Commit Message:
GRAPHICS: Clarify format of the palette in ImageDecoder

Changed paths:
    graphics/decoders/image_decoder.h



diff --git a/graphics/decoders/image_decoder.h b/graphics/decoders/image_decoder.h
index 7fa0074..830645d 100644
--- a/graphics/decoders/image_decoder.h
+++ b/graphics/decoders/image_decoder.h
@@ -75,6 +75,9 @@ public:
 	 * until destroy() or loadStream() is called, or until this ImageDecoder's
 	 * destructor is called.
 	 *
+	 * The palette's format is the same as PaletteManager's palette
+	 * (interleaved RGB values).
+	 *
 	 * @return the decoded palette, or 0 if no palette is present
 	 */
 	virtual const byte *getPalette() const { return 0; }






More information about the Scummvm-git-logs mailing list