Mercurial > hg > dmlib
comparison 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 |
comparison
equal
deleted
inserted
replaced
2093:d17512dbb4ef | 2094:4276b8c0fef0 |
---|---|
304 int dmC64ProbeBMP(const DMGrowBuf *buf, const DMC64ImageFormat **fmt); | 304 int dmC64ProbeBMP(const DMGrowBuf *buf, const DMC64ImageFormat **fmt); |
305 | 305 |
306 char * dmC64GetImageTypeString(char *buf, const size_t len, const int type, const BOOL lng); | 306 char * dmC64GetImageTypeString(char *buf, const size_t len, const int type, const BOOL lng); |
307 void dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt, const char *indent); | 307 void dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt, const char *indent); |
308 | 308 |
309 void dmSetDefaultC64Palette(DMImage *img); | 309 int dmSetDefaultC64Palette(DMImage *img); |
310 BOOL dmSetMixedColorC64Palette(DMImage *img); | 310 int dmSetMixedColorC64Palette(DMImage *img); |
311 | 311 |
312 BOOL dmCompareAddr16(const DMGrowBuf *buf, const size_t offs, const Uint16 addr); | 312 BOOL dmCompareAddr16(const DMGrowBuf *buf, const size_t offs, const Uint16 addr); |
313 int dmC64ImageGetNumBanks(const DMC64ImageFormat *fmt); | 313 int dmC64ImageGetNumBanks(const DMC64ImageFormat *fmt); |
314 | 314 |
315 // C64 bitmap image allocation/freeing | 315 // C64 bitmap image allocation/freeing |