summaryrefslogtreecommitdiffstats
path: root/src/include/video/fonttex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/video/fonttex.h')
-rw-r--r--src/include/video/fonttex.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/include/video/fonttex.h b/src/include/video/fonttex.h
new file mode 100644
index 0000000..f8ebbee
--- /dev/null
+++ b/src/include/video/fonttex.h
@@ -0,0 +1,21 @@
+#ifndef FONTTEX_H
+#define FONTTEX_H
+
+typedef struct {
+ int nTextures;
+
+ int texwidth; /* texture width */
+ int width; /* character width */
+
+ int lower; /* lowest ascii character (normally: 32) */
+ int upper; /* highest ascii character (normally: 126) */
+
+ int *texID;
+
+ char *fontname;
+ char *bitmapname;
+ int bitmapTexwidth;
+ int bitmapWidth; /* character width */
+} FontTex;
+
+#endif