Mercurial > hg > openttd
changeset 13189:cf7cb9667ab6 draft
(svn r17696) -Fix (r17693): compile failure when compiling without freetype
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sun, 04 Oct 2009 18:13:56 +0000 |
parents | eadb385b4efd |
children | a6d045f39f67 |
files | src/fontcache.h |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fontcache.h +++ b/src/fontcache.h @@ -13,6 +13,7 @@ #define FONTCACHE_H #include "gfx_type.h" +#include "spritecache.h" /** Get the SpriteID mapped to the given font size and key */ SpriteID GetUnicodeGlyph(FontSize size, uint32 key); @@ -43,7 +44,7 @@ void InitFreeType(); void UninitFreeType(); -const struct Sprite *GetGlyph(FontSize size, uint32 key); +const Sprite *GetGlyph(FontSize size, uint32 key); uint GetGlyphWidth(FontSize size, uint32 key); /**