diff 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
line wrap: on
line diff
--- a/tools/lib64util.h	Fri Jun 14 03:28:46 2019 +0300
+++ b/tools/lib64util.h	Fri Jun 14 05:01:12 2019 +0300
@@ -27,6 +27,10 @@
 void      dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt, const char *indent);
 
 
+BOOL argHandleC64PaletteOption(char *optArg, DMC64Palette **ppal, char **palFile);
+int dmHandleExternalPalette(const char *filename, DMPalette **ppal);
+
+
 #ifdef __cplusplus
 }
 #endif