# HG changeset patch # User Matti Hamalainen # Date 1353333196 -7200 # Node ID 95a6b6af53f12d4b7940484b4326523310d2f271 # Parent 4cdcaeb68b5488d75e9a9eaa8cee27a1108a1cad Add some structures and enums for future. diff -r 4cdcaeb68b54 -r 95a6b6af53f1 lib64gfx.h --- 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 {