aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.h
diff options
context:
space:
mode:
authorNicola Mettifogo2007-08-26 09:01:19 +0000
committerNicola Mettifogo2007-08-26 09:01:19 +0000
commit9c608fcacbfe099f5c23fd457dfe139380e71bf5 (patch)
tree01020ec1e73d3a88be54118210b4359dbeedb0b1 /engines/parallaction/parallaction.h
parent6358d6bb07e12a7f16b2fa9eae7d7a706d638859 (diff)
downloadscummvm-rg350-9c608fcacbfe099f5c23fd457dfe139380e71bf5.tar.gz
scummvm-rg350-9c608fcacbfe099f5c23fd457dfe139380e71bf5.tar.bz2
scummvm-rg350-9c608fcacbfe099f5c23fd457dfe139380e71bf5.zip
Implemented more opcodes.
svn-id: r28746
Diffstat (limited to 'engines/parallaction/parallaction.h')
-rw-r--r--engines/parallaction/parallaction.h25
1 files changed, 21 insertions, 4 deletions
diff --git a/engines/parallaction/parallaction.h b/engines/parallaction/parallaction.h
index cc91d4bdf7..5685d28b8f 100644
--- a/engines/parallaction/parallaction.h
+++ b/engines/parallaction/parallaction.h
@@ -264,6 +264,7 @@ struct Character {
class Table {
+protected:
char **_data;
uint16 _size;
uint16 _used;
@@ -273,15 +274,25 @@ public:
Table(uint32 size);
Table(uint32 size, const char** data);
- ~Table();
+ virtual ~Table();
enum {
notFound = 0
};
- void addData(const char* s);
+ virtual void addData(const char* s);
+ virtual void clear();
+ virtual uint16 lookup(const char* s);
+};
+
+class FixedTable : public Table {
+
+ uint16 _numFixed;
- uint16 lookup(const char* s);
+public:
+ FixedTable(uint32 size, uint32 fixed);
+ ~FixedTable();
+ void clear();
};
struct BackgroundInfo {
@@ -951,7 +962,13 @@ private:
DECLARE_UNQUALIFIED_COMMAND_OPCODE(ret);
DECLARE_UNQUALIFIED_COMMAND_OPCODE(onsave);
DECLARE_UNQUALIFIED_COMMAND_OPCODE(offsave);
-
+ DECLARE_UNQUALIFIED_ZONE_PARSER(limits);
+ DECLARE_UNQUALIFIED_ZONE_PARSER(moveto);
+ DECLARE_UNQUALIFIED_ZONE_PARSER(type);
+ DECLARE_UNQUALIFIED_ANIM_PARSER(file);
+ DECLARE_UNQUALIFIED_ANIM_PARSER(position);
+ DECLARE_UNQUALIFIED_ANIM_PARSER(moveto);
+ DECLARE_UNQUALIFIED_ANIM_PARSER(endanimation);
DECLARE_UNQUALIFIED_INSTRUCTION_OPCODE(on);
DECLARE_UNQUALIFIED_INSTRUCTION_OPCODE(off);