diff options
author | Strangerke | 2014-12-04 14:17:30 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 23:00:46 -0500 |
commit | 84ba0df9b2ce15d6c1d32a6c61794a1accb3fc99 (patch) | |
tree | c2a59c0c550123fdf659ecc1a7d9a746ee2482bd /engines/access/bubble_box.cpp | |
parent | 3c97961fd2c300a4b4541517a4884498f5d52366 (diff) | |
download | scummvm-rg350-84ba0df9b2ce15d6c1d32a6c61794a1accb3fc99.tar.gz scummvm-rg350-84ba0df9b2ce15d6c1d32a6c61794a1accb3fc99.tar.bz2 scummvm-rg350-84ba0df9b2ce15d6c1d32a6c61794a1accb3fc99.zip |
ACCESS: Janitorial
Diffstat (limited to 'engines/access/bubble_box.cpp')
-rw-r--r-- | engines/access/bubble_box.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/access/bubble_box.cpp b/engines/access/bubble_box.cpp index ff6c4de53d..e9e2a182c0 100644 --- a/engines/access/bubble_box.cpp +++ b/engines/access/bubble_box.cpp @@ -159,10 +159,10 @@ void BubbleBox::printBubble(const Common::String &msg) { int xp = _vm->_screen->_printOrg.x; if (_type == TYPE_4) xp = (_bounds.width() - width) / 2 + _bounds.left - 4; - + // Draw the text font2.drawString(_vm->_screen, line, Common::Point(xp, _vm->_screen->_printOrg.y)); - + // Move print position _vm->_screen->_printOrg.y += 6; _vm->_screen->_printOrg.x = _vm->_screen->_printStart.x; @@ -237,10 +237,10 @@ void BubbleBox::doBox(int item, int box) { yp += (_type == TYPE_4) ? 4 : 8; for (int x = 0; x < xSize; ++x, xp += 20) { - screen.plotImage(icons, (_type == TYPE_4 ? 62 : 34) + x, + screen.plotImage(icons, (_type == TYPE_4 ? 62 : 34) + x, Common::Point(xp, yp)); } - + yp = screen._orgY2 - (_type == TYPE_4 ? 18 : 12); screen.plotImage(icons, (_type == TYPE_4) ? 73 : 23, Common::Point(xp, yp)); @@ -274,7 +274,7 @@ void BubbleBox::doBox(int item, int box) { _charCol = charCol; _rowOff = rowOff; _vm->_screen->restoreScreen(); - + // Free icons data delete icons; } |