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:
parent
94d01ba7a3
commit
80f13e1973
1 changed files with 6 additions and 3 deletions
|
@ -1125,9 +1125,12 @@ int CharsetRenderer::getSpacing(byte chr, byte *charset)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME - this fixes the inventory icons in Zak256, see bug #613109
|
// FIXME - this fixes the inventory icons in Zak256/Indy3
|
||||||
if (_vm->_gameId == GID_ZAK256 && (chr==3 || chr==4))
|
// 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;
|
spacing = 6;
|
||||||
|
|
||||||
return spacing;
|
return spacing;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue