Replaced the platform specific GF_FOO switches (using _platform instead now)
svn-id: r17716
This commit is contained in:
parent
a18d4d5c2f
commit
c46ea8bc40
29 changed files with 165 additions and 202 deletions
|
@ -235,7 +235,7 @@ void ScummEngine::CHARSET_1() {
|
|||
if (_charset->_center) {
|
||||
_charset->_nextLeft -= _charset->getStringWidth(0, buffer) / 2;
|
||||
}
|
||||
if (!(_features & GF_FMTOWNS) && _string[0].height) {
|
||||
if (!(_platform == Common::kPlatformFMTowns) && _string[0].height) {
|
||||
_charset->_nextTop += _string[0].height;
|
||||
} else {
|
||||
_charset->_nextTop += _charset->getFontHeight();
|
||||
|
@ -505,7 +505,7 @@ void ScummEngine::drawString(int a, const byte *msg) {
|
|||
} else {
|
||||
_charset->_left = _charset->_startLeft;
|
||||
}
|
||||
if (!(_features & GF_FMTOWNS) && _string[0].height) {
|
||||
if (!(_platform == Common::kPlatformFMTowns) && _string[0].height) {
|
||||
_charset->_nextTop += _string[0].height;
|
||||
} else {
|
||||
_charset->_top += fontHeight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue