diff options
-rw-r--r-- | engines/gob/expression.cpp | 10 | ||||
-rw-r--r-- | engines/gob/gob.cpp | 2 | ||||
-rw-r--r-- | engines/gob/gob.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/engines/gob/expression.cpp b/engines/gob/expression.cpp index eb465534c7..61833a8ed6 100644 --- a/engines/gob/expression.cpp +++ b/engines/gob/expression.cpp @@ -524,7 +524,7 @@ bool Expression::getVarBase(uint32 &varBase, bool mindStop, _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 @@ bool Expression::getVarBase(uint32 &varBase, bool mindStop, 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 @@ int16 Expression::parseVarIndex(uint16 *size, uint16 *type) { 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 @@ int16 Expression::parseVarIndex(uint16 *size, uint16 *type) { 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; diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index f1a96a7a65..d1a0b3a248 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -120,7 +120,7 @@ GobEngine::GobEngine(OSystem *syst) : Engine(syst) { 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"); diff --git a/engines/gob/gob.h b/engines/gob/gob.h index ecef9fa3ef..5d1cb3ecf2 100644 --- a/engines/gob/gob.h +++ b/engines/gob/gob.h @@ -127,7 +127,7 @@ enum { kDebugDrawOp = 1 << 1, kDebugGobOp = 1 << 2, kDebugSound = 1 << 3, - kDebugParser = 1 << 4, + kDebugExpression = 1 << 4, kDebugGameFlow = 1 << 5, kDebugFileIO = 1 << 6, kDebugSaveLoad = 1 << 7, |