Mercurial > hg > dmlib
comparison lib64gfx.h @ 512:95a6b6af53f1
Add some structures and enums for future.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 19 Nov 2012 15:53:16 +0200 |
parents | 4cdcaeb68b54 |
children | a896c1153e4e |
comparison
equal
deleted
inserted
replaced
511:4cdcaeb68b54 | 512:95a6b6af53f1 |
---|---|
74 { | 74 { |
75 BOOL multicolor, xexpand, yexpand; | 75 BOOL multicolor, xexpand, yexpand; |
76 int color, xc, yc; | 76 int color, xc, yc; |
77 Uint8 data[C64_SPR_HEIGHT][C64_SPR_WIDTH]; | 77 Uint8 data[C64_SPR_HEIGHT][C64_SPR_WIDTH]; |
78 } DMC64Sprite; | 78 } DMC64Sprite; |
79 | |
80 enum | |
81 { | |
82 DM_C64CHR_GLOBAL, // use font-global setting | |
83 DM_C64CHR_MULTICOLOR, // character is multicolor | |
84 DM_C64CHR_HIRES, | |
85 }; | |
86 | |
87 typedef struct | |
88 { | |
89 int mode, color; | |
90 Uint8 data[C64_CHR_HEIGHT]; | |
91 } DMC64Char; | |
92 | |
93 | |
94 typedef struct | |
95 { | |
96 BOOL multicolor; | |
97 int colbg, color, col1, col2; | |
98 int nglyphs; | |
99 DMC64Char *glyphs; | |
100 } DMC64Font; | |
101 | |
79 | 102 |
80 | 103 |
81 typedef struct | 104 typedef struct |
82 { | 105 { |
83 int type, // Image type (DM_C64IFMT_*) | 106 int type, // Image type (DM_C64IFMT_*) |