diff options
author | Nicola Mettifogo | 2007-04-07 17:18:16 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-04-07 17:18:16 +0000 |
commit | edd226d1b646470780a785d32c06876697f75e7e (patch) | |
tree | 11545dfe20ffbecc5de86c5ca004dca5992b6970 /engines/parallaction/zone.h | |
parent | 5a8b8ca92dc95ced8df2a7f6a46412c04ebfe757 (diff) | |
download | scummvm-rg350-edd226d1b646470780a785d32c06876697f75e7e.tar.gz scummvm-rg350-edd226d1b646470780a785d32c06876697f75e7e.tar.bz2 scummvm-rg350-edd226d1b646470780a785d32c06876697f75e7e.zip |
Added new ManagedList class to handle Instruction and Command lists. The same class will be used to hold Zone, Animation and WalkNode lists.
svn-id: r26410
Diffstat (limited to 'engines/parallaction/zone.h')
-rw-r--r-- | engines/parallaction/zone.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/zone.h b/engines/parallaction/zone.h index 6ad5c6c296..7689f216a4 100644 --- a/engines/parallaction/zone.h +++ b/engines/parallaction/zone.h @@ -26,6 +26,7 @@ #include "common/list.h" #include "parallaction/defs.h" +#include "parallaction/commands.h" #include "parallaction/graphics.h" @@ -68,8 +69,6 @@ enum ZoneFlags { struct Command; struct Question; -typedef Common::List<Command*> CommandList; - struct Answer { char* _text; uint16 _mood; @@ -263,7 +262,8 @@ struct Instruction : public Node { } }; -typedef Common::List<Instruction*> InstructionList; +//typedef Common::List<Instruction*> InstructionList; +typedef ManagedList<Instruction*> InstructionList; struct Program { LocalVariable *_locals; |