[Scummvm-cvs-logs] SF.net SVN: scummvm:[55691] scummvm/trunk/engines/gob
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Mon Jan 31 21:42:16 CET 2011
Revision: 55691
http://scummvm.svn.sourceforge.net/scummvm/?rev=55691&view=rev
Author: drmccoy
Date: 2011-01-31 20:42:16 +0000 (Mon, 31 Jan 2011)
Log Message:
-----------
GOB: o7_draw0x45 is o7_logString
Modified Paths:
--------------
scummvm/trunk/engines/gob/inter.h
scummvm/trunk/engines/gob/inter_v7.cpp
Modified: scummvm/trunk/engines/gob/inter.h
===================================================================
--- scummvm/trunk/engines/gob/inter.h 2011-01-31 18:22:20 UTC (rev 55690)
+++ scummvm/trunk/engines/gob/inter.h 2011-01-31 20:42:16 UTC (rev 55691)
@@ -604,7 +604,7 @@
void o7_draw0x0C();
void o7_loadCursor();
void o7_displayWarning();
- void o7_draw0x45();
+ void o7_logString();
void o7_intToString();
void o7_callFunction();
void o7_loadFunctions();
Modified: scummvm/trunk/engines/gob/inter_v7.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v7.cpp 2011-01-31 18:22:20 UTC (rev 55690)
+++ scummvm/trunk/engines/gob/inter_v7.cpp 2011-01-31 20:42:16 UTC (rev 55691)
@@ -53,7 +53,7 @@
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 @@
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() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list