diff options
author | Sven Hesse | 2011-01-27 13:27:04 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-27 13:27:04 +0000 |
commit | 20d74edf8b2d24be7f9c86d1e7f90eb46fe2efd4 (patch) | |
tree | 6d0e71b9724da7835c8f6a696780baf457f4091b /engines | |
parent | e237ff362826e9f1fef982952f476a588dc7134e (diff) | |
download | scummvm-rg350-20d74edf8b2d24be7f9c86d1e7f90eb46fe2efd4.tar.gz scummvm-rg350-20d74edf8b2d24be7f9c86d1e7f90eb46fe2efd4.tar.bz2 scummvm-rg350-20d74edf8b2d24be7f9c86d1e7f90eb46fe2efd4.zip |
GOB: Add o7_draw0x59 stub
svn-id: r55563
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/inter.h | 1 | ||||
-rw-r--r-- | engines/gob/inter_v7.cpp | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/engines/gob/inter.h b/engines/gob/inter.h index cafa1e1218..726502982e 100644 --- a/engines/gob/inter.h +++ b/engines/gob/inter.h @@ -599,6 +599,7 @@ protected: void o7_displayWarning(); void o7_draw0x45(); void o7_intToString(); + void o7_draw0x59(); void o7_draw0x89(); void o7_findFile(); void o7_getSystemProperty(); diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp index 9996f0ff59..03f97655ba 100644 --- a/engines/gob/inter_v7.cpp +++ b/engines/gob/inter_v7.cpp @@ -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(); |