From c2457cbc9315371f712321e7d0263883151eb196 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Thu, 24 Jul 2008 00:31:57 +0000 Subject: More configurable fonts for Tiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6654 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tilefont.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/tilefont.h') diff --git a/crawl-ref/source/tilefont.h b/crawl-ref/source/tilefont.h index 5d8939a9a9..20ed52f5d4 100644 --- a/crawl-ref/source/tilefont.h +++ b/crawl-ref/source/tilefont.h @@ -50,10 +50,13 @@ protected: struct GlyphInfo { // offset before drawing glyph; can be negative - int offset; + char offset; // per-glyph horizontal advance - int advance; + char advance; + + // per-glyph width + char width; bool renderable; }; -- cgit v1.2.3-54-g00ecf