diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/lib64util.h	Fri Jun 14 03:24:24 2019 +0300
@@ -0,0 +1,34 @@
+/*
+ * Common utility functions for gfxconv and 64vw
+ * Programmed and designed by Matti 'ccr' Hamalainen
+ * (C) Copyright 2019 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
+
+
+// Define default character ROM path
+#ifndef DM_DEF_CHARGEN
+#define DM_DEF_CHARGEN "/usr/local/lib64/vice/C64/chargen"
+#endif
+
+
+
+
+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);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // LIB64UTIL_H