[Scummvm-cvs-logs] SF.net SVN: scummvm:[41774] scummvm/trunk/engines/gob
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Mon Jun 22 18:30:51 CEST 2009
Revision: 41774
http://scummvm.svn.sourceforge.net/scummvm/?rev=41774&view=rev
Author: drmccoy
Date: 2009-06-22 16:30:51 +0000 (Mon, 22 Jun 2009)
Log Message:
-----------
Renaming kDebugParser to kDebugExpression
Modified Paths:
--------------
scummvm/trunk/engines/gob/expression.cpp
scummvm/trunk/engines/gob/gob.cpp
scummvm/trunk/engines/gob/gob.h
Modified: scummvm/trunk/engines/gob/expression.cpp
===================================================================
--- scummvm/trunk/engines/gob/expression.cpp 2009-06-22 16:30:35 UTC (rev 41773)
+++ scummvm/trunk/engines/gob/expression.cpp 2009-06-22 16:30:51 UTC (rev 41774)
@@ -524,7 +524,7 @@
_vm->_game->_script->skip(2);
- debugC(2, kDebugParser, "varBase: %d, by %d", varBase, operation);
+ debugC(2, kDebugExpression, "varBase: %d, by %d", varBase, operation);
if (_vm->_game->_script->peekByte() != 97) {
if (mindStop)
@@ -558,7 +558,7 @@
varBase += offset2 * offset1 * 4;
- debugC(2, kDebugParser, "varBase: %d, by %d", varBase, operation);
+ debugC(2, kDebugExpression, "varBase: %d, by %d", varBase, operation);
if (_vm->_game->_script->peekByte() != 97) {
if (mindStop)
@@ -594,7 +594,7 @@
if (type)
*type = operation;
- debugC(5, kDebugParser, "var parse = %d", operation);
+ debugC(5, kDebugExpression, "var parse = %d", operation);
switch (operation) {
case OP_ARRAY_INT8:
case OP_ARRAY_INT32:
@@ -633,12 +633,12 @@
case OP_LOAD_VAR_INT32_AS_INT16:
case OP_LOAD_VAR_STR:
temp = _vm->_game->_script->readInt16() * 4;
- debugC(5, kDebugParser, "oper = %d", _vm->_game->_script->peekInt16());
+ debugC(5, kDebugExpression, "oper = %d", _vm->_game->_script->peekInt16());
if ((operation == OP_LOAD_VAR_STR) && (_vm->_game->_script->peekByte() == 13)) {
_vm->_game->_script->skip(1);
val = parseValExpr(OP_END_MARKER);
temp += val;
- debugC(5, kDebugParser, "parse subscript = %d", val);
+ debugC(5, kDebugExpression, "parse subscript = %d", val);
}
return varBase + temp;
Modified: scummvm/trunk/engines/gob/gob.cpp
===================================================================
--- scummvm/trunk/engines/gob/gob.cpp 2009-06-22 16:30:35 UTC (rev 41773)
+++ scummvm/trunk/engines/gob/gob.cpp 2009-06-22 16:30:51 UTC (rev 41774)
@@ -120,7 +120,7 @@
Common::addDebugChannel(kDebugDrawOp, "DrawOpcodes", "Script DrawOpcodes debug level");
Common::addDebugChannel(kDebugGobOp, "GoblinOpcodes", "Script GoblinOpcodes debug level");
Common::addDebugChannel(kDebugSound, "Sound", "Sound output debug level");
- Common::addDebugChannel(kDebugParser, "Parser", "Parser debug level");
+ Common::addDebugChannel(kDebugExpression, "Expression", "Expression parser debug level");
Common::addDebugChannel(kDebugGameFlow, "Gameflow", "Gameflow debug level");
Common::addDebugChannel(kDebugFileIO, "FileIO", "File Input/Output debug level");
Common::addDebugChannel(kDebugSaveLoad, "SaveLoad", "Saving/Loading debug level");
Modified: scummvm/trunk/engines/gob/gob.h
===================================================================
--- scummvm/trunk/engines/gob/gob.h 2009-06-22 16:30:35 UTC (rev 41773)
+++ scummvm/trunk/engines/gob/gob.h 2009-06-22 16:30:51 UTC (rev 41774)
@@ -127,7 +127,7 @@
kDebugDrawOp = 1 << 1,
kDebugGobOp = 1 << 2,
kDebugSound = 1 << 3,
- kDebugParser = 1 << 4,
+ kDebugExpression = 1 << 4,
kDebugGameFlow = 1 << 5,
kDebugFileIO = 1 << 6,
kDebugSaveLoad = 1 << 7,
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