From c2a270f893a8cc08865f0093b02bc35c2b727dc6 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 23 Apr 2009 18:18:43 +0000 Subject: 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 --- textscreen/txt_font.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'textscreen/txt_font.h') 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__ */ -- cgit v1.2.3