MYST3: Added a simple debugging console
This commit is contained in:
parent
3f69d8db1a
commit
b541e3507e
9 changed files with 164 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue