diff options
Diffstat (limited to 'engines/xeen/scripts.cpp')
-rw-r--r-- | engines/xeen/scripts.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 177bb5d146..03a24b434a 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -304,6 +304,8 @@ void Scripts::openGrate(int wallVal, int action) { case DIR_WEST: pt.x--; break; + default: + break; } map.setCellSurfaceFlags(pt, 0x80); @@ -1084,7 +1086,7 @@ void Scripts::cmdSeatTextSml(Common::Array<byte> ¶ms) { Interface &intf = *_vm->_interface; intf._screenText = Common::String::format("\x2\f08\x3""c\t116\v090%s\x3l\fd\x1", - _message); + _message.c_str()); intf._upDoorText = true; intf.draw3d(true); @@ -1227,7 +1229,9 @@ void Scripts::cmdDisplayBottomTwoLines(Common::Array<byte> ¶ms) { Map &map = *_vm->_map; Window &w = _vm->_screen->_windows[12]; + warning("TODO: cmdDisplayBottomTwoLines"); Common::String msg = Common::String::format("\r\x03c\t000\v007%s\n\n%s", + "", map._events._text[params[1]].c_str()); w.close(); w.open(); |