diff options
author | Eugene Sandulenko | 2005-08-11 14:00:26 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-08-11 14:00:26 +0000 |
commit | 2230d4b0376cc3ee7015a02ad7b60680388be50f (patch) | |
tree | 7c3afe8e3dca61d4799c39270585b8ed4c25862a /saga | |
parent | d1a376ad279d2f64bb9029b1f429a807d8c9cdeb (diff) | |
download | scummvm-rg350-2230d4b0376cc3ee7015a02ad7b60680388be50f.tar.gz scummvm-rg350-2230d4b0376cc3ee7015a02ad7b60680388be50f.tar.bz2 scummvm-rg350-2230d4b0376cc3ee7015a02ad7b60680388be50f.zip |
More debug output for IHNM
svn-id: r18656
Diffstat (limited to 'saga')
-rw-r--r-- | saga/actor.cpp | 4 | ||||
-rw-r--r-- | saga/sfuncs.cpp | 2 | ||||
-rw-r--r-- | saga/sthread.cpp | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/saga/actor.cpp b/saga/actor.cpp index 2bd8e3f7f0..83ae60fa20 100644 --- a/saga/actor.cpp +++ b/saga/actor.cpp @@ -1550,7 +1550,9 @@ bool Actor::getSpriteParams(CommonObjectData *commonObjectData, int &frameNumber } if ((frameNumber < 0) || (spriteList->spriteCount <= frameNumber)) { - warning("Actor::getSpriteParams frameNumber invalid for object id 0x%X (%d)", commonObjectData->_id, frameNumber); + warning("Actor::getSpriteParams frameNumber invalid for %s id 0x%X (%d)", + validObjId(commonObjectData->_id) ? "object" : "actor", + commonObjectData->_id, frameNumber); return false; } return true; diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp index e594897804..9cba020888 100644 --- a/saga/sfuncs.cpp +++ b/saga/sfuncs.cpp @@ -1895,6 +1895,8 @@ void Script::sfVsetTrack(SCRIPTFUNC_PARAMS) { int16 sceneNumber = thread->pop(); int16 actorsEntrance = thread->pop(); + debug(2, "sfVsetTrrack(%d, %d, %d)", chapter, sceneNumber, actorsEntrance); + _vm->_scene->changeScene(sceneNumber, actorsEntrance, kTransitionFade, chapter); } diff --git a/saga/sthread.cpp b/saga/sthread.cpp index 8cd6cb0977..d2b0d8c8d5 100644 --- a/saga/sthread.cpp +++ b/saga/sthread.cpp @@ -342,7 +342,7 @@ bool Script::runThread(ScriptThread *thread, uint instructionLimit) { error("Script::runThread() Invalid script function number (%d)", functionNumber); } - debug(8, "Calling #%d %s argCount=%i", functionNumber, _scriptFunctionsList[functionNumber].scriptFunctionName, argumentsCount); + debug(2, "Calling #%d %s argCount=%i", functionNumber, _scriptFunctionsList[functionNumber].scriptFunctionName, argumentsCount); scriptFunction = _scriptFunctionsList[functionNumber].scriptFunction; checkStackTopIndex = thread->_stackTopIndex + argumentsCount; disContinue = false; |