comparison tools/lib64gfx.h @ 1545:3b613fcbf3ff

Improve how format read/write capabilities are marked and shown.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 12 May 2018 21:01:46 +0300
parents 776aa43b2c57
children 86373ac0861a
comparison
equal deleted inserted replaced
1544:48823642c4fb 1545:3b613fcbf3ff
177 char *name; // Format description/name 177 char *name; // Format description/name
178 178
179 size_t addr; // Loading address (0 if no loading address) 179 size_t addr; // Loading address (0 if no loading address)
180 size_t size; // Size, including loading address. Only used in probing and encoding. 180 size_t size; // Size, including loading address. Only used in probing and encoding.
181 181
182 int flags; // DM_FMT_* flags, see libgfx.h
183
182 int width, height; // Width and height in pixels 184 int width, height; // Width and height in pixels
183 int chWidth, chHeight; // Width and height in charblocks 185 int chWidth, chHeight; // Width and height in charblocks
184 186
185 int (*probe)(const Uint8 *buf, const size_t len, const struct _DMC64ImageFormat *fmt); 187 int (*probe)(const Uint8 *buf, const size_t len, const struct _DMC64ImageFormat *fmt);
186 188