Mercurial > hg > dmlib
diff tools/lib64gfx.h @ 1732:07111a60cd4e
Add dmSetMixedColorC64Palette() for setting a 256 entry "mixed color"
palette, which consists of averaged 16 x 16 matrix of C64 palette.
This can be used for rendering images that use color interlace.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 08 Jun 2018 22:09:00 +0300 |
parents | f9128665a47e |
children | 52e31cfc1e36 |
line wrap: on
line diff
--- a/tools/lib64gfx.h Fri Jun 08 22:07:05 2018 +0300 +++ b/tools/lib64gfx.h Fri Jun 08 22:09:00 2018 +0300 @@ -284,6 +284,8 @@ void dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt); void dmSetDefaultC64Palette(DMImage *img); +BOOL dmSetMixedColorC64Palette(DMImage *img); + BOOL dmCompareAddr16(const Uint8 *buf, const size_t offs, const Uint16 addr); int dmC64ImageGetNumBanks(const DMC64ImageFormat *fmt);