summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-20 11:56:51 +0000
committerrubidium <rubidium@openttd.org>2011-11-20 11:56:51 +0000
commitdfefcab47d563a7274ab8f410a8dcf2abc53cd62 (patch)
tree757750e78de8a5ecbe70ffb6ed2cc1df9924a332 /src/gfx_func.h
parent0a4a75b0afbeeab6be1eb7ccfd03ef603a4646b9 (diff)
downloadopenttd-dfefcab47d563a7274ab8f410a8dcf2abc53cd62.tar.xz
(svn r23274) -Add: internal support for a monospaced sprite font
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r--src/gfx_func.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h
index bb024f6d9..8023c3ee1 100644
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -172,6 +172,9 @@ static inline byte GetCharacterHeight(FontSize size)
/** Height of characters in the large (#FS_LARGE) font. */
#define FONT_HEIGHT_LARGE (GetCharacterHeight(FS_LARGE))
+/** Height of characters in the large (#FS_MONO) font. */
+#define FONT_HEIGHT_MONO (GetCharacterHeight(FS_MONO))
+
extern DrawPixelInfo *_cur_dpi;
/**