diff options
author | Nicola Mettifogo | 2007-03-17 13:14:50 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-03-17 13:14:50 +0000 |
commit | 48460e2ea66a308fc5085c51f47ccbcfac9ecbc5 (patch) | |
tree | 897f9d96ec74faa7a9ce32609f4f8a7b962ee543 /engines/parallaction/zone.h | |
parent | 97514214349ed236c54fa6a91a0937b9c6073aab (diff) | |
download | scummvm-rg350-48460e2ea66a308fc5085c51f47ccbcfac9ecbc5.tar.gz scummvm-rg350-48460e2ea66a308fc5085c51f47ccbcfac9ecbc5.tar.bz2 scummvm-rg350-48460e2ea66a308fc5085c51f47ccbcfac9ecbc5.zip |
- Made Node a superclass for Zone, WalkNode, Command, Instruction, Program and Job.
- Moved Job list management inside Parallaction (because constructors for global variables are not always invoked on some platforms)
svn-id: r26164
Diffstat (limited to 'engines/parallaction/zone.h')
-rw-r--r-- | engines/parallaction/zone.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/parallaction/zone.h b/engines/parallaction/zone.h index c7158e1821..6ae7c8a538 100644 --- a/engines/parallaction/zone.h +++ b/engines/parallaction/zone.h @@ -123,8 +123,8 @@ struct ZoneLabel { StaticCnv _cnv; }; -struct Zone { - Node _node; +struct Zone : public Node { +// Node _node; union { Rect _limits; // for zones struct { // for animations @@ -163,8 +163,8 @@ enum InstructionFlags { kInstMaskedPut = 8 }; -struct Instruction { - Node _node; +struct Instruction : public Node { +// Node _node; uint32 _index; uint32 _flags; union { @@ -178,8 +178,8 @@ struct Instruction { }; -struct Program { - Node _node; +struct Program : public Node { +// Node _node; LocalVariable *_locals; uint16 _loopCounter; Instruction *_ip; |