Mercurial > hg > dmlib
changeset 2205:3a25e85f0203
Cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 14 Jun 2019 03:27:25 +0300 |
parents | cbac4912992c |
children | 7694b5c8edc1 |
files | tools/lib64gfx.h |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);