mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 03:12:41 +00:00
(svn r3970) - FS#56 - [Crash] Missing glyph(s) in big-font. Added several missing glyphs for the big font. Backport of r3940 from trunk
This commit is contained in:
parent
e4bbd3b41c
commit
7170357a10
BIN
data/openttd.grf
BIN
data/openttd.grf
Binary file not shown.
2
gfx.c
2
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user