Mercurial > hg > dmlib
comparison tools/lib64gfx.h @ 2208:90ec1ec89c56
Revamp the palette handling in lib64gfx somewhat, add helper functions to
lib64util for handling external palette file options and add support for
specifying one of the "internal" palettes or external (.act) palette file to
gfxconv and 64vw.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 14 Jun 2019 05:01:12 +0300 |
parents | 7694b5c8edc1 |
children | 75b5bb490f38 |
comparison
equal
deleted
inserted
replaced
2207:1ea48084055e | 2208:90ec1ec89c56 |
---|---|
350 // | 350 // |
351 // Miscellaneous functions | 351 // Miscellaneous functions |
352 // | 352 // |
353 int dmC64ProbeBMP(const DMGrowBuf *buf, const DMC64ImageFormat **fmt); | 353 int dmC64ProbeBMP(const DMGrowBuf *buf, const DMC64ImageFormat **fmt); |
354 | 354 |
355 int dmC64PaletteFromC64Palette(DMPalette **ppal, const DMC64Palette *pcpal, const BOOL mixed); | 355 int dmC64PaletteFromC64Palette(DMPalette **ppal, const DMC64Palette *cpal, const BOOL mixed); |
356 int dmC64SetImagePalette(DMImage *img, const DMC64Palette *cpal, const BOOL mixed); | 356 int dmC64SetImagePalette(DMImage *img, const DMC64ImageConvSpec *spec, const BOOL mixed); |
357 | 357 |
358 BOOL dmCompareAddr16(const DMGrowBuf *buf, const size_t offs, const Uint16 addr); | 358 BOOL dmCompareAddr16(const DMGrowBuf *buf, const size_t offs, const Uint16 addr); |
359 | 359 |
360 int dmC64MemBlockAlloc(DMC64MemBlock *blk, const size_t size); | 360 int dmC64MemBlockAlloc(DMC64MemBlock *blk, const size_t size); |
361 int dmC64MemBlockCopy(DMC64MemBlock *dst, const DMC64MemBlock *src); | 361 int dmC64MemBlockCopy(DMC64MemBlock *dst, const DMC64MemBlock *src); |