Mercurial > hg > dmlib
comparison tools/lib64gfx.h @ 1488:c71b6c5204af
Factor the C64 bitmap image format info dump function to lib64gfx and use it from 64vw.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 11 May 2018 05:23:07 +0300 |
parents | bc13af8954d7 |
children | 71e847ea9d22 |
comparison
equal
deleted
inserted
replaced
1487:06df2bdf5dc4 | 1488:c71b6c5204af |
---|---|
192 | 192 |
193 extern DMColor dmDefaultC64Palette[C64_NCOLORS]; | 193 extern DMColor dmDefaultC64Palette[C64_NCOLORS]; |
194 extern const DMC64ImageFormat dmC64ImageFormats[]; | 194 extern const DMC64ImageFormat dmC64ImageFormats[]; |
195 extern const int ndmC64ImageFormats; | 195 extern const int ndmC64ImageFormats; |
196 | 196 |
197 | |
198 void dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt); | |
197 void dmSetDefaultC64Palette(DMImage *img); | 199 void dmSetDefaultC64Palette(DMImage *img); |
198 | 200 |
199 | 201 |
200 DMC64Image *dmC64ImageAlloc(const DMC64ImageFormat *fmt); | 202 DMC64Image *dmC64ImageAlloc(const DMC64ImageFormat *fmt); |
201 void dmC64ImageFree(DMC64Image *img); | 203 void dmC64ImageFree(DMC64Image *img); |