Mercurial > hg > dmlib
changeset 2397:698ee976fb23
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 10 Jan 2020 01:37:41 +0200 |
parents | 679732e4cfed |
children | 0b1928ed902f |
files | tools/lib64gfx.h |
diffstat | 1 files changed, 19 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/lib64gfx.h Fri Jan 10 01:23:02 2020 +0200 +++ b/tools/lib64gfx.h Fri Jan 10 01:37:41 2020 +0200 @@ -68,25 +68,26 @@ // Different supported flags/modes enum { - D64_FMT_HIRES = 0x0001, // Hi-res - D64_FMT_MC = 0x0002, // MultiColor - D64_FMT_ECM = 0x0003, // ECM mode (applies only to character mode) - D64_FMT_MODE_MASK = 0x000f, + D64_FMT_HIRES = 0x000001, // Hi-res + D64_FMT_MC = 0x000002, // MultiColor + D64_FMT_ECM = 0x000003, // ECM mode (applies only to character mode) + D64_FMT_MODE_MASK = 0x00000f, - D64_FMT_ILACE = 0x0010, // Interlace - D64_FMT_FLI = 0x0020, // FLI - D64_FMT_CHAR = 0x0040, // Character mode - D64_FMT_BORDER = 0x0080, // Uses border area - D64_FMT_SPRITES = 0x0100, // Uses sprite layer + D64_FMT_ILACE = 0x000010, // Interlace + D64_FMT_FLI = 0x000020, // FLI + D64_FMT_CHAR = 0x000040, // Character mode + D64_FMT_BORDER = 0x000080, // Uses border area + D64_FMT_SPRITES = 0x000100, // Uses sprite layer + }; // Different types of interlace enum { - D64_ILACE_NONE = 0x0000, // Not set (invalid for interlaced images) - D64_ILACE_RES = 0x0001, // Interlace doubles resolution - D64_ILACE_COLOR = 0x0002, // Uses color mixing + D64_ILACE_NONE = 0x000000, // Not set (invalid for interlaced images) + D64_ILACE_RES = 0x000001, // Interlace doubles resolution + D64_ILACE_COLOR = 0x000002, // Uses color mixing }; @@ -169,18 +170,18 @@ // Operation flags (DMC64EncDecOp::flags) enum { - DF_NORMAL = 0xffff, - DF_DECODE = 0x0001, - DF_ENCODE = 0x0002, + DF_NORMAL = 0xffffff, + DF_DECODE = 0x000001, + DF_ENCODE = 0x000002, }; // Sprite flags (DMC64Sprite::flags) enum { - D64_SPRF_MC = 0x0001, - D64_SPRF_X_EXPAND = 0x0002, - D64_SPRF_Y_EXPAND = 0x0004, + D64_SPRF_MC = 0x000001, + D64_SPRF_X_EXPAND = 0x000002, + D64_SPRF_Y_EXPAND = 0x000004, };