diff options
author | Strangerke | 2015-02-01 07:59:18 +0100 |
---|---|---|
committer | Strangerke | 2015-02-01 07:59:18 +0100 |
commit | 26d86017c7cf44e81758634893c8168bda1c9f9d (patch) | |
tree | 1b9de04fa57f3bc18d521ae4c0bf800bdb7bafef /engines/access/martian/martian_scripts.cpp | |
parent | 631277e486f1903a6f233cb8bfaacad84d8362bb (diff) | |
download | scummvm-rg350-26d86017c7cf44e81758634893c8168bda1c9f9d.tar.gz scummvm-rg350-26d86017c7cf44e81758634893c8168bda1c9f9d.tar.bz2 scummvm-rg350-26d86017c7cf44e81758634893c8168bda1c9f9d.zip |
ACCESS: MM - Implement dead function
Diffstat (limited to 'engines/access/martian/martian_scripts.cpp')
-rw-r--r-- | engines/access/martian/martian_scripts.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/engines/access/martian/martian_scripts.cpp b/engines/access/martian/martian_scripts.cpp index 2d1a4837cc..01016b539e 100644 --- a/engines/access/martian/martian_scripts.cpp +++ b/engines/access/martian/martian_scripts.cpp @@ -62,29 +62,6 @@ void MartianScripts::doIntro(int param1) { _game->doSpecial5(param1); } -void MartianScripts::sub13D10(Common::String msg) { - warning("TODO: Rename sub13d10"); - Common::String line = ""; - int width = 0; - bool lastLine; - do { - lastLine = _vm->_fonts._font2.getLine(msg, _vm->_screen->_maxChars * 6, line, width); - warning("TODO: use printString"); - // Draw the text - _vm->_fonts._font2.drawString(_vm->_screen, line, _vm->_screen->_printOrg); - - _vm->_screen->_printOrg.y += 6; - _vm->_screen->_printOrg.x = _vm->_screen->_printStart.x; - - if (_vm->_screen->_printOrg.y == 180) { - _vm->_events->waitKeyMouse(); - _vm->_screen->copyBuffer(&_vm->_buffer2); - _vm->_screen->_printOrg.y = _vm->_screen->_printStart.y; - } - } while (!lastLine); - _vm->_events->waitKeyMouse(); -} - void MartianScripts::cmdSpecial6() { _vm->_midi->stopSong(); _vm->_screen->setDisplayScan(); @@ -119,7 +96,7 @@ void MartianScripts::cmdSpecial6() { msg += c; //display the message - sub13D10(msg); + _game->sub13D10(msg); delete notesRes; delete _vm->_objectsTable[0]; |