Mercurial > hg > dmlib
comparison tools/lib64gfx.h @ 923:0f477446448d
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 25 Feb 2015 15:09:37 +0200 |
parents | 658bf4c452d0 |
children | 732787cccca8 |
comparison
equal
deleted
inserted
replaced
922:658bf4c452d0 | 923:0f477446448d |
---|---|
19 // Bitmap constants | 19 // Bitmap constants |
20 #define C64_SCR_WIDTH 320 | 20 #define C64_SCR_WIDTH 320 |
21 #define C64_SCR_HEIGHT 200 | 21 #define C64_SCR_HEIGHT 200 |
22 #define C64_SCR_CH_WIDTH (C64_SCR_WIDTH/8) | 22 #define C64_SCR_CH_WIDTH (C64_SCR_WIDTH/8) |
23 #define C64_SCR_CH_HEIGHT (C64_SCR_HEIGHT/8) | 23 #define C64_SCR_CH_HEIGHT (C64_SCR_HEIGHT/8) |
24 #define C64_SCR_COLOR_SIZE (C64_SCR_CH_WIDTH * C64_SCR_CH_HEIGHT) | 24 #define C64_SCR_COLOR_SIZE ((C64_SCR_CH_WIDTH) * (C64_SCR_CH_HEIGHT)) |
25 #define C64_SCR_SCREEN_SIZE (C64_SCR_CH_WIDTH * C64_SCR_CH_HEIGHT) | 25 #define C64_SCR_SCREEN_SIZE ((C64_SCR_CH_WIDTH) * (C64_SCR_CH_HEIGHT)) |
26 #define C64_SCR_BITMAP_SIZE (C64_SCR_WIDTH * C64_SCR_HEIGHT/8) | 26 #define C64_SCR_BITMAP_SIZE ((C64_SCR_WIDTH * C64_SCR_HEIGHT)/8) |
27 #define C64_SCR_EXTRADATA 1024 | 27 #define C64_SCR_EXTRADATA 1024 |
28 #define C64_SCR_MAX_BANK 8 | 28 #define C64_SCR_MAX_BANK 8 |
29 | 29 |
30 // C64 video screen pixel aspect ratio on PAL | 30 // C64 video screen pixel aspect ratio on PAL |
31 #define C64_SCR_PAR_XY (0.9365f) | 31 #define C64_SCR_PAR_XY (0.9365f) |
195 int nencdecOps; | 195 int nencdecOps; |
196 DMC64EncDecOp encdecOps[D64_MAX_ENCDEC_OPS]; | 196 DMC64EncDecOp encdecOps[D64_MAX_ENCDEC_OPS]; |
197 } DMC64ImageFormat; | 197 } DMC64ImageFormat; |
198 | 198 |
199 | 199 |
200 extern const size_t dmC64DefaultSizes[DT_LAST]; | |
201 extern DMColor dmC64Palette[C64_NCOLORS]; | 200 extern DMColor dmC64Palette[C64_NCOLORS]; |
202 extern const DMC64ImageFormat dmC64ImageFormats[]; | 201 extern const DMC64ImageFormat dmC64ImageFormats[]; |
203 extern const int ndmC64ImageFormats; | 202 extern const int ndmC64ImageFormats; |
204 | 203 |
205 | 204 |