summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilefont.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-24 00:31:57 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-24 00:31:57 +0000
commitc2457cbc9315371f712321e7d0263883151eb196 (patch)
treebbd1189f7a484bdcaaccd2d38e1f32552bc43958 /crawl-ref/source/tilefont.h
parent01b9f925de89c9c68dc845da151011414e57cc92 (diff)
downloadcrawl-ref-c2457cbc9315371f712321e7d0263883151eb196.tar.gz
crawl-ref-c2457cbc9315371f712321e7d0263883151eb196.zip
More configurable fonts for Tiles.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6654 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilefont.h')
-rw-r--r--crawl-ref/source/tilefont.h7
1 files changed, 5 insertions, 2 deletions
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;
};