GOB: Add o7_draw0x59 stub

svn-id: r55563
This commit is contained in:
Sven Hesse 2011-01-27 13:27:04 +00:00
parent e237ff3628
commit 20d74edf8b
2 changed files with 13 additions and 0 deletions

View file

@ -53,6 +53,7 @@ void Inter_v7::setupOpcodesDraw() {
OPCODEDRAW(0x44, o7_displayWarning);
OPCODEDRAW(0x45, o7_draw0x45);
OPCODEDRAW(0x57, o7_intToString);
OPCODEDRAW(0x59, o7_draw0x59);
OPCODEDRAW(0x89, o7_draw0x89);
OPCODEDRAW(0x8A, o7_findFile);
OPCODEDRAW(0x8C, o7_getSystemProperty);
@ -137,6 +138,17 @@ void Inter_v7::o7_intToString() {
sprintf(GET_VARO_STR(destIndex), "%d", READ_VARO_UINT32(valueIndex));
}
void Inter_v7::o7_draw0x59() {
_vm->_game->_script->evalExpr(0);
Common::String str0 = _vm->_game->_script->getResultStr();
_vm->_game->_script->evalExpr(0);
Common::String str1 = _vm->_game->_script->getResultStr();
int16 expr0 = _vm->_game->_script->readValExpr();
warning("Addy Stub Draw 0x59: \"%s\", \"%s\", %d", str0.c_str(), str1.c_str(), expr0);
}
void Inter_v7::o7_draw0x89() {
_vm->_game->_script->evalExpr(0);
Common::String str0 = _vm->_game->_script->getResultStr();