# HG changeset patch # User Matti Hamalainen # Date 1560472045 -10800 # Node ID 3a25e85f0203485d16b04f93f895beef3ef00a4d # Parent cbac4912992c03d54553c6d6500964f18393a375 Cleanup. diff -r cbac4912992c -r 3a25e85f0203 tools/lib64gfx.h --- a/tools/lib64gfx.h Fri Jun 14 03:24:24 2019 +0300 +++ b/tools/lib64gfx.h Fri Jun 14 03:27:25 2019 +0300 @@ -355,13 +355,12 @@ int dmC64SetImagePalette(DMImage *img, const DMC64Palette *cpal, const BOOL mixed); BOOL dmCompareAddr16(const DMGrowBuf *buf, const size_t offs, const Uint16 addr); -int dmC64ImageGetNumBlocks(const DMC64ImageFormat *fmt); -// C64 bitmap image allocation/freeing int dmC64MemBlockAlloc(DMC64MemBlock *blk, const size_t size); int dmC64MemBlockCopy(DMC64MemBlock *dst, const DMC64MemBlock *src); void dmC64MemBlockFree(DMC64MemBlock *blk); +// C64 bitmap image allocation/freeing DMC64Image *dmC64ImageAlloc(const DMC64ImageFormat *fmt); void dmC64ImageFree(DMC64Image *img); @@ -369,6 +368,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); +int dmC64ImageGetNumBlocks(const DMC64ImageFormat *fmt); + const char *dmC64GetOpSubjectName(const int subject); const DMC64MemBlock * dmC64GetOpMemBlock(const DMC64Image *img, const int subject, const int bank); int dmC64SanityCheckEncDecOp(const int i, const DMC64EncDecOp *op, const DMC64Image *img);