diff tools/lib64gfx.h @ 1852:219417325036

Split dmC64GetOpMemBlockAndName() into dmC64GetOpMemBlock() and dmC64GetOpSubjectName() functions for some flexibility.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 22 Jun 2018 23:40:20 +0300
parents 88cef7758303
children f382cde6bb58
line wrap: on
line diff
--- a/tools/lib64gfx.h	Fri Jun 22 23:11:58 2018 +0300
+++ b/tools/lib64gfx.h	Fri Jun 22 23:40:20 2018 +0300
@@ -114,6 +114,8 @@
     DS_D022,
     DS_D023,
     DS_D024,
+
+    DS_LAST
 };
 
 
@@ -313,7 +315,8 @@
 // Encoding and decoding of formats and images
 int       dmC64ConvertCSDataToImage(DMImage *img, int xoffs, int yoffs, const Uint8 *inBuf, int width, int height, BOOL multicolor, int *colors);
 
-void      dmC64GetOpMemBlockAndName(const DMC64Image *img, const int subject, const int bank, const DMC64MemBlock **blk, char **blkname);
+const char *dmC64GetOpSubjectName(const int subject);
+void      dmC64GetOpMemBlock(const DMC64Image *img, const int subject, const int bank, const DMC64MemBlock **blk);
 int       dmC64SanityCheckEncDecOp(const int i, const DMC64EncDecOp *op, const DMC64Image *img);
 BOOL      dmC64GetOpSize(const DMC64EncDecOp *op, const DMC64ImageFormat *fmt, size_t *size);