add top arrow and indy3 to the inventory arrow fix. the spacing and text handling is pretty much identical by the way between indy3 and zak256. the intial code to make the text in both games readable included the original getSpacing I added in which the spacing was based on pixel comparisons of indy3. I see it has been refined somewhat since then :)

svn-id: r5641
This commit is contained in:
Jonathan Gray 2002-11-20 13:58:23 +00:00
parent 94d01ba7a3
commit 80f13e1973

View file

@ -1126,8 +1126,11 @@ int CharsetRenderer::getSpacing(byte chr, byte *charset)
}
}
// FIXME - this fixes the inventory icons in Zak256, see bug #613109
if (_vm->_gameId == GID_ZAK256 && (chr==3 || chr==4))
// FIXME - this fixes the inventory icons in Zak256/Indy3
// see bug #613109.
// chars 1,2: up arrow chars 3,4: down arrow
if ((_vm->_gameId == GID_ZAK256 || _vm->_gameId == GID_INDY3_256)
&& (chr >= 1 && chr <= 4))
spacing = 6;
return spacing;