Mercurial > hg > dmlib
comparison gfxconv.c @ 477:0fd0e301b6fc
Add incbin line for ARAW output.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 07 Nov 2012 01:46:49 +0200 |
parents | 3256cd39f5be |
children | 7c7a57590236 |
comparison
equal
deleted
inserted
replaced
476:3256cd39f5be | 477:0fd0e301b6fc |
---|---|
940 palID, image->ncolors, | 940 palID, image->ncolors, |
941 palID); | 941 palID); |
942 | 942 |
943 dmWriteIFFMasterRAWPalette(fp, image, 1 << optSpec.nplanes, NULL, NULL); | 943 dmWriteIFFMasterRAWPalette(fp, image, 1 << optSpec.nplanes, NULL, NULL); |
944 | 944 |
945 fprintf(fp, | |
946 "%s: incbin \"%s\"\n", | |
947 palID, filename); | |
948 | |
945 fclose(fp); | 949 fclose(fp); |
946 dmFree(palID); | 950 dmFree(palID); |
947 } | 951 } |
948 | 952 |
949 if (info) dmMsg(2, "%d bitplanes, %s interleave.\n", spec->nplanes, spec->interleave ? "with" : "without"); | 953 if (info) dmMsg(2, "%d bitplanes, %s interleave.\n", spec->nplanes, spec->interleave ? "with" : "without"); |