Mercurial > hg > dmlib
diff tools/lib64gfx.h @ 2094:4276b8c0fef0
Revamp how the DMImage palette system and color formats work, as preparation
for future work on supporting non-indexed/paletted images. It is still messy.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 05 Mar 2019 09:56:47 +0200 |
parents | c27ed6465022 |
children | 5f8f170f8774 |
line wrap: on
line diff
--- a/tools/lib64gfx.h Thu Feb 28 12:32:07 2019 +0200 +++ b/tools/lib64gfx.h Tue Mar 05 09:56:47 2019 +0200 @@ -306,8 +306,8 @@ char * dmC64GetImageTypeString(char *buf, const size_t len, const int type, const BOOL lng); void dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt, const char *indent); -void dmSetDefaultC64Palette(DMImage *img); -BOOL dmSetMixedColorC64Palette(DMImage *img); +int dmSetDefaultC64Palette(DMImage *img); +int dmSetMixedColorC64Palette(DMImage *img); BOOL dmCompareAddr16(const DMGrowBuf *buf, const size_t offs, const Uint16 addr); int dmC64ImageGetNumBanks(const DMC64ImageFormat *fmt);