diff options
author | Borja Lorente | 2016-06-21 03:02:14 +0200 |
---|---|---|
committer | Borja Lorente | 2016-08-14 18:31:16 +0200 |
commit | ccc76f2119dcd3b802604294fc1f7bccad645374 (patch) | |
tree | d8c5373dd9a12cf40371a6e34913105ea91e6d1c /engines/macventure/script.cpp | |
parent | bbf0c62f14326818d135a75bc6f9e58ad59346a1 (diff) | |
download | scummvm-rg350-ccc76f2119dcd3b802604294fc1f7bccad645374.tar.gz scummvm-rg350-ccc76f2119dcd3b802604294fc1f7bccad645374.tar.bz2 scummvm-rg350-ccc76f2119dcd3b802604294fc1f7bccad645374.zip |
MACVENTURE: Add PPIC0, 1 and 2 decoding
Diffstat (limited to 'engines/macventure/script.cpp')
-rw-r--r-- | engines/macventure/script.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/macventure/script.cpp b/engines/macventure/script.cpp index 715249ca6d..64f94af16d 100644 --- a/engines/macventure/script.cpp +++ b/engines/macventure/script.cpp @@ -54,14 +54,14 @@ bool ScriptEngine::runControl(ControlAction action, ObjID source, ObjID destinat frame.haltedInFirst = false; frame.haltedInFamily = false; _frames.push_back(frame); - debug(7, "SCRIPT: Stored frame %d, action: %d src: %d dest: %d point: (%d, %d)", + debug(3, "SCRIPT: Stored frame %d, action: %d src: %d dest: %d point: (%d, %d)", _frames.size() - 1, frame.action, frame.src, frame.dest, frame.x, frame.y); return resume(true); } bool ScriptEngine::resume(bool execAll) { - debug(7, "SCRIPT: Resume"); + debug(3, "SCRIPT: Resume"); while (_frames.size()) { bool fail = execFrame(execAll); if (fail) return true; @@ -145,13 +145,13 @@ bool ScriptEngine::resumeFunc(EngineFrame * frame) { } bool ScriptEngine::runFunc(EngineFrame *frame) { - debug(7, "SCRIPT: I'm running the function"); + debug(3, "SCRIPT: I'm running the function"); ScriptAsset &script = frame->scripts.front(); EngineState *state = &frame->state; byte op; while (script.hasNext()) { op = script.fetch(); - debug(8, "SCRIPT: I'm running operation %x", op); + debug(3, "SCRIPT: I'm running operation %x", op); if (!(op & 0x80)) { state->push(op); } else { @@ -1157,7 +1157,7 @@ void ScriptAsset::loadInstructions() { for (uint i = 0; i < amount; i++) { _instructions.push_back(res->readByte()); } - debug(7, "SCRIPT: Load %d instructions for script %d", amount, _id); + debug(3, "SCRIPT: Load %d instructions for script %d", amount, _id); } } // End of namespace MacVenture
\ No newline at end of file |