diff options
Diffstat (limited to 'engines/cge2/text.cpp')
-rw-r--r-- | engines/cge2/text.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/cge2/text.cpp b/engines/cge2/text.cpp index cf4dda4703..c7f6a06894 100644 --- a/engines/cge2/text.cpp +++ b/engines/cge2/text.cpp @@ -178,8 +178,15 @@ void Text::say(const char *text, Sprite *spr) { _vm->_vga->_showQ->append(speaker); } -void CGE2Engine::inf(const char *text, bool wideSpace) { - warning("STUB: CGE2Engine::inf()"); +void CGE2Engine::inf(const char *text, ColorBank col) { + killText(); + _talk = new Talk(this, text, kTBRect, col); + if (_talk) { + _talk->_flags._kill = true; + _talk->setName(_text->getText(kInfName)); + _talk->center(); + _vga->_showQ->append(_talk); + } } void Text::sayTime(Sprite *spr) { |