Add string height override for loom

svn-id: r17178
This commit is contained in:
Travis Howell 2005-03-18 15:04:37 +00:00
parent 749cf8a083
commit 47e9cc1b3a
4 changed files with 13 additions and 8 deletions

View file

@ -234,7 +234,11 @@ void ScummEngine::CHARSET_1() {
if (_charset->_center) {
_charset->_nextLeft -= _charset->getStringWidth(0, buffer) / 2;
}
_charset->_nextTop += _charset->getFontHeight();
if (_string[0].height) {
_charset->_nextTop += _string[0].height;
} else {
_charset->_nextTop += _charset->getFontHeight();
}
if (_version > 3) {
// FIXME - is this really needed?
_charset->_disableOffsX = true;