Mercurial > hg > dmlib
comparison gfxconv.c @ 546:e74a0e027681
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 22 Nov 2012 22:29:16 +0200 |
parents | fbfdc9e4fe2b |
children | ca5ad51c6479 |
comparison
equal
deleted
inserted
replaced
545:57ca9352f9de | 546:e74a0e027681 |
---|---|
1114 int dmWriteSpritesAndChars(const char *filename, DMImage *image, int outFormat, BOOL multicolor) | 1114 int dmWriteSpritesAndChars(const char *filename, DMImage *image, int outFormat, BOOL multicolor) |
1115 { | 1115 { |
1116 int outBlockW, outBlockH, bx, by; | 1116 int outBlockW, outBlockH, bx, by; |
1117 FILE *outFile = NULL; | 1117 FILE *outFile = NULL; |
1118 Uint8 *buf = NULL; | 1118 Uint8 *buf = NULL; |
1119 size_t bufSize; | |
1119 char *outType; | 1120 char *outType; |
1120 size_t bufSize; | |
1121 | 1121 |
1122 switch (outFormat) | 1122 switch (outFormat) |
1123 { | 1123 { |
1124 case FFMT_CHAR: | 1124 case FFMT_CHAR: |
1125 bufSize = C64_CHR_SIZE; | 1125 bufSize = C64_CHR_SIZE; |