comparison tools/lib64util.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 cbac4912992c
children f808d3483d4b
comparison
equal deleted inserted replaced
2207:1ea48084055e 2208:90ec1ec89c56
25 25
26 char * dmC64GetImageTypeString(char *buf, const size_t len, const int type, const BOOL lng); 26 char * dmC64GetImageTypeString(char *buf, const size_t len, const int type, const BOOL lng);
27 void dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt, const char *indent); 27 void dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt, const char *indent);
28 28
29 29
30 BOOL argHandleC64PaletteOption(char *optArg, DMC64Palette **ppal, char **palFile);
31 int dmHandleExternalPalette(const char *filename, DMPalette **ppal);
32
33
30 #ifdef __cplusplus 34 #ifdef __cplusplus
31 } 35 }
32 #endif 36 #endif
33 37
34 #endif // LIB64UTIL_H 38 #endif // LIB64UTIL_H