Mercurial > hg > dmlib
comparison tools/lib64gfx.h @ 1645:262300a0359b
Add helper functions dmReverse{Get,Put}Byte().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 30 May 2018 00:57:21 +0300 |
parents | 9d9a0e852b3d |
children | 948d6fda722d |
comparison
equal
deleted
inserted
replaced
1644:9d9a0e852b3d | 1645:262300a0359b |
---|---|
232 void dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt); | 232 void dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt); |
233 | 233 |
234 void dmSetDefaultC64Palette(DMImage *img); | 234 void dmSetDefaultC64Palette(DMImage *img); |
235 BOOL dmCompareAddr16(const Uint8 *buf, const size_t offs, const Uint16 addr); | 235 BOOL dmCompareAddr16(const Uint8 *buf, const size_t offs, const Uint16 addr); |
236 int dmC64ImageGetNumBanks(const DMC64ImageFormat *fmt); | 236 int dmC64ImageGetNumBanks(const DMC64ImageFormat *fmt); |
237 BOOL dmReverseGetByte(const Uint8 *buf, size_t *offs, Uint8 *data); | |
238 BOOL dmReversePutByte(Uint8 *buf, size_t *offs, const Uint8 data); | |
237 | 239 |
238 // C64 bitmap image allocation/freeing | 240 // C64 bitmap image allocation/freeing |
239 int dmC64MemBlockAlloc(DMC64MemBlock *blk, const size_t size); | 241 int dmC64MemBlockAlloc(DMC64MemBlock *blk, const size_t size); |
240 int dmC64MemBlockCopy(DMC64MemBlock *dst, const DMC64MemBlock *src); | 242 int dmC64MemBlockCopy(DMC64MemBlock *dst, const DMC64MemBlock *src); |
241 void dmC64MemBlockFree(DMC64MemBlock *blk); | 243 void dmC64MemBlockFree(DMC64MemBlock *blk); |