comparison tools/lib64gfx.h @ 1537:776aa43b2c57

Tiny improvement in MC->FLI upconversion.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 12 May 2018 04:46:08 +0300
parents 3265175b24d2
children 3b613fcbf3ff
comparison
equal deleted inserted replaced
1536:064fc2e3ee64 1537:776aa43b2c57
222 void dmSetDefaultC64Palette(DMImage *img); 222 void dmSetDefaultC64Palette(DMImage *img);
223 char * dmC64GetImageTypeString(char *buf, const size_t len, const int type, const BOOL lng); 223 char * dmC64GetImageTypeString(char *buf, const size_t len, const int type, const BOOL lng);
224 int dmC64ConvertCSDataToImage(DMImage *img, int xoffs, int yoffs, const Uint8 *inBuf, int width, int height, BOOL multicolor, int *colors); 224 int dmC64ConvertCSDataToImage(DMImage *img, int xoffs, int yoffs, const Uint8 *inBuf, int width, int height, BOOL multicolor, int *colors);
225 int dmC64ImageGetNumBanks(const DMC64ImageFormat *fmt); 225 int dmC64ImageGetNumBanks(const DMC64ImageFormat *fmt);
226 BOOL dmCompareAddr16(const Uint8 *buf, const size_t offs, const Uint16 addr); 226 BOOL dmCompareAddr16(const Uint8 *buf, const size_t offs, const Uint16 addr);
227 int dmC64SanityCheckEncDecOp(const int i, const DMC64EncDecOp *op, const DMC64Image *img);
228 BOOL dmC64GetOpSize(const DMC64EncDecOp *op, const DMC64ImageFormat *fmt, size_t *size);
227 229
228 230
229 // C64 bitmap image allocation/freeing 231 // C64 bitmap image allocation/freeing
230 DMC64Image *dmC64ImageAlloc(const DMC64ImageFormat *fmt); 232 DMC64Image *dmC64ImageAlloc(const DMC64ImageFormat *fmt);
231 void dmC64ImageFree(DMC64Image *img); 233 void dmC64ImageFree(DMC64Image *img);