comparison tools/lib64gfx.h @ 2397:698ee976fb23

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 10 Jan 2020 01:37:41 +0200
parents 89cb93184175
children 0b1928ed902f
comparison
equal deleted inserted replaced
2396:679732e4cfed 2397:698ee976fb23
66 66
67 67
68 // Different supported flags/modes 68 // Different supported flags/modes
69 enum 69 enum
70 { 70 {
71 D64_FMT_HIRES = 0x0001, // Hi-res 71 D64_FMT_HIRES = 0x000001, // Hi-res
72 D64_FMT_MC = 0x0002, // MultiColor 72 D64_FMT_MC = 0x000002, // MultiColor
73 D64_FMT_ECM = 0x0003, // ECM mode (applies only to character mode) 73 D64_FMT_ECM = 0x000003, // ECM mode (applies only to character mode)
74 D64_FMT_MODE_MASK = 0x000f, 74 D64_FMT_MODE_MASK = 0x00000f,
75 75
76 D64_FMT_ILACE = 0x0010, // Interlace 76 D64_FMT_ILACE = 0x000010, // Interlace
77 D64_FMT_FLI = 0x0020, // FLI 77 D64_FMT_FLI = 0x000020, // FLI
78 D64_FMT_CHAR = 0x0040, // Character mode 78 D64_FMT_CHAR = 0x000040, // Character mode
79 D64_FMT_BORDER = 0x0080, // Uses border area 79 D64_FMT_BORDER = 0x000080, // Uses border area
80 D64_FMT_SPRITES = 0x0100, // Uses sprite layer 80 D64_FMT_SPRITES = 0x000100, // Uses sprite layer
81
81 }; 82 };
82 83
83 84
84 // Different types of interlace 85 // Different types of interlace
85 enum 86 enum
86 { 87 {
87 D64_ILACE_NONE = 0x0000, // Not set (invalid for interlaced images) 88 D64_ILACE_NONE = 0x000000, // Not set (invalid for interlaced images)
88 D64_ILACE_RES = 0x0001, // Interlace doubles resolution 89 D64_ILACE_RES = 0x000001, // Interlace doubles resolution
89 D64_ILACE_COLOR = 0x0002, // Uses color mixing 90 D64_ILACE_COLOR = 0x000002, // Uses color mixing
90 }; 91 };
91 92
92 93
93 // Different types of interlace 94 // Different types of interlace
94 enum 95 enum
167 168
168 169
169 // Operation flags (DMC64EncDecOp::flags) 170 // Operation flags (DMC64EncDecOp::flags)
170 enum 171 enum
171 { 172 {
172 DF_NORMAL = 0xffff, 173 DF_NORMAL = 0xffffff,
173 DF_DECODE = 0x0001, 174 DF_DECODE = 0x000001,
174 DF_ENCODE = 0x0002, 175 DF_ENCODE = 0x000002,
175 }; 176 };
176 177
177 178
178 // Sprite flags (DMC64Sprite::flags) 179 // Sprite flags (DMC64Sprite::flags)
179 enum 180 enum
180 { 181 {
181 D64_SPRF_MC = 0x0001, 182 D64_SPRF_MC = 0x000001,
182 D64_SPRF_X_EXPAND = 0x0002, 183 D64_SPRF_X_EXPAND = 0x000002,
183 D64_SPRF_Y_EXPAND = 0x0004, 184 D64_SPRF_Y_EXPAND = 0x000004,
184 }; 185 };
185 186
186 187
187 typedef struct 188 typedef struct
188 { 189 {