diff options
author | Bendegúz Nagy | 2016-07-02 00:27:05 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | e2300bd04c5aebe5736a5d0a431a9b85f53a9d17 (patch) | |
tree | 5e309b46235e7e215f45bab501265bf45991d442 /engines/dm/text.cpp | |
parent | 5f25c6aae28a3553183ee3c2e8af7b66e9622bf6 (diff) | |
download | scummvm-rg350-e2300bd04c5aebe5736a5d0a431a9b85f53a9d17.tar.gz scummvm-rg350-e2300bd04c5aebe5736a5d0a431a9b85f53a9d17.tar.bz2 scummvm-rg350-e2300bd04c5aebe5736a5d0a431a9b85f53a9d17.zip |
DM: Massive renaming in gfx.h
Diffstat (limited to 'engines/dm/text.cpp')
-rw-r--r-- | engines/dm/text.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/dm/text.cpp b/engines/dm/text.cpp index f8aabb31df..d535194875 100644 --- a/engines/dm/text.cpp +++ b/engines/dm/text.cpp @@ -43,9 +43,9 @@ void TextMan::printTextToBitmap(byte* destBitmap, uint16 destPixelWidth, uint16 uint16 textLength = strlen(text); uint16 nextX = destX; uint16 nextY = destY; - byte *srcBitmap = _vm->_displayMan->getBitmap(kFontGraphicIndice); + byte *srcBitmap = _vm->_displayMan->getBitmap(k557_FontGraphicIndice); - byte *tmp = _vm->_displayMan->_tmpBitmap; + byte *tmp = _vm->_displayMan->_g74_tmpBitmap; for (uint16 i = 0; i < (kLetterWidth + 1) * kLetterHeight * 128; ++i) { tmp[i] = srcBitmap[i] ? textColor : bgColor; } @@ -60,7 +60,7 @@ void TextMan::printTextToBitmap(byte* destBitmap, uint16 destPixelWidth, uint16 break; uint16 srcX = (1 + 5) * toupper(*begin); // 1 + 5 is not the letter width, arbitrary choice of the unpacking code _vm->_displayMan->blitToBitmap(srcBitmap, 6 * 128, (nextX == destX) ? (srcX + 1) : srcX, 0, destBitmap, destPixelWidth, - (nextX == destX) ? (nextX + 1) : nextX, nextX + kLetterWidth + 1, nextY, nextY + kLetterHeight, kColorNoTransparency, viewport); + (nextX == destX) ? (nextX + 1) : nextX, nextX + kLetterWidth + 1, nextY, nextY + kLetterHeight, k255_ColorNoTransparency, viewport); nextX += kLetterWidth + 1; } } |