Mercurial > hg > dmlib
diff tools/lib64gfx.h @ 2206:7694b5c8edc1
Add dmC64PaletteFromC64Palette(), used by dmC64SetImagePalette().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 14 Jun 2019 03:27:50 +0300 |
parents | 3a25e85f0203 |
children | 90ec1ec89c56 |
line wrap: on
line diff
--- a/tools/lib64gfx.h Fri Jun 14 03:27:25 2019 +0300 +++ b/tools/lib64gfx.h Fri Jun 14 03:27:50 2019 +0300 @@ -352,6 +352,7 @@ // int dmC64ProbeBMP(const DMGrowBuf *buf, const DMC64ImageFormat **fmt); +int dmC64PaletteFromC64Palette(DMPalette **ppal, const DMC64Palette *pcpal, const BOOL mixed); int dmC64SetImagePalette(DMImage *img, const DMC64Palette *cpal, const BOOL mixed); BOOL dmCompareAddr16(const DMGrowBuf *buf, const size_t offs, const Uint16 addr);