diff options
author | Sven Hesse | 2011-01-31 20:42:16 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-31 20:42:16 +0000 |
commit | b8743962198622417fa34873a866fbe9e1d50675 (patch) | |
tree | 7a71928c0a4e28ea63e525d8eb61abd65dd62d2d /engines/gob | |
parent | 1799c4f04507e46f30d8321447061a7f93d5dcda (diff) | |
download | scummvm-rg350-b8743962198622417fa34873a866fbe9e1d50675.tar.gz scummvm-rg350-b8743962198622417fa34873a866fbe9e1d50675.tar.bz2 scummvm-rg350-b8743962198622417fa34873a866fbe9e1d50675.zip |
GOB: o7_draw0x45 is o7_logString
svn-id: r55691
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/inter.h | 2 | ||||
-rw-r--r-- | engines/gob/inter_v7.cpp | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/engines/gob/inter.h b/engines/gob/inter.h index d9cd4639d9..b93060187e 100644 --- a/engines/gob/inter.h +++ b/engines/gob/inter.h @@ -604,7 +604,7 @@ protected: void o7_draw0x0C(); void o7_loadCursor(); void o7_displayWarning(); - void o7_draw0x45(); + void o7_logString(); void o7_intToString(); void o7_callFunction(); void o7_loadFunctions(); diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp index 5c979c629e..79d691d5d1 100644 --- a/engines/gob/inter_v7.cpp +++ b/engines/gob/inter_v7.cpp @@ -53,7 +53,7 @@ void Inter_v7::setupOpcodesDraw() { OPCODEDRAW(0x0C, o7_draw0x0C); OPCODEDRAW(0x0D, o7_loadCursor); OPCODEDRAW(0x44, o7_displayWarning); - OPCODEDRAW(0x45, o7_draw0x45); + OPCODEDRAW(0x45, o7_logString); OPCODEDRAW(0x57, o7_intToString); OPCODEDRAW(0x59, o7_callFunction); OPCODEDRAW(0x5A, o7_loadFunctions); @@ -119,11 +119,16 @@ void Inter_v7::o7_displayWarning() { warning("%s: %s (%s)", source.c_str(), msg.c_str(), param.c_str()); } -void Inter_v7::o7_draw0x45() { +void Inter_v7::o7_logString() { Common::String str0 = _vm->_game->_script->evalString(); Common::String str1 = _vm->_game->_script->evalString(); - warning("Addy Stub Draw 0x45: \"%s\", \"%s\"", str0.c_str(), str1.c_str()); + TimeDate t; + _vm->_system->getTimeAndDate(t); + + debug(1, "%-9s%04d-%02d-%02dT%02d:%02d:%02d --> %s", str0.c_str(), + t.tm_year + 1900, t.tm_mon + 1, t.tm_mday, + t.tm_hour, t.tm_min, t.tm_sec, str1.c_str()); } void Inter_v7::o7_intToString() { |