diff options
author | Max Horn | 2011-03-21 13:07:23 +0100 |
---|---|---|
committer | Max Horn | 2011-03-21 13:16:35 +0100 |
commit | dd88f39bc7078f96fd06170260bf2ff332b4ca82 (patch) | |
tree | 70a275709fb034bd9efba96bbd1a5dffcc5d4c8e /engines/hugo/parser_v1w.cpp | |
parent | 458ebbafd25d729da88eced603a88af9a05b79b3 (diff) | |
download | scummvm-rg350-dd88f39bc7078f96fd06170260bf2ff332b4ca82.tar.gz scummvm-rg350-dd88f39bc7078f96fd06170260bf2ff332b4ca82.tar.bz2 scummvm-rg350-dd88f39bc7078f96fd06170260bf2ff332b4ca82.zip |
HUGO: Replace Utils::Box by Utils::notifyBox + Common::String::format
Diffstat (limited to 'engines/hugo/parser_v1w.cpp')
-rw-r--r-- | engines/hugo/parser_v1w.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/hugo/parser_v1w.cpp b/engines/hugo/parser_v1w.cpp index 3490c437aa..305fb995e1 100644 --- a/engines/hugo/parser_v1w.cpp +++ b/engines/hugo/parser_v1w.cpp @@ -182,7 +182,7 @@ void Parser_v1w::lineHandler() { // If a not-near comment was generated, print it if (*farComment != '\0') { - Utils::Box(kBoxAny, "%s", farComment); + Utils::notifyBox(farComment); return; } @@ -190,16 +190,16 @@ void Parser_v1w::lineHandler() { const char *verb = findVerb(); const char *noun = findNoun(); if (verb == _vm->_text->getVerb(_vm->_look, 0) && _vm->_maze.enabledFl) { - Utils::Box(kBoxAny, "%s", _vm->_text->getTextParser(kTBMaze)); + Utils::notifyBox(_vm->_text->getTextParser(kTBMaze)); _vm->_object->showTakeables(); } else if (verb && noun) { // A combination I didn't think of - Utils::Box(kBoxAny, "%s", _vm->_text->getTextParser(kTBNoPoint)); + Utils::notifyBox(_vm->_text->getTextParser(kTBNoPoint)); } else if (noun) { - Utils::Box(kBoxAny, "%s", _vm->_text->getTextParser(kTBNoun)); + Utils::notifyBox(_vm->_text->getTextParser(kTBNoun)); } else if (verb) { - Utils::Box(kBoxAny, "%s", _vm->_text->getTextParser(kTBVerb)); + Utils::notifyBox(_vm->_text->getTextParser(kTBVerb)); } else { - Utils::Box(kBoxAny, "%s", _vm->_text->getTextParser(kTBEh)); + Utils::notifyBox(_vm->_text->getTextParser(kTBEh)); } } |