Mercurial > hg > dmlib
changeset 915:ba6b210c9bf4
Cosmetic.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 25 Feb 2015 02:50:57 +0200 |
parents | 9ab4fb6458f9 |
children | 3985f596ece5 |
files | tools/lib64gfx.c tools/lib64gfx.h |
diffstat | 2 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/lib64gfx.c Tue Feb 24 01:11:03 2015 +0200 +++ b/tools/lib64gfx.c Wed Feb 25 02:50:57 2015 +0200 @@ -70,7 +70,8 @@ int dmC64ConvertCSDataToImage(DMImage *img, int xoffs, int yoffs, const Uint8 *buf, - int width, int height, BOOL multicolor, int *colors) + int width, int height, BOOL multicolor, + int *colors) { int yc, widthpx = width * 8; Uint8 *dp;
--- a/tools/lib64gfx.h Tue Feb 24 01:11:03 2015 +0200 +++ b/tools/lib64gfx.h Wed Feb 25 02:50:57 2015 +0200 @@ -84,7 +84,7 @@ enum { - D64_CHR_GLOBAL, // use font-global setting + D64_CHR_GLOBAL, // use font-global setting D64_CHR_MULTICOLOR, // character is multicolor D64_CHR_HIRES, }; @@ -114,11 +114,12 @@ laceBank1, laceBank2; - Uint8 color[C64_SCR_MAX_BANK][C64_SCR_COLOR_SIZE], - bitmap[C64_SCR_MAX_BANK][C64_SCR_BITMAP_SIZE], - screen[C64_SCR_MAX_BANK][C64_SCR_SCREEN_SIZE], - extradata[C64_SCR_EXTRADATA], - d020, bgcolor, d022, d023, d024; + Uint8 + color[C64_SCR_MAX_BANK][C64_SCR_COLOR_SIZE], + bitmap[C64_SCR_MAX_BANK][C64_SCR_BITMAP_SIZE], + screen[C64_SCR_MAX_BANK][C64_SCR_SCREEN_SIZE], + extradata[C64_SCR_EXTRADATA], + d020, bgcolor, d022, d023, d024; Uint8 charset[C64_MAX_CHARS][C64_CHR_HEIGHT * C64_CHR_WIDTH]; DMC64Sprite sprites[C64_MAX_SPRITES];