aboutsummaryrefslogtreecommitdiff
path: root/engines/access/martian/martian_game.cpp
diff options
context:
space:
mode:
authorStrangerke2015-02-14 15:19:40 +0100
committerStrangerke2015-02-14 15:19:40 +0100
commit5ec05f6b647c5ea41418be7ed19ad381f97cabd8 (patch)
treef900b4678b8250082f97790a7b3749df4eca127c /engines/access/martian/martian_game.cpp
parent2fe58fac489ecc21f062b0d10a1b388fc7abd1eb (diff)
downloadscummvm-rg350-5ec05f6b647c5ea41418be7ed19ad381f97cabd8.tar.gz
scummvm-rg350-5ec05f6b647c5ea41418be7ed19ad381f97cabd8.tar.bz2
scummvm-rg350-5ec05f6b647c5ea41418be7ed19ad381f97cabd8.zip
ACCESS: MM - use PRINTSTR in several places, remove related TODOs
Diffstat (limited to 'engines/access/martian/martian_game.cpp')
-rw-r--r--engines/access/martian/martian_game.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/access/martian/martian_game.cpp b/engines/access/martian/martian_game.cpp
index 7572d360c3..69ca4d3a5a 100644
--- a/engines/access/martian/martian_game.cpp
+++ b/engines/access/martian/martian_game.cpp
@@ -114,7 +114,7 @@ void MartianEngine::displayNote(const Common::String &msg) {
bool lastLine = false;
do {
lastLine = _fonts._font1.getLine(lines, _screen->_maxChars * 6, line, width);
- _fonts._font1.drawString(_screen, line, _screen->_printOrg);
+ _bubbleBox->PRINTSTR(line);
_screen->_printOrg = Common::Point(_screen->_printStart.x, _screen->_printOrg.y + 6);
if (_screen->_printOrg.y == 196) {
@@ -313,9 +313,8 @@ void MartianEngine::showDeathText(Common::String msg) {
bool lastLine;
do {
lastLine = _fonts._font2.getLine(msg, _screen->_maxChars * 6, line, width);
- warning("TODO: use printString");
// Draw the text
- _fonts._font2.drawString(_screen, line, _screen->_printOrg);
+ _bubbleBox->PRINTSTR(line);
_screen->_printOrg.y += 6;
_screen->_printOrg.x = _screen->_printStart.x;