diff options
author | Nicola Mettifogo | 2007-04-07 15:18:26 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-04-07 15:18:26 +0000 |
commit | 162247ad3e765e8bc193f9d7b94d00cb844b5f2e (patch) | |
tree | c0189f961ed27f93f09e99cde11b20efe8d5d0f9 /engines/parallaction/zone.h | |
parent | caf2b4d270ed2211c2810ac2e6c1db4f1dc78cc3 (diff) | |
download | scummvm-rg350-162247ad3e765e8bc193f9d7b94d00cb844b5f2e.tar.gz scummvm-rg350-162247ad3e765e8bc193f9d7b94d00cb844b5f2e.tar.bz2 scummvm-rg350-162247ad3e765e8bc193f9d7b94d00cb844b5f2e.zip |
Changed Commands to use List<>
svn-id: r26407
Diffstat (limited to 'engines/parallaction/zone.h')
-rw-r--r-- | engines/parallaction/zone.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/parallaction/zone.h b/engines/parallaction/zone.h index 7ee5bbf66d..6ad5c6c296 100644 --- a/engines/parallaction/zone.h +++ b/engines/parallaction/zone.h @@ -68,6 +68,8 @@ enum ZoneFlags { struct Command; struct Question; +typedef Common::List<Command*> CommandList; + struct Answer { char* _text; uint16 _mood; @@ -75,7 +77,7 @@ struct Answer { Question* _question; char* _name; } _following; - Command* _commands; + CommandList _commands; uint32 _noFlags; uint32 _yesFlags; @@ -199,7 +201,7 @@ struct Zone : public Node { uint16 field_2C; // unused uint16 field_2E; // unused TypeData u; - Command *_commands; + CommandList _commands; Common::Point _moveTo; Zone(); |