diff options
author | Max Horn | 2002-10-27 12:26:41 +0000 |
---|---|---|
committer | Max Horn | 2002-10-27 12:26:41 +0000 |
commit | ec343e07e4806ac9c384733890a4b50f32cb9d75 (patch) | |
tree | 1cb57f7c2345514a15a7db7d6527d534ee26eb2e /scumm/string.cpp | |
parent | a0734ef3f987d1716440e81b5e571c00d3ed891c (diff) | |
download | scummvm-rg350-ec343e07e4806ac9c384733890a4b50f32cb9d75.tar.gz scummvm-rg350-ec343e07e4806ac9c384733890a4b50f32cb9d75.tar.bz2 scummvm-rg350-ec343e07e4806ac9c384733890a4b50f32cb9d75.zip |
patch #628574: Implementing unkMessage2
svn-id: r5334
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r-- | scumm/string.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index 6715e3a86d..3b33ba3d53 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -23,6 +23,7 @@ #include "stdafx.h" #include "scumm.h" #include "actor.h" +#include "dialogs.h" #include "scumm/sound.h" int CharsetRenderer::getStringWidth(int arg, byte *text, int pos) @@ -170,9 +171,10 @@ void Scumm::unkMessage2() if (_string[3].color == 0) _string[3].color = 4; - // TODO - it appears the this function should display the given message graphically - // to the user in a "dialog" looking like the pause dialog, i.e. a single line. - warning("unkMessage2(\"%s\")", buf); + InfoDialog* dialog = new InfoDialog(_newgui, this, (char*)buf); + runDialog (dialog); + delete dialog; + _messagePtr = tmp; } |