summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-03-18 08:37:58 +0000
committerDarkvater <darkvater@openttd.org>2006-03-18 08:37:58 +0000
commitefe65dc6662888c5f649a48bc8326f47d072e0ee (patch)
treea1d3d12fceac06eeb035304bf20d7d836ab4fd76
parente54f1e1e2b5155c56a29ac32bc852507b04b9341 (diff)
downloadopenttd-efe65dc6662888c5f649a48bc8326f47d072e0ee.tar.xz
(svn r3940) - FS#56 [Crash] Missing glyph(s) in big-font. Added several missing glyphs for the big font.
-rw-r--r--data/openttd.grfbin25296 -> 25704 bytes
-rw-r--r--gfx.c2
-rw-r--r--gfxinit.c6
3 files changed, 7 insertions, 1 deletions
diff --git a/data/openttd.grf b/data/openttd.grf
index d381cffee..6204dd1b0 100644
--- a/data/openttd.grf
+++ b/data/openttd.grf
Binary files differ
diff --git a/gfx.c b/gfx.c
index f75183c40..8c7a94feb 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 e60a5308a..78c2367a3 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
};