Mercurial > hg > dmlib
view tools/lib64util.h @ 2499:b7d340e045fb
Bump gfxconv version.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 28 Apr 2020 21:11:05 +0300 |
parents | 89cb93184175 |
children | a40de347fcb0 |
line wrap: on
line source
/* * Common utility functions for gfxconv and 64vw * Programmed and designed by Matti 'ccr' Hamalainen * (C) Copyright 2019-2020 Tecnic Software productions (TNSP) * * Please read file 'COPYING' for information on license and distribution. */ #ifndef LIB64UTIL_H #define LIB64UTIL_H 1 #include "lib64gfx.h" #ifdef __cplusplus extern "C" { #endif // Default character file ROM path, if not defined yet #ifndef DM_DEF_CHARGEN #define DM_DEF_CHARGEN "/usr/local/lib64/vice/C64/chargen" #endif // // Global variables // // Some C64 palettes extern DMC64Palette dmC64DefaultPalettes[]; extern const int ndmC64DefaultPalettes; // // Functions // 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 argShowC64PaletteHelp(FILE *fh); void argShowC64Formats(FILE *fh, const BOOL rw); BOOL argHandleC64PaletteOption(char *optArg, DMC64Palette **ppal, char **palFile); int dmHandleExternalPalette(const char *filename, DMPalette **ppal); #ifdef __cplusplus } #endif #endif // LIB64UTIL_H