comparison lib64gfx.h @ 534:fbfdc9e4fe2b

Begin preparations for improved bitmap conversion support. Breaks lib64gfx API.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 22 Nov 2012 21:09:15 +0200
parents 5b37a2e427b7
children 32d9e67da189
comparison
equal deleted inserted replaced
533:91e2d0d74e2f 534:fbfdc9e4fe2b
152 152
153 153
154 typedef struct _DMC64ImageFormat 154 typedef struct _DMC64ImageFormat
155 { 155 {
156 int type; 156 int type;
157 char *extension; 157 char *fext;
158 char *name; 158 char *name;
159 size_t addr; // Loading address (0 if no loading address) 159 size_t addr; // Loading address (0 if no loading address)
160 size_t size; // Size, including loading address. Only used in encoding, if even there (0 if no static size) 160 size_t size; // Size, including loading address. Only used in encoding, if even there (0 if no static size)
161 int (*probe)(const Uint8 *buf, const size_t len, const struct _DMC64ImageFormat *fmt); 161 int (*probe)(const Uint8 *buf, const size_t len, const struct _DMC64ImageFormat *fmt);
162 int (*decode)(DMC64Image *img, const Uint8 *buf, const size_t len, const struct _DMC64ImageFormat *fmt); 162 int (*decode)(DMC64Image *img, const Uint8 *buf, const size_t len, const struct _DMC64ImageFormat *fmt);