forked from hkc/cc-stuff
1
0
Fork 0

GlyphBitmap typedef

This commit is contained in:
Vftdan 2024-10-03 19:35:31 +02:00
parent 6028bb419e
commit 46f8ecd68e
1 changed files with 2 additions and 1 deletions

View File

@ -30,8 +30,9 @@ struct palette {
};
#define LENGTHOF(...) (sizeof(__VA_ARGS__) / sizeof(*(__VA_ARGS__)))
#define PALETTE(...) { .count = LENGTHOF((union color[]){__VA_ARGS__}), .colors = {__VA_ARGS__} }
typedef char GlyphBitmap[11];
const extern char font_atlas[256][11];
const extern GlyphBitmap font_atlas[256];
const extern struct palette DEFAULT_PALETTE, DEFAULT_GRAY_PALETTE;
struct arguments {