From efe65dc6662888c5f649a48bc8326f47d072e0ee Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 18 Mar 2006 08:37:58 +0000 Subject: [PATCH] (svn r3940) - FS#56 [Crash] Missing glyph(s) in big-font. Added several missing glyphs for the big font. --- data/openttd.grf | Bin 25296 -> 25704 bytes gfx.c | 2 +- gfxinit.c | 6 ++++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/data/openttd.grf b/data/openttd.grf index d381cffee62723d5484c5a1174803f87cc125774..6204dd1b0bc92be40b7a2bea7f146486ceff6df9 100644 GIT binary patch delta 427 zcmaKouTR5J5XbMjwrjU;?S7DLut7*>Ab~A`EF&Ng69k2*!7Xz*kf;UsWECN(;wGQ0 ze1_x&_2iS4_g{?Hk`NT;)aU!X&z<^2lE}YS>kq(|4*=V(YbGL+t36%QVcr#kY&RXN zQ+*{Gyr<)&$8S|EF8R}j(JKKqqap&HnLp8ruB)cpkt043p`7IB`CNFk5FIh%k$7Mc zo3fZaW-sYG;F1rC?+c4*R*)+>-%(>M&db{ZsK&AjMId1rVuUwtJPA#_#1uD zE_qp9w)H>`?RZK|xpyjn%^0& V@H({rim5>LX|Gh`DgXcg diff --git a/gfx.c b/gfx.c index f75183c40f..8c7a94febf 100644 --- a/gfx.c +++ b/gfx.c @@ -1620,7 +1620,7 @@ void LoadStringWidthTable(void) } for (i = 450; i != 674; i++) { - *b++ = (i < 545 || i > 577) && i != 585 && i != 587 && i != 588 && (i < 590 || i > 597) && (i < 599 || i > 601) && i != 603 && i != 633 && i != 665 ? GetSprite(i)->width + 1 : 0; + *b++ = (i < 545 || i > 577) && i != 588 && i != 590 && i != 591 && i != 593 && (i < 599 || i > 601) && i != 603 ? GetSprite(i)->width + 1 : 0; } } diff --git a/gfxinit.c b/gfxinit.c index e60a5308ab..78c2367a3e 100644 --- a/gfxinit.c +++ b/gfxinit.c @@ -314,6 +314,12 @@ static const SpriteID _openttd_grf_indexes[] = { 93, 96, // { | } ~ medium 541, 544, // { | } ~ large SPR_HOUSE_ICON, SPR_HOUSE_ICON, + 585, 585, // § large + 587, 587, // © large + 592, 592, // ® large + 594, 597, // ° ± ² ³ large + 633, 633, // × large + 665, 665, // ÷ large END };