comparison tools/lib64gfx.h @ 1489:71e847ea9d22

Move one function to a better place in the code.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 11 May 2018 05:23:52 +0300
parents c71b6c5204af
children 3b220604ae3c
comparison
equal deleted inserted replaced
1488:c71b6c5204af 1489:71e847ea9d22
195 extern const int ndmC64ImageFormats; 195 extern const int ndmC64ImageFormats;
196 196
197 197
198 void dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt); 198 void dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt);
199 void dmSetDefaultC64Palette(DMImage *img); 199 void dmSetDefaultC64Palette(DMImage *img);
200 char * dmC64GetImageTypeString(char *buf, const size_t len, const int type);
200 201
201 202
202 DMC64Image *dmC64ImageAlloc(const DMC64ImageFormat *fmt); 203 DMC64Image *dmC64ImageAlloc(const DMC64ImageFormat *fmt);
203 void dmC64ImageFree(DMC64Image *img); 204 void dmC64ImageFree(DMC64Image *img);
204 205
205 206
206 char * dmC64GetImageTypeString(char *buf, const size_t len, const int type);
207 int dmC64ConvertCSDataToImage(DMImage *img, int xoffs, int yoffs, const Uint8 *inBuf, int width, int height, BOOL multicolor, int *colors); 207 int dmC64ConvertCSDataToImage(DMImage *img, int xoffs, int yoffs, const Uint8 *inBuf, int width, int height, BOOL multicolor, int *colors);
208 208
209 int dmC64ProbeBMP(const Uint8 *buf, const size_t len, const DMC64ImageFormat **fmt); 209 int dmC64ProbeBMP(const Uint8 *buf, const size_t len, const DMC64ImageFormat **fmt);
210 210
211 int dmC64DecodeGenericBMP(DMC64Image *img, const Uint8 *buf, const size_t len, const DMC64ImageFormat *fmt); 211 int dmC64DecodeGenericBMP(DMC64Image *img, const Uint8 *buf, const size_t len, const DMC64ImageFormat *fmt);