comparison tools/lib64fmts.c @ 2191:488130151097

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 13 Jun 2019 07:52:26 +0300
parents 0447f4c6c32b
children 0f114626fda8
comparison
equal deleted inserted replaced
2190:0447f4c6c32b 2191:488130151097
1384 const Uint8 *sprPtrs = fmtCrestSHFLI_Sprite_pointers[yc % 8]; 1384 const Uint8 *sprPtrs = fmtCrestSHFLI_Sprite_pointers[yc % 8];
1385 Uint8 *sp1, *sp2, *dp; 1385 Uint8 *sp1, *sp2, *dp;
1386 1386
1387 dptr = dstBuf + 3 * yd; 1387 dptr = dstBuf + 3 * yd;
1388 sp1 = mem.data + imgWidth * yc; 1388 sp1 = mem.data + imgWidth * yc;
1389 sp2 = sp1 + 0x800; 1389 sp2 = sp1 + 0x0800;
1390 1390
1391 for (int xc = 0; xc < 4; xc++) 1391 for (int xc = 0; xc < 4; xc++)
1392 { 1392 {
1393 dp = dptr + D64_SPR_SIZE * sprPtrs[xc]; 1393 dp = dptr + D64_SPR_SIZE * sprPtrs[xc];
1394 for (int xd = 0; xd < D64_SPR_WIDTH_UT; xd++) 1394 for (int xd = 0; xd < D64_SPR_WIDTH_UT; xd++)
2429 fmtDecodeFunPaint2, fmtEncodeFunPaint2Packed, 2429 fmtDecodeFunPaint2, fmtEncodeFunPaint2Packed,
2430 { }, &dmC64CommonFormats[3] 2430 { }, &dmC64CommonFormats[3]
2431 }, 2431 },
2432 2432
2433 { 2433 {
2434 "gun", "GunPaint v1.1 (unpacked)", 0x4000, 33603, DM_FMT_RDWR, 2434 "gun", "GunPaint 1.1 (unpacked)", 0x4000, 33603, DM_FMT_RDWR,
2435 fmtProbeGunPaint, 2435 fmtProbeGunPaint,
2436 NULL, NULL, 2436 NULL, NULL,
2437 { 2437 {
2438 D64_FMT_MC | D64_FMT_FLI | D64_FMT_ILACE, 2438 D64_FMT_MC | D64_FMT_FLI | D64_FMT_ILACE,
2439 D64_SCR_WIDTH, D64_SCR_HEIGHT, 2439 D64_SCR_WIDTH, D64_SCR_HEIGHT,