MYST3: Added a simple debugging console

This commit is contained in:
Bastien Bouclet 2011-09-03 17:33:14 +02:00
parent 3f69d8db1a
commit b541e3507e
9 changed files with 164 additions and 10 deletions

View file

@ -35,9 +35,13 @@ Script::~Script() {
}
void Script::run(Common::Array<Opcode> *script) {
debug("Script start %p", (void *) script);
for (uint i = 0; i < script->size(); i++) {
runOp(&script->operator[](i));
}
debug("Script stop %p ", (void *) script);
}
void Script::runOp(Opcode *op) {