seperated classic & old256 rendered (now subclasses of CharsetRenderer)

svn-id: r6152
This commit is contained in:
Max Horn
2002-12-25 21:57:01 +00:00
parent 2d46b1e4d7
commit a782a22c4d
4 changed files with 58 additions and 30 deletions
+2 -5
View File
@@ -243,7 +243,7 @@ void Scumm::CHARSET_1()
_charset->_left = _charset->_nextLeft;
_charset->_top = _charset->_nextTop;
if (_features & GF_OLD256) {
_charset->printCharOld(c);
_charset->printChar(c);
} else if (_features & GF_AFTER_V6) {
if (!_noSubtitles || (_haveMsg != 0xFE && _haveMsg != 0xFF))
_charset->printChar(c);
@@ -526,10 +526,7 @@ void Scumm::drawString(int a)
if (_string[a].no_talk_anim == 0)
_charset->_blitAlso = true;
}
if (_features & GF_OLD256)
_charset->printCharOld(chr);
else
_charset->printChar(chr);
_charset->printChar(chr);
_charset->_blitAlso = false;
}
}