summaryrefslogtreecommitdiff
path: root/textscreen/txt_font.h
diff options
context:
space:
mode:
authorSimon Howard2009-04-23 18:18:43 +0000
committerSimon Howard2009-04-23 18:18:43 +0000
commitc2a270f893a8cc08865f0093b02bc35c2b727dc6 (patch)
treeeeb66399849dac908c2e48b64fd1c08f7793750f /textscreen/txt_font.h
parent578fd9aafdee97bc95cb81811fdc63ca17dd2850 (diff)
downloadchocolate-doom-c2a270f893a8cc08865f0093b02bc35c2b727dc6.tar.gz
chocolate-doom-c2a270f893a8cc08865f0093b02bc35c2b727dc6.tar.bz2
chocolate-doom-c2a270f893a8cc08865f0093b02bc35c2b727dc6.zip
Add small textscreen font for low resolution displays, based on the
Atari-Small font by Tom Fine. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1501
Diffstat (limited to 'textscreen/txt_font.h')
-rw-r--r--textscreen/txt_font.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/textscreen/txt_font.h b/textscreen/txt_font.h
index 43d3b519..fa0fa186 100644
--- a/textscreen/txt_font.h
+++ b/textscreen/txt_font.h
@@ -28,7 +28,7 @@
#ifndef __FONT_H__
#define __FONT_H__
-static unsigned char int10_font_16[256 * 16] =
+static unsigned char main_font_data[] =
{
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -544,5 +544,12 @@ static unsigned char int10_font_16[256 * 16] =
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
+static txt_font_t main_font =
+{
+ main_font_data,
+ 8, // width
+ 16 // height
+};
+
#endif /* __FONT_H__ */