Mercurial > hg > dmlib
diff 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 |
line wrap: on
line diff
--- a/lib64gfx.h Mon Nov 19 15:52:44 2012 +0200 +++ b/lib64gfx.h Mon Nov 19 15:53:16 2012 +0200 @@ -77,6 +77,29 @@ Uint8 data[C64_SPR_HEIGHT][C64_SPR_WIDTH]; } DMC64Sprite; +enum +{ + DM_C64CHR_GLOBAL, // use font-global setting + DM_C64CHR_MULTICOLOR, // character is multicolor + DM_C64CHR_HIRES, +}; + +typedef struct +{ + int mode, color; + Uint8 data[C64_CHR_HEIGHT]; +} DMC64Char; + + +typedef struct +{ + BOOL multicolor; + int colbg, color, col1, col2; + int nglyphs; + DMC64Char *glyphs; +} DMC64Font; + + typedef struct {