aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/objects.h
diff options
context:
space:
mode:
authorNicola Mettifogo2008-02-09 22:07:51 +0000
committerNicola Mettifogo2008-02-09 22:07:51 +0000
commitcf724e889ce551082a1c3e443b11e9523f068e8d (patch)
tree5c7a3c53744d39fb4bdb9bbf3563e5dc9e39e710 /engines/parallaction/objects.h
parentbc257fc37809981e4189f30603ffaa7df7343e26 (diff)
downloadscummvm-rg350-cf724e889ce551082a1c3e443b11e9523f068e8d.tar.gz
scummvm-rg350-cf724e889ce551082a1c3e443b11e9523f068e8d.tar.bz2
scummvm-rg350-cf724e889ce551082a1c3e443b11e9523f068e8d.zip
Added new debug command to dump scripts execution status.
svn-id: r30840
Diffstat (limited to 'engines/parallaction/objects.h')
-rw-r--r--engines/parallaction/objects.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h
index 543e8def37..10cfb5333b 100644
--- a/engines/parallaction/objects.h
+++ b/engines/parallaction/objects.h
@@ -363,6 +363,11 @@ struct Instruction {
};
+enum {
+ kProgramIdle, // awaiting execution
+ kProgramRunning, // running
+ kProgramDone // execution completed
+};
struct Program {
Animation *_anim;
@@ -377,6 +382,8 @@ struct Program {
InstructionList::iterator _loopStart;
InstructionList _instructions;
+ uint32 _status;
+
Program();
~Program();