aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/adl.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/adl/adl.h')
-rw-r--r--engines/adl/adl.h36
1 files changed, 32 insertions, 4 deletions
diff --git a/engines/adl/adl.h b/engines/adl/adl.h
index e945a45ec8..954c61335d 100644
--- a/engines/adl/adl.h
+++ b/engines/adl/adl.h
@@ -44,9 +44,6 @@ enum GameType {
kGameTypeHires1
};
-Common::String asciiToApple(Common::String str);
-Common::String appleToAscii(Common::String str);
-
enum {
STR_COMMON_ENTERCMD,
STR_COMMON_VERBERR,
@@ -54,7 +51,38 @@ enum {
STR_CUSTOM_START
};
-#define A2CHAR(C) ((C) | 0x80)
+struct Room {
+ byte description;
+ byte connections[6];
+ byte field8;
+ byte picture;
+};
+
+struct Picture {
+ byte block;
+ uint16 offset;
+};
+
+struct Command {
+ byte room;
+ byte verb, noun;
+ byte numCond, numAct;
+ Common::Array<byte> script;
+};
+
+struct Item {
+ byte field1;
+ byte field2;
+ byte field3;
+ byte field4;
+ byte field5;
+ byte field6;
+ byte field7;
+ byte field8;
+ Common::Array<byte> field10;
+};
+
+typedef Common::List<Command> Commands;
class AdlEngine : public Engine {
public: