comparison tools/lib64gfx.h @ 2343:94a653883a32

Change Uint8 pointer in getPixel functions to DMC64ScanLine pointer in preparation for future changes related to sprites on scanlines.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 25 Sep 2019 12:11:35 +0300
parents a5c68b0d6e10
children fe025c461760
comparison
equal deleted inserted replaced
2342:a5c68b0d6e10 2343:94a653883a32
248 // See D64_EI_* constants. 248 // See D64_EI_* constants.
249 int extraInfo[D64_MAX_EXTRA_INFO]; 249 int extraInfo[D64_MAX_EXTRA_INFO];
250 } DMC64Image; 250 } DMC64Image;
251 251
252 252
253 typedef int (*DMC64GetPixelFunc)(Uint8 *col, 253 typedef struct
254 {
255 Uint8 *col;
256 } DMC64ScanLine;
257
258
259 typedef int (*DMC64GetPixelFunc)(DMC64ScanLine *scan,
254 const DMC64Image *img, const int rasterX, const int rasterY); 260 const DMC64Image *img, const int rasterX, const int rasterY);
255 261
256 262
257 typedef struct _DMC64EncDecOp 263 typedef struct _DMC64EncDecOp
258 { 264 {