# HG changeset patch # User Matti Hamalainen # Date 1578613061 -7200 # Node ID 698ee976fb235420ce5687c0ff96a26c6d3f63f7 # Parent 679732e4cfed747b5cd09525ef6a22627aa82b9a Cosmetics. diff -r 679732e4cfed -r 698ee976fb23 tools/lib64gfx.h --- 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, };