aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include/proto
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/include/proto')
-rw-r--r--src/lib/include/proto/font_file.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/include/proto/font_file.h b/src/lib/include/proto/font_file.h
new file mode 100644
index 0000000..e57c0ab
--- /dev/null
+++ b/src/lib/include/proto/font_file.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <stdint.h>
+#include <stddef.h>
+
+#define ASCII_BITMAP_FONT_MAGIC 0xD184C274
+
+typedef struct {
+ uint32_t magic;
+ uint16_t cw, ch;
+ uint32_t nchars;
+} ascii_bitmap_font_header;
+
+/* vim: set ts=4 sw=4 tw=0 noet :*/