diff options
Diffstat (limited to 'engines/mortevielle/var_mor.h')
-rw-r--r-- | engines/mortevielle/var_mor.h | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/engines/mortevielle/var_mor.h b/engines/mortevielle/var_mor.h index 3086f9eb20..0e12c5f953 100644 --- a/engines/mortevielle/var_mor.h +++ b/engines/mortevielle/var_mor.h @@ -33,76 +33,6 @@ namespace Mortevielle { -/*---------------------------------------------------------------------------*/ -/*------------------- MEMORY MAP ------------------------*/ -/*---------------------------------------------------------------------------*/ -/* The following is a list of physical addresses in memory currently used - * by the game. - * - * Address - * ------- - * 5000:0 - Music data - * 6000:0 - Decompressed current image - * 7000:0+ - Compressed images - * 7000:2 - 16 words representing palette map - * 7000:4138 - width, height, x/y offset of decoded image - */ - - -/*---------------------------------------------------------------------------*/ -/*------------------------- DEFINES ----------------------------------*/ -/*---------------------------------------------------------------------------*/ - -#define ord(v) ((int) v) -#define chr(v) ((unsigned char) v) -#define lo(v) ((v) & 0xff) -#define hi(v) (((v) >> 8) & 0xff) -#define swap(v) (((lo(v)) << 8) | ((hi(v)) >> 8)) -#define odd(v) (((v) % 2) == 1) - -/*---------------------------------------------------------------------------*/ -/*------------------------- CONSTANTS ----------------------------------*/ -/*---------------------------------------------------------------------------*/ - -const int kMaxTi = 7975; -const int kMaxTd = 600; - -const int kDescriptionStringIndex = 0; // Unused -const int kInventoryStringIndex = 186; -const int kQuestionStringIndex = 247; -const int kDialogStringIndex = 292; -const int kMenuPlaceStringIndex = 435; -const int kMenuActionStringIndex = 476; -const int kMenuSelfStringIndex = 497; -const int kMenuSayStringIndex = 502; -const int kSecretPassageQuestionStringIndex = 510; // Unusued? -const int kMaxPatt = 20; - -const int OPCODE_NONE = 0; -enum verbs {OPCODE_ATTACH = 0x301, OPCODE_WAIT = 0x302, OPCODE_FORCE = 0x303, OPCODE_SLEEP = 0x304, OPCODE_LISTEN = 0x305, - OPCODE_ENTER = 0x306, OPCODE_CLOSE = 0x307, OPCODE_SEARCH = 0x308, OPCODE_KNOCK = 0x309, OPCODE_SCRATCH = 0x30a, - OPCODE_READ = 0x30b, OPCODE_EAT = 0x30c, OPCODE_PLACE = 0x30d, OPCODE_OPEN = 0x30e, OPCODE_TAKE = 0x30f, - OPCODE_LOOK = 0x310, OPCODE_SMELL = 0x311, OPCODE_SOUND = 0x312, OPCODE_LEAVE = 0x313, OPCODE_LIFT = 0x314, - OPCODE_TURN = 0x315, OPCODE_SHIDE = 0x401, OPCODE_SSEARCH = 0x402, OPCODE_SREAD = 0x403, OPCODE_SPUT = 0x404, - OPCODE_SLOOK = 0x405}; - -/* -9 "A glance at the forbidden$", -18 "It's already open$", -26 "A photograph$", -27 "The coat of arms$", -*/ -enum places { - OWN_ROOM = 0, GREEN_ROOM = 1, PURPLE_ROOM = 2, TOILETS = 3, DARKBLUE_ROOM = 4, - BLUE_ROOM = 5, RED_ROOM = 6, BATHROOM = 7, GREEN_ROOM2 = 8, ROOM9 = 9, - DINING_ROOM = 10, BUREAU = 11, KITCHEN = 12, ATTIC = 13, CELLAR = 14, - LANDING = 15, CRYPT = 16, SECRET_PASSAGE = 17, ROOM18 = 18, MOUNTAIN = 19, - CHAPEL = 20, MANOR_FRONT = 21, MANOR_BACK = 22, INSIDE_WELL = 23, WELL = 24, - DOOR = 25, ROOM26 = 26, ROOM27 = 27 -}; - -enum GraphicModes { MODE_AMSTRAD1512 = 0, MODE_CGA = 1, MODE_EGA = 2, MODE_HERCULES = 3, MODE_TANDY = 4 }; - struct Rect { int _x1, _x2, _y1, _y2; bool _enabled; |