comparison tools/lib64util.h @ 2204:cbac4912992c

Add new module "lib64util", and move some functions there from lib64gfx that do not strictly belong.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 14 Jun 2019 03:24:24 +0300
parents
children 90ec1ec89c56
comparison
equal deleted inserted replaced
2203:b259312ddb59 2204:cbac4912992c
1 /*
2 * Common utility functions for gfxconv and 64vw
3 * Programmed and designed by Matti 'ccr' Hamalainen
4 * (C) Copyright 2019 Tecnic Software productions (TNSP)
5 *
6 * Please read file 'COPYING' for information on license and distribution.
7 */
8 #ifndef LIB64UTIL_H
9 #define LIB64UTIL_H 1
10
11 #include "lib64gfx.h"
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17
18 // Define default character ROM path
19 #ifndef DM_DEF_CHARGEN
20 #define DM_DEF_CHARGEN "/usr/local/lib64/vice/C64/chargen"
21 #endif
22
23
24
25
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);
28
29
30 #ifdef __cplusplus
31 }
32 #endif
33
34 #endif // LIB64UTIL_H