comparison tools/lib64gfx.h @ 2335:552146218ace

Comment adjustments.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 19 Sep 2019 12:09:06 +0300
parents 46b929f822f8
children 4b96459be0d6
comparison
equal deleted inserted replaced
2334:0e355702435d 2335:552146218ace
193 193
194 194
195 typedef struct 195 typedef struct
196 { 196 {
197 int dither; // Dither mode (D64_DITH_*) 197 int dither; // Dither mode (D64_DITH_*)
198 BOOL aspect; // Correct pixel aspect ratio? 198 BOOL aspect; // Render using pixel aspectX/aspectY
199 199
200 DMPalette *pal; // Use this palette 200 DMPalette *pal; // Use this palette
201 DMC64Palette *cpal; // If ^pal == NULL, use this C64 palette 201 DMC64Palette *cpal; // If ^pal == NULL, use this C64 palette
202 } DMC64ImageConvSpec; 202 } DMC64ImageConvSpec;
203 203
278 typedef struct _DMC64ImageCommonFormat 278 typedef struct _DMC64ImageCommonFormat
279 { 279 {
280 int mode, // Format mode/type flags, see D64_FMT_* 280 int mode, // Format mode/type flags, see D64_FMT_*
281 width, height, // Width and height in pixels 281 width, height, // Width and height in pixels
282 chWidth, chHeight, // Width and height in charblocks 282 chWidth, chHeight, // Width and height in charblocks
283 aspectX, aspectY; // Pixel aspectX/Y 283 aspectX, aspectY; // Pixel aspectX/Y (x=2 for multicolor, y=1 always)
284 284
285 int (*convertFrom)(DMImage *dst, const DMC64Image *src, const DMC64ImageConvSpec *spec); 285 int (*convertFrom)(DMImage *dst, const DMC64Image *src, const DMC64ImageConvSpec *spec);
286 int (*convertTo)(DMC64Image *dst, const DMImage *src, const DMC64ImageFormat *fmt, const DMC64ImageConvSpec *spec); 286 int (*convertTo)(DMC64Image *dst, const DMImage *src, const DMC64ImageFormat *fmt, const DMC64ImageConvSpec *spec);
287 287
288 DMC64GetPixelFunc getPixel; 288 DMC64GetPixelFunc getPixel;