diff options
author | Bendegúz Nagy | 2016-07-02 20:12:10 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 883370eb7d0dfdfbc1ef15ed9f0458cdc1423368 (patch) | |
tree | de091d062a118e4fe1a179879b5393fc07ae5062 /engines/dm/text.cpp | |
parent | 8c06b0afd0c4ca9fa8f147a40ccd7210250f5a88 (diff) | |
download | scummvm-rg350-883370eb7d0dfdfbc1ef15ed9f0458cdc1423368.tar.gz scummvm-rg350-883370eb7d0dfdfbc1ef15ed9f0458cdc1423368.tar.bz2 scummvm-rg350-883370eb7d0dfdfbc1ef15ed9f0458cdc1423368.zip |
DM: Remove several blitting overloads
Diffstat (limited to 'engines/dm/text.cpp')
-rw-r--r-- | engines/dm/text.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/dm/text.cpp b/engines/dm/text.cpp index 67ac123a72..c313b1f29e 100644 --- a/engines/dm/text.cpp +++ b/engines/dm/text.cpp @@ -59,8 +59,11 @@ void TextMan::printTextToBitmap(byte* destBitmap, uint16 destPixelWidth, uint16 if (nextY + k6_LetterHeight >= (viewport._posY + viewport._height)) break; uint16 srcX = (1 + 5) * toupper(*begin); // 1 + 5 is not the letter width, arbitrary choice of the unpacking code + + Box box((nextX == destX) ? (nextX + 1) : nextX, nextX + k5_LetterWidth, nextY, nextY + k6_LetterHeight); _vm->_displayMan->blitToBitmap(srcBitmap, 6 * 128, (nextX == destX) ? (srcX + 1) : srcX, 0, destBitmap, destPixelWidth, - (nextX == destX) ? (nextX + 1) : nextX, nextX + k5_LetterWidth + 1, nextY, nextY + k6_LetterHeight, k255_ColorNoTransparency, viewport); + box, k255_ColorNoTransparency, viewport); + nextX += k5_LetterWidth + 1; } } |