From da4a76ed04bd197a9527802d4b72556786226f37 Mon Sep 17 00:00:00 2001 From: Oliver Kiehl Date: Fri, 25 Apr 2003 15:12:05 +0000 Subject: [PATCH] committing my stuff under pressure from Endy ;) svn-id: r7105 --- sky/compacts/0compact.h | 9302 +++++++++++++++++++++++++++++++++++++++ sky/compacts/101comp.h | 874 ++++ sky/compacts/102comp.h | 570 +++ sky/compacts/10comp.h | 2358 ++++++++++ sky/compacts/11comp.h | 1580 +++++++ sky/compacts/12comp.h | 2172 +++++++++ sky/compacts/13comp.h | 3695 ++++++++++++++++ sky/compacts/14comp.h | 2001 +++++++++ sky/compacts/15comp.h | 1042 +++++ sky/compacts/16comp.h | 931 ++++ sky/compacts/17comp.h | 884 ++++ sky/compacts/18comp.h | 1543 +++++++ sky/compacts/19comp.h | 678 +++ sky/compacts/1compact.h | 1957 ++++++++ sky/compacts/20comp.h | 1121 +++++ sky/compacts/21comp.h | 2032 +++++++++ sky/compacts/22comp.h | 1451 ++++++ sky/compacts/23comp.h | 701 +++ sky/compacts/24comp.h | 1244 ++++++ sky/compacts/25comp.h | 1071 +++++ sky/compacts/26comp.h | 1214 +++++ sky/compacts/27comp.h | 3198 ++++++++++++++ sky/compacts/28comp.h | 894 ++++ sky/compacts/29comp.h | 1486 +++++++ sky/compacts/2compact.h | 1720 ++++++++ sky/compacts/30comp.h | 6538 +++++++++++++++++++++++++++ sky/compacts/31comp.h | 2778 ++++++++++++ sky/compacts/32comp.h | 1751 ++++++++ sky/compacts/33comp.h | 784 ++++ sky/compacts/34comp.h | 903 ++++ sky/compacts/36comp.h | 4152 +++++++++++++++++ sky/compacts/37comp.h | 1828 ++++++++ sky/compacts/38comp.h | 3730 ++++++++++++++++ sky/compacts/39comp.h | 724 +++ sky/compacts/3compact.h | 1772 ++++++++ sky/compacts/40comp.h | 1121 +++++ sky/compacts/41comp.h | 724 +++ sky/compacts/42comp.h | 1696 +++++++ sky/compacts/44comp.h | 610 +++ sky/compacts/45comp.h | 590 +++ sky/compacts/46comp.h | 536 +++ sky/compacts/47comp.h | 550 +++ sky/compacts/48comp.h | 1131 +++++ sky/compacts/4compact.h | 1108 +++++ sky/compacts/5compact.h | 4688 ++++++++++++++++++++ sky/compacts/65comp.h | 610 +++ sky/compacts/66comp.h | 6686 ++++++++++++++++++++++++++++ sky/compacts/67comp.h | 2050 +++++++++ sky/compacts/68comp.h | 1362 ++++++ sky/compacts/69comp.h | 1146 +++++ sky/compacts/70comp.h | 1213 +++++ sky/compacts/71comp.h | 1626 +++++++ sky/compacts/72comp.h | 2346 ++++++++++ sky/compacts/73comp.h | 2480 +++++++++++ sky/compacts/74comp.h | 6633 ++++++++++++++++++++++++++++ sky/compacts/75comp.h | 1844 ++++++++ sky/compacts/76comp.h | 2722 ++++++++++++ sky/compacts/77comp.h | 1030 +++++ sky/compacts/78comp.h | 1154 +++++ sky/compacts/79comp.h | 1614 +++++++ sky/compacts/80comp.h | 3521 +++++++++++++++ sky/compacts/81comp.h | 2662 +++++++++++ sky/compacts/82comp.h | 713 +++ sky/compacts/85comp.h | 439 ++ sky/compacts/90comp.h | 1833 ++++++++ sky/compacts/91comp.h | 1501 +++++++ sky/compacts/92comp.h | 1664 +++++++ sky/compacts/93comp.h | 824 ++++ sky/compacts/94comp.h | 1351 ++++++ sky/compacts/95comp.h | 1343 ++++++ sky/compacts/96comp.h | 914 ++++ sky/compacts/9compact.h | 1627 +++++++ sky/compacts/linc_gen.h | 571 +++ sky/compacts/lincmenu.h | 782 ++++ sky/compacts/objects.h | 1214 +++++ sky/compacts/z_compac.h | 5623 +++++++++++++++++++++++ 76 files changed, 144531 insertions(+) create mode 100644 sky/compacts/0compact.h create mode 100644 sky/compacts/101comp.h create mode 100644 sky/compacts/102comp.h create mode 100644 sky/compacts/10comp.h create mode 100644 sky/compacts/11comp.h create mode 100644 sky/compacts/12comp.h create mode 100644 sky/compacts/13comp.h create mode 100644 sky/compacts/14comp.h create mode 100644 sky/compacts/15comp.h create mode 100644 sky/compacts/16comp.h create mode 100644 sky/compacts/17comp.h create mode 100644 sky/compacts/18comp.h create mode 100644 sky/compacts/19comp.h create mode 100644 sky/compacts/1compact.h create mode 100644 sky/compacts/20comp.h create mode 100644 sky/compacts/21comp.h create mode 100644 sky/compacts/22comp.h create mode 100644 sky/compacts/23comp.h create mode 100644 sky/compacts/24comp.h create mode 100644 sky/compacts/25comp.h create mode 100644 sky/compacts/26comp.h create mode 100644 sky/compacts/27comp.h create mode 100644 sky/compacts/28comp.h create mode 100644 sky/compacts/29comp.h create mode 100644 sky/compacts/2compact.h create mode 100644 sky/compacts/30comp.h create mode 100644 sky/compacts/31comp.h create mode 100644 sky/compacts/32comp.h create mode 100644 sky/compacts/33comp.h create mode 100644 sky/compacts/34comp.h create mode 100644 sky/compacts/36comp.h create mode 100644 sky/compacts/37comp.h create mode 100644 sky/compacts/38comp.h create mode 100644 sky/compacts/39comp.h create mode 100644 sky/compacts/3compact.h create mode 100644 sky/compacts/40comp.h create mode 100644 sky/compacts/41comp.h create mode 100644 sky/compacts/42comp.h create mode 100644 sky/compacts/44comp.h create mode 100644 sky/compacts/45comp.h create mode 100644 sky/compacts/46comp.h create mode 100644 sky/compacts/47comp.h create mode 100644 sky/compacts/48comp.h create mode 100644 sky/compacts/4compact.h create mode 100644 sky/compacts/5compact.h create mode 100644 sky/compacts/65comp.h create mode 100644 sky/compacts/66comp.h create mode 100644 sky/compacts/67comp.h create mode 100644 sky/compacts/68comp.h create mode 100644 sky/compacts/69comp.h create mode 100644 sky/compacts/70comp.h create mode 100644 sky/compacts/71comp.h create mode 100644 sky/compacts/72comp.h create mode 100644 sky/compacts/73comp.h create mode 100644 sky/compacts/74comp.h create mode 100644 sky/compacts/75comp.h create mode 100644 sky/compacts/76comp.h create mode 100644 sky/compacts/77comp.h create mode 100644 sky/compacts/78comp.h create mode 100644 sky/compacts/79comp.h create mode 100644 sky/compacts/80comp.h create mode 100644 sky/compacts/81comp.h create mode 100644 sky/compacts/82comp.h create mode 100644 sky/compacts/85comp.h create mode 100644 sky/compacts/90comp.h create mode 100644 sky/compacts/91comp.h create mode 100644 sky/compacts/92comp.h create mode 100644 sky/compacts/93comp.h create mode 100644 sky/compacts/94comp.h create mode 100644 sky/compacts/95comp.h create mode 100644 sky/compacts/96comp.h create mode 100644 sky/compacts/9compact.h create mode 100644 sky/compacts/linc_gen.h create mode 100644 sky/compacts/lincmenu.h create mode 100644 sky/compacts/objects.h create mode 100644 sky/compacts/z_compac.h diff --git a/sky/compacts/0compact.h b/sky/compacts/0compact.h new file mode 100644 index 00000000000..f71b8a26ce0 --- /dev/null +++ b/sky/compacts/0compact.h @@ -0,0 +1,9302 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY0COMPACT_H +#define SKY0COMPACT_H + + +#include "2compact.h" +#include "4compact.h" +#include "3compact.h" +#include "1compact.h" + + +namespace SkyCompact { + +uint16 slide2_seq[] = { + 170*64, + 293, + 141, + 0, + 284, + 141, + 1, + 280, + 141, + 2, + 282, + 142, + 3, + 279, + 162, + 4, + 285, + 173, + 5, + 279, + 180, + 6, + 279, + 180, + 6, + 281, + 173, + 7, + 281, + 168, + 8, + 290, + 173, + 9, + 291, + 170, + 10, + 297, + 169, + 11, + 308, + 172, + 12, + 308, + 180, + 13, + 308, + 195, + 14, + 308, + 215, + 15, + 308, + 235, + 14, + 308, + 250, + 16, + 308, + 257, + 17, + 308, + 257, + 17, + 309, + 251, + 18, + 309, + 245, + 19, + 322, + 242, + 20, + 330, + 241, + 21, + 0, + 0, +}; + +uint16 m_ss_st_up[] = { + 75*64, + 1, + 1, + 36, + 0, +}; + +uint16 crouch_seq[] = { + 76*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +uint16 fost_open_cup[] = { + 141*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 142*64+0, + SEND_SYNC, + ID_CUPBOARD, + 2, + 1, + 1, + 142*64+1, + 1, + 1, + 142*64+2, + 1, + 1, + 142*64+2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact fan3 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 169*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FAN3_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 ss_smokes_1[] = { + 106*64, + 293, + 223, + 0, + 293, + 223, + 0, + 293, + 223, + 1, + 293, + 223, + 1, + 293, + 223, + 2, + 293, + 223, + 2, + 293, + 223, + 3, + 293, + 223, + 3, + 293, + 223, + 3, + 293, + 223, + 3, + 293, + 223, + 4, + 293, + 223, + 4, + 293, + 223, + 5, + 293, + 223, + 5, + 293, + 223, + 6, + 293, + 223, + 6, + 293, + 223, + 7, + 293, + 223, + 7, + 293, + 223, + 8, + 293, + 223, + 8, + 293, + 223, + 9, + 293, + 223, + 9, + 293, + 223, + 10, + 293, + 223, + 10, + 293, + 223, + 11, + 293, + 223, + 11, + 293, + 223, + 12, + 293, + 223, + 12, + 293, + 223, + 13, + 293, + 223, + 13, + 293, + 223, + 14, + 293, + 223, + 14, + 293, + 223, + 13, + 293, + 223, + 13, + 293, + 223, + 14, + 293, + 223, + 14, + 293, + 223, + 13, + 293, + 223, + 13, + 293, + 223, + 7, + 293, + 223, + 7, + 293, + 223, + 8, + 293, + 223, + 8, + 293, + 223, + 7, + 293, + 223, + 7, + 293, + 223, + 6, + 293, + 223, + 6, + 0, + 0, +}; + +Compact fan7 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 17*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FAN7_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 slide_seq[] = { + 167*64, + 309, + 217, + 0, + 302, + 218, + 1, + 302, + 220, + 2, + 302, + 220, + 3, + 286, + 226, + 4, + 283, + 221, + 5, + 273, + 222, + 6, + 273, + 225, + 7, + 276, + 231, + 8, + 276, + 244, + 9, + 277, + 259, + 10, + 0, + 0, +}; + +uint16 f_ss_st_right[] = { + 99*64, + 1, + 1, + 38, + 0, +}; + +uint32 c74[0]; + +uint16 f_ss_left[] = { + 4, + 16+99*64, + 65532, + 0, + 4, + 17+99*64, + 65532, + 0, + 4, + 18+99*64, + 65532, + 0, + 4, + 19+99*64, + 65532, + 0, + 4, + 20+99*64, + 65532, + 0, + 4, + 21+99*64, + 65532, + 0, + 4, + 22+99*64, + 65532, + 0, + 4, + 23+99*64, + 65532, + 0, + 0, +}; + +uint16 m_ss_down[] = { + 1, + 8+75*64, + 0, + 1, + 1, + 9+75*64, + 0, + 1, + 1, + 10+75*64, + 0, + 1, + 1, + 11+75*64, + 0, + 1, + 1, + 12+75*64, + 0, + 1, + 1, + 13+75*64, + 0, + 1, + 1, + 14+75*64, + 0, + 1, + 1, + 15+75*64, + 0, + 1, + 0, +}; + +uint16 s2_pal[] = { + 0, + 1024, + 1028, + 1030, + 2054, + 1028, + 1542, + 2056, + 2054, + 1546, + 1544, + 2568, + 2056, + 2570, + 3082, + 2572, + 3596, + 2570, + 3082, + 2574, + 4108, + 3596, + 4112, + 3596, + 3092, + 4106, + 3598, + 4108, + 3602, + 4624, + 4116, + 4114, + 5138, + 3612, + 5646, + 3602, + 4626, + 4630, + 5652, + 5140, + 4630, + 7190, + 4638, + 6160, + 5652, + 5658, + 5646, + 6166, + 6678, + 7184, + 6166, + 5662, + 6168, + 7192, + 6680, + 7194, + 5146, + 6680, + 7196, + 6680, + 7194, + 6684, + 7708, + 6959, + 11030, + 4630, + 5939, + 10004, + 5144, + 6693, + 7704, + 6174, + 5939, + 7188, + 7710, + 8483, + 7184, + 8990, + 7205, + 13594, + 5657, + 8478, + 8993, + 8478, + 6963, + 9496, + 5667, + 7725, + 8466, + 10017, + 8993, + 11043, + 6686, + 6199, + 10004, + 4645, + 8995, + 12581, + 5662, + 7221, + 10518, + 8481, + 9517, + 11536, + 7713, + 9005, + 8472, + 11045, + 8999, + 9511, + 10021, + 7733, + 11034, + 4649, + 10033, + 11538, + 8997, + 10023, + 12585, + 5671, + 9011, + 12062, + 4139, + 9525, + 9496, + 11561, + 10541, + 10012, + 10537, + 11570, + 11541, + 10023, + 10539, + 10533, + 11051, + 11573, + 10000, + 12587, + 11051, + 12587, + 9513, + 12085, + 13591, + 7217, + 11563, + 14125, + 9001, + 11059, + 11049, + 12079, + 11567, + 14125, + 4657, + 12077, + 11055, + 13103, + 12083, + 14637, + 5171, + 13113, + 12054, + 12593, + 12589, + 13111, + 12081, + 13105, + 12595, + 13619, + 13617, + 13619, + 13107, + 13881, + 13586, + 13621, + 14131, + 15161, + 5176, + 14133, + 14135, + 13623, + 14135, + 13111, + 14649, + 14643, + 14653, + 14649, + 15161, + 15163, + 14651, + 15677, + 16187, + 16191, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 9216, + 0, + 42, + 12544, + 0, + 56, + 16128, + 0, + 5183, + 16128, + 28, + 8767, + 16128, + 38, + 11327, + 16128, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 15159, + 11308, + 9010, + 8995, + 9766, + 7979, + 9503, + 6425, + 5407, + 6419, + 3346, + 3603, + 3337, + 16191, + 15104, + 2570, + 16191, + 14143, + 14649, + 13105, + 11827, + 12335, + 11307, + 10285, + 10793, + 9765, + 8487, + 9249, + 7455, + 7713, + 7705, + 5660, + 5912, + 4881, + 3602, + 3598, + 2570, + 1030, + 4, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9520, + 10288, + 11292, + 5153, + 6696, + 9230, + 2066, + 3104, + 11267, + 2056, + 8721, + 7696, + 6957, + 10262, + 3863, + 3612, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 11051, + 8753, + 10530, + 6939, + 5410, + 6419, + 3347, + 3092, + 2823, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 foster_hanging[] = { + 102*64, + 207, + 185, + 0, + 202, + 186, + 1, + 196, + 187, + 2, + 192, + 187, + 3, + 189, + 187, + 4, + 186, + 187, + 5, + 183, + 187, + 6, + 185, + 192, + 7, + 189, + 203, + 8, + 191, + 212, + 9, + 191, + 206, + 10, + 203, + 203, + 11, + 209, + 202, + 12, + 211, + 202, + 13, + 0, + 0, +}; + +Compact fan4 = { + L_SCRIPT, // logic + ST_FOREGROUND+ST_LOGIC, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 171*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FAN4_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_ss_to_1[] = { + C_XCOOD, + 176, + C_YCOOD, + 240, + C_SCREEN, + 1, + C_PLACE, + 95, + 65535, +}; + +uint16 rs_foster_to_one[] = { + C_XCOOD, + 240-48-16, + C_YCOOD, + 240, + C_SCREEN, + 1, + C_PLACE, + 95, + 65535, +}; + +uint16 m_ss_r_to_d[] = { + 47-8+75*64, + 0, +}; + +uint16 f_ss_l_to_u[] = { + 43-8+99*64, + 0, +}; + +Compact load_point = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0XB0, // xcood + 0X119, // ycood + 162*64, // frame + 84+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 7, // mouseRel_y + 6, // mouseSize_x + 5, // mouseSize_y + LOAD_POINT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LOAD_POINT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_5_0[] = { + C_XCOOD, + 152, + C_YCOOD, + 280, + C_SCREEN, + 0, + C_PLACE, + ID_LOW_FLOOR, + C_DIR, + RIGHT, + C_FRAME, + 42+13*64, + C_MEGA_SET, + 0, + 65535, +}; + +uint16 fost_pull_knob[] = { + 153*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + SEND_SYNC, + ID_KNOB, + 1, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 m_ss_r_to_u[] = { + 45-8+75*64, + 0, +}; + +uint16 rs_foster_to_1[] = { + C_XCOOD, + 240, + C_YCOOD, + 240, + C_SCREEN, + 1, + C_PLACE, + 95, + 65535, +}; + +uint32 rs_jobs_4_2[0]; + +uint16 monitor_seq[] = { + 151*64, + 222, + 200, + 0, + 222, + 200, + 1, + 222, + 200, + 2, + 222, + 200, + 3, + 0, + 0, +}; + +uint16 joey_door_seq[] = { + 216*64, + 175, + 172, + 0, + 175, + 172, + 0, + 175, + 172, + 1, + 175, + 172, + 1, + 175, + 172, + 2, + 175, + 172, + 2, + 175, + 172, + 3, + 175, + 172, + 3, + 175, + 172, + 4, + 175, + 172, + 4, + 175, + 172, + 5, + 175, + 172, + 5, + 175, + 172, + 6, + 175, + 172, + 6, + 175, + 172, + 7, + 175, + 172, + 7, + 175, + 172, + 8, + 175, + 172, + 8, + 175, + 172, + 9, + 175, + 172, + 10, + 175, + 172, + 11, + 175, + 172, + 12, + 175, + 172, + 13, + 175, + 172, + 14, + 175, + 172, + 15, + 175, + 172, + 16, + 175, + 172, + 17, + 175, + 172, + 9, + 175, + 172, + 10, + 175, + 172, + 11, + 175, + 172, + 12, + 175, + 172, + 13, + 175, + 172, + 14, + 175, + 172, + 15, + 175, + 172, + 16, + 175, + 172, + 17, + 175, + 172, + 9, + 175, + 172, + 10, + 175, + 172, + 11, + 175, + 172, + 12, + 175, + 172, + 13, + 175, + 172, + 14, + 175, + 172, + 15, + 175, + 172, + 16, + 175, + 172, + 17, + 175, + 172, + 8, + 175, + 172, + 8, + 175, + 172, + 7, + 175, + 172, + 7, + 175, + 172, + 6, + 175, + 172, + 6, + 175, + 172, + 5, + 175, + 172, + 5, + 175, + 172, + 4, + 175, + 172, + 4, + 175, + 172, + 3, + 175, + 172, + 3, + 175, + 172, + 2, + 175, + 172, + 2, + 175, + 172, + 1, + 175, + 172, + 1, + 175, + 172, + 0, + 0, + 0, +}; + +uint16 small_opens[] = { + 104*64, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 fost_knob_locked[] = { + 153*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 s4_pal[] = { + 0, + 768, + 771, + 771, + 773, + 773, + 1285, + 1285, + 1797, + 1287, + 2823, + 1285, + 1799, + 1799, + 2311, + 1803, + 1795, + 2313, + 2313, + 2313, + 2825, + 1809, + 3843, + 1289, + 1811, + 2307, + 3339, + 1813, + 2819, + 2827, + 2827, + 3341, + 2315, + 2835, + 3333, + 3853, + 3341, + 2833, + 3855, + 3343, + 4877, + 3339, + 3853, + 3343, + 4367, + 3855, + 3857, + 4881, + 4369, + 4881, + 3857, + 4881, + 4371, + 5395, + 4883, + 4885, + 5397, + 4888, + 5395, + 6165, + 6165, + 6170, + 6168, + 6168, + 6682, + 6680, + 6680, + 7194, + 6168, + 6682, + 6170, + 7196, + 7194, + 7198, + 7196, + 7198, + 8220, + 6684, + 6688, + 7200, + 7710, + 8220, + 9760, + 6172, + 7712, + 8222, + 8222, + 8222, + 7712, + 8736, + 8224, + 9248, + 7712, + 8230, + 8734, + 8738, + 8738, + 9764, + 8226, + 8740, + 8740, + 9252, + 9252, + 9252, + 9764, + 9256, + 10786, + 8740, + 9766, + 8230, + 11304, + 9770, + 8738, + 9770, + 9768, + 10792, + 9766, + 10278, + 10280, + 9768, + 10280, + 11306, + 9768, + 10284, + 10794, + 10794, + 10796, + 11816, + 9770, + 11306, + 10796, + 11820, + 11306, + 11312, + 11820, + 11312, + 10794, + 13358, + 11824, + 11306, + 11824, + 11820, + 12340, + 11310, + 11824, + 11824, + 12336, + 12334, + 13362, + 11312, + 12336, + 13366, + 12336, + 12850, + 13360, + 11826, + 12848, + 12854, + 14642, + 12854, + 12848, + 12852, + 12852, + 13878, + 13362, + 13362, + 13371, + 12854, + 13369, + 13876, + 13366, + 13881, + 13362, + 15158, + 14644, + 15161, + 12854, + 14646, + 13878, + 15161, + 14651, + 15670, + 13881, + 15163, + 14646, + 15675, + 15165, + 15673, + 14653, + 15677, + 16187, + 16191, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5918, + 9728, + 31, + 10542, + 13824, + 51, + 16191, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 13111, + 12849, + 11822, + 11054, + 10796, + 10536, + 9510, + 8230, + 8737, + 7197, + 6173, + 6424, + 5140, + 4117, + 4368, + 3341, + 2317, + 2313, + 3072, + 0, + 19, + 6913, + 769, + 803, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13827, + 9520, + 10289, + 11549, + 5409, + 6441, + 9487, + 2322, + 2849, + 11781, + 2056, + 8975, + 7185, + 6701, + 10516, + 3862, + 3612, + 4864, + 12036, + 12333, + 10282, + 9515, + 9763, + 10282, + 9007, + 10529, + 6427, + 6180, + 7443, + 2831, + 2836, + 2820, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 alarm_seq[] = { + 164*64, + 284, + 208, + 0, + 284, + 208, + 1, + 284, + 208, + 2, + 284, + 208, + 3, + 284, + 208, + 4, + 284, + 208, + 5, + 284, + 208, + 6, + 284, + 208, + 7, + 284, + 208, + 8, + 284, + 208, + 9, + 0, +}; + +uint16 reverse_seq[] = { + 156*64, + 246, + 256, + 13, + 244, + 256, + 12, + 242, + 256, + 11, + 240, + 256, + 10, + 0, +}; + +Compact press = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 18*64, // frame + 4146, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 25, // mouseSize_x + 16, // mouseSize_y + PRESS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + PRESS_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 furnace_seq[] = { + 211*64, + 226, + 239, + 0, + 226, + 239, + 1, + 226, + 239, + 2, + 226, + 239, + 3, + 226, + 239, + 4, + 226, + 239, + 5, + 226, + 239, + 6, + 226, + 239, + 7, + 226, + 239, + 8, + 226, + 239, + 9, + 226, + 239, + 10, + 0, +}; + +uint16 load_point_seq[] = { + 162*64, + 176, + 281, + 0, + 176, + 281, + 1, + 176, + 281, + 2, + 176, + 281, + 3, + 176, + 281, + 4, + 176, + 281, + 5, + 176, + 281, + 6, + 176, + 281, + 6, + 176, + 281, + 6, + 176, + 281, + 6, + 176, + 281, + 6, + 176, + 281, + 6, + 176, + 281, + 6, + 176, + 281, + 7, + 176, + 281, + 8, + 176, + 281, + 9, + 176, + 281, + 10, + 176, + 281, + 11, + 176, + 281, + 12, + 176, + 281, + 13, + 176, + 281, + 14, + 176, + 281, + 15, + 176, + 281, + 16, + 176, + 281, + 17, + 176, + 281, + 18, + 176, + 281, + 19, + 176, + 281, + 20, + 176, + 281, + 21, + 176, + 281, + 22, + 176, + 281, + 23, + 176, + 281, + 24, + 176, + 281, + 25, + 176, + 281, + 26, + 176, + 281, + 27, + 176, + 281, + 28, + 176, + 281, + 29, + 176, + 281, + 30, + 176, + 281, + 31, + 176, + 281, + 32, + 0, + 1, + 1, + 0, + 0, +}; + +uint16 m_ss_right[] = { + 2, + 24+75*64, + 2, + 0, + 2, + 25+75*64, + 2, + 0, + 2, + 26+75*64, + 2, + 0, + 2, + 27+75*64, + 2, + 0, + 2, + 28+75*64, + 2, + 0, + 2, + 29+75*64, + 2, + 0, + 2, + 30+75*64, + 2, + 0, + 2, + 31+75*64, + 2, + 0, + 0, +}; + +uint16 use_bar2[] = { + 91*64, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 0, + 1, + 1, + 0, + 0, +}; + +uint16 fost_cant_open[] = { + 141*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 142*64+0, + SEND_SYNC, + ID_CUPBOARD, + 2, + 1, + 1, + 142*64+1, + 0, +}; + +uint16 f_ss_l_to_r[] = { + 41-8+99*64, + 40-8+99*64, + 47-8+99*64, + 0, +}; + +uint16 f_ss_u_to_d[] = { + 43-8+99*64, + 42-8+99*64, + 41-8+99*64, + 0, +}; + +uint16 push_small[] = { + 23*64, + 165, + 260, + 0, + 165, + 260, + 1, + 165, + 260, + 2, + 165, + 260, + 3, + 165, + 260, + 4, + 165, + 260, + 5, + 165, + 260, + 5, + 165, + 260, + 5, + 165, + 260, + 6, + 165, + 260, + 0, + 0, +}; + +uint8 ss_auto[64]; + +uint16 m_ss_l_to_d[] = { + 41-8+75*64, + 0, +}; + +uint16 s0_pal[] = { + 0, + 1024, + 1028, + 1028, + 1542, + 1542, + 1544, + 2056, + 2056, + 2056, + 2570, + 2568, + 2570, + 3084, + 3082, + 3082, + 3598, + 3084, + 3088, + 3598, + 3598, + 3598, + 4112, + 3598, + 4112, + 5138, + 4112, + 4624, + 4628, + 4626, + 4628, + 4624, + 5652, + 4630, + 4628, + 6164, + 5140, + 5654, + 5140, + 5144, + 5652, + 6166, + 5654, + 7196, + 5652, + 6166, + 5656, + 6680, + 5660, + 6166, + 6168, + 6168, + 6170, + 7192, + 6680, + 6686, + 7194, + 6686, + 7706, + 7194, + 7194, + 7198, + 7708, + 6689, + 7196, + 8476, + 7706, + 7715, + 8478, + 7710, + 8995, + 7710, + 6697, + 8478, + 8993, + 8481, + 7717, + 10019, + 8483, + 8485, + 9507, + 8997, + 11041, + 8993, + 9507, + 9513, + 10021, + 10017, + 9515, + 10023, + 10019, + 10543, + 10533, + 9007, + 9509, + 12071, + 10025, + 9513, + 11049, + 10535, + 12075, + 10021, + 10029, + 10535, + 11049, + 10535, + 10033, + 13097, + 9523, + 12071, + 9003, + 10543, + 11051, + 11563, + 10035, + 13609, + 10023, + 11049, + 10545, + 13099, + 11051, + 11055, + 11565, + 11561, + 12597, + 12075, + 10551, + 13097, + 9517, + 12077, + 11057, + 13615, + 11569, + 12591, + 11567, + 11573, + 11051, + 14639, + 12591, + 12075, + 13105, + 12089, + 11559, + 14641, + 12591, + 14135, + 8499, + 12085, + 13105, + 12593, + 12593, + 14135, + 10547, + 13103, + 12605, + 14643, + 13105, + 14651, + 11059, + 13619, + 14133, + 13107, + 14137, + 13607, + 13621, + 14139, + 13093, + 15157, + 14647, + 12587, + 16183, + 14133, + 15675, + 11575, + 14135, + 15673, + 10553, + 15167, + 13603, + 15673, + 14649, + 15159, + 14137, + 15679, + 14635, + 15675, + 15163, + 15675, + 14653, + 15677, + 16189, + 16191, + 0, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 5120, + 2048, + 2056, + 3598, + 4110, + 4624, + 4630, + 4628, + 6164, + 6680, + 4638, + 4118, + 6678, + 6675, + 5662, + 8732, + 7705, + 7205, + 10274, + 9504, + 9259, + 11304, + 9010, + 11559, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint32 grid3[0]; + +uint16 foster_shot[] = { + 103*64, + 213, + 240, + 0, + 218, + 240, + 1, + 221, + 240, + 2, + 221, + 240, + 3, + 223, + 246, + 4, + 225, + 246, + 5, + 231, + 240, + 6, + 234, + 240, + 7, + 222, + 240, + 8, + 219, + 240, + 9, + 212, + 246, + 10, + 210, + 248, + 11, + 205, + 254, + 12, + 204, + 265, + 13, + 205, + 270, + 14, + 202, + 284, + 15, + 201, + 290, + 16, + 195, + 295, + 17, + 194, + 297, + 18, + 191, + 307, + 19, + 190, + 306, + 20, + 188, + 310, + 21, + 184, + 316, + 22, + 183, + 318, + 23, + 0, + 0, +}; + +uint16 lazer_stop_seq[] = { + 60*64, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 rs_start_alarm[] = { + C_STATUS, + ST_FOREGROUND+ST_LOGIC, + 65535, +}; + +Compact fan1 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 45*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FAN1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 f_ss_d_to_u[] = { + 47-8+99*64, + 46-8+99*64, + 45-8+99*64, + 0, +}; + +uint32 grid4[0]; + +uint16 ss_smokes_3[] = { + 108*64, + 282, + 220, + 0, + 282, + 220, + 1, + 282, + 220, + 2, + 282, + 220, + 2, + 282, + 220, + 3, + 282, + 220, + 3, + 282, + 220, + 4, + 282, + 220, + 4, + 282, + 220, + 5, + 282, + 220, + 5, + 282, + 220, + 0, + 0, + 0, +}; + +uint16 lights1_seq[] = { + 212*64, + 248, + 194, + 0, + 248, + 194, + 0, + 248, + 194, + 1, + 248, + 194, + 1, + 248, + 194, + 2, + 248, + 194, + 2, + 248, + 194, + 3, + 248, + 194, + 3, + 248, + 194, + 4, + 248, + 194, + 4, + 248, + 194, + 5, + 248, + 194, + 5, + 248, + 194, + 6, + 248, + 194, + 6, + 248, + 194, + 7, + 248, + 194, + 7, + 248, + 194, + 8, + 248, + 194, + 8, + 0, +}; + +uint16 eye_open[] = { + 213*64, + 1, + 1, + 1, + 1, + 1, + 2, + 0, +}; + +uint16 press_seq[] = { + 18*64, + 269, + 246, + 0, + 65534, + 257, + 127, + 269, + 246, + 1, + 269, + 246, + 2, + 269, + 246, + 3, + 269, + 246, + 4, + 269, + 246, + 5, + 269, + 246, + 6, + 269, + 246, + 7, + 269, + 246, + 8, + 269, + 246, + 8, + 269, + 246, + 9, + 269, + 246, + 10, + 269, + 246, + 10, + 269, + 246, + 9, + 269, + 246, + 8, + 269, + 246, + 11, + 65534, + 256, + 127, + 269, + 246, + 0, + 269, + 246, + 0, + 269, + 246, + 0, + 269, + 246, + 0, + 0, +}; + +uint16 cup_close_seq[] = { + 57*64, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 low_lift_down_seq1[] = { + 204*64, + 298, + 141, + 11, + 298, + 141, + 10, + 294, + 141, + 9, + 289, + 141, + 8, + 285, + 141, + 7, + 280, + 141, + 6, + 275, + 141, + 5, + 250, + 141, + 4, + 250, + 141, + 3, + 250, + 141, + 2, + 250, + 141, + 1, + 250, + 141, + 0, + 0, +}; + +uint16 barrel_in_seq[] = { + 207*64, + 267, + 257, + 0, + 264, + 257, + 1, + 261, + 257, + 1, + 258, + 257, + 1, + 255, + 257, + 1, + 252, + 257, + 1, + 249, + 257, + 1, + 246, + 257, + 1, + 243, + 257, + 1, + 240, + 257, + 1, + 237, + 257, + 1, + 234, + 257, + 1, + 231, + 257, + 1, + 228, + 257, + 1, + 227, + 257, + 2, + 227, + 257, + 3, + 227, + 257, + 4, + 227, + 257, + 5, + 227, + 258, + 6, + 0, +}; + +uint16 rs_big_foster[] = { + C_XCOOD, + 184, + C_YCOOD, + 208, + C_FRAME, + 12*64+40, + C_DIR, + 1, + C_PLACE, + 17, + C_GET_TO_FLAG, + 0, + 65535, +}; + +uint16 screen0_low_logic[] = { + ID_FOSTER, + JOBS, + ID_CUPBOARD, + ID_KNOB, + ID_LAZER, + ID_CHUCK, + MINI_SS, + ID_LOADER, + ID_TOP_LIFT, + 4344, + ID_TOP_BARREL, + 90, + 105, + 85, + ID_FAN1, + ID_FAN2, + ID_FAN3, + ID_FAN4, + ID_FAN5, + ID_FAN6, + ID_FAN7, + ID_PRESS, + ID_UPLOAD, + ID_LIGHT1, + ID_PANEL, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 rs_foster_2_0[] = { + C_XCOOD, + 408, + C_YCOOD, + 272, + C_SCREEN, + 0, + C_PLACE, + ID_LOW_FLOOR, + C_DIR, + 2, + C_FRAME, + 42+13*64, + 65535, +}; + +uint16 foster_g_d[] = { + 141*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 6, + 0, +}; + +uint16 fost_but_seq[] = { + 152*64, + 365, + 146, + 0, + 365, + 146, + 1, + 365, + 146, + 2, + 365, + 146, + 3, + 365, + 146, + 4, + 365, + 146, + 3, + 365, + 146, + 5, + 365, + 146, + 3, + 365, + 146, + 5, + 365, + 146, + 3, + 365, + 146, + 4, + 365, + 146, + 6, + 365, + 146, + 1, + 365, + 146, + 7, + 365, + 146, + 7, + 365, + 146, + 7, + 0, + 0, +}; + +uint16 jobs_look_scrn[] = { + 146*64, + 220, + 191, + 0, + 220, + 191, + 0, + 220, + 191, + 0, + 220, + 191, + 1, + 220, + 191, + 2, + 220, + 191, + 2, + 220, + 191, + 2, + 220, + 191, + 2, + 220, + 191, + 1, + 220, + 191, + 0, + 220, + 191, + 0, + 220, + 191, + 0, + 220, + 191, + 0, + 220, + 191, + 1, + 220, + 191, + 2, + 220, + 191, + 2, + 220, + 191, + 2, + 220, + 191, + 3, + 220, + 191, + 4, + 220, + 191, + 3, + 220, + 191, + 4, + 220, + 191, + 3, + 220, + 191, + 2, + 220, + 191, + 2, + 220, + 191, + 2, + 220, + 191, + 2, + 0, + 0, +}; + +uint16 jobs_chuck_look[] = { + 144*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, +}; + +uint16 eye_blink[] = { + 213*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 0, +}; + +uint16 fan1_seq[] = { + 45*64, + 283, + 137, + 0, + 283, + 137, + 1, + 283, + 137, + 2, + 0, +}; + +uint16 m_ss_st_right[] = { + 75*64, + 1, + 1, + 38, + 0, +}; + +uint16 screen0_low_mouse[] = { + 69, + JOBS, + MINI_SS, + 105, + 111, + ID_PRESS, + 17, + ID_LOADER, + ID_UPLOAD, + ID_LOW_FLOOR, + 18, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 fan7_seq[] = { + 17*64, + 388, + 172, + 0, + 388, + 172, + 1, + 388, + 172, + 2, + 388, + 172, + 3, + 388, + 172, + 4, + 0, +}; + +uint16 f_ss_r_to_d[] = { + 47-8+99*64, + 0, +}; + +uint16 r1_opens[] = { + 96*64, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 f_ss_u_to_l[] = { + 43-8+99*64, + 0, +}; + +uint16 rs_mini_ss[] = { + C_FRAME, + 19+75*64, + C_MODE, + 0, + C_BASE_SUB, + MORE_SS, + C_BASE_SUB+2, + 0, + C_LOGIC, + L_SCRIPT, + C_XCOOD, + 192, + C_YCOOD, + 280, + 65535, +}; + +uint16 s3_pal[] = { + 0, + 512, + 512, + 4, + 1024, + 512, + 6, + 2048, + 0, + 516, + 1540, + 514, + 518, + 2052, + 2, + 522, + 3586, + 0, + 14, + 2050, + 516, + 1034, + 2050, + 1540, + 1034, + 2564, + 1540, + 1036, + 4098, + 2, + 1038, + 5124, + 2, + 1042, + 3586, + 1542, + 1044, + 3586, + 520, + 1044, + 3076, + 2056, + 1552, + 3590, + 2056, + 1050, + 5632, + 518, + 2066, + 6150, + 1030, + 1052, + 5634, + 1032, + 2070, + 6150, + 520, + 1564, + 7684, + 1030, + 3090, + 8968, + 6, + 2586, + 9988, + 4, + 3094, + 9992, + 516, + 2078, + 8454, + 520, + 2083, + 6658, + 1548, + 2593, + 9986, + 518, + 3100, + 6150, + 2574, + 2595, + 8964, + 1546, + 3102, + 8968, + 1036, + 3614, + 11014, + 520, + 3614, + 10504, + 522, + 2599, + 11526, + 8, + 2603, + 11010, + 1034, + 2605, + 9986, + 1038, + 3623, + 8454, + 1554, + 4131, + 10504, + 1550, + 3115, + 11528, + 1036, + 3119, + 8450, + 2578, + 3117, + 12042, + 1548, + 4137, + 9992, + 2066, + 3631, + 12548, + 526, + 5665, + 10508, + 2578, + 3125, + 12036, + 1552, + 3635, + 14084, + 1036, + 4145, + 11524, + 1554, + 5163, + 11014, + 2580, + 4655, + 11528, + 1556, + 4657, + 12552, + 2578, + 4151, + 13574, + 1554, + 5677, + 10508, + 3608, + 4663, + 13062, + 2068, + 5171, + 13066, + 1558, + 6695, + 14610, + 2066, + 5683, + 12042, + 2074, + 5683, + 11534, + 3612, + 6199, + 12552, + 4122, + 6711, + 12042, + 3614, + 6711, + 11532, + 5153, + 7221, + 14612, + 2078, + 7735, + 12558, + 5153, + 7735, + 14608, + 3105, + 9013, + 13074, + 5671, + 9017, + 15126, + 5155, + 10551, + 14616, + 5675, + 3391, + 11520, + 8, + 1822, + 0, + 44, + 13627, + 9728, + 22, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 16191, + 14080, + 3111, + 8756, + 12810, + 2077, + 6447, + 11527, + 1300, + 4394, + 10244, + 781, + 2341, + 8962, + 262, + 1055, + 6912, + 3, + 279, + 4608, + 0, + 13, + 2048, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 12036, + 12079, + 11563, + 8751, + 9506, + 9767, + 8497, + 11803, + 4379, + 5671, + 7942, + 273, + 1813, + 1792, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2623, + 13578, + 1285, + 293, + 6913, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 63, + 0, + 0, + 0, + 0, + 0, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 ss_smokes_2[] = { + 107*64, + 285, + 222, + 0, + 285, + 222, + 0, + 285, + 222, + 1, + 285, + 222, + 1, + 285, + 222, + 2, + 285, + 222, + 2, + 285, + 222, + 3, + 285, + 222, + 3, + 285, + 222, + 0, + 285, + 222, + 0, + 285, + 222, + 4, + 285, + 222, + 4, + 285, + 222, + 5, + 285, + 222, + 6, + 285, + 222, + 7, + 285, + 222, + 7, + 285, + 222, + 8, + 285, + 222, + 8, + 285, + 222, + 9, + 285, + 222, + 9, + 285, + 222, + 10, + 285, + 222, + 10, + 285, + 222, + 11, + 285, + 222, + 11, + 285, + 222, + 12, + 285, + 222, + 12, + 285, + 222, + 13, + 285, + 222, + 13, + 285, + 222, + 14, + 285, + 222, + 14, + 285, + 222, + 15, + 285, + 222, + 15, + 285, + 222, + 16, + 285, + 222, + 16, + 0, + 0, +}; + +uint16 m_ss_up[] = { + 1, + 0+75*64, + 0, + 65535, + 1, + 1+75*64, + 0, + 65535, + 1, + 2+75*64, + 0, + 65535, + 1, + 3+75*64, + 0, + 65535, + 1, + 4+75*64, + 0, + 65535, + 1, + 5+75*64, + 0, + 65535, + 1, + 6+75*64, + 0, + 65535, + 1, + 7+75*64, + 0, + 65535, + 0, +}; + +uint16 m_ss_left[] = { + 2, + 16+75*64, + 65534, + 0, + 2, + 17+75*64, + 65534, + 0, + 2, + 18+75*64, + 65534, + 0, + 2, + 19+75*64, + 65534, + 0, + 2, + 20+75*64, + 65534, + 0, + 2, + 21+75*64, + 65534, + 0, + 2, + 22+75*64, + 65534, + 0, + 2, + 23+75*64, + 65534, + 0, + 0, +}; + +uint16 m_ss_st_down[] = { + 75*64, + 1, + 1, + 32, + 0, +}; + +uint16 m_ss_st_left[] = { + 75*64, + 1, + 1, + 34, + 0, +}; + +uint16 m_ss_st_talk[] = { + 44*64, + 1, + 1, + 0, + 0, +}; + +uint16 m_ss_u_to_d[] = { + 43-8+75*64, + 42-8+75*64, + 41-8+75*64, + 0, +}; + +uint16 m_ss_u_to_l[] = { + 43-8+75*64, + 0, +}; + +uint16 m_ss_u_to_r[] = { + 45-8+75*64, + 0, +}; + +uint16 m_ss_d_to_u[] = { + 47-8+75*64, + 46-8+75*64, + 45-8+75*64, + 0, +}; + +uint16 m_ss_d_to_l[] = { + 41-8+75*64, + 0, +}; + +uint16 m_ss_d_to_r[] = { + 47-8+75*64, + 0, +}; + +uint16 m_ss_l_to_u[] = { + 43-8+75*64, + 0, +}; + +uint16 m_ss_l_to_r[] = { + 41-8+75*64, + 40-8+75*64, + 47-8+75*64, + 0, +}; + +uint16 m_ss_r_to_l[] = { + 45-8+75*64, + 44-8+75*64, + 43-8+75*64, + 0, +}; + +uint16 *mini_so_turnTable[5][5] = { + { // turnTableup + 0, + m_ss_u_to_d, + m_ss_u_to_l, + m_ss_u_to_r, + 0 + }, + { // turnTableDown + m_ss_d_to_u, + 0, + m_ss_d_to_l, + m_ss_d_to_r, + 0 + }, + { // turnTableLeft + m_ss_l_to_u, + m_ss_l_to_d, + 0, + m_ss_l_to_r, + 0 + }, + { // turnTableRight + m_ss_r_to_u, + m_ss_r_to_d, + m_ss_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact mini_so_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_SO, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + ss_auto, // animScratch + 0, // megaSet + 0, // gridWidth + 0, // colOffset + 8, // colWidth + 8, // lastChr + m_ss_up, // animUp + m_ss_down, // animDown + m_ss_left, // animLeft + m_ss_right, // animRight + m_ss_st_up, // standUp + m_ss_st_down, // standDown + m_ss_st_left, // standLeft + m_ss_st_right, // standRight + m_ss_st_talk, // standTalk +}; + +Compact mini_so = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_MOUSE, // status + 0, // sync + 0, // screen + ID_LOW_FLOOR, // place + 0, // getToTable + 158, // xcood + 280, // ycood + 75*64, // frame + 16, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65532, // mouseRel_x + 65516, // mouseRel_y + 8, // mouseSize_x + 28, // mouseSize_y + MEGA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + START_MINI_SS, // baseSub + 0, // baseSub_off + &mini_so_ext, + &mini_so_turnTable, +}; + +uint16 unload_seq1[] = { + 160*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 12, + 0, +}; + +uint16 open_r1[] = { + 98*64, + 196, + 202, + 0, + 191, + 202, + 1, + 187, + 202, + 2, + 187, + 202, + 3, + 188, + 201, + 4, + 194, + 202, + 5, + 197, + 202, + 6, + 196, + 202, + 7, + 0, +}; + +uint16 get_bar_out[] = { + 88*64, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, +}; + +uint16 fost_close_cup[] = { + 141*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 142*64+0, + 1, + 1, + 142*64+2, + 1, + 1, + 142*64+1, + SEND_SYNC, + ID_CUPBOARD, + 1, + 1, + 1, + 142*64+0, + 1, + 1, + 8, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 barrel_down_seq2[] = { + 206*64, + 270, + 205, + 0, + 270, + 210, + 1, + 270, + 215, + 2, + 270, + 220, + 3, + 270, + 224, + 4, + 270, + 229, + 5, + 270, + 234, + 6, + 270, + 238, + 7, + 270, + 243, + 7, + 270, + 248, + 7, + 270, + 252, + 7, + 270, + 257, + 8, + 0, +}; + +uint16 ss_kick[] = { + 100*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 0, +}; + +uint32 grid1[0]; + +uint8 full_ss_auto[64]; + +uint16 f_ss_up[] = { + 2, + 0+99*64, + 0, + 65534, + 2, + 1+99*64, + 0, + 65534, + 2, + 2+99*64, + 0, + 65534, + 2, + 3+99*64, + 0, + 65534, + 2, + 4+99*64, + 0, + 65534, + 2, + 5+99*64, + 0, + 65534, + 2, + 6+99*64, + 0, + 65534, + 2, + 7+99*64, + 0, + 65534, + 0, +}; + +uint16 f_ss_down[] = { + 2, + 8+99*64, + 0, + 2, + 2, + 9+99*64, + 0, + 2, + 2, + 10+99*64, + 0, + 2, + 2, + 11+99*64, + 0, + 2, + 2, + 12+99*64, + 0, + 2, + 2, + 13+99*64, + 0, + 2, + 2, + 14+99*64, + 0, + 2, + 2, + 15+99*64, + 0, + 2, + 0, +}; + +uint16 f_ss_right[] = { + 4, + 24+99*64, + 4, + 0, + 4, + 25+99*64, + 4, + 0, + 4, + 26+99*64, + 4, + 0, + 4, + 27+99*64, + 4, + 0, + 4, + 28+99*64, + 4, + 0, + 4, + 29+99*64, + 4, + 0, + 4, + 30+99*64, + 4, + 0, + 4, + 31+99*64, + 4, + 0, + 0, +}; + +uint16 f_ss_st_up[] = { + 99*64, + 1, + 1, + 36, + 0, +}; + +uint16 f_ss_st_down[] = { + 99*64, + 1, + 1, + 32, + 0, +}; + +uint16 f_ss_st_left[] = { + 99*64, + 1, + 1, + 34, + 0, +}; + +uint16 f_ss_u_to_r[] = { + 45-8+99*64, + 0, +}; + +uint16 f_ss_d_to_l[] = { + 41-8+99*64, + 0, +}; + +uint16 f_ss_d_to_r[] = { + 47-8+99*64, + 0, +}; + +uint16 f_ss_l_to_d[] = { + 41-8+99*64, + 0, +}; + +uint16 f_ss_r_to_u[] = { + 45-8+99*64, + 0, +}; + +uint16 f_ss_r_to_l[] = { + 45-8+99*64, + 44-8+99*64, + 43-8+99*64, + 0, +}; + +uint16 *full_so_turnTable[5][5] = { + { // turnTableup + 0, + f_ss_u_to_d, + f_ss_u_to_l, + f_ss_u_to_r, + 0 + }, + { // turnTableDown + f_ss_d_to_u, + 0, + f_ss_d_to_l, + f_ss_d_to_r, + 0 + }, + { // turnTableLeft + f_ss_l_to_u, + f_ss_l_to_d, + 0, + f_ss_l_to_r, + 0 + }, + { // turnTableRight + f_ss_r_to_u, + f_ss_r_to_d, + f_ss_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact full_so_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 3, // dir + STD_PLAYER_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_SO, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + full_ss_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + f_ss_up, // animUp + f_ss_down, // animDown + f_ss_left, // animLeft + f_ss_right, // animRight + f_ss_st_up, // standUp + f_ss_st_down, // standDown + f_ss_st_left, // standLeft + f_ss_st_right, // standRight + 0, // standTalk +}; + +Compact full_so = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION, // status + 0, // sync + 0, // screen + 17, // place + 0, // getToTable + 288, // xcood + 224, // ycood + 31+99*64, // frame + 0, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 65488, // mouseRel_y + 32, // mouseSize_x + 48, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + FULL_SS_CUT, // baseSub + 0, // baseSub_off + &full_so_ext, + &full_so_turnTable, +}; + +uint16 panel_seq[] = { + 165*64, + 321, + 187, + 0, + 321, + 187, + 1, + 321, + 187, + 2, + 321, + 187, + 3, + 0, + 0, +}; + +uint16 chip_list_0[] = { + 14+0X8000, + 15+0X8000, + 71+0X8000, + 103+0X8000, + 24, + 75, + 44, + 270, + 273, + 86, + 87+0X8000, + 88+0X8000, + 89, + 91+0X8000, + 100, + 76, + 110, + 104, + 18, + 224, + 106, + 107, + 108, + 109, + 162, + 45, + 168, + 169, + 171, + 172, + 16, + 17, + 227+0X8000, + 99, + 0, +}; + +uint16 use_the_bar[] = { + 91*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 0, +}; + +uint16 small_closes[] = { + 104*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 0, +}; + +uint16 jobs_buttons[] = { + 145*64, + 248, + 183, + 0, + 248, + 183, + 1, + 248, + 183, + 2, + 248, + 183, + 1, + 248, + 183, + 3, + 248, + 183, + 4, + 248, + 183, + 3, + 248, + 183, + 4, + 248, + 183, + 2, + 248, + 183, + 1, + 248, + 183, + 3, + 248, + 183, + 0, + 0, + 0, +}; + +uint16 up_stairs[] = { + 14*64, + 189, + 296, + 0, + 190, + 294, + 1, + 192, + 293, + 2, + 194, + 291, + 3, + 193, + 290, + 4, + 194, + 288, + 5, + 196, + 285, + 6, + 197, + 284, + 7, + 197, + 283, + 8, + 198, + 281, + 9, + 200, + 279, + 10, + 201, + 278, + 11, + 201, + 277, + 12, + 202, + 276, + 13, + 204, + 273, + 14, + 205, + 272, + 15, + 205, + 271, + 16, + 207, + 269, + 17, + 210, + 267, + 18, + 210, + 266, + 11, + 210, + 265, + 12, + 211, + 264, + 13, + 213, + 261, + 14, + 214, + 260, + 15, + 214, + 259, + 16, + 216, + 257, + 17, + 219, + 255, + 18, + 219, + 254, + 11, + 219, + 253, + 12, + 220, + 252, + 13, + 222, + 249, + 14, + 223, + 248, + 15, + 223, + 247, + 16, + 225, + 246, + 19, + 228, + 246, + 20, + 230, + 246, + 21, + 230, + 242, + 22, + 231, + 242, + 23, + 236, + 241, + 24, + 234, + 241, + 25, + 234, + 240, + 26, + 234, + 240, + 27, + 234, + 240, + 28, + 236, + 235, + 29, + 235, + 235, + 30, + 230, + 240, + 31, + 225, + 246, + 32, + 225, + 246, + 33, + 225, + 235, + 34, + 224, + 235, + 35, + 219, + 240, + 36, + 215, + 240, + 37, + 216, + 240, + 38, + 215, + 235, + 39, + 213, + 235, + 40, + 209, + 240, + 41, + 208, + 240, + 42, + 206, + 240, + 43, + 206, + 240, + 44, + 206, + 240, + 45, + 204, + 233, + 46, + 204, + 232, + 47, + 204, + 232, + 48, + 204, + 232, + 49, + 0, + 0, +}; + +uint16 chuck_seq[] = { + 59*64, + 334, + 222, + 0, + 334, + 222, + 1, + 334, + 222, + 2, + 0, + 0, +}; + +uint16 rs_foster_to_0[] = { + C_XCOOD, + 400+16, + C_YCOOD, + 224-8, + C_SCREEN, + 0, + C_PLACE, + 17, + 65535, +}; + +Compact fire_notice = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 399+2, // xcood + 172, // ycood + 0, // frame + 4151, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 10, // mouseSize_y + NOTICE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + NOTICE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 screen0_high_mouse[] = { + 70, + 17, + ID_LOW_FLOOR, + 85, + ID_NOTICE, + 90, + 18, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 foster_g_up[] = { + 141*64, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 rs_foster_s3[] = { + C_XCOOD, + 336, + C_YCOOD, + 288, + C_PLACE, + ID_S3_FLOOR, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_AR_PRIORITY+ST_GRID_PLOT+ST_COLLISION, + 65535, +}; + +uint16 rs_mini_foster[] = { + C_XCOOD, + 192, + C_YCOOD, + 312, + C_FRAME, + 13*64+42, + C_DIR, + 2, + C_PLACE, + 69, + C_GET_TO_FLAG, + 0, + 65535, +}; + +uint16 bolt1_seq[] = { + 214*64, + 210, + 177, + 0, + 245, + 197, + 1, + 294, + 227, + 2, + 0, +}; + +uint16 rs_foster_4_2[] = { + C_XCOOD, + 424, + C_YCOOD, + 248, + C_SCREEN, + 2, + C_PLACE, + 115, + C_DIR, + 2, + 65535, +}; + +uint16 screen0_high_logic[] = { + ID_FOSTER, + JOBS, + ID_CUPBOARD, + ID_KNOB, + ID_LAZER, + ID_CHUCK, + MINI_SS, + 85, + 90, + 97, + 105, + ID_FAN1, + ID_FAN2, + ID_FAN3, + ID_FAN4, + ID_FAN5, + ID_FAN6, + ID_FAN7, + ID_PRESS, + ID_LAZER_GUN, + ID_UPLOAD, + ID_NOTICE, + ID_NOTICE2, + ID_LOADER, + ID_TOP_LIFT, + 4344, + ID_TOP_BARREL, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 fan6_seq[] = { + 16*64, + 368, + 156, + 0, + 368, + 156, + 1, + 368, + 156, + 2, + 368, + 156, + 3, + 0, +}; + +uint16 fexit_opens[] = { + 89*64, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +uint16 fost_push_knob[] = { + 153*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 5, + SEND_SYNC, + ID_KNOB, + 2, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 lazer_run_seq[] = { + 60*64, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 0, +}; + +uint16 try_to_open_r0[] = { + 227*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 fast_list_cut2[] = { + 64, + 65, + 66, + 162, + 0, +}; + +uint16 knob_down[] = { + 58*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +uint16 chip_list_sc0[] = { + 89, + 104, + 159, + 161, + 162, + 18, + 96, + 45, + 168, + 169, + 171, + 172, + 16, + 17, + 227+0X8000, + 64, + 65, + 66, + 75, + 23, + 0, +}; + +uint16 sc0_cut_logic[] = { + FULL_SS, + 90, + 105, + 97, + ID_FAN1, + ID_FAN2, + ID_FAN3, + ID_FAN4, + ID_FAN5, + ID_FAN6, + ID_FAN7, + ID_PRESS, + ID_UPLOAD, + ID_NOTICE, + ID_NOTICE2, + ID_LFAN1, + ID_SMOKE1, + ID_SMOKE2, + ID_FIRE1, + ID_FIRE2, + ID_CAR_UP, + ID_CAR_DOWN, + 0XFFFF, + ID_MENU_LOGIC, +}; + +Compact lazer_gun = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LAZER_GUN_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 up_stairs2[] = { + 15*64, + 203, + 229, + 0, + 203, + 228, + 1, + 202, + 227, + 2, + 202, + 226, + 3, + 202, + 226, + 4, + 202, + 227, + 5, + 202, + 223, + 6, + 202, + 222, + 7, + 200, + 222, + 8, + 200, + 220, + 9, + 199, + 220, + 10, + 199, + 220, + 11, + 199, + 217, + 12, + 198, + 216, + 13, + 198, + 216, + 14, + 198, + 216, + 15, + 198, + 216, + 16, + 198, + 211, + 17, + 198, + 209, + 18, + 198, + 209, + 19, + 198, + 216, + 20, + 196, + 206, + 21, + 195, + 204, + 22, + 195, + 203, + 23, + 194, + 202, + 24, + 194, + 201, + 25, + 187, + 199, + 26, + 187, + 197, + 27, + 186, + 195, + 28, + 186, + 195, + 29, + 185, + 193, + 30, + 185, + 192, + 31, + 185, + 189, + 32, + 184, + 187, + 33, + 184, + 187, + 34, + 183, + 185, + 35, + 183, + 183, + 36, + 182, + 180, + 37, + 181, + 178, + 38, + 181, + 177, + 39, + 180, + 176, + 40, + 179, + 174, + 41, + 179, + 171, + 42, + 178, + 168, + 43, + 177, + 167, + 44, + 176, + 166, + 45, + 176, + 166, + 46, + 175, + 166, + 47, + 175, + 167, + 48, + 175, + 166, + 49, + 0, + 0, +}; + +uint16 barrel_down_seq[] = { + 205*64, + 270, + 141, + 0, + 270, + 141, + 1, + 270, + 141, + 2, + 270, + 146, + 3, + 270, + 151, + 4, + 270, + 156, + 5, + 270, + 160, + 6, + 270, + 165, + 7, + 270, + 169, + 8, + 270, + 173, + 9, + 270, + 177, + 10, + 270, + 182, + 11, + 270, + 186, + 12, + 270, + 191, + 13, + 270, + 196, + 14, + 270, + 201, + 15, + 0, +}; + +uint16 daft_seq[] = { + 161*64, + 193, + 268, + 0, + 192, + 268, + 1, + 191, + 268, + 2, + 190, + 268, + 3, + 189, + 268, + 4, + 188, + 268, + 5, + 187, + 268, + 6, + 187, + 268, + 7, + 187, + 268, + 8, + 187, + 268, + 9, + 187, + 269, + 10, + 187, + 270, + 11, + 187, + 271, + 9, + 187, + 271, + 8, + 187, + 271, + 7, + 187, + 271, + 6, + 187, + 271, + 6, + 187, + 271, + 6, + 187, + 271, + 6, + 187, + 271, + 6, + 187, + 271, + 6, + 187, + 271, + 6, + 187, + 271, + 6, + 187, + 271, + 6, + 187, + 271, + 6, + 187, + 271, + 6, + 187, + 271, + 6, + 187, + 271, + 6, + 187, + 271, + 12, + 187, + 271, + 13, + 187, + 271, + 14, + 187, + 271, + 15, + 187, + 271, + 16, + 187, + 271, + 17, + 187, + 271, + 18, + 187, + 271, + 19, + 187, + 271, + 19, + 187, + 271, + 20, + 187, + 271, + 21, + 187, + 271, + 22, + 186, + 271, + 23, + 185, + 271, + 24, + 185, + 271, + 25, + 186, + 271, + 26, + 186, + 271, + 27, + 187, + 271, + 28, + 187, + 270, + 29, + 187, + 269, + 30, + 187, + 268, + 28, + 186, + 268, + 27, + 186, + 268, + 26, + 185, + 268, + 25, + 186, + 268, + 31, + 187, + 268, + 32, + 188, + 268, + 33, + 189, + 268, + 34, + 190, + 268, + 35, + 191, + 268, + 36, + 0, + 0, +}; + +uint16 down_stairs2[] = { + 72*64, + 213, + 240, + 0, + 218, + 235, + 1, + 221, + 235, + 2, + 221, + 240, + 3, + 223, + 246, + 4, + 225, + 246, + 5, + 231, + 235, + 6, + 234, + 235, + 7, + 233, + 240, + 8, + 233, + 240, + 9, + 233, + 241, + 10, + 233, + 242, + 11, + 233, + 242, + 12, + 233, + 246, + 13, + 233, + 246, + 14, + 233, + 247, + 15, + 235, + 247, + 16, + 233, + 247, + 17, + 227, + 248, + 18, + 226, + 248, + 19, + 223, + 251, + 20, + 223, + 251, + 21, + 223, + 252, + 22, + 222, + 254, + 23, + 219, + 257, + 24, + 217, + 257, + 25, + 216, + 258, + 26, + 215, + 260, + 19, + 211, + 263, + 20, + 211, + 263, + 21, + 211, + 264, + 22, + 211, + 266, + 23, + 209, + 269, + 24, + 207, + 269, + 25, + 206, + 270, + 26, + 205, + 272, + 19, + 202, + 275, + 20, + 202, + 275, + 21, + 202, + 276, + 22, + 202, + 278, + 23, + 200, + 281, + 24, + 198, + 281, + 25, + 197, + 282, + 26, + 196, + 284, + 19, + 193, + 287, + 20, + 193, + 288, + 27, + 192, + 289, + 28, + 193, + 293, + 29, + 191, + 296, + 30, + 189, + 296, + 31, + 0, + 0, +}; + +uint16 joey_jump_seq[] = { + 201*64, + 228, + 172, + 0, + 228, + 172, + 0, + 228, + 172, + 1, + 228, + 172, + 1, + 228, + 172, + 2, + 228, + 172, + 2, + 228, + 172, + 3, + 228, + 172, + 3, + 228, + 172, + 4, + 228, + 172, + 4, + 228, + 172, + 5, + 228, + 172, + 5, + 228, + 172, + 6, + 228, + 172, + 6, + 228, + 172, + 7, + 228, + 172, + 7, + 228, + 172, + 8, + 228, + 172, + 8, + 228, + 172, + 9, + 228, + 172, + 10, + 228, + 172, + 11, + 228, + 172, + 12, + 228, + 172, + 13, + 228, + 172, + 14, + 228, + 172, + 15, + 228, + 172, + 16, + 228, + 172, + 17, + 228, + 172, + 9, + 228, + 172, + 10, + 228, + 172, + 11, + 228, + 172, + 12, + 228, + 172, + 13, + 228, + 172, + 14, + 228, + 172, + 15, + 228, + 172, + 16, + 228, + 172, + 17, + 228, + 172, + 9, + 228, + 172, + 10, + 228, + 172, + 11, + 228, + 172, + 12, + 228, + 172, + 13, + 228, + 172, + 14, + 228, + 172, + 15, + 228, + 172, + 16, + 228, + 172, + 17, + 228, + 172, + 8, + 228, + 172, + 8, + 228, + 172, + 7, + 228, + 172, + 7, + 228, + 172, + 6, + 228, + 172, + 6, + 228, + 172, + 5, + 228, + 172, + 5, + 228, + 172, + 4, + 228, + 172, + 4, + 228, + 172, + 3, + 228, + 172, + 3, + 228, + 172, + 2, + 228, + 172, + 2, + 228, + 172, + 1, + 228, + 172, + 1, + 228, + 172, + 0, + 0, + 0, +}; + +uint16 fost_lean_seq[] = { + 21*64, + 263, + 201, + 0, + 263, + 201, + 0, + 263, + 201, + 1, + 263, + 201, + 1, + 263, + 201, + 2, + 263, + 201, + 2, + 263, + 201, + 3, + 263, + 201, + 3, + 263, + 201, + 4, + 263, + 201, + 4, + 263, + 201, + 5, + 263, + 201, + 5, + 263, + 201, + 5, + 263, + 201, + 5, + 263, + 201, + 5, + 263, + 201, + 5, + 263, + 201, + 6, + 263, + 201, + 6, + 263, + 201, + 7, + 263, + 201, + 7, + 263, + 201, + 8, + 263, + 201, + 8, + 263, + 201, + 9, + 263, + 201, + 9, + 263, + 201, + 10, + 263, + 201, + 10, + 263, + 201, + 11, + 263, + 201, + 11, + 0, + 0, +}; + +uint16 joey_wake_seq[] = { + 174*64, + 312, + 294, + 0, + 311, + 294, + 1, + 312, + 294, + 0, + 312, + 294, + 2, + 312, + 294, + 3, + 311, + 294, + 1, + 311, + 294, + 4, + 312, + 294, + 5, + 312, + 294, + 0, + 312, + 294, + 2, + 312, + 294, + 3, + 311, + 294, + 1, + 311, + 294, + 4, + 312, + 294, + 5, + 312, + 294, + 0, + 311, + 294, + 1, + 312, + 294, + 0, + 311, + 294, + 1, + 312, + 294, + 0, + 312, + 294, + 2, + 312, + 294, + 3, + 311, + 294, + 1, + 311, + 294, + 4, + 312, + 294, + 5, + 312, + 294, + 6, + 311, + 294, + 7, + 309, + 294, + 8, + 306, + 293, + 9, + 301, + 291, + 10, + 0, + 0, +}; + +uint16 low_lift_down_seq2[] = { + 203*64, + 250, + 141, + 9, + 250, + 141, + 8, + 250, + 141, + 7, + 250, + 141, + 6, + 250, + 141, + 5, + 250, + 141, + 4, + 250, + 141, + 3, + 250, + 141, + 2, + 250, + 141, + 1, + 250, + 146, + 1, + 250, + 151, + 0, + 250, + 156, + 0, + 0, +}; + +uint16 lazer_start_seq[] = { + 60*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +uint16 get_the_bar[] = { + 87*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 9, + 0, +}; + +uint16 fan4_seq[] = { + 171*64, + 428, + 216, + 0, + 428, + 216, + 1, + 428, + 216, + 2, + 428, + 216, + 3, + 428, + 216, + 4, + 0, +}; + +uint16 tv_seq[] = { + 56*64, + 270, + 190, + 0, + 270, + 190, + 1, + 270, + 190, + 2, + 270, + 190, + 3, + 270, + 190, + 4, + 270, + 190, + 5, + 270, + 190, + 6, + 270, + 190, + 7, + 0, + 0, +}; + +uint16 bolt2_seq[] = { + 214*64, + 210, + 177, + 0, + 237, + 203, + 1, + 296, + 239, + 2, + 0, +}; + +Compact fan6 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 16*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FAN6_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 jobs_pull_knob[] = { + 143*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + SEND_SYNC, + ID_KNOB, + 1, + 1, + 1, + 3, + 0, +}; + +uint16 convey_seq[] = { + 208*64, + 250, + 268, + 0, + 250, + 268, + 1, + 250, + 268, + 2, + 250, + 268, + 3, + 0, +}; + +uint16 fan5_seq[] = { + 172*64, + 374, + 165, + 0, + 374, + 165, + 1, + 374, + 165, + 2, + 374, + 165, + 3, + 374, + 165, + 4, + 0, +}; + +uint32 grid2[0]; + +uint16 guard_lean_out[] = { + 20*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 0, +}; + +uint32 c101[0]; + +uint16 put_bar_away[] = { + 88*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 6, + 0, +}; + +uint16 fan3_seq[] = { + 169*64, + 229, + 137, + 0, + 229, + 137, + 1, + 229, + 137, + 2, + 229, + 137, + 3, + 0, +}; + +uint16 s1_pal[] = { + 0, + 1024, + 1540, + 1030, + 1540, + 2054, + 1544, + 2566, + 1030, + 1548, + 2564, + 2056, + 2058, + 3594, + 1544, + 2062, + 4616, + 2058, + 2580, + 3590, + 3596, + 3088, + 4620, + 2572, + 2584, + 5638, + 2060, + 3600, + 5140, + 3598, + 3606, + 7180, + 1548, + 3608, + 6154, + 3086, + 4114, + 8466, + 1548, + 4116, + 7186, + 2574, + 4120, + 4622, + 5650, + 3617, + 7176, + 3088, + 4126, + 9482, + 2062, + 4632, + 8980, + 2064, + 5142, + 7702, + 3602, + 3623, + 9994, + 2576, + 5148, + 8978, + 3090, + 4137, + 6666, + 6166, + 5155, + 7694, + 5142, + 4651, + 9994, + 3604, + 5161, + 7180, + 6168, + 6174, + 9494, + 4118, + 6179, + 8978, + 5656, + 5673, + 11024, + 3606, + 6686, + 9500, + 5146, + 6691, + 11032, + 4120, + 6695, + 12052, + 3096, + 7203, + 11034, + 5148, + 7719, + 11032, + 5660, + 7717, + 12060, + 4636, + 7721, + 11032, + 5150, + 8487, + 10526, + 6689, + 8491, + 13082, + 5150, + 8493, + 12056, + 6177, + 9001, + 11553, + 7203, + 8499, + 10518, + 8997, + 9011, + 12056, + 7205, + 9519, + 14110, + 5155, + 10029, + 13089, + 6693, + 10027, + 12583, + 7207, + 9529, + 15128, + 6181, + 10543, + 13093, + 7721, + 10551, + 12570, + 8491, + 11061, + 13598, + 8491, + 11567, + 15657, + 6697, + 11065, + 13084, + 9517, + 11573, + 14627, + 7725, + 11581, + 14620, + 8495, + 12085, + 14633, + 9519, + 12595, + 15149, + 8497, + 12599, + 15145, + 9521, + 13117, + 13601, + 11061, + 13111, + 15663, + 10547, + 13631, + 15139, + 11573, + 13629, + 16171, + 9527, + 14137, + 15665, + 11575, + 14655, + 16167, + 10553, + 14653, + 15151, + 14137, + 15165, + 15667, + 13627, + 15679, + 16173, + 14653, + 6441, + 12307, + 6179, + 4923, + 11781, + 1560, + 3873, + 5121, + 8, + 2064, + 4614, + 1545, + 1804, + 4101, + 1801, + 1803, + 2823, + 2825, + 2828, + 5645, + 1546, + 2842, + 16134, + 21, + 2837, + 5895, + 2317, + 1288, + 3588, + 1544, + 1030, + 2052, + 1029, + 1546, + 16132, + 11581, + 14655, + 16162, + 6195, + 11327, + 16142, + 1829, + 7487, + 13571, + 2844, + 6700, + 8976, + 4632, + 0, + 2816, + 2827, + 2570, + 2058, + 516, + 1546, + 3076, + 1287, + 2062, + 4102, + 1801, + 2578, + 5640, + 2060, + 3100, + 6150, + 2574, + 4124, + 8972, + 2064, + 4638, + 7694, + 5142, + 0, + 7680, + 5142, + 6179, + 9490, + 5146, + 6695, + 8980, + 6684, + 7211, + 10004, + 6174, + 7721, + 12056, + 6177, + 9005, + 11548, + 8487, + 10033, + 12572, + 8491, + 12603, + 15141, + 14137, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 10243, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9227, + 1285, + 287, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 eye_shoot[] = { + 213*64, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 3, + 1, + 1, + 2, + 0, +}; + +uint16 furnace_door_open[] = { + 215*64, + 398, + 222, + 0, + 398, + 222, + 1, + 398, + 222, + 2, + 398, + 222, + 3, + 398, + 222, + 4, + 398, + 222, + 5, + 398, + 222, + 6, + 398, + 222, + 7, + 398, + 222, + 8, + 398, + 222, + 9, + 398, + 222, + 10, + 398, + 222, + 11, + 0, +}; + +uint16 ss_smokes_4[] = { + 109*64, + 289, + 221, + 0, + 289, + 221, + 0, + 289, + 221, + 1, + 289, + 221, + 1, + 289, + 221, + 2, + 289, + 221, + 2, + 289, + 221, + 3, + 289, + 221, + 3, + 289, + 221, + 4, + 289, + 221, + 4, + 289, + 221, + 5, + 289, + 221, + 5, + 289, + 221, + 6, + 289, + 221, + 6, + 289, + 221, + 7, + 289, + 221, + 7, + 289, + 221, + 8, + 289, + 221, + 8, + 0, + 0, +}; + +Compact fan5 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 172*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FAN5_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 jobs_close[] = { + 63*64, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 7, + SEND_SYNC, + ID_CUPBOARD, + 1, + 1, + 1, + 7, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 cup_open_seq[] = { + 57*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +uint16 guard_lean_back[] = { + 20*64, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 ss_kick_2[] = { + 100*64, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 10, + 0, +}; + +uint16 shot1_seq[] = { + 219*64, + 355, + 249, + 0, + 349, + 250, + 1, + 347, + 249, + 2, + 346, + 249, + 3, + 347, + 249, + 4, + 341, + 250, + 5, + 331, + 251, + 6, + 331, + 251, + 7, + 331, + 250, + 8, + 331, + 251, + 9, + 331, + 251, + 10, + 331, + 251, + 6, + 331, + 251, + 6, + 340, + 247, + 11, + 348, + 251, + 12, + 354, + 251, + 13, + 355, + 252, + 14, + 359, + 252, + 15, + 368, + 250, + 16, + 367, + 249, + 17, + 371, + 250, + 18, + 376, + 249, + 19, + 376, + 249, + 20, + 376, + 249, + 20, + 376, + 249, + 20, + 375, + 249, + 21, + 376, + 249, + 22, + 376, + 249, + 23, + 376, + 249, + 23, + 376, + 249, + 23, + 376, + 249, + 23, + 376, + 249, + 23, + 376, + 249, + 23, + 0, +}; + +uint16 fexit_closes[] = { + 89*64, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 low_lift_down_seq3[] = { + 202*64, + 250, + 160, + 7, + 250, + 165, + 7, + 250, + 169, + 6, + 250, + 174, + 6, + 250, + 178, + 5, + 250, + 183, + 5, + 250, + 187, + 4, + 250, + 192, + 4, + 250, + 196, + 3, + 250, + 201, + 2, + 250, + 205, + 1, + 250, + 210, + 0, + 0, +}; + +uint16 rs_restart_barrel[] = { + C_STATUS, + ST_SORT+ST_LOGIC+ST_RECREATE, + C_XCOOD, + 264, + C_YCOOD, + 240, + C_FRAME, + 155*64, + 65535, +}; + +uint16 open_r0[] = { + 227*64, + 283, + 214, + 0, + 283, + 214, + 1, + 283, + 214, + 2, + 283, + 214, + 3, + 283, + 214, + 4, + 283, + 214, + 5, + 283, + 214, + 5, + 283, + 214, + 5, + 283, + 214, + 6, + 283, + 214, + 0, + 283, + 214, + 0, + 0, + 0, +}; + +uint16 rs_foster_2_4[] = { + C_XCOOD, + 168+8, + C_YCOOD, + 248, + C_SCREEN, + 4, + C_PLACE, + ID_S4_FLOOR, + C_DIR, + 3, + 65535, +}; + +uint16 ss_shoot_seq[] = { + 110*64, + 275, + 261, + 0, + 276, + 261, + 1, + 272, + 261, + 2, + 272, + 261, + 3, + 272, + 261, + 4, + 271, + 261, + 5, + 270, + 262, + 6, + 274, + 259, + 7, + 273, + 261, + 8, + 270, + 262, + 9, + 272, + 261, + 10, + 274, + 261, + 11, + 274, + 261, + 12, + 273, + 261, + 13, + 274, + 262, + 14, + 276, + 262, + 15, + 276, + 261, + 16, + 0, + 0, +}; + +uint16 shut_r1[] = { + 226*64, + 227, + 194, + 0, + 224, + 194, + 1, + 227, + 194, + 2, + 224, + 194, + 3, + 220, + 194, + 4, + 215, + 194, + 5, + 210, + 194, + 6, + 215, + 194, + 7, + 227, + 194, + 8, + 0, +}; + +uint16 down_stairs[] = { + 71*64, + 173, + 159, + 0, + 174, + 161, + 1, + 174, + 164, + 2, + 175, + 167, + 3, + 176, + 169, + 4, + 177, + 170, + 5, + 177, + 172, + 6, + 178, + 175, + 7, + 179, + 177, + 8, + 179, + 179, + 9, + 180, + 180, + 10, + 181, + 181, + 11, + 181, + 184, + 12, + 182, + 186, + 13, + 182, + 188, + 14, + 183, + 188, + 15, + 184, + 190, + 16, + 183, + 193, + 17, + 184, + 194, + 18, + 184, + 196, + 19, + 185, + 196, + 20, + 185, + 198, + 21, + 191, + 200, + 22, + 192, + 202, + 23, + 193, + 203, + 24, + 193, + 204, + 25, + 194, + 205, + 26, + 198, + 216, + 27, + 198, + 216, + 28, + 198, + 216, + 29, + 198, + 216, + 30, + 198, + 216, + 31, + 198, + 216, + 32, + 198, + 216, + 33, + 198, + 216, + 34, + 198, + 216, + 35, + 198, + 217, + 36, + 199, + 220, + 37, + 199, + 222, + 38, + 199, + 222, + 39, + 199, + 222, + 40, + 199, + 223, + 41, + 202, + 228, + 42, + 202, + 228, + 43, + 202, + 228, + 44, + 202, + 228, + 45, + 202, + 228, + 46, + 202, + 229, + 47, + 204, + 232, + 48, + 204, + 232, + 49, + 204, + 232, + 50, + 204, + 232, + 51, + 204, + 233, + 52, + 204, + 234, + 53, + 206, + 240, + 54, + 206, + 240, + 55, + 206, + 240, + 56, + 206, + 240, + 57, + 206, + 240, + 58, + 206, + 240, + 59, + 207, + 235, + 60, + 209, + 235, + 61, + 211, + 246, + 62, + 212, + 240, + 63, + 0, +}; + +uint16 barrel_seq[] = { + 155*64, + 264, + 240, + 0, + 264, + 240, + 1, + 264, + 240, + 2, + 264, + 240, + 3, + 264, + 240, + 4, + 264, + 240, + 5, + 0, +}; + +uint16 jobs_scratch[] = { + 144*64, + 284, + 191, + 0, + 284, + 191, + 1, + 284, + 191, + 2, + 284, + 191, + 3, + 284, + 191, + 4, + 284, + 191, + 3, + 284, + 191, + 4, + 284, + 191, + 3, + 284, + 191, + 4, + 284, + 191, + 3, + 284, + 191, + 4, + 284, + 191, + 3, + 284, + 191, + 2, + 284, + 191, + 1, + 284, + 191, + 0, + 284, + 191, + 0, + 284, + 191, + 0, + 284, + 191, + 0, + 284, + 191, + 0, + 284, + 191, + 0, + 0, + 0, +}; + +uint16 unload_seq2[] = { + 160*64, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 16, + 1, + 1, + 18, + 0, +}; + +uint16 rs_foster_0_2[] = { + C_XCOOD, + 128-8, + C_YCOOD, + 264, + C_SCREEN, + 2, + C_PLACE, + 115, + C_DIR, + 3, + C_FRAME, + 46+12*64, + 65535, +}; + +uint16 r1_closes[] = { + 96*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 0, +}; + +uint16 rs_convey[] = { + C_STATUS, + ST_LOGIC+ST_RECREATE+ST_NO_VMASK, + 65535, +}; + +uint16 jobs_push_knob[] = { + 143*64, + 1, + 1, + 3, + SEND_SYNC, + ID_KNOB, + 2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 knob_up[] = { + 58*64, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 crouch_talk[] = { + 24*64, + 24*64+3, + 265, + 192, + 0, + 265, + 192, + 1, + 265, + 192, + 1, + 265, + 192, + 2, + 265, + 192, + 2, + 265, + 192, + 3, + 265, + 192, + 3, + 265, + 192, + 0, + 265, + 192, + 0, + 265, + 192, + 1, + 265, + 192, + 1, + 265, + 192, + 0, + 265, + 192, + 2, + 265, + 192, + 2, + 265, + 192, + 2, + 265, + 192, + 0, + 265, + 192, + 0, + 265, + 192, + 2, + 265, + 192, + 2, + 265, + 192, + 3, + 265, + 192, + 3, + 265, + 192, + 0, + 265, + 192, + 0, + 265, + 192, + 1, + 265, + 192, + 1, + 265, + 192, + 2, + 265, + 192, + 2, + 265, + 192, + 3, + 265, + 192, + 3, + 265, + 192, + 0, + 265, + 192, + 0, + 265, + 192, + 1, + 265, + 192, + 1, + 265, + 192, + 0, + 265, + 192, + 2, + 265, + 192, + 2, + 265, + 192, + 2, + 265, + 192, + 0, + 265, + 192, + 0, + 265, + 192, + 2, + 265, + 192, + 2, + 265, + 192, + 3, + 265, + 192, + 3, + 265, + 192, + 0, + 0, +}; + +uint16 shot2_seq[] = { + 220*64, + 344, + 249, + 0, + 343, + 256, + 1, + 346, + 260, + 2, + 352, + 257, + 3, + 362, + 257, + 4, + 373, + 249, + 5, + 373, + 242, + 6, + 362, + 244, + 7, + 367, + 251, + 8, + 363, + 261, + 9, + 373, + 273, + 10, + 373, + 273, + 11, + 373, + 273, + 12, + 373, + 273, + 13, + 373, + 273, + 14, + 373, + 273, + 15, + 0, +}; + +uint16 joey_fly2[] = { + 210*64, + 328, + 204, + 0, + 328, + 206, + 1, + 328, + 209, + 0, + 328, + 211, + 1, + 328, + 214, + 0, + 328, + 216, + 1, + 328, + 219, + 0, + 328, + 221, + 1, + 328, + 224, + 0, + 328, + 226, + 1, + 328, + 229, + 0, + 328, + 231, + 1, + 328, + 234, + 0, + 328, + 235, + 1, + 328, + 237, + 0, + 328, + 238, + 1, + 328, + 238, + 2, + 328, + 238, + 3, + 328, + 238, + 4, + 328, + 238, + 5, + 328, + 238, + 2, + 328, + 238, + 3, + 328, + 238, + 4, + 328, + 238, + 5, + 328, + 238, + 2, + 328, + 238, + 3, + 328, + 238, + 4, + 328, + 238, + 5, + 328, + 238, + 2, + 328, + 238, + 3, + 328, + 238, + 4, + 328, + 238, + 5, + 328, + 238, + 2, + 328, + 238, + 3, + 328, + 238, + 4, + 328, + 238, + 5, + 328, + 238, + 2, + 328, + 238, + 3, + 328, + 238, + 4, + 328, + 238, + 4, + 328, + 238, + 5, + 328, + 238, + 5, + 328, + 238, + 2, + 328, + 238, + 2, + 328, + 238, + 3, + 328, + 238, + 3, + 328, + 238, + 4, + 328, + 238, + 4, + 328, + 238, + 5, + 328, + 238, + 5, + 328, + 238, + 2, + 328, + 238, + 2, + 328, + 238, + 3, + 328, + 238, + 3, + 328, + 237, + 6, + 328, + 235, + 7, + 328, + 235, + 8, + 328, + 236, + 9, + 328, + 237, + 10, + 328, + 240, + 11, + 328, + 245, + 12, + 328, + 244, + 13, + 328, + 245, + 14, + 328, + 246, + 15, + 0, + 0, +}; + +uint16 jobs_key_seq[] = { + 166*64, + 254, + 198, + 0, + 254, + 198, + 1, + 254, + 198, + 1, + 254, + 198, + 2, + 254, + 198, + 2, + 254, + 198, + 2, + 254, + 198, + 1, + 254, + 198, + 1, + 254, + 198, + 0, + 0, + 0, +}; + +uint16 rs_mega_2_0[] = { + C_XCOOD, + 408, + C_YCOOD, + 272, + C_SCREEN, + 0, + C_PLACE, + ID_LOW_FLOOR, + C_DIR, + 2, + C_MOUSE_REL_X, + 65532, + C_MOUSE_REL_Y, + 65516, + C_MOUSE_SIZE_X, + 8, + C_MOUSE_SIZE_Y, + 28, + 65535, +}; + +uint16 uncrouch_seq[] = { + 76*64, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, +}; + +uint16 fost_must_close[] = { + 141*64, + SEND_SYNC, + ID_CUPBOARD, + 1, + 1, + 1, + 142*64+2, + 1, + 1, + 142*64+2, + 1, + 1, + 142*64+0, + 1, + 1, + 8, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 joey_fly1[] = { + 209*64, + 268, + 141, + 0, + 263, + 141, + 1, + 258, + 141, + 2, + 253, + 141, + 3, + 249, + 141, + 4, + 247, + 141, + 5, + 245, + 142, + 6, + 243, + 145, + 7, + 242, + 148, + 6, + 240, + 152, + 7, + 239, + 155, + 6, + 238, + 159, + 7, + 237, + 162, + 6, + 237, + 166, + 7, + 237, + 170, + 6, + 237, + 174, + 7, + 239, + 178, + 6, + 240, + 181, + 7, + 243, + 184, + 6, + 246, + 187, + 7, + 249, + 189, + 6, + 252, + 190, + 7, + 256, + 191, + 6, + 260, + 192, + 7, + 263, + 193, + 6, + 267, + 193, + 7, + 271, + 193, + 6, + 275, + 193, + 7, + 279, + 193, + 6, + 283, + 192, + 7, + 287, + 192, + 6, + 290, + 191, + 7, + 294, + 191, + 6, + 298, + 190, + 7, + 302, + 189, + 6, + 305, + 188, + 7, + 309, + 187, + 6, + 312, + 186, + 7, + 316, + 185, + 6, + 319, + 184, + 7, + 322, + 182, + 6, + 323, + 181, + 7, + 324, + 181, + 6, + 325, + 181, + 7, + 326, + 182, + 6, + 327, + 182, + 7, + 328, + 181, + 6, + 328, + 180, + 7, + 328, + 179, + 6, + 328, + 179, + 7, + 328, + 180, + 6, + 328, + 180, + 7, + 328, + 180, + 6, + 328, + 180, + 7, + 328, + 181, + 6, + 328, + 183, + 7, + 328, + 184, + 6, + 328, + 186, + 7, + 328, + 189, + 6, + 328, + 191, + 7, + 328, + 194, + 6, + 328, + 196, + 7, + 328, + 199, + 6, + 328, + 201, + 7, + 0, + 0, +}; + +uint16 lazer_gun_seq[] = { + 224*64, + 245, + 251, + 0, + 237, + 246, + 1, + 236, + 245, + 2, + 238, + 247, + 3, + 0, + 0, +}; + +uint16 rs_mega_0_2[] = { + C_XCOOD, + 128-16, + C_YCOOD, + 264, + C_SCREEN, + 2, + C_PLACE, + 115, + C_DIR, + 3, + C_MOUSE_REL_X, + 65520, + C_MOUSE_REL_Y, + 65488, + C_MOUSE_SIZE_X, + 32, + C_MOUSE_SIZE_Y, + 48, + 65535, +}; + +Compact fan2 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 168*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FAN2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 fan2_seq[] = { + 168*64, + 255, + 137, + 0, + 255, + 137, + 1, + 255, + 137, + 2, + 0, +}; + +uint32 grid0[0]; + +void *data_1[] = { + 0, + 0, + 0, + 0, + &mini_so, + &full_so, + &fan1, + &right_exit_rm2, + &sc4_floor, + &sc4_left_exit, + l_talk_s4, + &r_talk_s4, + &tv_screens_s4, + &knob_s4, + &chuck_s4, + &lazer_s4, + &cupboard_s4, + &sarnie_s4, + &spanner_s4, + &buttons_s4, + &top_lift, + &monitors_s4, + 0, + &hole, + &top_barrel, + &loader, + &jobsworth, + rs_test_jobs, + 0, + &load_point, + &light_one, + &panel, + &alarm_flash, + 0, + &s3_floor, + &robot_shell, + crouch_talk, + &dead_loader, + 0, + 0, + 0, + &low_lift, + &steve_watch, + &low_barrel, + &convey, + &joey_fly, + &furnace, + &lights1, + &eye_ball, + &eye_bolt, + &furnace_door, + &slot, + &shades, + &lazer_gun, + &smoulder, + &fire_notice, + &fire_notice2, + &ss_sign, + &postcard, + ¬ice4, + joey_list_s2, + joey_list_s4, + rs_mini_ss, + chip_list_0, + fast_list_cut, + fast_list_cut2, + chip_list_sc0, + 0, + fast_list_sc2, + chip_list_s2, + fast_list_sc1, + fast_list_sc4, + chip_list_sc4, + 0, + chip_list_sc3, + 0, + sc4_logic, + sc4_mouse, + sc4_mouse_open, + sc2_logic, + sc2_mouse, + s3_logic, + s3_mouse, + sc0_cut_logic, + screen1_logic, + screen0_low_logic, + screen0_high_logic, + sc1_mouse, + screen0_high_mouse, + screen0_low_mouse, + up_stairs, + up_stairs2, + down_stairs, + down_stairs2, + crouch_seq, + uncrouch_seq, + get_the_bar, + put_bar_away, + get_bar_out, + use_the_bar, + fexit_closes, + fexit_opens, + use_bar2, + r1_closes, + r1_opens, + try_to_open_r0, + open_r0, + shut_r1, + open_r1, + ss_kick, + ss_kick_2, + foster_hanging, + foster_shot, + small_closes, + small_opens, + ss_smokes_1, + ss_smokes_2, + ss_smokes_3, + ss_smokes_4, + ss_shoot_seq, + fan1_seq, + tv_seq, + knob_down, + knob_up, + chuck_seq, + lazer_start_seq, + lazer_run_seq, + lazer_stop_seq, + cup_open_seq, + cup_close_seq, + jobs_close, + foster_g_d, + fost_open_cup, + fost_close_cup, + jobs_look_scrn, + jobs_pull_knob, + jobs_push_knob, + jobs_buttons, + jobs_chuck_look, + fost_cant_open, + fost_must_close, + top_lift_down, + top_lift_up, + monitor_seq, + fost_but_seq, + fost_pull_knob, + fost_push_knob, + jobs_scratch, + barrel_seq, + unload_seq1, + unload_seq2, + reverse_seq, + daft_seq, + panel_seq, + jobs_key_seq, + alarm_seq, + slide_seq, + slide2_seq, + joey_wake_seq, + joey_jump_seq, + liftc1_up, + liftc2_up, + liftc3_up, + low_lift_down_seq1, + low_lift_down_seq2, + low_lift_down_seq3, + barrel_down_seq, + barrel_down_seq2, + barrel_in_seq, + convey_seq, + joey_fly1, + joey_fly2, + furnace_seq, + lights1_seq, + eye_open, + eye_blink, + eye_shoot, + furnace_door_open, + joey_door_seq, + shot1_seq, + shot2_seq, + bolt1_seq, + bolt2_seq, + lazer_gun_seq, + load_point_seq, + smoulder_seq, + rs_mini_foster, + rs_big_foster, + rs_foster_to_1, + rs_foster_to_0, + rs_ss_to_1, + rs_foster_0_2, + rs_foster_2_0, + rs_mega_0_2, + rs_mega_2_0, + rs_foster_to_one, + rs_foster_2_4, + rs_foster_4_2, + rs_jobs_4_2, + rs_restart_barrel, + rs_start_alarm, + rs_foster_s3, + foster_g_up, + rs_convey, + rs_joey_to_furnace, + rs_start_joey_fly, + joey_list_s3, + &fan2, + fan2_seq, + &fan3, + fan3_seq, + &fan4, + fan4_seq, + &fan5, + fan5_seq, + &fan6, + fan6_seq, + &fan7, + fan7_seq, + &left_exit_rm2, + s0_pal, + s1_pal, + s2_pal, + s3_pal, + s4_pal, + &press, + press_seq, + fost_knob_locked, + fost_lean_seq, + chip_list_1, + &lfan1, + lfan1_seq, + &lfan2, + lfan2_seq, + &smoke1, + smoke1_seq, + &smoke2, + smoke2_seq, + grid0, + grid1, + grid2, + grid3, + grid4, + &junk1, + &junk2, + rs_foster_5_0, + rs_low_lift, + rs_low_barrel, + &top_lift_2, + top_lift_2_down, + top_lift_2_up, + liftc1_down, + liftc2_down, + liftc3_down, + &low_lift_2, + &low_lift_3, + rs_low_lift2, + rs_low_lift3, + guard_lean_out, + guard_lean_back, + push_small, + PCONLY_F_R3_1, + PCONLY_F_R3_2, + search_seq, + &fire1, + fire1_seq, + &fire2, + fire2_seq, + &car_up, + car_up_seq, + &car_down, + car_down_seq, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/101comp.h b/sky/compacts/101comp.h new file mode 100644 index 00000000000..ebf32cf0da5 --- /dev/null +++ b/sky/compacts/101comp.h @@ -0,0 +1,874 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY101COMP_H +#define SKY101COMP_H + + + + +namespace SkyCompact { + +Compact cancel_button = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 419, // xcood + 179, // ycood + 150*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + CANCEL_ACTION_101, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 15, // mouseSize_x + 40, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FS_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact button_4 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 368, // xcood + 199, // ycood + 144*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + BUTTON_ACTION_101, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 18, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FS_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact full_screen = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 0, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 1, // mouseSize_x + 1, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FULL_SCREEN_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact button_5 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 385, // xcood + 199, // ycood + 145*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + BUTTON_ACTION_101, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 18, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FS_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s101_logic[] = { + ID_FOSTER, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 173, + 0XFFFF, + ID_MENU_LOGIC, +}; + +Compact button_7 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 367, // xcood + 179, // ycood + 147*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + BUTTON_ACTION_101, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 18, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FS_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s101_mouse[] = { + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact button_1 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 368, // xcood + 219, // ycood + 141*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + BUTTON_ACTION_101, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 18, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FS_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s101_pal[] = { + 0, + 0, + 256, + 0, + 1, + 256, + 0, + 1, + 256, + 0, + 1, + 256, + 0, + 1, + 256, + 0, + 1, + 256, + 0, + 1, + 257, + 256, + 257, + 2, + 260, + 513, + 259, + 772, + 1025, + 259, + 1284, + 513, + 773, + 1282, + 1541, + 773, + 1288, + 1539, + 775, + 1798, + 2565, + 263, + 1294, + 2561, + 263, + 1800, + 1541, + 1801, + 2314, + 2561, + 1799, + 2822, + 2571, + 779, + 2318, + 3075, + 1801, + 2824, + 3081, + 2313, + 2828, + 3589, + 779, + 2832, + 2563, + 2829, + 3342, + 4101, + 2317, + 3852, + 4107, + 1295, + 3854, + 4105, + 1807, + 2843, + 3585, + 3343, + 4364, + 4621, + 1809, + 4372, + 4615, + 1811, + 4377, + 7427, + 271, + 4372, + 5131, + 3345, + 4884, + 3591, + 3861, + 3871, + 4097, + 3861, + 6160, + 4621, + 4373, + 5399, + 6921, + 2323, + 5399, + 6411, + 2325, + 6674, + 7949, + 2835, + 6676, + 6417, + 3864, + 6171, + 7437, + 2840, + 6681, + 6925, + 2842, + 6171, + 6417, + 2844, + 6683, + 8975, + 1304, + 5413, + 5897, + 3870, + 7193, + 10003, + 2325, + 7705, + 7953, + 3356, + 7711, + 6923, + 3360, + 7709, + 10513, + 2840, + 7711, + 6931, + 5664, + 7711, + 10518, + 3354, + 8223, + 6931, + 5666, + 8227, + 8461, + 3362, + 9247, + 8975, + 3362, + 8735, + 10010, + 4384, + 8737, + 11544, + 3870, + 9759, + 8465, + 6692, + 9765, + 9997, + 3366, + 9763, + 10006, + 3878, + 9765, + 11544, + 4898, + 10789, + 10515, + 5672, + 10279, + 11036, + 3882, + 10791, + 11034, + 3372, + 10795, + 11542, + 3886, + 11309, + 12058, + 5678, + 12335, + 12047, + 6190, + 12849, + 13071, + 4402, + 0, + 1, + 256, + 0, + 257, + 258, + 1797, + 2308, + 2059, + 3853, + 4364, + 4115, + 5909, + 6420, + 6172, + 8221, + 8476, + 8228, + 10278, + 10789, + 10540, + 12334, + 12845, + 12597, + 0, + 1281, + 256, + 13, + 5377, + 260, + 3357, + 9473, + 280, + 9773, + 1793, + 256, + 12, + 3585, + 256, + 20, + 6913, + 256, + 33, + 10241, + 256, + 46, + 13569, + 256, + 0, + 1, + 259, + 2816, + 1, + 276, + 7168, + 1, + 293, + 11524, + 2305, + 310, + 0, + 7937, + 256, + 48, + 13569, + 256, + 53, + 13569, + 256, + 47, + 6913, + 256, + 5120, + 2048, + 2056, + 3598, + 4110, + 4624, + 4630, + 4628, + 6164, + 6680, + 4638, + 4118, + 6678, + 6675, + 5662, + 8732, + 7705, + 7205, + 10274, + 9504, + 9259, + 11304, + 9010, + 11559, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6937, + 4883, + 3603, + 2830, + 2827, + 2313, + 14345, + 10288, + 10034, + 11550, + 5407, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13828, + 13878, + 12077, + 8753, + 9506, + 9767, + 8240, + 10527, + 5917, + 5925, + 7698, + 3857, + 3862, + 3848, + 14655, + 16168, + 10033, + 10294, + 11552, + 5662, + 5668, + 6926, + 2063, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 14655, + 14376, + 9004, + 0, + 16128, + 0, + 9767, + 7728, + 8993, + 5148, + 14354, + 1800, + 4631, + 13854, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact button_0 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 419, // xcood + 219, // ycood + 140*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + BUTTON_ACTION_101, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 18, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FS_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact button_9 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 402, // xcood + 179, // ycood + 149*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + BUTTON_ACTION_101, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 18, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FS_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact button_8 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 385, // xcood + 179, // ycood + 148*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + BUTTON_ACTION_101, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 18, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FS_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact retina_scan = { + L_SCRIPT, // logic + ST_RECREATE+ST_LOGIC, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 419, // xcood + 239, // ycood + 151*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FS_RETINA_SCAN_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact button_6 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 402, // xcood + 199, // ycood + 146*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + BUTTON_ACTION_101, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 18, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FS_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact button_3 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 402, // xcood + 219, // ycood + 143*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + BUTTON_ACTION_101, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 18, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FS_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact button_2 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 101, // screen + 0, // place + 0, // getToTable + 385, // xcood + 219, // ycood + 142*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + BUTTON_ACTION_101, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 18, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FS_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s101_chip_list[] = { + 101+DISK_1, + 140+DISK_1, + 141+DISK_1, + 142+DISK_1, + 143+DISK_1, + 144+DISK_1, + 145+DISK_1, + 146+DISK_1, + 147+DISK_1, + 148+DISK_1, + 149+DISK_1, + 150+DISK_1, + 151+DISK_1, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/102comp.h b/sky/compacts/102comp.h new file mode 100644 index 00000000000..03a18588aa7 --- /dev/null +++ b/sky/compacts/102comp.h @@ -0,0 +1,570 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY102COMP_H +#define SKY102COMP_H + + + + +namespace SkyCompact { + +uint16 restore_seq[] = { + 182*64, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact restore_butt = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 102, // screen + 0, // place + 0, // getToTable + RESTORE_BUTT_X, // xcood + RESTORE_BUTT_Y, // ycood + 182*64, // frame + 80+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + DEATH_CLICK, // mouseClick + 0, // mouseRel_x + 2, // mouseRel_y + 80, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + RESTORE_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s102_logic[] = { + ID_FOSTER, + 162, + 164, + 175, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 exit_seq[] = { + 183*64, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 restart_seq[] = { + 181*64, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 s102_mouse[] = { + 162, + 164, + 175, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact exit_butt = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 102, // screen + 0, // place + 0, // getToTable + EXIT_BUTT_X, // xcood + EXIT_BUTT_Y, // ycood + 183*64, // frame + 93+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + DEATH_CLICK, // mouseClick + 0, // mouseRel_x + 2, // mouseRel_y + 80, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + EXIT_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s102_pal[] = { + 0, + 256, + 257, + 514, + 514, + 1026, + 516, + 1026, + 1026, + 518, + 1028, + 1028, + 1028, + 1030, + 2052, + 1030, + 2054, + 1030, + 1544, + 2566, + 1030, + 1544, + 2056, + 2566, + 2056, + 3082, + 1544, + 2058, + 2570, + 3080, + 2062, + 6, + 16128, + 2062, + 2568, + 2570, + 2572, + 2060, + 3596, + 2576, + 4102, + 2058, + 3084, + 3598, + 3084, + 3090, + 3080, + 4622, + 3092, + 5128, + 2572, + 3600, + 4622, + 3598, + 3606, + 4616, + 4110, + 4110, + 6162, + 2062, + 4114, + 5646, + 3088, + 4116, + 4112, + 5138, + 3614, + 6662, + 2064, + 4628, + 7184, + 2064, + 4626, + 7702, + 2064, + 4634, + 4618, + 6676, + 5146, + 8462, + 2066, + 5652, + 8470, + 2578, + 4643, + 6664, + 4118, + 5654, + 8472, + 2580, + 5155, + 5642, + 7192, + 6676, + 8988, + 2582, + 6166, + 7713, + 4632, + 5669, + 9482, + 3094, + 6682, + 5656, + 8474, + 6680, + 8990, + 4120, + 6181, + 6156, + 8474, + 6682, + 7198, + 6682, + 6183, + 6668, + 7196, + 6684, + 10526, + 2584, + 7192, + 6689, + 7708, + 7192, + 10019, + 3610, + 7194, + 7201, + 7708, + 6693, + 6676, + 8988, + 7198, + 11036, + 2586, + 7706, + 10531, + 3612, + 7201, + 6686, + 10014, + 7209, + 7184, + 8990, + 7710, + 8483, + 8988, + 63, + 7231, + 8993, + 7723, + 7184, + 9505, + 8476, + 7719, + 8993, + 7725, + 7696, + 9505, + 8481, + 7201, + 9507, + 8988, + 8487, + 9505, + 8483, + 7201, + 11043, + 8990, + 9001, + 9505, + 8993, + 8485, + 10019, + 8997, + 8485, + 10533, + 9507, + 8487, + 11045, + 9507, + 12585, + 3621, + 9507, + 9003, + 11047, + 10533, + 9515, + 11561, + 16128, + 16191, + 16191, + 514, + 514, + 514, + 771, + 1027, + 1028, + 1285, + 1541, + 1542, + 1542, + 1798, + 1799, + 2056, + 2312, + 2313, + 2570, + 2826, + 2827, + 3084, + 3340, + 3341, + 3598, + 3854, + 3855, + 4112, + 4112, + 4369, + 4625, + 4626, + 4882, + 4883, + 5140, + 5396, + 5397, + 5654, + 5910, + 5911, + 5912, + 6424, + 6424, + 6426, + 6938, + 6938, + 6940, + 7451, + 7196, + 7454, + 7965, + 7709, + 7711, + 8223, + 8223, + 8225, + 8737, + 8737, + 8739, + 9251, + 8994, + 8997, + 9764, + 9508, + 9511, + 10278, + 10277, + 9769, + 11050, + 11303, + 10028, + 11310, + 12072, + 10539, + 11057, + 12841, + 10794, + 10547, + 13613, + 12330, + 11062, + 14388, + 14123, + 11065, + 14907, + 44, + 16191, + 14596, + 2363, + 14389, + 12557, + 4149, + 12846, + 10771, + 5679, + 11303, + 9496, + 7209, + 9506, + 7961, + 5922, + 7964, + 6677, + 4892, + 6679, + 5393, + 3863, + 5138, + 4109, + 16146, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 15679, + 15677, + 15163, + 14651, + 14649, + 14135, + 13623, + 13621, + 13107, + 12595, + 12593, + 12079, + 11567, + 11565, + 11051, + 10539, + 10537, + 10023, + 9511, + 9509, + 8995, + 8483, + 8481, + 3610, + 6442, + 9999, + 4121, + 6180, + 8465, + 4375, + 5662, + 6929, + 4116, + 4888, + 5391, + 3857, + 4115, + 4366, + 3342, + 3344, + 3597, + 3084, + 2829, + 2827, + 2570, + 8458, + 8481, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 s102_chip_list[] = { + 180, + 181, + 182, + 183, + 0, +}; + +Compact restart_butt = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 102, // screen + 0, // place + 0, // getToTable + RESTART_BUTT_X, // xcood + RESTART_BUTT_Y, // ycood + 181*64, // frame + 94+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + DEATH_CLICK, // mouseClick + 0, // mouseRel_x + 2, // mouseRel_y + 80, // mouseSize_x + 20, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + RESTART_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/10comp.h b/sky/compacts/10comp.h new file mode 100644 index 00000000000..18672b2ea82 --- /dev/null +++ b/sky/compacts/10comp.h @@ -0,0 +1,2358 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY10COMP_H +#define SKY10COMP_H + + + + +namespace SkyCompact { + +uint16 liyt_4_seq[] = { + 70*64, + 128, + 147, + 0, + 128, + 147, + 0, + 128, + 147, + 0, + 128, + 147, + 0, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 2, + 128, + 147, + 2, + 128, + 147, + 2, + 128, + 147, + 2, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 3, + 128, + 147, + 0, + 128, + 147, + 0, + 128, + 147, + 4, + 128, + 147, + 2, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 2, + 128, + 147, + 2, + 128, + 147, + 2, + 128, + 147, + 2, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 2, + 128, + 147, + 2, + 128, + 147, + 2, + 128, + 147, + 2, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 1, + 128, + 147, + 2, + 128, + 147, + 2, + 0, +}; + +uint16 litebank_seq[] = { + 71*64, + 226, + 198, + 0, + 226, + 198, + 0, + 226, + 198, + 1, + 226, + 198, + 1, + 226, + 198, + 2, + 226, + 198, + 2, + 226, + 198, + 3, + 226, + 198, + 3, + 226, + 198, + 4, + 226, + 198, + 4, + 226, + 198, + 5, + 226, + 198, + 5, + 226, + 198, + 6, + 226, + 198, + 6, + 226, + 198, + 7, + 226, + 198, + 7, + 226, + 198, + 8, + 226, + 198, + 8, + 226, + 198, + 9, + 226, + 198, + 9, + 226, + 198, + 0, + 226, + 198, + 0, + 226, + 198, + 1, + 226, + 198, + 1, + 226, + 198, + 2, + 226, + 198, + 2, + 226, + 198, + 3, + 226, + 198, + 3, + 226, + 198, + 4, + 226, + 198, + 4, + 226, + 198, + 5, + 226, + 198, + 5, + 226, + 198, + 6, + 226, + 198, + 6, + 226, + 198, + 7, + 226, + 198, + 7, + 226, + 198, + 8, + 226, + 198, + 8, + 226, + 198, + 9, + 226, + 198, + 9, + 226, + 198, + 4, + 226, + 198, + 4, + 0, +}; + +uint16 rs_foster_from_linc[] = { + C_XCOOD, + 0XCF, + C_YCOOD, + 0XE1, + C_FRAME, + 0XF48, + C_PLACE, + ID_LINC_10, + C_SCREEN, + 10, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_AR_PRIORITY+ST_GRID_PLOT+ST_COLLISION, + 65535, +}; + +uint16 stand_10_seq[] = { + 62*64, + 207, + 225, + 0, + 207, + 225, + 1, + 207, + 225, + 2, + 207, + 225, + 3, + 207, + 224, + 4, + 207, + 227, + 5, + 207, + 228, + 6, + 212, + 228, + 7, + 216, + 228, + 8, + 223, + 226, + 9, + 0, +}; + +uint16 pod_up[] = { + 58*64, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 216, + 0, + 204, + 215, + 0, + 204, + 214, + 0, + 204, + 213, + 0, + 204, + 212, + 0, + 204, + 211, + 0, + 204, + 210, + 0, + 204, + 209, + 0, + 204, + 208, + 0, + 204, + 207, + 0, + 204, + 206, + 0, + 204, + 205, + 0, + 204, + 204, + 0, + 204, + 203, + 0, + 204, + 202, + 0, + 204, + 201, + 0, + 204, + 200, + 0, + 204, + 199, + 0, + 204, + 198, + 0, + 204, + 197, + 0, + 204, + 196, + 0, + 204, + 195, + 0, + 204, + 194, + 0, + 204, + 193, + 0, + 204, + 192, + 0, + 204, + 191, + 0, + 204, + 190, + 0, + 204, + 189, + 0, + 204, + 188, + 0, + 204, + 187, + 0, + 204, + 186, + 0, + 204, + 185, + 0, + 204, + 184, + 0, + 204, + 183, + 0, + 204, + 182, + 0, + 204, + 181, + 0, + 0, +}; + +uint16 rs_foster_11_10[] = { + C_XCOOD, + 128, + C_YCOOD, + 288, + C_SCREEN, + 10, + C_PLACE, + ID_S10_FLOOR, + 65535, +}; + +uint16 lift_10_close[] = { + 45*64, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 s10_floor_table[] = { + ID_S10_FLOOR, + RETURN_OK, + ID_LEFT_EXIT_10, + GT_LEFT_EXIT_10, + 0, + S10_RIGHT_ON, + ID_LIFT_SLOT_10, + GT_SLOT_10, + ID_POD_LIGHT, + GT_POD_LIGHT, + ID_LINC_10, + GT_LINC_10, + ID_TERMINAL_10, + GT_TERMINAL_10, + ID_SCANNER_10, + GT_SCANNER_10, + ID_LIFT_10, + GT_DOOR_10, + 65535, +}; + +uint16 monitor_10_seq[] = { + 63*64, + 322, + 229, + 0, + 322, + 229, + 1, + 322, + 229, + 2, + 322, + 229, + 3, + 322, + 229, + 4, + 322, + 229, + 5, + 322, + 229, + 6, + 322, + 229, + 7, + 322, + 229, + 8, + 322, + 229, + 9, + 322, + 229, + 10, + 322, + 229, + 11, + 322, + 229, + 12, + 322, + 229, + 13, + 322, + 229, + 14, + 322, + 229, + 15, + 322, + 229, + 16, + 0, +}; + +uint16 sit_10_seq[] = { + 61*64, + 210, + 228, + 0, + 207, + 228, + 1, + 207, + 228, + 2, + 207, + 227, + 3, + 207, + 224, + 4, + 207, + 225, + 5, + 207, + 225, + 6, + 207, + 225, + 7, + 207, + 225, + 8, + 207, + 225, + 8, + 0, +}; + +Compact lift_slot_10 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 361, // xcood + 245, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 366-361, // mouseSize_x + 258-245, // mouseSize_y + SLOT_10_ACTION, // actionScript +}; + +uint16 scanline_seq[] = { + 57*64, + 329, + 226, + 0, + 329, + 226, + 1, + 329, + 226, + 2, + 329, + 226, + 3, + 329, + 226, + 4, + 329, + 226, + 5, + 329, + 226, + 6, + 329, + 226, + 7, + 329, + 226, + 8, + 329, + 226, + 9, + 329, + 226, + 10, + 329, + 226, + 11, + 329, + 226, + 12, + 329, + 226, + 13, + 329, + 226, + 14, + 329, + 226, + 15, + 329, + 226, + 16, + 329, + 226, + 17, + 1, + 1, + 16, + 1, + 1, + 15, + 1, + 1, + 14, + 1, + 1, + 13, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact s10_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 10, // screen + 0, // place + s10_floor_table, // getToTable + 152, // xcood + 264, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + (312-264)-1, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 rs_foster_10_11[] = { + C_XCOOD, + 384, + C_YCOOD, + 272, + C_SCREEN, + 11, + C_PLACE, + ID_S11_FLOOR, + 65535, +}; + +Compact terminal_10 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 400, // xcood + 265, // ycood + 0, // frame + 51, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 26, // mouseSize_x + 308-265, // mouseSize_y + TERMINAL_10_ACTION, // actionScript +}; + +uint16 linc_card_seq[] = { + 60*64, + 224, + 224, + 0, + 224, + 224, + 1, + 224, + 224, + 2, + 224, + 224, + 2, + 224, + 224, + 2, + 224, + 224, + 2, + 224, + 224, + 2, + 224, + 224, + 1, + 224, + 224, + 0, + 0, +}; + +uint16 liyt_1_seq[] = { + 64*64, + 413, + 270, + 0, + 413, + 270, + 0, + 413, + 270, + 0, + 413, + 270, + 0, + 413, + 270, + 0, + 413, + 270, + 1, + 413, + 270, + 1, + 413, + 270, + 1, + 413, + 270, + 1, + 413, + 270, + 1, + 0, +}; + +uint16 fsit_talk_seq[] = { + 72*64, + 61*64+8, + 207, + 225, + 0, + 207, + 225, + 0, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 2, + 207, + 225, + 2, + 207, + 225, + 3, + 207, + 225, + 3, + 207, + 225, + 3, + 207, + 225, + 3, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 0, + 207, + 225, + 0, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 2, + 207, + 225, + 2, + 207, + 225, + 0, + 207, + 225, + 0, + 207, + 225, + 3, + 207, + 225, + 3, + 207, + 225, + 0, + 207, + 225, + 0, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 2, + 207, + 225, + 2, + 207, + 225, + 3, + 207, + 225, + 3, + 207, + 225, + 3, + 207, + 225, + 3, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 0, + 207, + 225, + 0, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 2, + 207, + 225, + 2, + 207, + 225, + 0, + 207, + 225, + 0, + 207, + 225, + 3, + 207, + 225, + 3, + 207, + 225, + 0, + 207, + 225, + 0, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 2, + 207, + 225, + 2, + 207, + 225, + 3, + 207, + 225, + 3, + 207, + 225, + 3, + 207, + 225, + 3, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 0, + 207, + 225, + 0, + 207, + 225, + 1, + 207, + 225, + 1, + 207, + 225, + 2, + 207, + 225, + 2, + 207, + 225, + 0, + 207, + 225, + 0, + 207, + 225, + 3, + 207, + 225, + 3, + 0, +}; + +Compact scanner_10 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 329, // xcood + 226, // ycood + 0, // frame + 138, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 45, // mouseRel_y + 25, // mouseSize_x + 11, // mouseSize_y + SCANNER_10_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SCANNER_10_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact pod_light = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 239, // xcood + 244, // ycood + 59*64, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 6, // mouseSize_y + POD_LIGHT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + POD_LIGHT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact pod = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE+ST_FOREGROUND, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 204, // xcood + 180, // ycood + 58*64, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 366-361, // mouseSize_x + 258-245, // mouseSize_y + SLOT_10_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + POD_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact fake_floor_10 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 356, // xcood + 271, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 12, // mouseSize_y +}; + +uint16 lift_10_open[] = { + 45*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 10, + 0, +}; + +uint16 linc_10_table[] = { + ID_S10_FLOOR, + GT_FLOOR_FROM_CHAIR10, + ID_LEFT_EXIT_10, + GT_FLOOR_FROM_CHAIR10, + ID_LIFT_SLOT_10, + GT_FLOOR_FROM_CHAIR10, + ID_POD_LIGHT, + GT_FLOOR_FROM_CHAIR10, + ID_TERMINAL_10, + GT_FLOOR_FROM_CHAIR10, + ID_SCANNER_10, + GT_FLOOR_FROM_CHAIR10, + ID_LIFT_10, + GT_FLOOR_FROM_CHAIR10, + ID_LINC_10, + RETURN_OK, + 65535, +}; + +Compact linc_10 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 10, // screen + 0, // place + linc_10_table, // getToTable + 203, // xcood + 222, // ycood + 58*64, // frame + 56, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 231-203, // mouseSize_x + 269-222, // mouseSize_y + LINC_10_ACTION, // actionScript +}; + +uint16 s10_logic[] = { + ID_FOSTER, + ID_SCANNER_10, + ID_POD, + ID_POD_LIGHT, + ID_MONITOR_10, + ID_LIYT_1, + ID_LIYT_2, + ID_LIYT_3, + ID_LIYT_4, + ID_LITEBANK, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 liyt_2_seq[] = { + 65*64, + 409, + 274, + 0, + 409, + 274, + 0, + 409, + 274, + 0, + 409, + 274, + 0, + 409, + 274, + 1, + 409, + 274, + 1, + 409, + 274, + 1, + 0, +}; + +uint16 s10_chip_list[] = { + 45+DISK_1, + 46+DISK_1, + 55+DISK_1, + 57+DISK_1, + 58+DISK_1, + 59+DISK_1, + 60+DISK_1, + 61+DISK_1, + 62+DISK_1, + 63+DISK_1, + 64+DISK_1, + 65+DISK_1, + 66+DISK_1, + 70+DISK_1, + 71+DISK_1, + 30+DISK_1, + 31+DISK_1, + 32+DISK_1, + 72+DISK_1, + 0, +}; + +uint16 pod_down[] = { + 58*64, + 204, + 180, + 0, + 204, + 180, + 1, + 204, + 181, + 1, + 204, + 182, + 1, + 204, + 183, + 1, + 204, + 184, + 1, + 204, + 185, + 1, + 204, + 186, + 1, + 204, + 187, + 1, + 204, + 188, + 1, + 204, + 189, + 1, + 204, + 190, + 1, + 204, + 191, + 1, + 204, + 192, + 1, + 204, + 193, + 1, + 204, + 194, + 1, + 204, + 195, + 1, + 204, + 196, + 1, + 204, + 197, + 1, + 204, + 198, + 1, + 204, + 199, + 1, + 204, + 200, + 1, + 204, + 201, + 1, + 204, + 202, + 1, + 204, + 203, + 1, + 204, + 204, + 1, + 204, + 205, + 1, + 204, + 206, + 1, + 204, + 207, + 1, + 204, + 208, + 1, + 204, + 209, + 1, + 204, + 210, + 1, + 204, + 211, + 1, + 204, + 212, + 1, + 204, + 213, + 1, + 204, + 214, + 1, + 204, + 215, + 1, + 204, + 216, + 1, + 204, + 216, + 1, + 204, + 216, + 1, + 0, +}; + +Compact monitor_10 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 239, // xcood + 244, // ycood + 59*64, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 6, // mouseSize_y + POD_LIGHT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ANIMATE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 liyt_3_seq[] = { + 66*64, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 0, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 1, + 325, + 170, + 0, + 325, + 170, + 0, + 0, +}; + +Compact lift_10 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 358, // xcood + 217, // ycood + 45*64, // frame + 139, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65532, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 62, // mouseSize_y + DOOR_10_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LIFT_10_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact litebank = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 239, // xcood + 244, // ycood + 59*64, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 6, // mouseSize_y + POD_LIGHT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ANIMATE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 pod_light_seq[] = { + 59*64, + 239, + 244, + 0, + 239, + 244, + 0, + 239, + 244, + 1, + 239, + 244, + 1, + 239, + 244, + 1, + 239, + 244, + 1, + 239, + 244, + 0, + 239, + 244, + 0, + 239, + 244, + 0, + 239, + 244, + 0, + 0, +}; + +uint32 grid10[0]; + +uint16 card2_seq[] = { + 55*64, + 328, + 224, + 0, + 328, + 224, + 1, + 328, + 224, + 2, + 328, + 224, + 3, + 328, + 224, + 3, + 328, + 224, + 3, + 328, + 224, + 3, + 328, + 224, + 3, + 328, + 224, + 3, + 328, + 224, + 2, + 328, + 224, + 1, + 328, + 224, + 0, + 0, +}; + +Compact liyt_3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 239, // xcood + 244, // ycood + 59*64, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 6, // mouseSize_y + POD_LIGHT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ANIMATE_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact liyt_2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 239, // xcood + 244, // ycood + 59*64, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 6, // mouseSize_y + POD_LIGHT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ANIMATE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s10_pal[] = { + 0, + 1024, + 1540, + 1542, + 2054, + 2054, + 2056, + 2054, + 2056, + 2058, + 2566, + 2056, + 2058, + 2570, + 2570, + 2572, + 3594, + 2058, + 3084, + 3596, + 3084, + 3596, + 3596, + 3596, + 3596, + 4622, + 2060, + 3090, + 3594, + 3598, + 3600, + 3600, + 4112, + 4112, + 5646, + 2574, + 3602, + 4626, + 3088, + 4112, + 4114, + 5136, + 3608, + 4620, + 5136, + 4626, + 5136, + 3602, + 4118, + 6672, + 3088, + 4628, + 5140, + 4628, + 5142, + 5648, + 5650, + 4632, + 5652, + 6162, + 5652, + 5652, + 4630, + 5656, + 5648, + 6676, + 5652, + 6682, + 5140, + 5144, + 6170, + 5142, + 5146, + 5656, + 6168, + 5656, + 6172, + 5656, + 5662, + 6674, + 5144, + 5660, + 7704, + 5654, + 6680, + 6168, + 7704, + 5660, + 6684, + 7192, + 7196, + 6670, + 7704, + 6174, + 7192, + 7704, + 6682, + 7710, + 6682, + 7196, + 6682, + 6174, + 6684, + 8481, + 6682, + 7203, + 8470, + 5662, + 6689, + 8993, + 8474, + 7708, + 7713, + 7710, + 7205, + 8988, + 8988, + 8478, + 7713, + 8993, + 8483, + 8986, + 8990, + 8993, + 10012, + 7198, + 8993, + 10014, + 7710, + 8489, + 9494, + 6179, + 8997, + 10017, + 6181, + 8997, + 10531, + 8481, + 9507, + 11045, + 8481, + 10021, + 10529, + 6695, + 10025, + 10012, + 10021, + 10021, + 10023, + 8489, + 9517, + 10019, + 9001, + 9517, + 11045, + 10535, + 11049, + 10019, + 11561, + 11049, + 12073, + 10025, + 11563, + 11043, + 10539, + 11563, + 12069, + 8493, + 11565, + 11563, + 10031, + 11567, + 12587, + 11053, + 12077, + 13103, + 9519, + 12591, + 12071, + 12079, + 12595, + 13101, + 12083, + 13619, + 14129, + 11573, + 13621, + 14131, + 13111, + 14649, + 15157, + 14139, + 15163, + 15409, + 11067, + 15165, + 9509, + 8487, + 9507, + 11294, + 9518, + 11049, + 10019, + 8489, + 10524, + 2580, + 2056, + 8491, + 9984, + 32, + 2574, + 6152, + 4118, + 3343, + 15369, + 19, + 3855, + 3086, + 3341, + 4369, + 5135, + 4115, + 3854, + 3855, + 3857, + 7195, + 1055, + 1028, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 14129, + 11549, + 7220, + 12586, + 10011, + 6702, + 11300, + 8472, + 5929, + 9759, + 7190, + 5411, + 8474, + 5907, + 4638, + 6933, + 4625, + 3865, + 5648, + 3598, + 3091, + 4108, + 2570, + 2318, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 s10_mouse[] = { + ID_JOEY, + ID_LEFT_EXIT_10, + ID_LIFT_SLOT_10, + ID_LINC_10, + ID_POD_LIGHT, + ID_TERMINAL_10, + ID_SCANNER_10, + ID_LIFT_10, + ID_FAKE_FLOOR_10, + ID_S10_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact liyt_4 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 239, // xcood + 244, // ycood + 59*64, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 6, // mouseSize_y + POD_LIGHT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ANIMATE_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact left_exit_10 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 154, // xcood + 226, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 171-154, // mouseSize_x + 288-226, // mouseSize_y + EL10_ACTION, // actionScript +}; + +Compact liyt_1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 10, // screen + 0, // place + 0, // getToTable + 239, // xcood + 244, // ycood + 59*64, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 6, // mouseSize_y + POD_LIGHT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ANIMATE_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/11comp.h b/sky/compacts/11comp.h new file mode 100644 index 00000000000..2eb7ebf6ac6 --- /dev/null +++ b/sky/compacts/11comp.h @@ -0,0 +1,1580 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY11COMP_H +#define SKY11COMP_H + + + + +namespace SkyCompact { + +Compact slat_3 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 285, // xcood + 236, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 3, // mouseSize_x + 7, // mouseSize_y + SLAT_ACTION, // actionScript +}; + +uint16 fallin_seq[] = { + 17*64, + 198, + 173, + 0, + 202, + 168, + 1, + 206, + 174, + 2, + 216, + 183, + 3, + 232, + 190, + 4, + 250, + 201, + 5, + 275, + 217, + 6, + 289, + 232, + 7, + 306, + 259, + 8, + 0, +}; + +uint16 s11_mouse[] = { + ID_JOEY, + ID_CABLE_FALL, + ID_SLOT_11, + ID_LOCKER_11, + ID_SLAT_1, + ID_SLAT_2, + ID_SLAT_3, + ID_SLAT_4, + ID_SLAT_5, + ID_SOCCER_1, + ID_SOCCER_2, + ID_SOCCER_3, + ID_SOCCER_4, + ID_SOCCER_5, + ID_RIGHT_EXIT_11, + ID_S11_FLOOR, + ID_SPY_11, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 s11_pal[] = { + 0, + 512, + 1026, + 1026, + 1028, + 1028, + 1028, + 1542, + 516, + 1540, + 1028, + 1542, + 1542, + 1540, + 1542, + 1542, + 1032, + 1544, + 2054, + 2054, + 2054, + 2054, + 2056, + 1544, + 2056, + 1544, + 2058, + 2568, + 2056, + 2570, + 2572, + 2564, + 2058, + 2568, + 2572, + 2570, + 2062, + 2056, + 3084, + 2572, + 2572, + 2572, + 3082, + 3596, + 3082, + 3084, + 3084, + 3596, + 3594, + 4108, + 2060, + 3088, + 3082, + 3086, + 3086, + 3086, + 3598, + 4106, + 4108, + 3596, + 3598, + 3086, + 3600, + 3598, + 4624, + 2062, + 4110, + 3084, + 4112, + 4110, + 4110, + 4110, + 4110, + 3600, + 4624, + 4114, + 5130, + 2576, + 4622, + 5650, + 2576, + 4624, + 4624, + 4624, + 4624, + 5138, + 3090, + 4116, + 5650, + 2578, + 4626, + 4114, + 4628, + 5138, + 5136, + 5138, + 4632, + 4620, + 4628, + 5648, + 4114, + 5142, + 5144, + 5132, + 5140, + 5650, + 5652, + 3606, + 5652, + 5138, + 5142, + 5142, + 5142, + 5654, + 5142, + 5656, + 4120, + 6164, + 4628, + 5146, + 5656, + 5656, + 6168, + 6678, + 5654, + 6170, + 6680, + 6164, + 4636, + 7190, + 5656, + 6174, + 7704, + 7192, + 5660, + 7706, + 6166, + 6689, + 7198, + 6684, + 6689, + 8474, + 7708, + 6177, + 8986, + 8476, + 6177, + 8990, + 6680, + 7717, + 9500, + 7196, + 7717, + 9502, + 7710, + 8485, + 10012, + 8481, + 6695, + 10014, + 7710, + 8487, + 10021, + 8478, + 8489, + 10531, + 8995, + 8491, + 11045, + 8990, + 9515, + 11557, + 9505, + 9517, + 11557, + 9511, + 9007, + 12069, + 10023, + 9007, + 12071, + 10021, + 10031, + 12585, + 11045, + 10543, + 13099, + 11045, + 10547, + 13611, + 11559, + 10549, + 4381, + 16128, + 40, + 6955, + 10240, + 31, + 26, + 16128, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 63, + 0, + 0, + 0, + 0, + 0, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact locker_11 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 301, // xcood + 217, // ycood + 26*64, // frame + 12703, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 8, // mouseRel_x + 0, // mouseRel_y + 16, // mouseSize_x + 44, // mouseSize_y + LOCKER_11_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LOCKER_11_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 locker_11_open[] = { + 26*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 0, +}; + +uint16 bits2_seq[] = { + 25*64, + 198, + 182, + 0, + 199, + 182, + 1, + 208, + 191, + 2, + 214, + 221, + 3, + 219, + 245, + 4, + 0, +}; + +Compact soccer_2 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 257, // xcood + 217, // ycood + 0, // frame + 12703, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 271-257, // mouseSize_x + 260-217, // mouseSize_y + SOCCER_1_ACTION, // actionScript +}; + +uint16 usecard_11_seq[] = { + 28*64, + 258, + 173, + 0, + 258, + 173, + 1, + 258, + 173, + 2, + 258, + 173, + 3, + 258, + 173, + 3, + 258, + 173, + 3, + 258, + 173, + 2, + 258, + 173, + 1, + 258, + 173, + 0, + 0, +}; + +Compact bits = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 20, // xcood + 20, // ycood + 24*64, // frame + 0, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 44, // mouseRel_y + 16, // mouseSize_x + 9, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BITS_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact cable_fall = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 20, // xcood + 20, // ycood + 21*64, // frame + 49, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 44, // mouseRel_y + 16, // mouseSize_x + 9, // mouseSize_y + CABLE_11_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + CABLE_FALL_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact soccer_4 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 291, // xcood + 217, // ycood + 0, // frame + 12703, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 307-291, // mouseSize_x + 260-217, // mouseSize_y + SOCCER_1_ACTION, // actionScript +}; + +uint16 s11_floor_table[] = { + ID_S11_FLOOR, + RETURN_OK, + ID_CABLE_FALL, + GT_CABLE_11, + ID_LOCKER_11, + GT_LOCKER_11, + ID_SLOT_11, + GT_SLOT_11, + ID_SOCCER_1, + GT_SOCCER_1, + ID_SOCCER_2, + GT_SOCCER_2, + ID_SOCCER_3, + GT_SOCCER_3, + ID_SOCCER_4, + GT_SOCCER_4, + ID_SOCCER_5, + GT_SOCCER_5, + ID_SLAT_1, + GT_SOCCER_1, + ID_SLAT_2, + GT_SOCCER_2, + ID_SLAT_3, + GT_SOCCER_3, + ID_SLAT_4, + GT_SOCCER_4, + ID_SLAT_5, + GT_SOCCER_5, + ID_RIGHT_EXIT_11, + GT_RIGHT_EXIT_11, + 0, + S11_LEFT_ON, + 65535, +}; + +Compact soccer_1 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 238, // xcood + 217, // ycood + 0, // frame + 12703, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 255-238, // mouseSize_x + 260-217, // mouseSize_y + SOCCER_1_ACTION, // actionScript +}; + +uint16 rs_foster_1_11[] = { + C_XCOOD, + 320, + C_YCOOD, + 288, + C_SCREEN, + 11, + C_PLACE, + ID_S11_FLOOR, + 65535, +}; + +uint16 s11_logic[] = { + ID_FOSTER, + ID_CABLE_FALL, + ID_CABLE_FALL2, + ID_SMASHED_WINDOW, + ID_BITS, + ID_BITS2, + ID_SPY_11, + ID_LOCKER_11, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 close_11_locker[] = { + 29*64, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 s11_chip_list[] = { + 17+DISK_1, + 18+DISK_1, + 20+DISK_1, + 21+DISK_1, + 22+DISK_1, + 23+DISK_1, + 24+DISK_1, + 25+DISK_1, + 26+DISK_1, + 27+DISK_1, + 28+DISK_1, + 29+DISK_1, + 14+DISK_1, + 15+DISK_1, + 85+DISK_1, + 0, +}; + +Compact slat_1 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 250, // xcood + 236, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 3, // mouseSize_x + 7, // mouseSize_y + SLAT_ACTION, // actionScript +}; + +uint16 locker_11_close[] = { + 26*64, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact bits2 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 20, // xcood + 20, // ycood + 25*64, // frame + 0, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 44, // mouseRel_y + 16, // mouseSize_x + 9, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BITS_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact slot_11 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 320, // xcood + 236, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 3, // mouseSize_x + 7, // mouseSize_y + SLOT_11_ACTION, // actionScript +}; + +uint16 bits_seq[] = { + 24*64, + 213, + 170, + 0, + 229, + 168, + 1, + 240, + 170, + 2, + 250, + 174, + 3, + 266, + 180, + 4, + 0, +}; + +Compact slat_4 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 302, // xcood + 236, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 3, // mouseSize_x + 7, // mouseSize_y + SLAT_ACTION, // actionScript +}; + +uint16 fallin2_seq[] = { + 18*64, + 319, + 273, + 0, + 322, + 276, + 1, + 322, + 279, + 2, + 322, + 278, + 3, + 320, + 277, + 4, + 320, + 278, + 5, + 320, + 279, + 6, + 320, + 279, + 7, + 320, + 279, + 8, + 320, + 279, + 9, + 320, + 278, + 10, + 319, + 279, + 11, + 317, + 275, + 12, + 317, + 272, + 13, + 0, +}; + +uint16 smashed_window_seq[] = { + 23*64, + 201, + 151, + 0, + 201, + 153, + 1, + 201, + 153, + 2, + 201, + 153, + 3, + 201, + 153, + 4, + 201, + 153, + 3, + 201, + 153, + 4, + 201, + 153, + 3, + 201, + 153, + 4, + 201, + 153, + 3, + 201, + 153, + 4, + 201, + 153, + 3, + 0, +}; + +Compact spy_11 = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 167, // xcood + 138, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 1, // mouseSize_x + 1, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SPY11_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact soccer_3 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 273, // xcood + 217, // ycood + 0, // frame + 12703, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 289-273, // mouseSize_x + 260-217, // mouseSize_y + SOCCER_1_ACTION, // actionScript +}; + +uint16 cable_fall1_seq[] = { + 21*64, + 195, + 178, + 0, + 195, + 178, + 0, + 195, + 178, + 0, + 195, + 178, + 1, + 195, + 178, + 2, + 195, + 178, + 3, + 195, + 178, + 4, + 195, + 178, + 5, + 195, + 178, + 6, + 195, + 178, + 7, + 195, + 178, + 8, + 195, + 178, + 9, + 195, + 178, + 10, + 195, + 178, + 11, + 195, + 178, + 12, + 195, + 178, + 13, + 195, + 178, + 14, + 195, + 178, + 15, + 195, + 178, + 16, + 195, + 178, + 17, + 195, + 178, + 18, + 195, + 178, + 19, + 195, + 178, + 20, + 195, + 178, + 21, + 195, + 178, + 22, + 0, +}; + +Compact cable_fall2 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 20, // xcood + 20, // ycood + 22*64, // frame + 49, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 44, // mouseRel_y + 16, // mouseSize_x + 9, // mouseSize_y + CABLE_11_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + CABLE2_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact right_exit_11 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 359, // xcood + 223, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 364-359, // mouseSize_x + 282-223, // mouseSize_y + ER11_ACTION, // actionScript +}; + +Compact smashed_window = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 20, // xcood + 20, // ycood + 23*64, // frame + 49, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 44, // mouseRel_y + 16, // mouseSize_x + 9, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SMASHED_WINDOW_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact soccer_5 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 327, // xcood + 217, // ycood + 0, // frame + 12703, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 343-327, // mouseSize_x + 260-217, // mouseSize_y + SOCCER_1_ACTION, // actionScript +}; + +uint32 grid11[0]; + +uint16 open_11_locker[] = { + 29*64, + 237, + 184, + 0, + 237, + 184, + 0, + 237, + 184, + 1, + 237, + 184, + 2, + 237, + 184, + 3, + 237, + 184, + 4, + 237, + 184, + 5, + 237, + 184, + 6, + 0, +}; + +Compact slat_2 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 267, // xcood + 236, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 3, // mouseSize_x + 7, // mouseSize_y + SLAT_ACTION, // actionScript +}; + +uint16 fallin3_seq[] = { + 20*64, + 317, + 267, + 0, + 314, + 266, + 1, + 314, + 264, + 2, + 315, + 255, + 3, + 314, + 247, + 4, + 314, + 243, + 5, + 0, +}; + +Compact s11_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + s11_floor_table, // getToTable + 184, // xcood + 256, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 400-184, // mouseSize_x + 4242, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 get_cable_11[] = { + 27*64, + 293, + 252, + 0, + 293, + 252, + 1, + 293, + 252, + 2, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 2, + 293, + 252, + 1, + 293, + 252, + 0, + 0, +}; + +uint16 cant_open_locker[] = { + 29*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact slat_5 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 11, // screen + 0, // place + 0, // getToTable + 337, // xcood + 236, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 3, // mouseSize_x + 7, // mouseSize_y + SLAT_ACTION, // actionScript +}; + +uint16 cable_fall2_seq[] = { + 22*64, + 209, + 242, + 0, + 209, + 242, + 0, + 209, + 242, + 0, + 209, + 242, + 0, + 209, + 242, + 0, + 209, + 242, + 0, + 209, + 242, + 0, + 209, + 242, + 1, + 209, + 242, + 2, + 209, + 242, + 3, + 209, + 242, + 3, + 209, + 242, + 3, + 209, + 242, + 3, + 209, + 242, + 4, + 209, + 242, + 5, + 209, + 242, + 6, + 209, + 242, + 6, + 209, + 242, + 6, + 209, + 242, + 7, + 209, + 242, + 8, + 209, + 242, + 9, + 209, + 242, + 10, + 209, + 242, + 10, + 209, + 242, + 10, + 209, + 242, + 10, + 209, + 242, + 11, + 209, + 242, + 12, + 209, + 242, + 13, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/12comp.h b/sky/compacts/12comp.h new file mode 100644 index 00000000000..9db7ccd258d --- /dev/null +++ b/sky/compacts/12comp.h @@ -0,0 +1,2172 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY12COMP_H +#define SKY12COMP_H + + + + +namespace SkyCompact { + +uint16 botbelt_seq[] = { + 44*64, + 280, + 295, + 0, + 280, + 295, + 1, + 280, + 295, + 2, + 280, + 295, + 3, + 280, + 295, + 4, + 280, + 295, + 5, + 280, + 295, + 6, + 280, + 295, + 7, + 280, + 295, + 5, + 280, + 295, + 6, + 280, + 295, + 8, + 280, + 295, + 9, + 280, + 295, + 10, + 280, + 295, + 11, + 280, + 295, + 12, + 280, + 295, + 13, + 280, + 295, + 14, + 280, + 295, + 15, + 280, + 295, + 16, + 280, + 295, + 17, + 280, + 295, + 18, + 280, + 295, + 19, + 280, + 295, + 20, + 280, + 295, + 21, + 280, + 295, + 22, + 280, + 295, + 23, + 280, + 295, + 24, + 280, + 295, + 25, + 280, + 295, + 26, + 280, + 295, + 27, + 280, + 295, + 28, + 280, + 295, + 29, + 280, + 295, + 30, + 280, + 295, + 31, + 280, + 295, + 7, + 280, + 295, + 5, + 280, + 295, + 6, + 280, + 295, + 7, + 280, + 295, + 5, + 280, + 295, + 6, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 32, + 280, + 295, + 33, + 0, +}; + +uint16 s12_floor_table[] = { + ID_S12_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S12_LEFT_ON, + 1, + S12_RIGHT_ON, + 4, + GT_TICK_OFF, + 5, + GT_TOUR_1, + ID_FACTORY_EXIT, + GET_TO_FACTORY_EXIT, + ID_FACT1_EXIT, + GT_FACT1_EXIT, + ID_ANITA, + GT_ANITA, + ID_WELDER, + GT_WELDER, + ID_STUMP, + GT_STUMP, + ID_CONSOLE_12, + GT_CONSOLE_12, + ID_STD_LEFT_TALK, + GT_L_TALK_12, + ID_STD_RIGHT_TALK, + GT_R_TALK_12, + 65535, +}; + +uint16 swap1_seq[] = { + 69*64, + 248, + 184, + 0, + 248, + 184, + 1, + 248, + 184, + 2, + 248, + 184, + 3, + 248, + 184, + 4, + 248, + 184, + 5, + 248, + 184, + 6, + 248, + 184, + 7, + 248, + 184, + 8, + 248, + 184, + 9, + 248, + 184, + 10, + 248, + 184, + 11, + 248, + 184, + 10, + 248, + 184, + 12, + 248, + 184, + 13, + 248, + 184, + 14, + 248, + 184, + 15, + 248, + 184, + 16, + 248, + 184, + 17, + 248, + 184, + 18, + 248, + 184, + 19, + 0, +}; + +uint16 rs_joey_start_12[] = { + C_XCOOD, + 256, + C_YCOOD, + 264, + C_PLACE, + ID_S12_FLOOR, + C_SCREEN, + 12, + C_MODE, + 0, + C_BASE_SUB, + JOEY_LOGIC, + C_BASE_SUB+2, + 0, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION+ST_MOUSE, + C_DIR, + RIGHT, + 65535, +}; + +uint16 rs_lamb_start_fact[] = { + C_XCOOD, + 336, + C_YCOOD, + 224, + C_SCREEN, + 12, + C_PLACE, + ID_S12_FLOOR, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION+ST_MOUSE, + 65535, +}; + +uint16 welder_seq[] = { + 45*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 0, + 0, +}; + +uint16 rs_foster_7_12[] = { + C_XCOOD, + 144, + C_YCOOD, + 240, + C_SCREEN, + 12, + C_PLACE, + ID_S12_FLOOR, + 65535, +}; + +uint16 factory_spanner_seq[] = { + 46*64, + 239, + 195, + 0, + 239, + 195, + 0, + 239, + 195, + 1, + 239, + 195, + 1, + 239, + 195, + 2, + 239, + 195, + 3, + 239, + 195, + 4, + 239, + 195, + 5, + 239, + 195, + 6, + 239, + 195, + 6, + 239, + 195, + 6, + 239, + 195, + 7, + 239, + 195, + 8, + 239, + 195, + 9, + 239, + 195, + 7, + 239, + 195, + 10, + 239, + 195, + 10, + 239, + 195, + 11, + 239, + 195, + 12, + 0, +}; + +uint16 pipes_seq[] = { + 92*64, + 281, + 206, + 0, + 281, + 206, + 1, + 281, + 206, + 2, + 281, + 206, + 0, + 281, + 206, + 1, + 281, + 206, + 2, + 281, + 206, + 0, + 281, + 206, + 1, + 281, + 206, + 2, + 281, + 206, + 0, + 281, + 206, + 1, + 281, + 206, + 2, + 281, + 206, + 0, + 281, + 206, + 1, + 281, + 206, + 2, + 281, + 206, + 0, + 281, + 206, + 1, + 281, + 206, + 3, + 281, + 206, + 4, + 281, + 206, + 5, + 281, + 206, + 6, + 281, + 206, + 7, + 281, + 206, + 8, + 281, + 206, + 9, + 281, + 206, + 10, + 281, + 206, + 11, + 281, + 206, + 12, + 281, + 206, + 13, + 281, + 206, + 14, + 281, + 206, + 15, + 281, + 206, + 16, + 281, + 206, + 17, + 281, + 206, + 18, + 281, + 206, + 19, + 281, + 206, + 20, + 281, + 206, + 21, + 281, + 206, + 22, + 281, + 206, + 23, + 281, + 206, + 24, + 281, + 206, + 0, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 1, + 281, + 206, + 2, + 0, +}; + +uint16 swap3_seq[] = { + 71*64, + 222, + 184, + 0, + 222, + 184, + 1, + 222, + 184, + 2, + 220, + 184, + 3, + 219, + 184, + 4, + 218, + 184, + 5, + 219, + 184, + 6, + 220, + 184, + 7, + 219, + 185, + 8, + 219, + 186, + 9, + 221, + 185, + 10, + 222, + 185, + 11, + 222, + 185, + 12, + 222, + 185, + 11, + 221, + 185, + 10, + 220, + 185, + 13, + 221, + 185, + 10, + 221, + 186, + 14, + 218, + 187, + 15, + 216, + 189, + 16, + 218, + 187, + 17, + 219, + 186, + 18, + 220, + 186, + 19, + 221, + 186, + 20, + 220, + 186, + 19, + 0, +}; + +Compact fact1_right_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 12, // screen + 0, // place + 0, // getToTable + 432, // xcood + 190, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 1000, // mouseSize_x + 295-190, // mouseSize_y + FACT1_EXIT_ACTION, // actionScript +}; + +Compact pipes = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 12, // screen + 0, // place + 0, // getToTable + 28, // xcood + 36, // ycood + 92*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + STD_FACT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact botbelt = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 12, // screen + 0, // place + 0, // getToTable + 28, // xcood + 36, // ycood + 44*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BOTBELT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 joey_list_12[] = { + 230, + 376, + 256, + 272, + 1, + 0, +}; + +Compact welder = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 12, // screen + 0, // place + 0, // getToTable + 0XFB, // xcood + 0XBB, // ycood + 45*64, // frame + 59, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 8, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 40, // mouseSize_y + WELDER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + WELDER_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact factory_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 12, // screen + 0, // place + 0, // getToTable + 171, // xcood + 190, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 190-171, // mouseSize_x + 248-190, // mouseSize_y + FACTORY_EXIT_ACTION, // actionScript +}; + +uint32 grid12[0]; + +uint16 s12_pal[] = { + 0, + 1024, + 516, + 1030, + 1540, + 1542, + 1544, + 2052, + 1542, + 2058, + 2566, + 2056, + 2060, + 3078, + 2570, + 2574, + 4106, + 2058, + 3084, + 3594, + 2572, + 2580, + 3590, + 3084, + 2580, + 3592, + 4110, + 3600, + 4622, + 3086, + 3096, + 3592, + 4112, + 4112, + 7184, + 2060, + 3608, + 6666, + 3086, + 4118, + 4622, + 4626, + 4628, + 8462, + 2572, + 4634, + 4616, + 4628, + 5138, + 6164, + 4114, + 5140, + 8980, + 3086, + 4131, + 6156, + 5140, + 4131, + 5646, + 5142, + 5654, + 5656, + 4632, + 5148, + 7698, + 3094, + 5150, + 7186, + 4630, + 6166, + 6170, + 6168, + 6170, + 6678, + 4122, + 6168, + 8474, + 5144, + 7706, + 10002, + 4630, + 6179, + 7188, + 6682, + 6686, + 9496, + 5144, + 6689, + 7190, + 3617, + 7196, + 7708, + 6684, + 7205, + 10510, + 3098, + 7205, + 9488, + 6170, + 7708, + 7710, + 5665, + 7205, + 7704, + 8478, + 8990, + 7700, + 6689, + 7713, + 7710, + 8993, + 8489, + 9998, + 6686, + 8483, + 10014, + 4131, + 8993, + 10531, + 6689, + 8993, + 10533, + 7201, + 10019, + 11032, + 7201, + 9517, + 9486, + 4649, + 9517, + 10512, + 7715, + 9507, + 10021, + 8485, + 10533, + 12058, + 3623, + 9511, + 9509, + 7209, + 9005, + 10526, + 5673, + 10021, + 9511, + 10535, + 9517, + 10017, + 10023, + 10545, + 12048, + 8485, + 11057, + 12560, + 4651, + 10031, + 10531, + 7213, + 11563, + 10524, + 9005, + 11049, + 10537, + 11051, + 10543, + 12581, + 9001, + 11051, + 12073, + 6703, + 12077, + 11041, + 9519, + 11059, + 11559, + 11567, + 12077, + 12591, + 7731, + 13103, + 12069, + 11057, + 12085, + 12585, + 11057, + 13105, + 13105, + 12083, + 13619, + 14129, + 13111, + 2829, + 3851, + 3341, + 3856, + 4367, + 4369, + 2111, + 6144, + 7193, + 6681, + 6941, + 7708, + 7452, + 12575, + 8, + 5663, + 8211, + 4887, + 6178, + 9237, + 5914, + 7207, + 10521, + 6686, + 3102, + 9482, + 3603, + 6439, + 10512, + 4638, + 9259, + 11540, + 5929, + 12079, + 6426, + 4891, + 7963, + 8211, + 5669, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 cant_lift_seq[] = { + 69*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 5, + 1, + 1, + 3, + 1, + 1, + 1, + 0, +}; + +Compact topbelt = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 12, // screen + 0, // place + 0, // getToTable + 28, // xcood + 36, // ycood + 91*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + STD_FACT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s12_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 14+DISK_3, + 16+DISK_3, + 91+DISK_3, + 0, +}; + +uint16 s12_new_chip[] = { + 173, + 111, + 136+DISK_2, + 137+DISK_2, + 131+DISK_2, + 132+DISK_2, + 44+DISK_3, + 45+DISK_3, + 46+DISK_3+0X8000, + 69+DISK_3+0X8000, + 70+DISK_3+0X8000, + 71+DISK_3+0X8000, + 15+DISK_3, + 92+DISK_3, + 0, +}; + +Compact console_12 = { + 0, // logic + 0, // status + 0, // sync + 12, // screen + 0, // place + 0, // getToTable + 341, // xcood + 197, // ycood + 0, // frame + 8371, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 368-341, // mouseSize_x + 6, // mouseSize_y + CONSOLE_12_ACTION, // actionScript +}; + +uint16 anita_walk_seq[] = { + 90*64, + 352, + 181, + 0, + 352, + 184, + 1, + 351, + 185, + 2, + 351, + 187, + 3, + 351, + 189, + 4, + 351, + 192, + 5, + 351, + 193, + 6, + 352, + 195, + 7, + 352, + 197, + 0, + 352, + 200, + 1, + 351, + 201, + 2, + 351, + 203, + 3, + 351, + 205, + 4, + 351, + 208, + 5, + 351, + 209, + 6, + 352, + 211, + 7, + 352, + 211, + 8, + 352, + 211, + 9, + 351, + 211, + 10, + 355, + 212, + 11, + 363, + 211, + 12, + 368, + 211, + 13, + 367, + 211, + 14, + 371, + 212, + 15, + 380, + 211, + 16, + 384, + 211, + 9, + 383, + 211, + 10, + 387, + 212, + 11, + 395, + 211, + 12, + 400, + 211, + 13, + 399, + 211, + 14, + 403, + 212, + 15, + 412, + 211, + 16, + 416, + 211, + 9, + 415, + 211, + 10, + 419, + 212, + 11, + 425, + 211, + 17, + 425, + 211, + 18, + 425, + 211, + 19, + 425, + 212, + 20, + 425, + 215, + 21, + 0, +}; + +uint16 anita_work_seq[] = { + 27*64, + 343, + 178, + 0, + 343, + 178, + 0, + 343, + 178, + 1, + 343, + 178, + 1, + 343, + 178, + 2, + 343, + 178, + 2, + 343, + 178, + 3, + 343, + 178, + 3, + 343, + 178, + 4, + 343, + 178, + 4, + 343, + 178, + 5, + 343, + 178, + 5, + 343, + 178, + 6, + 343, + 178, + 6, + 343, + 178, + 7, + 343, + 178, + 7, + 343, + 178, + 8, + 343, + 178, + 8, + 343, + 178, + 9, + 343, + 178, + 9, + 343, + 178, + 10, + 343, + 178, + 10, + 343, + 178, + 11, + 343, + 178, + 11, + 343, + 178, + 9, + 343, + 178, + 9, + 343, + 178, + 12, + 343, + 178, + 12, + 343, + 178, + 13, + 343, + 178, + 13, + 343, + 178, + 14, + 343, + 178, + 14, + 343, + 178, + 15, + 343, + 178, + 15, + 343, + 178, + 16, + 343, + 178, + 16, + 343, + 178, + 0, + 343, + 178, + 0, + 343, + 178, + 1, + 343, + 178, + 1, + 343, + 178, + 2, + 343, + 178, + 2, + 343, + 178, + 3, + 343, + 178, + 3, + 343, + 178, + 4, + 343, + 178, + 4, + 343, + 178, + 3, + 343, + 178, + 3, + 343, + 178, + 2, + 343, + 178, + 2, + 343, + 178, + 1, + 343, + 178, + 1, + 343, + 178, + 0, + 343, + 178, + 0, + 343, + 178, + 5, + 343, + 178, + 5, + 343, + 178, + 6, + 343, + 178, + 6, + 343, + 178, + 7, + 343, + 178, + 7, + 343, + 178, + 6, + 343, + 178, + 6, + 343, + 178, + 7, + 343, + 178, + 7, + 0X157, + 0XB3, + 0, + 0, +}; + +uint16 anita_turn_seq[] = { + 29*64, + 343, + 178, + 0, + 343, + 178, + 1, + 343, + 178, + 2, + 343, + 178, + 3, + 343, + 178, + 4, + 343, + 178, + 5, + 0, +}; + +uint16 anita_turn_back[] = { + 29*64, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 rs_foster_12_7[] = { + C_XCOOD, + 376, + C_YCOOD, + 240, + C_SCREEN, + 7, + C_PLACE, + ID_S7_FLOOR, + 65535, +}; + +uint16 s12_mouse[] = { + ID_JOEY, + ID_FACTORY_EXIT, + ID_FACT1_EXIT, + ID_ANITA, + ID_LAMB, + ID_STUMP, + ID_CONSOLE_12, + ID_S12_FLOOR, + ID_ANITA_SPY, + ID_WELDER, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 s12_chip_list[] = { + 173, + 111, + 136+DISK_2, + 137+DISK_2, + 131+DISK_2, + 132+DISK_2, + 27+DISK_3, + 28+DISK_3+0X8000, + 29+DISK_3+0X8000, + 30+DISK_3+0X8000, + 44+DISK_3, + 45+DISK_3, + 46+DISK_3+0X8000, + 90+DISK_3+0X8000, + 15+DISK_3, + 92+DISK_3, + 0, +}; + +Compact stump = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 12, // screen + 0, // place + 0, // getToTable + 249, // xcood + 208, // ycood + 0, // frame + 9282, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 279-249, // mouseSize_x + 230-208, // mouseSize_y + STUMP_ACTION, // actionScript +}; + +uint16 swap2_seq[] = { + 70*64, + 252, + 183, + 0, + 251, + 183, + 1, + 250, + 183, + 2, + 248, + 183, + 3, + 249, + 183, + 4, + 248, + 183, + 5, + 248, + 183, + 6, + 247, + 183, + 7, + 244, + 183, + 8, + 241, + 183, + 9, + 237, + 183, + 10, + 235, + 183, + 11, + 0, +}; + +Compact anita_spy = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 12, // screen + 0, // place + 0, // getToTable + 375, // xcood + 151, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 1, // mouseSize_x + 1, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ANITA_SPY_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact s12_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 12, // screen + 0, // place + s12_floor_table, // getToTable + 184, // xcood + 216, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 79, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 s12_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_ANITA, + ID_ANITA_SPY, + ID_LAMB, + ID_LIFT_S7, + ID_LIFT7_LIGHT, + ID_FOREMAN, + ID_TOP_BELT, + ID_PIPES, + ID_BOT_BELT, + ID_COGS, + ID_GEARS, + ID_BELT1, + ID_BELT2, + ID_PIPE1, + ID_PIPE2, + ID_PIPE3, + ID_PIPE4, + ID_WELDER, + ID_CABLE_7, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 topbelt_seq[] = { + 91*64, + 222, + 180, + 0, + 222, + 180, + 1, + 222, + 180, + 2, + 222, + 180, + 3, + 222, + 180, + 4, + 222, + 180, + 5, + 222, + 180, + 6, + 222, + 180, + 7, + 222, + 180, + 8, + 222, + 180, + 9, + 222, + 180, + 10, + 222, + 180, + 11, + 222, + 180, + 12, + 222, + 180, + 13, + 222, + 180, + 14, + 222, + 180, + 15, + 222, + 180, + 16, + 222, + 180, + 17, + 222, + 180, + 18, + 222, + 180, + 19, + 222, + 180, + 20, + 222, + 180, + 21, + 222, + 180, + 22, + 222, + 180, + 23, + 222, + 180, + 24, + 222, + 180, + 25, + 222, + 180, + 26, + 222, + 180, + 27, + 222, + 180, + 28, + 222, + 180, + 29, + 222, + 180, + 30, + 222, + 180, + 31, + 222, + 180, + 32, + 222, + 180, + 33, + 222, + 180, + 34, + 222, + 180, + 35, + 222, + 180, + 36, + 222, + 180, + 37, + 222, + 180, + 38, + 222, + 180, + 39, + 222, + 180, + 40, + 222, + 180, + 40, + 222, + 180, + 41, + 222, + 180, + 41, + 222, + 180, + 41, + 222, + 180, + 40, + 222, + 180, + 40, + 222, + 180, + 40, + 222, + 180, + 41, + 222, + 180, + 41, + 222, + 180, + 41, + 222, + 180, + 40, + 222, + 180, + 40, + 222, + 180, + 40, + 222, + 180, + 41, + 222, + 180, + 41, + 222, + 180, + 41, + 222, + 180, + 40, + 222, + 180, + 40, + 222, + 180, + 40, + 222, + 180, + 41, + 222, + 180, + 42, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/13comp.h b/sky/compacts/13comp.h new file mode 100644 index 00000000000..56936ac8c28 --- /dev/null +++ b/sky/compacts/13comp.h @@ -0,0 +1,3695 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY13COMP_H +#define SKY13COMP_H + + + + +namespace SkyCompact { + +uint16 foreman_l_to_r[] = { + 41-8+63*64, + 40-8+63*64, + 47-8+63*64, + 0, +}; + +uint16 rs_foster[] = { + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_AR_PRIORITY+ST_GRID_PLOT+ST_COLLISION, + 65535, +}; + +uint16 gears_seq[] = { + 48*64, + 284, + 291, + 0, + 284, + 291, + 1, + 284, + 291, + 2, + 0, +}; + +Compact fact2_exit_left = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 126, // xcood + 136, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 11, // mouseSize_x + 300, // mouseSize_y + FACT2_ACTION, // actionScript +}; + +Compact fact_console = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_MOUSE, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 0X1A2, // xcood + 0XC3, // ycood + 89*64, // frame + 8371, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 10, // mouseSize_x + 10, // mouseSize_y + CONSOLE_13_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FACT_CONSOLE_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact pipe1 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 28, // xcood + 36, // ycood + 56*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + STD_FACT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 lite1_table[] = { + ID_STD_RIGHT_TALK, + GT_R_TALK_13, + 65535, +}; + +Compact sensor = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 28, // xcood + 36, // ycood + 59*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SENSOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 foreman_l_to_d[] = { + 41-8+63*64, + 0, +}; + +uint16 foreman_st_up[] = { + 63*64, + 1, + 1, + 36, + 0, +}; + +uint16 foreman_work_seq[] = { + 65*64, + 259, + 190, + 0, + 259, + 190, + 0, + 259, + 190, + 1, + 259, + 190, + 1, + 259, + 190, + 2, + 259, + 190, + 2, + 259, + 190, + 3, + 259, + 190, + 3, + 259, + 190, + 4, + 259, + 190, + 4, + 259, + 190, + 5, + 259, + 190, + 5, + 259, + 190, + 6, + 259, + 190, + 6, + 259, + 190, + 7, + 259, + 190, + 7, + 259, + 190, + 8, + 259, + 190, + 8, + 259, + 190, + 7, + 259, + 190, + 7, + 259, + 190, + 8, + 259, + 190, + 8, + 259, + 190, + 6, + 259, + 190, + 6, + 259, + 190, + 5, + 259, + 190, + 5, + 259, + 190, + 6, + 259, + 190, + 6, + 259, + 190, + 7, + 259, + 190, + 7, + 259, + 190, + 6, + 259, + 190, + 6, + 259, + 190, + 5, + 259, + 190, + 5, + 259, + 190, + 4, + 259, + 190, + 4, + 259, + 190, + 5, + 259, + 190, + 5, + 259, + 190, + 6, + 259, + 190, + 6, + 259, + 190, + 7, + 259, + 190, + 7, + 259, + 190, + 8, + 259, + 190, + 8, + 259, + 190, + 3, + 259, + 190, + 3, + 259, + 190, + 2, + 259, + 190, + 2, + 259, + 190, + 9, + 259, + 190, + 9, + 259, + 190, + 10, + 259, + 190, + 10, + 259, + 190, + 11, + 259, + 190, + 11, + 259, + 190, + 12, + 259, + 190, + 12, + 259, + 190, + 13, + 259, + 190, + 13, + 259, + 190, + 14, + 259, + 190, + 14, + 259, + 190, + 15, + 259, + 190, + 15, + 259, + 190, + 16, + 259, + 190, + 16, + 0, +}; + +uint16 nu_s13_chip[] = { + 136+DISK_2, + 137+DISK_2, + 63+DISK_3, + 64+DISK_3, + 65+DISK_3, + 68+DISK_3, + 47+DISK_3, + 48+DISK_3, + 60+DISK_3, + 61+DISK_3, + 56+DISK_3, + 57+DISK_3, + 58+DISK_3, + 59+DISK_3, + 62+DISK_3, + 66+DISK_3, + 67+DISK_3, + 89+DISK_3, + 90+DISK_6, + 106+DISK_6, + 17+DISK_3, + 18+DISK_3, + 0, +}; + +uint16 rs_storeman[] = { + C_XCOOD, + 288, + C_YCOOD, + 232, + C_FRAME, + 63*64+34, + C_PLACE, + ID_S13_FLOOR, + C_MODE, + C_BASE_MODE, + C_BASE_SUB, + FOREMAN_STORE_CHECK, + C_BASE_SUB+2, + 0, + C_DIR, + LEFT, + C_LOGIC, + L_SCRIPT, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_MOUSE, + 65535, +}; + +uint16 foreman_left[] = { + 4, + 16+63*64, + 65532, + 0, + 4, + 17+63*64, + 65532, + 0, + 4, + 18+63*64, + 65532, + 0, + 4, + 19+63*64, + 65532, + 0, + 4, + 20+63*64, + 65532, + 0, + 4, + 21+63*64, + 65532, + 0, + 4, + 22+63*64, + 65532, + 0, + 4, + 23+63*64, + 65532, + 0, + 0, +}; + +uint16 closecoat[] = { + 141*64, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 pipe1_seq[] = { + 56*64, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 0XEC, + 0XC4, + 0, + 0, +}; + +uint16 foreman_r_to_l[] = { + 45-8+63*64, + 44-8+63*64, + 43-8+63*64, + 0, +}; + +Compact fact2_exit_right = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 432, // xcood + 174, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 16, // mouseSize_x + 267-174, // mouseSize_y + FACT2_RIGHT_ACTION, // actionScript +}; + +uint16 foreman_l_to_u[] = { + 43-8+63*64, + 0, +}; + +Compact lite1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 13, // screen + 0, // place + lite1_table, // getToTable + 28, // xcood + 36, // ycood + 59*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ANIMATE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s13_floor_table[] = { + ID_S13_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S13_LEFT_ON, + 1, + S13_RIGHT_ON, + 3, + ON_FROM_S15, + 4, + GT_STORE_STOP, + 5, + GT_TOUR_2, + ID_LITE1, + GT_LITE1, + ID_FACT2_L_EXIT, + GT_FACT2_L_EXIT, + ID_FACT2_R_EXIT, + GT_FACT2_R_EXIT, + ID_F2_STORE_EXIT, + GT_FACT2_STORE_EXIT, + ID_COGS, + GT_COGS, + ID_STD_LEFT_TALK, + GT_L_TALK_13, + ID_STD_RIGHT_TALK, + GT_R_TALK_13, + ID_FACT2_SPY, + GT_WINDOW, + ID_SENSORS, + GT_SENSORS, + ID_FACT_CONSOLE, + GT_FACT_CONSOLE, + 65535, +}; + +uint16 fsearch_seq[] = { + 143*64, + 367, + 163, + 0, + 367, + 163, + 1, + 367, + 163, + 2, + 367, + 163, + 3, + 367, + 163, + 4, + 367, + 163, + 5, + 367, + 163, + 6, + 367, + 163, + 7, + 367, + 163, + 8, + 367, + 163, + 9, + 367, + 163, + 10, + 367, + 163, + 11, + 367, + 163, + 12, + 0, +}; + +Compact fact2_store_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 203, // xcood + 175, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 8, // mouseSize_x + 238-175, // mouseSize_y + FACT2_STORE_ACTION, // actionScript +}; + +Compact pipe4 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 28, // xcood + 36, // ycood + 59*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + STD_FACT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 foreman_u_to_d[] = { + 43-8+63*64, + 42-8+63*64, + 41-8+63*64, + 0, +}; + +uint16 foreman_right[] = { + 4, + 24+63*64, + 4, + 0, + 4, + 25+63*64, + 4, + 0, + 4, + 26+63*64, + 4, + 0, + 4, + 27+63*64, + 4, + 0, + 4, + 28+63*64, + 4, + 0, + 4, + 29+63*64, + 4, + 0, + 4, + 30+63*64, + 4, + 0, + 4, + 31+63*64, + 4, + 0, + 0, +}; + +uint16 belts2_seq[] = { + 61*64, + 368, + 184, + 0, + 368, + 184, + 1, + 368, + 184, + 2, + 368, + 184, + 3, + 368, + 184, + 4, + 368, + 184, + 5, + 368, + 184, + 6, + 368, + 184, + 7, + 368, + 184, + 8, + 368, + 184, + 9, + 368, + 184, + 10, + 368, + 184, + 11, + 368, + 184, + 12, + 368, + 184, + 13, + 368, + 184, + 14, + 368, + 184, + 15, + 368, + 184, + 16, + 368, + 184, + 17, + 368, + 184, + 18, + 368, + 184, + 19, + 368, + 184, + 20, + 368, + 184, + 21, + 368, + 184, + 22, + 368, + 184, + 23, + 368, + 184, + 24, + 368, + 184, + 25, + 368, + 184, + 26, + 368, + 184, + 27, + 368, + 184, + 28, + 368, + 184, + 29, + 368, + 184, + 30, + 368, + 184, + 31, + 368, + 184, + 32, + 368, + 184, + 33, + 368, + 184, + 34, + 368, + 184, + 35, + 368, + 184, + 36, + 368, + 184, + 37, + 368, + 184, + 38, + 368, + 184, + 39, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 40, + 368, + 184, + 41, + 0, +}; + +uint16 forfrisk_seq[] = { + 138*64, + 243, + 163, + 0, + 243, + 163, + 0, + 243, + 163, + 1, + 243, + 163, + 2, + 243, + 163, + 3, + 243, + 163, + 4, + 243, + 163, + 5, + 243, + 163, + 6, + 243, + 163, + 2, + 243, + 163, + 7, + 243, + 163, + 8, + 243, + 163, + 9, + 243, + 163, + 10, + 243, + 163, + 11, + 243, + 163, + 12, + 243, + 163, + 1, + 243, + 163, + 0, + 243, + 163, + 0, + 0, +}; + +uint16 rs_foreman[] = { + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_MOUSE+ST_COLLISION, + 65535, +}; + +uint16 pipe2_seq[] = { + 57*64, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 0X120, + 0XC9, + 0, + 0, +}; + +uint16 rs_foster_13_12[] = { + C_XCOOD, + 456, + C_SCREEN, + 12, + C_PLACE, + ID_S12_FLOOR, + 65535, +}; + +Compact s13_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 13, // screen + 0, // place + s13_floor_table, // getToTable + 128, // xcood + 216, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 71, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact cogs = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 28, // xcood + 36, // ycood + 47*64, // frame + 8255, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 1, // mouseRel_x + 0, // mouseRel_y + 21, // mouseSize_x + 7, // mouseSize_y + COGS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + STD_FACT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 foreman_r_to_u[] = { + 45-8+63*64, + 0, +}; + +Compact belts2 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 28, // xcood + 36, // ycood + 61*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + STD_FACT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 foreman_d_to_l[] = { + 41-8+63*64, + 0, +}; + +uint16 s13_chip_list[] = { + 173, + 111, + 136+DISK_2, + 137+DISK_2, + 63+DISK_3, + 64+DISK_3+0X8000, + 65+DISK_3+0X8000, + 68+DISK_3+0X8000, + 48+DISK_3, + 60+DISK_3, + 61+DISK_3, + 55+DISK_3+0X8000, + 62+DISK_3, + 66+DISK_3, + 67+DISK_3, + 89+DISK_3, + 138+DISK_3+0X8000, + 139+DISK_3+0X8000, + 143+DISK_3+0X8000, + 17+DISK_3, + 18+DISK_3, + 0, +}; + +uint16 foreman_st_talk[] = { + 64*64, + 1, + 1, + 0, + 0, +}; + +uint16 fact_console_dead[] = { + 89*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 0, +}; + +uint16 foreman_st_down[] = { + 63*64, + 1, + 1, + 32, + 0, +}; + +Compact lite2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 28, // xcood + 36, // ycood + 59*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ANIMATE_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact gears = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 28, // xcood + 36, // ycood + 48*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + STD_FACT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 fost_cog_seq[] = { + 55*64, + 288, + 184, + 0, + 288, + 184, + 1, + 288, + 184, + 2, + 288, + 184, + 3, + 288, + 184, + 4, + 288, + 184, + 5, + 288, + 184, + 6, + 288, + 184, + 7, + 288, + 184, + 7, + 288, + 184, + 8, + 288, + 184, + 8, + 288, + 184, + 9, + 288, + 184, + 9, + 288, + 184, + 9, + 288, + 184, + 9, + 288, + 184, + 9, + 288, + 184, + 9, + 288, + 184, + 8, + 288, + 184, + 8, + 288, + 184, + 7, + 288, + 184, + 7, + 288, + 184, + 6, + 288, + 184, + 1, + 288, + 184, + 0, + 0, +}; + +uint16 cogs_seq[] = { + 47*64, + 294, + 218, + 0, + 294, + 218, + 1, + 294, + 218, + 2, + 0, +}; + +Compact pipe3 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 28, // xcood + 36, // ycood + 58*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + STD_FACT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 lite2_seq[] = { + 67*64, + 417, + 206, + 0, + 417, + 206, + 0, + 417, + 206, + 0, + 417, + 206, + 0, + 417, + 206, + 0, + 417, + 206, + 0, + 417, + 206, + 1, + 417, + 206, + 1, + 417, + 206, + 1, + 417, + 206, + 1, + 0, +}; + +Compact belts1 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 28, // xcood + 36, // ycood + 60*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + STD_FACT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s13_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_LAMB, + ID_LIFT_S7, + ID_LIFT7_LIGHT, + ID_FOREMAN, + ID_TOP_BELT, + ID_PIPES, + ID_BOT_BELT, + ID_WELDER, + ID_COGS, + ID_GEARS, + ID_BELT1, + ID_BELT2, + ID_PIPE1, + ID_PIPE2, + ID_PIPE3, + ID_PIPE4, + ID_SENSOR, + ID_LITE1, + ID_LITE2, + ID_FACT_CONSOLE, + ID_COAT, + ID_FACT2_SPY, + 177, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 s13_mouse[] = { + ID_JOEY, + ID_FOREMAN, + ID_FACT2_L_EXIT, + ID_FACT2_R_EXIT, + ID_F2_STORE_EXIT, + ID_COGS, + ID_FACT2_SPY, + ID_SENSORS, + ID_FACT_CONSOLE, + ID_S13_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sensors = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 212, // xcood + 195, // ycood + 0, // frame + 8381, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 229-212, // mouseSize_x + 241-195, // mouseSize_y + SENSORS_ACTION, // actionScript +}; + +uint16 fact_console_seq[] = { + 89*64, + 418, + 196, + 0, + 418, + 196, + 1, + 418, + 196, + 2, + 418, + 196, + 3, + 418, + 196, + 3, + 418, + 196, + 3, + 418, + 196, + 3, + 418, + 196, + 3, + 418, + 196, + 3, + 418, + 196, + 4, + 418, + 196, + 5, + 418, + 196, + 5, + 418, + 196, + 5, + 418, + 196, + 5, + 418, + 196, + 6, + 418, + 196, + 7, + 418, + 196, + 7, + 418, + 196, + 7, + 418, + 196, + 8, + 418, + 196, + 8, + 418, + 196, + 8, + 418, + 196, + 8, + 418, + 196, + 8, + 418, + 196, + 9, + 418, + 196, + 10, + 418, + 196, + 11, + 418, + 196, + 11, + 418, + 196, + 11, + 418, + 196, + 11, + 418, + 196, + 11, + 418, + 196, + 11, + 418, + 196, + 11, + 418, + 196, + 11, + 418, + 196, + 11, + 418, + 196, + 12, + 418, + 196, + 13, + 418, + 196, + 14, + 418, + 196, + 15, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 17, + 418, + 196, + 18, + 418, + 196, + 18, + 418, + 196, + 18, + 418, + 196, + 18, + 418, + 196, + 18, + 418, + 196, + 18, + 418, + 196, + 18, + 418, + 196, + 18, + 418, + 196, + 18, + 418, + 196, + 19, + 418, + 196, + 20, + 418, + 196, + 21, + 418, + 196, + 22, + 418, + 196, + 23, + 418, + 196, + 24, + 418, + 196, + 25, + 418, + 196, + 25, + 418, + 196, + 25, + 418, + 196, + 25, + 418, + 196, + 25, + 418, + 196, + 25, + 418, + 196, + 25, + 418, + 196, + 25, + 418, + 196, + 25, + 418, + 196, + 25, + 418, + 196, + 25, + 418, + 196, + 25, + 418, + 196, + 25, + 418, + 196, + 26, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 27, + 418, + 196, + 28, + 418, + 196, + 29, + 418, + 196, + 5, + 418, + 196, + 5, + 418, + 196, + 5, + 418, + 196, + 5, + 418, + 196, + 5, + 418, + 196, + 5, + 418, + 196, + 5, + 418, + 196, + 30, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 31, + 418, + 196, + 32, + 418, + 196, + 33, + 418, + 196, + 34, + 418, + 196, + 35, + 418, + 196, + 35, + 418, + 196, + 35, + 418, + 196, + 35, + 418, + 196, + 35, + 418, + 196, + 35, + 418, + 196, + 36, + 418, + 196, + 37, + 418, + 196, + 38, + 418, + 196, + 39, + 418, + 196, + 40, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 418, + 196, + 16, + 0, +}; + +uint16 foreman_down[] = { + 2, + 8+63*64, + 0, + 2, + 2, + 9+63*64, + 0, + 2, + 2, + 10+63*64, + 0, + 2, + 2, + 11+63*64, + 0, + 2, + 2, + 12+63*64, + 0, + 2, + 2, + 13+63*64, + 0, + 2, + 2, + 14+63*64, + 0, + 2, + 2, + 15+63*64, + 0, + 2, + 0, +}; + +uint8 foreman_auto[64]; + +uint16 foreman_up[] = { + 2, + 0+63*64, + 0, + 65534, + 2, + 1+63*64, + 0, + 65534, + 2, + 2+63*64, + 0, + 65534, + 2, + 3+63*64, + 0, + 65534, + 2, + 4+63*64, + 0, + 65534, + 2, + 5+63*64, + 0, + 65534, + 2, + 6+63*64, + 0, + 65534, + 2, + 7+63*64, + 0, + 65534, + 0, +}; + +uint16 foreman_st_left[] = { + 63*64, + 1, + 1, + 34, + 0, +}; + +uint16 foreman_st_right[] = { + 63*64, + 1, + 1, + 38, + 0, +}; + +uint16 foreman_u_to_l[] = { + 43-8+63*64, + 0, +}; + +uint16 foreman_u_to_r[] = { + 45-8+63*64, + 0, +}; + +uint16 foreman_d_to_u[] = { + 47-8+63*64, + 46-8+63*64, + 45-8+63*64, + 0, +}; + +uint16 foreman_d_to_r[] = { + 47-8+63*64, + 0, +}; + +uint16 foreman_r_to_d[] = { + 47-8+63*64, + 0, +}; + +uint16 *foreman_turnTable[5][5] = { + { // turnTableup + 0, + foreman_u_to_d, + foreman_u_to_l, + foreman_u_to_r, + 0 + }, + { // turnTableDown + foreman_d_to_u, + 0, + foreman_d_to_l, + foreman_d_to_r, + 0 + }, + { // turnTableLeft + foreman_l_to_u, + foreman_l_to_d, + 0, + foreman_l_to_r, + 0 + }, + { // turnTableRight + foreman_r_to_u, + foreman_r_to_d, + foreman_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact foreman_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_FOREMAN, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + foreman_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + foreman_up, // animUp + foreman_down, // animDown + foreman_left, // animLeft + foreman_right, // animRight + foreman_st_up, // standUp + foreman_st_down, // standDown + foreman_st_left, // standLeft + foreman_st_right, // standRight + foreman_st_talk, // standTalk +}; + +Compact foreman = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_MOUSE+ST_COLLISION, // status + 0, // sync + 13, // screen + ID_S13_FLOOR, // place + 0, // getToTable + 408, // xcood + 224+32, // ycood + 63*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65520, // mouseRel_x + 65488, // mouseRel_y + 24, // mouseSize_x + 48, // mouseSize_y + MEGA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + FOREMAN_LOGIC, // baseSub + 0, // baseSub_off + &foreman_ext, + &foreman_turnTable, +}; + +uint16 lite1_seq[] = { + 66*64, + 417, + 203, + 0, + 417, + 203, + 0, + 417, + 203, + 0, + 417, + 203, + 1, + 417, + 203, + 1, + 417, + 203, + 1, + 0, +}; + +uint16 pipe3_seq[] = { + 58*64, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 0X146, + 0XC4, + 0, + 0, +}; + +uint16 opencoat_seq[] = { + 141*64, + 198, + 163, + 0, + 198, + 163, + 1, + 198, + 163, + 2, + 198, + 163, + 3, + 198, + 163, + 4, + 198, + 163, + 5, + 198, + 163, + 6, + 198, + 163, + 7, + 198, + 163, + 8, + 0, +}; + +uint16 sensor_seq[] = { + 62*64, + 222, + 194, + 0, + 222, + 194, + 1, + 222, + 194, + 2, + 0, +}; + +Compact fact2_spy_and_window = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 145, // xcood + 213, // ycood + 0, // frame + 9218, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 171-145, // mouseSize_x + 235-213, // mouseSize_y + WINDOW_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FACT2_SPY_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 belts1_seq[] = { + 60*64, + 217, + 174, + 0, + 217, + 174, + 1, + 217, + 174, + 2, + 217, + 174, + 3, + 217, + 174, + 4, + 217, + 174, + 5, + 217, + 174, + 6, + 217, + 174, + 7, + 217, + 174, + 8, + 217, + 174, + 9, + 217, + 174, + 10, + 217, + 174, + 11, + 217, + 174, + 12, + 217, + 174, + 13, + 217, + 174, + 14, + 217, + 174, + 15, + 217, + 174, + 16, + 217, + 174, + 17, + 217, + 174, + 18, + 217, + 174, + 19, + 217, + 174, + 20, + 217, + 174, + 21, + 217, + 174, + 22, + 217, + 174, + 23, + 217, + 174, + 24, + 217, + 174, + 25, + 217, + 174, + 26, + 217, + 174, + 27, + 217, + 174, + 28, + 217, + 174, + 29, + 217, + 174, + 30, + 217, + 174, + 31, + 217, + 174, + 32, + 217, + 174, + 33, + 217, + 174, + 34, + 217, + 174, + 35, + 217, + 174, + 36, + 217, + 174, + 37, + 217, + 174, + 38, + 217, + 174, + 39, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 40, + 217, + 174, + 41, + 0, +}; + +Compact pipe2 = { + L_SCRIPT, // logic + ST_RECREATE+ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 13, // screen + 0, // place + 0, // getToTable + 0X120, // xcood + 0XC9, // ycood + 57*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + STD_FACT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s13_pal[] = { + 0, + 1024, + 1028, + 1028, + 1542, + 1028, + 1542, + 2054, + 1030, + 2054, + 2056, + 2056, + 2060, + 3078, + 2056, + 2062, + 2568, + 2570, + 2572, + 2568, + 3084, + 3084, + 4620, + 2060, + 3598, + 4620, + 2572, + 3598, + 4110, + 3598, + 4112, + 5648, + 3086, + 4114, + 4622, + 4112, + 4624, + 5650, + 3088, + 3102, + 6154, + 3600, + 3614, + 4620, + 5140, + 4630, + 5138, + 3094, + 5140, + 5138, + 5140, + 4634, + 6160, + 3604, + 4636, + 7696, + 4114, + 5654, + 8982, + 3600, + 6166, + 6160, + 5142, + 6164, + 9494, + 3088, + 5150, + 6674, + 5142, + 4135, + 5646, + 4634, + 6166, + 6168, + 6168, + 5667, + 7180, + 5656, + 4649, + 8462, + 4630, + 5157, + 8464, + 5142, + 6686, + 6158, + 7194, + 6177, + 10516, + 4116, + 6179, + 6676, + 6684, + 7706, + 6676, + 5662, + 7194, + 7196, + 6684, + 7713, + 8972, + 5658, + 5675, + 10002, + 3610, + 6693, + 7190, + 7710, + 7201, + 10010, + 5658, + 8476, + 7192, + 8478, + 8478, + 10008, + 6172, + 7713, + 9502, + 6686, + 7715, + 7710, + 8481, + 8489, + 9996, + 6686, + 8990, + 10524, + 6686, + 8481, + 8481, + 8995, + 10017, + 11032, + 4131, + 8489, + 8476, + 9507, + 9517, + 11020, + 7201, + 9515, + 10000, + 8483, + 9507, + 8995, + 9509, + 10531, + 11034, + 7715, + 10533, + 12060, + 3623, + 9005, + 9502, + 8489, + 10021, + 11559, + 7717, + 10023, + 9509, + 10535, + 10545, + 11534, + 8485, + 11047, + 11036, + 9511, + 10535, + 10537, + 7725, + 10539, + 10535, + 9517, + 11049, + 11051, + 11051, + 11055, + 11045, + 9007, + 11055, + 11049, + 11565, + 12077, + 11567, + 10545, + 12591, + 12591, + 11569, + 13619, + 13617, + 13111, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 new_13_chip[] = { + 131+DISK_2, + 132+DISK_2, + 136+DISK_2, + 137+DISK_2, + 63+DISK_3, + 64+DISK_3+0X8000, + 65+DISK_3+0X8000, + 68+DISK_3+0X8000, + 48+DISK_3, + 60+DISK_3, + 61+DISK_3, + 55+DISK_3+0X8000, + 62+DISK_3, + 66+DISK_3, + 67+DISK_3, + 89+DISK_3, + 17+DISK_3, + 18+DISK_3, + 0, +}; + +uint32 grid13[0]; + +uint16 rs_foster_12_13[] = { + C_XCOOD, + 120, + C_YCOOD, + 280, + C_SCREEN, + 13, + C_PLACE, + ID_S13_FLOOR, + 65535, +}; + +uint16 s13_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 20+DISK_3, + 140+DISK_3, + 141+DISK_3, + 142+DISK_3, + 47+DISK_3, + 56+DISK_3, + 57+DISK_3, + 58+DISK_3, + 59+DISK_3, + 0, +}; + +uint16 pipe4_seq[] = { + 59*64, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 348, + 241, + 0, + 0X14C, + 0X123, + 0, + 0, +}; + +uint16 armsup_seq[] = { + 140*64, + 400, + 246, + 0, + 400, + 246, + 1, + 400, + 246, + 2, + 400, + 246, + 3, + 400, + 246, + 4, + 400, + 246, + 4, + 400, + 246, + 3, + 400, + 246, + 4, + 400, + 246, + 5, + 400, + 246, + 4, + 400, + 246, + 6, + 400, + 246, + 7, + 400, + 246, + 2, + 400, + 246, + 2, + 400, + 246, + 2, + 400, + 246, + 2, + 400, + 246, + 1, + 400, + 246, + 0, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/14comp.h b/sky/compacts/14comp.h new file mode 100644 index 00000000000..6afe483122d --- /dev/null +++ b/sky/compacts/14comp.h @@ -0,0 +1,2001 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY14COMP_H +#define SKY14COMP_H + + + + +namespace SkyCompact { + +uint16 rs_foster_14_13[] = { + C_XCOOD, + 456, + C_YCOOD, + 240, + C_SCREEN, + 13, + C_PLACE, + ID_S13_FLOOR, + 65535, +}; + +uint16 rs_foster_13_14[] = { + C_XCOOD, + 120, + C_YCOOD, + 256, + C_SCREEN, + 14, + C_PLACE, + ID_S14_FLOOR, + 65535, +}; + +uint16 radman_l_to_r[] = { + 41+90*64, + 40+90*64, + 47+90*64, + 0, +}; + +uint8 radman_auto[64]; + +uint16 radman_up[] = { + 2, + 0+90*64, + 0, + 65534, + 2, + 1+90*64, + 0, + 65534, + 2, + 2+90*64, + 0, + 65534, + 2, + 3+90*64, + 0, + 65534, + 2, + 4+90*64, + 0, + 65534, + 2, + 5+90*64, + 0, + 65534, + 2, + 6+90*64, + 0, + 65534, + 2, + 7+90*64, + 0, + 65534, + 2, + 8+90*64, + 0, + 65534, + 2, + 9+90*64, + 0, + 65534, + 0, +}; + +uint16 radman_down[] = { + 2, + 10+90*64, + 0, + 2, + 2, + 11+90*64, + 0, + 2, + 2, + 12+90*64, + 0, + 2, + 2, + 13+90*64, + 0, + 2, + 2, + 14+90*64, + 0, + 2, + 2, + 15+90*64, + 0, + 2, + 2, + 16+90*64, + 0, + 2, + 2, + 17+90*64, + 0, + 2, + 2, + 18+90*64, + 0, + 2, + 2, + 19+90*64, + 0, + 2, + 0, +}; + +uint16 radman_left[] = { + 4, + 20+90*64, + 65532, + 0, + 4, + 21+90*64, + 65532, + 0, + 4, + 22+90*64, + 65532, + 0, + 4, + 23+90*64, + 65532, + 0, + 4, + 24+90*64, + 65532, + 0, + 4, + 25+90*64, + 65532, + 0, + 4, + 26+90*64, + 65532, + 0, + 4, + 27+90*64, + 65532, + 0, + 4, + 28+90*64, + 65532, + 0, + 4, + 29+90*64, + 65532, + 0, + 0, +}; + +uint16 radman_right[] = { + 4, + 30+90*64, + 4, + 0, + 4, + 31+90*64, + 4, + 0, + 4, + 32+90*64, + 4, + 0, + 4, + 33+90*64, + 4, + 0, + 4, + 34+90*64, + 4, + 0, + 4, + 35+90*64, + 4, + 0, + 4, + 36+90*64, + 4, + 0, + 4, + 37+90*64, + 4, + 0, + 4, + 38+90*64, + 4, + 0, + 4, + 39+90*64, + 4, + 0, + 0, +}; + +uint16 radman_st_up[] = { + 90*64, + 1, + 0, + 44, + 0, +}; + +uint16 radman_st_down[] = { + 90*64, + 1, + 0, + 40, + 0, +}; + +uint16 radman_st_left[] = { + 90*64, + 1, + 0, + 42, + 0, +}; + +uint16 radman_st_right[] = { + 90*64, + 1, + 0, + 46, + 0, +}; + +uint16 radman_st_talk[] = { + 97*64, + 1, + 0, + 0, + 0, +}; + +uint16 radman_u_to_d[] = { + 43+90*64, + 42+90*64, + 41+90*64, + 0, +}; + +uint16 radman_u_to_l[] = { + 43+90*64, + 0, +}; + +uint16 radman_u_to_r[] = { + 45+90*64, + 0, +}; + +uint16 radman_d_to_u[] = { + 47+90*64, + 46+90*64, + 45+90*64, + 0, +}; + +uint16 radman_d_to_l[] = { + 41+90*64, + 0, +}; + +uint16 radman_d_to_r[] = { + 47+90*64, + 0, +}; + +uint16 radman_l_to_u[] = { + 43+90*64, + 0, +}; + +uint16 radman_l_to_d[] = { + 41+90*64, + 0, +}; + +uint16 radman_r_to_u[] = { + 45+90*64, + 0, +}; + +uint16 radman_r_to_d[] = { + 47+90*64, + 0, +}; + +uint16 radman_r_to_l[] = { + 45+90*64, + 44+90*64, + 43+90*64, + 0, +}; + +uint16 *radman_turnTable[5][5] = { + { // turnTableup + 0, + radman_u_to_d, + radman_u_to_l, + radman_u_to_r, + 0 + }, + { // turnTableDown + radman_d_to_u, + 0, + radman_d_to_l, + radman_d_to_r, + 0 + }, + { // turnTableLeft + radman_l_to_u, + radman_l_to_d, + 0, + radman_l_to_r, + 0 + }, + { // turnTableRight + radman_r_to_u, + radman_r_to_d, + radman_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact radman_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_RADMAN, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + radman_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + radman_up, // animUp + radman_down, // animDown + radman_left, // animLeft + radman_right, // animRight + radman_st_up, // standUp + radman_st_down, // standDown + radman_st_left, // standLeft + radman_st_right, // standRight + radman_st_talk, // standTalk +}; + +Compact radman = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_MOUSE+ST_COLLISION, // status + 0, // sync + 14, // screen + ID_S14_FLOOR, // place + 0, // getToTable + 280, // xcood + 256, // ycood + 90*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65520, // mouseRel_x + 65488, // mouseRel_y + 32, // mouseSize_x + 48, // mouseSize_y + MEGA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + RADMAN_LOGIC, // baseSub + 0, // baseSub_off + &radman_ext, + &radman_turnTable, +}; + +Compact locker2 = { + L_SCRIPT, // logic + ST_RECREATE+ST_LOGIC+ST_BACKGROUND+ST_MOUSE, // status + 0, // sync + 14, // screen + 0, // place + 0, // getToTable + 166, // xcood + 192, // ycood + 91*64, // frame + 8254, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 8, // mouseRel_x + 0, // mouseRel_y + 17, // mouseSize_x + 235-192, // mouseSize_y + LOCKER2_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LOCKER2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 start_joey_14[] = { + C_XCOOD, + 256, + C_YCOOD, + 264, + C_PLACE, + ID_S14_FLOOR, + C_SCREEN, + 14, + C_MODE, + 0, + C_BASE_SUB, + JOEY_LOGIC, + C_BASE_SUB+2, + 0, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION+ST_MOUSE, + C_DIR, + RIGHT, + 65535, +}; + +Compact fact3_exit_left = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 14, // screen + 0, // place + 0, // getToTable + 126, // xcood + 175, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 11, // mouseSize_x + 272-175, // mouseSize_y + FACT3_ACTION, // actionScript +}; + +uint16 rs_anita_to_14[] = { + C_XCOOD, + 227, + C_YCOOD, + 189, + C_SCREEN, + 14, + C_STATUS, + ST_BACKGROUND+ST_RECREATE+ST_LOGIC+ST_MOUSE, + C_BASE_SUB, + ANITA_WORK, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 s14_logic[] = { + ID_ANITA, + ID_FOSTER, + ID_JOEY, + ID_RADMAN, + ID_FOREMAN, + ID_LOCKER1, + ID_COAT, + ID_LOCKER2, + ID_LOCKER3, + ID_LAMB, + ID_LIFT_S7, + ID_LIFT7_LIGHT, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 close_locker_seq[] = { + 92*64, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 locker_close_seq[] = { + 91*64, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 s14_floor_table[] = { + ID_S14_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S14_LEFT_ON, + 1, + S14_RIGHT_ON, + ID_FACT3_L_EXIT, + GT_FACT3_L_EXIT, + ID_FACT3_R_EXIT, + GT_FACT3_R_EXIT, + ID_LOCKER1, + GT_LOCKER1, + ID_LOCKER2, + GT_LOCKER2, + ID_LOCKER3, + GT_LOCKER3, + ID_MACHINE, + GT_MACHINE, + ID_RAD_SCREEN, + GT_RAD_SCREEN, + ID_14_CONSOLE, + GT_14_CONSOLE, + ID_COAT, + GT_COAT, + ID_ANITA, + GT_NU_ANITA, + ID_STD_LEFT_TALK, + GT_L_TALK_14, + ID_STD_RIGHT_TALK, + GT_R_TALK_14, + 65535, +}; + +Compact s14_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 14, // screen + 0, // place + s14_floor_table, // getToTable + 128, // xcood + 216, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 71, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 rad_open_locker[] = { + 107*64, + 237, + 184, + 0, + 237, + 184, + 0, + 237, + 184, + 1, + 237, + 184, + 2, + 237, + 184, + 3, + 237, + 184, + 4, + 237, + 184, + 5, + 237, + 184, + 6, + 0, +}; + +uint16 change_back6[] = { + 105*64, + 162, + 190, + 0, + 162, + 190, + 1, + 162, + 190, + 2, + 162, + 190, + 3, + 162, + 190, + 4, + 162, + 190, + 5, + 162, + 190, + 6, + 162, + 190, + 7, + 162, + 190, + 8, + 162, + 190, + 8, + 162, + 190, + 9, + 162, + 190, + 9, + 162, + 190, + 10, + 162, + 190, + 11, + 162, + 190, + 12, + 162, + 190, + 13, + 162, + 190, + 14, + 162, + 190, + 14, + 162, + 190, + 15, + 162, + 190, + 16, + 162, + 190, + 17, + 162, + 190, + 18, + 162, + 190, + 19, + 162, + 190, + 19, + 162, + 190, + 20, + 162, + 190, + 20, + 162, + 190, + 20, + 162, + 190, + 19, + 162, + 190, + 19, + 162, + 190, + 21, + 0, +}; + +uint16 change1_seq[] = { + 99*64, + 162, + 190, + 0, + 162, + 190, + 1, + 162, + 190, + 1, + 162, + 190, + 0, + 162, + 190, + 2, + 162, + 190, + 3, + 162, + 190, + 4, + 162, + 190, + 5, + 162, + 190, + 6, + 162, + 190, + 7, + 162, + 190, + 7, + 162, + 190, + 8, + 162, + 190, + 9, + 162, + 190, + 10, + 162, + 190, + 11, + 162, + 190, + 12, + 162, + 190, + 13, + 162, + 190, + 14, + 162, + 190, + 15, + 162, + 190, + 16, + 162, + 190, + 17, + 162, + 190, + 18, + 162, + 190, + 19, + 162, + 190, + 20, + 162, + 190, + 21, + 162, + 190, + 22, + 162, + 190, + 23, + 162, + 190, + 24, + 162, + 190, + 25, + 162, + 190, + 26, + 0, +}; + +uint16 change_back3[] = { + 102*64, + 0XB1, + 0XC2, + 8, + 0XB1, + 0XC2, + 7, + 0XB1, + 0XC2, + 6, + 0XB1, + 0XC2, + 5, + 0XB1, + 0XC2, + 4, + 0XB1, + 0XC2, + 3, + 0XB1, + 0XC2, + 2, + 0XB1, + 0XC2, + 1, + 0XB1, + 0XC2, + 0, + 0, +}; + +uint16 rs_foster_16_14[] = { + C_XCOOD, + 416, + C_YCOOD, + 256, + C_SCREEN, + 14, + C_PLACE, + ID_S14_FLOOR, + 65535, +}; + +Compact console_14 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 14, // screen + 0, // place + 0, // getToTable + 216, // xcood + 204, // ycood + 0, // frame + 8371, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 250-216, // mouseSize_x + 214-204, // mouseSize_y + CONSOLE_14_ACTION, // actionScript +}; + +uint16 s14_pal[] = { + 0, + 1536, + 1542, + 1544, + 2052, + 1542, + 2056, + 3080, + 1544, + 2570, + 3082, + 2570, + 2576, + 3080, + 3084, + 3088, + 3594, + 3598, + 3600, + 5644, + 2572, + 4110, + 4112, + 4112, + 4116, + 7180, + 2572, + 4118, + 4622, + 4626, + 3612, + 6668, + 3602, + 3619, + 9484, + 3086, + 5654, + 5136, + 5142, + 4636, + 5648, + 5142, + 5146, + 5652, + 5654, + 4135, + 8462, + 4628, + 6172, + 6158, + 6168, + 5667, + 6668, + 4634, + 4649, + 7182, + 5656, + 6686, + 6670, + 5658, + 5667, + 6676, + 6682, + 7196, + 12562, + 2578, + 5163, + 6672, + 7196, + 6181, + 7190, + 6684, + 6183, + 8978, + 4124, + 6691, + 11544, + 4630, + 7201, + 7194, + 7198, + 7207, + 9998, + 5658, + 8485, + 10508, + 2590, + 7710, + 8990, + 4641, + 8476, + 8481, + 6177, + 6193, + 11024, + 4636, + 8478, + 10529, + 3105, + 8990, + 10522, + 6172, + 8481, + 10529, + 4129, + 8483, + 9500, + 4133, + 7721, + 12058, + 4126, + 9003, + 8972, + 8995, + 9509, + 9498, + 7205, + 10023, + 11026, + 7201, + 10529, + 12058, + 5665, + 10019, + 8990, + 9509, + 9515, + 11540, + 7201, + 10029, + 11534, + 4135, + 10023, + 9502, + 9511, + 10035, + 11018, + 8485, + 10021, + 11049, + 6185, + 10025, + 10021, + 7723, + 10543, + 12564, + 3627, + 10535, + 12585, + 4139, + 10537, + 10023, + 8493, + 11055, + 12566, + 4653, + 11053, + 13603, + 5163, + 11051, + 11051, + 8495, + 12085, + 13582, + 4143, + 11565, + 11559, + 9007, + 12083, + 13592, + 5681, + 12077, + 11565, + 12079, + 12591, + 12069, + 10033, + 12079, + 14125, + 4659, + 12591, + 12591, + 10547, + 13623, + 14102, + 6709, + 13105, + 13105, + 12597, + 14135, + 14643, + 13625, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint32 grid14[0]; + +uint16 change3_seq[] = { + 101*64, + 170, + 193, + 0, + 170, + 193, + 1, + 170, + 193, + 1, + 170, + 193, + 2, + 170, + 193, + 3, + 170, + 193, + 4, + 170, + 193, + 5, + 170, + 193, + 6, + 170, + 193, + 7, + 170, + 193, + 8, + 0, +}; + +uint16 change_back4[] = { + 101*64, + 0XAA, + 0XC1, + 8, + 0XAA, + 0XC1, + 7, + 0XAA, + 0XC1, + 6, + 0XAA, + 0XC1, + 5, + 0XAA, + 0XC1, + 4, + 0XAA, + 0XC1, + 3, + 0XAA, + 0XC1, + 2, + 0XAA, + 0XC1, + 1, + 0XAA, + 0XC1, + 1, + 0XAA, + 0XC1, + 0, + 0, +}; + +uint16 open_locker_seq[] = { + 92*64, + 237, + 184, + 0, + 237, + 184, + 0, + 237, + 184, + 1, + 237, + 184, + 2, + 237, + 184, + 3, + 237, + 184, + 4, + 237, + 184, + 5, + 237, + 184, + 6, + 0, +}; + +uint16 change4_seq[] = { + 102*64, + 177, + 194, + 0, + 177, + 194, + 1, + 177, + 194, + 2, + 177, + 194, + 3, + 177, + 194, + 4, + 177, + 194, + 5, + 177, + 194, + 6, + 177, + 194, + 7, + 177, + 194, + 8, + 0, +}; + +uint16 foster_give_seq[] = { + 43*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact locker3 = { + L_SCRIPT, // logic + ST_RECREATE+ST_LOGIC+ST_BACKGROUND+ST_MOUSE, // status + 0, // sync + 14, // screen + 0, // place + 0, // getToTable + 187, // xcood + 192, // ycood + 91*64, // frame + 8254, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 8, // mouseRel_x + 0, // mouseRel_y + 17, // mouseSize_x + 235-192, // mouseSize_y + LOCKER3_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LOCKER3_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact rad_screen = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 14, // screen + 0, // place + 0, // getToTable + 292, // xcood + 195, // ycood + 0, // frame + 9288, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 307-292, // mouseSize_x + 245-195, // mouseSize_y + RAD_SCREEN_ACTION, // actionScript +}; + +uint16 change5_seq[] = { + 103*64, + 171, + 194, + 0, + 171, + 194, + 1, + 171, + 194, + 2, + 171, + 194, + 3, + 171, + 194, + 4, + 171, + 194, + 5, + 0, +}; + +Compact locker1 = { + L_SCRIPT, // logic + ST_RECREATE+ST_LOGIC+ST_BACKGROUND+ST_MOUSE, // status + 0, // sync + 14, // screen + 0, // place + 0, // getToTable + 146, // xcood + 192, // ycood + 91*64, // frame + 8254, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 8, // mouseRel_x + 0, // mouseRel_y + 17, // mouseSize_x + 235-192, // mouseSize_y + LOCKER1_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LOCKER1_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact coat = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 14, // screen + 0, // place + 0, // getToTable + 0XAF, // xcood + 0XCF, // ycood + 0, // frame + 8377, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 10, // mouseSize_x + 225-0XCF, // mouseSize_y + COAT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + COAT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 change_back5[] = { + 100*64, + 0XAA, + 0XC1, + 8, + 0XAA, + 0XC1, + 8, + 0XAA, + 0XC1, + 7, + 0XAA, + 0XC1, + 6, + 0XAA, + 0XC1, + 5, + 0XAA, + 0XC1, + 4, + 0, +}; + +Compact machine = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 14, // screen + 0, // place + 0, // getToTable + 316, // xcood + 174, // ycood + 0, // frame + 9290, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 359-316, // mouseSize_x + 224-174, // mouseSize_y + MACHINE_ACTION, // actionScript +}; + +uint16 anita_give_seq[] = { + 44*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, +}; + +uint16 s14_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 22+DISK_6, + 23+DISK_6, + 92+DISK_6, + 27+DISK_6, + 0, +}; + +Compact fact3_exit_right = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 14, // screen + 0, // place + 0, // getToTable + 381, // xcood + 184, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 403-381, // mouseSize_x + 263-184, // mouseSize_y + FACT3_R_ACTION, // actionScript +}; + +uint16 joey_list_14[] = { + 230, + 376, + 248, + 272, + 1, + 0, +}; + +uint16 rad_close_locker[] = { + 107*64, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 locker_open_seq[] = { + 91*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 0, +}; + +uint16 s14_mouse[] = { + ID_JOEY, + ID_FACT3_L_EXIT, + ID_FACT3_R_EXIT, + ID_ANITA, + ID_RADMAN, + ID_LOCKER1, + ID_COAT, + ID_LOCKER2, + ID_LOCKER3, + ID_MACHINE, + ID_RAD_SCREEN, + ID_14_CONSOLE, + ID_S14_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 s14_chip_list[] = { + 173, + 111, + 136+DISK_2, + 137+DISK_2, + 90+DISK_6, + 96+DISK_6+0X8000, + 97+DISK_6, + 106+DISK_6, + 107+DISK_6+0X8000, + 28+DISK_6, + 98+DISK_6, + 43+DISK_6, + 44+DISK_6+0X8000, + 21+DISK_6, + 91+DISK_6, + 0, +}; + +uint16 change_back2[] = { + 103*64, + 0XAB, + 0XC2, + 5, + 0XAB, + 0XC2, + 4, + 0XAB, + 0XC2, + 3, + 0XAB, + 0XC2, + 2, + 0XAB, + 0XC2, + 1, + 0XAB, + 0XC2, + 0, + 0, +}; + +uint16 change2_seq[] = { + 100*64, + 170, + 193, + 0, + 170, + 193, + 1, + 170, + 193, + 2, + 170, + 193, + 3, + 170, + 193, + 4, + 170, + 193, + 5, + 170, + 193, + 6, + 170, + 193, + 7, + 170, + 193, + 8, + 170, + 193, + 8, + 0, +}; + +uint16 change_back1[] = { + 104*64, + 0XB2, + 0XBF, + 9, + 0XB2, + 0XBF, + 8, + 0XB2, + 0XBF, + 7, + 0XB2, + 0XBF, + 6, + 0XB2, + 0XBF, + 5, + 0XB2, + 0XBF, + 4, + 0XB2, + 0XBF, + 4, + 0XB2, + 0XBF, + 3, + 0XB2, + 0XBF, + 2, + 0XB2, + 0XBF, + 1, + 0XB2, + 0XBF, + 0, + 0XB2, + 0XBF, + 0, + 0XB2, + 0XBF, + 0, + 0XB2, + 0XBF, + 0, + 0, +}; + +uint16 change6_seq[] = { + 104*64, + 178, + 191, + 0, + 178, + 191, + 0, + 178, + 191, + 0, + 178, + 191, + 0, + 178, + 191, + 1, + 178, + 191, + 2, + 178, + 191, + 3, + 178, + 191, + 4, + 178, + 191, + 4, + 178, + 191, + 5, + 178, + 191, + 6, + 178, + 191, + 7, + 178, + 191, + 8, + 178, + 191, + 9, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/15comp.h b/sky/compacts/15comp.h new file mode 100644 index 00000000000..b9da4d36004 --- /dev/null +++ b/sky/compacts/15comp.h @@ -0,0 +1,1042 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY15COMP_H +#define SKY15COMP_H + + + + +namespace SkyCompact { + +uint16 rs_foster_13_15[] = { + C_XCOOD, + 440, + C_YCOOD, + 240, + C_SCREEN, + 15, + 65535, +}; + +Compact flap = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 15, // screen + 0, // place + 0, // getToTable + 0XA6, // xcood + 0XC9, // ycood + 74*64, // frame + 8372, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 45, // mouseRel_x + 230-202, // mouseRel_y + 30, // mouseSize_x + 266-230, // mouseSize_y + FLAP_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FLAP_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 weld_seq[] = { + 72*64, + 369, + 148, + 0, + 369, + 148, + 1, + 369, + 148, + 2, + 369, + 148, + 3, + 369, + 148, + 4, + 369, + 148, + 5, + 369, + 148, + 6, + 369, + 148, + 7, + 0, +}; + +uint16 rs_foster_15_13[] = { + C_XCOOD, + 168, + C_YCOOD, + 224, + C_SCREEN, + 13, + C_PLACE, + ID_S13_FLOOR, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_AR_PRIORITY, + 65535, +}; + +Compact whole_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 15, // screen + 0, // place + 0, // getToTable + 42, // xcood + 42, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + STORE_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 2000, // mouseSize_x + 2000, // mouseSize_y + 0, // actionScript +}; + +uint16 s15_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_FLOOR_PUTTY, + ID_FLAP, + ID_SKEY, + ID_WD40, + 177, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint32 grid15[0]; + +uint16 flap_seq[] = { + 74*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 0, +}; + +uint16 s15_floor_table[] = { + ID_S15_FLOOR, + RETURN_OK, + ID_NU_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S15_WALK_ON, + ID_STORE_EXIT, + GT_STORE_EXIT, + ID_JUNCTION_BOX, + GT_JUNCTION_BOX, + ID_FLAP, + GT_FLAP, + ID_SKEY, + GT_SKEY, + ID_WD40, + GT_WD40, + ID_FLOOR_PUTTY, + GT_PUTTY, + 65535, +}; + +Compact s15_flooor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 15, // screen + 0, // place + s15_floor_table, // getToTable + 208, // xcood + 216, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + STORE_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 424-208, // mouseSize_x + 63, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 flip_seq[] = { + 75*64, + 245, + 202, + 0, + 240, + 206, + 1, + 237, + 215, + 2, + 234, + 225, + 3, + 234, + 225, + 3, + 234, + 225, + 3, + 234, + 225, + 3, + 237, + 223, + 4, + 237, + 215, + 5, + 234, + 213, + 6, + 235, + 213, + 7, + 235, + 214, + 8, + 235, + 212, + 9, + 223, + 210, + 10, + 218, + 207, + 11, + 209, + 206, + 12, + 202, + 205, + 13, + 202, + 204, + 14, + 208, + 203, + 15, + 203, + 204, + 16, + 203, + 203, + 17, + 195, + 203, + 18, + 200, + 202, + 19, + 202, + 202, + 20, + 203, + 202, + 21, + 0, +}; + +Compact skey = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 15, // screen + 0, // place + 0, // getToTable + 164+5, // xcood + 221-2, // ycood + 85*64, // frame + 8380, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 5, // mouseSize_y + SKEY_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SHELF_OBJECT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s15_pal[] = { + 0, + 1536, + 1028, + 1540, + 1542, + 1542, + 2056, + 2568, + 1544, + 2058, + 2568, + 2570, + 2570, + 3084, + 2570, + 2574, + 4104, + 1546, + 3084, + 3082, + 3084, + 2576, + 3598, + 2574, + 3092, + 3592, + 3598, + 3092, + 4106, + 3598, + 4110, + 4112, + 3600, + 4112, + 4624, + 3088, + 3098, + 5130, + 4622, + 4118, + 6156, + 3088, + 3105, + 6152, + 4622, + 4626, + 5138, + 4114, + 3610, + 7696, + 3086, + 4628, + 4626, + 5140, + 4634, + 8974, + 2574, + 4634, + 7184, + 5136, + 5142, + 6676, + 2582, + 4641, + 5642, + 5142, + 5654, + 6166, + 5142, + 5656, + 10006, + 3088, + 5150, + 11536, + 2574, + 5153, + 10000, + 3090, + 5662, + 6674, + 6168, + 6172, + 6166, + 6682, + 5669, + 12558, + 3088, + 5161, + 12048, + 3090, + 6179, + 7188, + 6682, + 5675, + 7692, + 6170, + 6183, + 7188, + 7196, + 6693, + 12054, + 4118, + 5171, + 12558, + 3606, + 7201, + 8988, + 6684, + 7205, + 10518, + 5146, + 7710, + 7708, + 7710, + 7719, + 12558, + 4120, + 7213, + 13580, + 4120, + 7211, + 10520, + 4641, + 8483, + 11550, + 5660, + 7721, + 12058, + 2593, + 8993, + 12579, + 5660, + 7725, + 8984, + 8483, + 9005, + 8462, + 9507, + 8489, + 11548, + 4131, + 8491, + 12060, + 6177, + 9509, + 10021, + 8997, + 9003, + 12577, + 2599, + 9519, + 10004, + 9509, + 9005, + 12574, + 6691, + 10035, + 9996, + 9511, + 10021, + 12585, + 4647, + 9011, + 12058, + 7717, + 11057, + 10510, + 10025, + 10031, + 13603, + 4137, + 10537, + 12073, + 9511, + 10539, + 13095, + 7719, + 11061, + 11026, + 10539, + 11575, + 14098, + 3631, + 11571, + 11548, + 11053, + 11567, + 12075, + 11567, + 12593, + 13103, + 12595, + 16149, + 1294, + 1285, + 1799, + 2055, + 2313, + 3597, + 4366, + 4626, + 5653, + 6422, + 6682, + 7709, + 1566, + 1542, + 2058, + 2568, + 2570, + 3084, + 4106, + 3600, + 4371, + 6415, + 4, + 13622, + 4405, + 3084, + 5398, + 8469, + 8995, + 10537, + 13353, + 13107, + 15935, + 3389, + 2056, + 2058, + 3590, + 2058, + 3092, + 4616, + 3088, + 4634, + 10768, + 1800, + 5, + 13887, + 13621, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact wd40 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 15, // screen + 0, // place + 0, // getToTable + 162+3, // xcood + 230-6, // ycood + 86*64, // frame + 8373, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 5, // mouseSize_y + WD40_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SHELF_OBJECT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact junction_box = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 15, // screen + 0, // place + 0, // getToTable + 397, // xcood + 199, // ycood + 0, // frame + 8382, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + STORE_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 4, // mouseSize_x + 16, // mouseSize_y + JUNCTION_ACTION, // actionScript +}; + +uint16 rs_joey_15_13[] = { + C_XCOOD, + 168, + C_YCOOD, + 224, + C_SCREEN, + 13, + C_PLACE, + ID_S13_FLOOR, + 65535, +}; + +Compact store_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 15, // screen + 0, // place + 0, // getToTable + 407, // xcood + 184, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + STORE_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 9, // mouseSize_x + 249-184, // mouseSize_y + STORE_EXIT_ACTION, // actionScript +}; + +uint16 s15_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 87+DISK_3, + 24+DISK_3, + 25+DISK_3, + 26+DISK_3, + 93+DISK_3, + 94+DISK_3, + 0, +}; + +Compact nu_floor = { + 0, // logic + 0, // status + 0, // sync + 15, // screen + 0, // place + s15_floor_table, // getToTable + 208-32, // xcood + 216, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + STORE_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 216+32, // mouseSize_x + 63, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact floor_putty = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 15, // screen + 0, // place + 0, // getToTable + 225, // xcood + 251, // ycood + 88*64, // frame + 137, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 5, // mouseSize_y + FLOOR_PUTTY_ACTION, // actionScript +}; + +uint16 s15_mouse[] = { + ID_JOEY, + ID_STORE_EXIT, + ID_JUNCTION_BOX, + ID_FLAP, + ID_SKEY, + ID_WD40, + ID_FLOOR_PUTTY, + ID_S15_FLOOR, + ID_NU_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 joey_list_15[] = { + 256, + 376, + 216, + 272, + 1, + 0, +}; + +uint16 get_putty_seq[] = { + 144*64, + 220, + 200, + 0, + 220, + 200, + 1, + 220, + 200, + 2, + 220, + 200, + 3, + 220, + 200, + 3, + 220, + 200, + 3, + 220, + 200, + 3, + 220, + 200, + 3, + 220, + 200, + 4, + 220, + 200, + 5, + 0, +}; + +uint16 shelf_get_seq[] = { + 76*64, + 283, + 221, + 0, + 283, + 221, + 1, + 283, + 221, + 2, + 283, + 221, + 3, + 283, + 221, + 4, + 283, + 221, + 5, + 283, + 221, + 6, + 283, + 221, + 7, + 283, + 221, + 8, + 283, + 221, + 9, + 283, + 221, + 10, + 283, + 221, + 11, + 283, + 221, + 12, + 283, + 221, + 13, + 283, + 221, + 14, + 283, + 221, + 15, + 283, + 221, + 16, + 283, + 221, + 17, + 283, + 221, + 18, + 283, + 221, + 19, + 283, + 221, + 20, + 283, + 221, + 21, + 283, + 221, + 22, + 283, + 221, + 0, + 0, +}; + +uint16 s15_fake_mouse[] = { + ID_JOEY, + ID_STORE_EXIT, + ID_JUNCTION_BOX, + ID_FLAP, + ID_FAKE_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 s15_chip_list[] = { + 173, + 111, + 136+DISK_2, + 137+DISK_2, + 72+DISK_3, + 74+DISK_3, + 75+DISK_3, + 76+DISK_3, + 85+DISK_3, + 86+DISK_3, + 88+DISK_3, + 144+DISK_3, + 148+DISK_3, + 149+DISK_3, + 150+DISK_3, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/16comp.h b/sky/compacts/16comp.h new file mode 100644 index 00000000000..3a0a88e171b --- /dev/null +++ b/sky/compacts/16comp.h @@ -0,0 +1,931 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY16COMP_H +#define SKY16COMP_H + + + + +namespace SkyCompact { + +Compact reactor_lower = { + 0, // logic + ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 16, // screen + 0, // place + 0, // getToTable + 249, // xcood + 226, // ycood + 109*64, // frame +}; + +uint16 foster2_die_seq[] = { + 32*64, + 237, + 242, + 0, + 237, + 242, + 1, + 235, + 242, + 2, + 235, + 242, + 3, + 234, + 242, + 4, + 233, + 242, + 5, + 232, + 242, + 6, + 233, + 242, + 5, + 232, + 242, + 6, + 233, + 242, + 5, + 232, + 242, + 7, + 233, + 242, + 8, + 232, + 243, + 9, + 233, + 243, + 10, + 232, + 243, + 11, + 233, + 242, + 5, + 232, + 242, + 6, + 234, + 242, + 12, + 234, + 242, + 13, + 238, + 242, + 14, + 236, + 241, + 15, + 236, + 241, + 16, + 237, + 241, + 17, + 233, + 241, + 18, + 228, + 241, + 19, + 226, + 241, + 20, + 215, + 246, + 21, + 198, + 258, + 22, + 185, + 273, + 23, + 184, + 273, + 24, + 184, + 273, + 25, + 184, + 273, + 26, + 184, + 273, + 27, + 0, +}; + +Compact reactor_console = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 16, // screen + 0, // place + 0, // getToTable + 65, // xcood + 59, // ycood + 31*64, // frame + 8394, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 386-365, // mouseSize_x + 278-259, // mouseSize_y + REACTOR_PC_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + CONSOLE_16_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint32 grid16[0]; + +uint16 s16_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 93+DISK_6, + 94+DISK_6, + 95+DISK_6, + 0, +}; + +Compact entrance_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 16, // screen + 0, // place + 0, // getToTable + 186, // xcood + 220, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 203-186, // mouseSize_x + 294-220, // mouseSize_y + ENTRANCE_EXIT_ACTION, // actionScript +}; + +uint16 console_16_seq[] = { + 31*64, + 368, + 260, + 0, + 368, + 260, + 1, + 368, + 260, + 2, + 368, + 260, + 3, + 368, + 260, + 4, + 368, + 260, + 5, + 368, + 260, + 6, + 368, + 260, + 7, + 368, + 260, + 8, + 368, + 260, + 9, + 368, + 260, + 10, + 0, +}; + +uint16 s16_floor_table[] = { + ID_S16_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S16_LEFT_ON, + 1, + S16_CORE_ON, + ID_ENTRANCE_EXIT, + GT_ENTRANCE_EXIT, + ID_REACTOR_PC, + GT_REACTOR_CONSOLE, + ID_REACTOR_DOOR, + GT_REACTOR_DOOR, + ID_STD_LEFT_TALK, + GT_L_TALK_16, + ID_STD_RIGHT_TALK, + GT_R_TALK_16, + 65535, +}; + +Compact s16_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 16, // screen + 0, // place + s16_floor_table, // getToTable + 181, // xcood + 277, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 416-181, // mouseSize_x + 321-277, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 s16_pal[] = { + 0, + 1024, + 1028, + 1028, + 1542, + 1540, + 1542, + 1542, + 2054, + 1544, + 2054, + 2054, + 1546, + 2056, + 2056, + 2056, + 2058, + 3080, + 2058, + 2058, + 2570, + 2570, + 2568, + 3082, + 2574, + 3084, + 3084, + 3086, + 3594, + 3084, + 3598, + 3082, + 3598, + 3596, + 4112, + 3598, + 3602, + 4110, + 3600, + 4112, + 5136, + 2576, + 3608, + 5128, + 3088, + 4114, + 4112, + 4626, + 4628, + 5132, + 4624, + 5136, + 5142, + 3604, + 4632, + 5646, + 4626, + 5138, + 5652, + 5138, + 5142, + 6160, + 3604, + 5146, + 5134, + 5654, + 5656, + 6672, + 5142, + 6166, + 6678, + 4120, + 6168, + 6676, + 4632, + 5157, + 6154, + 6168, + 6678, + 7192, + 4634, + 6686, + 7186, + 4636, + 6691, + 9998, + 3096, + 6686, + 7702, + 6170, + 7198, + 6162, + 6686, + 6185, + 6668, + 6686, + 8474, + 7192, + 7198, + 7713, + 9492, + 5148, + 7713, + 8982, + 5150, + 8988, + 10520, + 5660, + 8990, + 8988, + 6689, + 8485, + 10008, + 5665, + 8995, + 9496, + 5667, + 8485, + 8988, + 5669, + 8997, + 11546, + 4129, + 7727, + 8468, + 6695, + 9507, + 12574, + 5150, + 10019, + 10524, + 6181, + 10025, + 9494, + 6185, + 10023, + 13084, + 5665, + 10025, + 9502, + 8489, + 10025, + 13089, + 6179, + 10537, + 9502, + 8491, + 10541, + 11032, + 6187, + 11561, + 11546, + 6187, + 11049, + 12581, + 7209, + 11051, + 14115, + 6695, + 12073, + 11036, + 9517, + 12079, + 12568, + 6191, + 12077, + 12577, + 6703, + 12079, + 14115, + 7723, + 13103, + 13086, + 8497, + 12593, + 13607, + 6707, + 13105, + 13605, + 6197, + 13109, + 14113, + 6711, + 13623, + 14629, + 8503, + 14649, + 14618, + 9015, + 15163, + 15642, + 7227, + 256, + 2, + 2823, + 3843, + 2068, + 7448, + 6922, + 3616, + 9247, + 8977, + 5672, + 11304, + 10777, + 7214, + 12589, + 12062, + 8499, + 13618, + 13348, + 10039, + 14647, + 14634, + 11835, + 15932, + 42, + 2816, + 2571, + 3341, + 4621, + 3343, + 4630, + 6925, + 5401, + 7200, + 16150, + 16191, + 11, + 3072, + 0, + 12, + 3328, + 0, + 13, + 3584, + 0, + 14, + 3840, + 0, + 15, + 4096, + 0, + 3084, + 4108, + 0, + 3084, + 2060, + 0, + 4116, + 2316, + 0, + 5144, + 5134, + 0, + 6168, + 2580, + 0, + 6686, + 2582, + 0, + 7713, + 5910, + 0, + 23, + 6144, + 0, + 24, + 6400, + 0, + 25, + 6656, + 0, + 26, + 6912, + 0, + 27, + 7168, + 0, + 28, + 7424, + 0, + 29, + 7680, + 0, + 30, + 7936, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 14655, + 0, + 58, + 14848, + 0, + 59, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 s16_chip_list[] = { + 173, + 111, + 136+DISK_2, + 137+DISK_2, + 90+DISK_6, + 96+DISK_6, + 97+DISK_6, + 106+DISK_6, + 108+DISK_6, + 109+DISK_6, + 146+DISK_6, + 147+DISK_6, + 31+DISK_6, + 32+DISK_6, + 0, +}; + +uint16 rad_con_look[] = { + 146*64, + 288, + 201, + 0, + 288, + 201, + 1, + 288, + 201, + 2, + 288, + 201, + 3, + 288, + 201, + 4, + 288, + 201, + 5, + 288, + 201, + 6, + 288, + 201, + 7, + 288, + 201, + 0, + 288, + 201, + 0, + 0, +}; + +uint16 s16_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_RADMAN, + ID_ANITA, + ID_REACTOR_DOOR, + ID_REACTOR_LOWER, + ID_REACTOR_PC, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 foster_die_seq[] = { + 32*64, + 349, + 250, + 0, + 349, + 250, + 1, + 347, + 250, + 2, + 347, + 250, + 3, + 346, + 250, + 4, + 345, + 250, + 5, + 344, + 250, + 6, + 345, + 250, + 5, + 344, + 250, + 6, + 345, + 250, + 5, + 344, + 250, + 7, + 345, + 250, + 8, + 344, + 251, + 9, + 345, + 251, + 10, + 344, + 251, + 11, + 345, + 250, + 5, + 344, + 250, + 6, + 346, + 250, + 12, + 346, + 250, + 13, + 350, + 250, + 14, + 348, + 249, + 15, + 348, + 249, + 16, + 349, + 249, + 17, + 345, + 249, + 18, + 340, + 249, + 19, + 338, + 249, + 20, + 327, + 254, + 21, + 310, + 266, + 22, + 297, + 273, + 23, + 296, + 273, + 24, + 296, + 273, + 25, + 296, + 273, + 26, + 296, + 273, + 27, + 0, +}; + +Compact reactor_door = { + 0, // logic + ST_RECREATE+ST_BACKGROUND+ST_MOUSE, // status + 0, // sync + 16, // screen + 0, // place + 0, // getToTable + 249, // xcood + 175, // ycood + 108*64, // frame + 9295, // cursorText + REACTOR_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 342-251, // mouseSize_x + 266-176, // mouseSize_y + REACTOR_DOOR_ACTION, // actionScript +}; + +uint16 s16_mouse[] = { + ID_JOEY, + ID_RADMAN, + ID_ENTRANCE_EXIT, + ID_REACTOR_PC, + ID_REACTOR_DOOR, + ID_S16_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 rs_foster_14_16[] = { + C_XCOOD, + 160, + C_YCOOD, + 288, + C_SCREEN, + 16, + C_PLACE, + ID_S16_FLOOR, + 65535, +}; + +uint16 fost_con_look[] = { + 147*64, + 264, + 214, + 0, + 264, + 214, + 1, + 264, + 214, + 2, + 264, + 214, + 2, + 264, + 214, + 2, + 264, + 214, + 2, + 264, + 214, + 2, + 264, + 214, + 2, + 264, + 214, + 1, + 264, + 214, + 3, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/17comp.h b/sky/compacts/17comp.h new file mode 100644 index 00000000000..891fc3f803a --- /dev/null +++ b/sky/compacts/17comp.h @@ -0,0 +1,884 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY17COMP_H +#define SKY17COMP_H + + + + +namespace SkyCompact { + +uint16 pulseb_seq[] = { + 132*64, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 1, + 256, + 203, + 2, + 256, + 203, + 3, + 256, + 203, + 4, + 256, + 203, + 5, + 256, + 203, + 6, + 256, + 203, + 7, + 256, + 203, + 8, + 256, + 203, + 9, + 256, + 203, + 10, + 256, + 203, + 11, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 256, + 203, + 0, + 0, +}; + +uint16 s17_floor_table[] = { + ID_S17_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S17_LEFT_ON, + ID_CORE_EXIT, + GT_CORE_EXIT, + ID_ANITA_CARD, + GT_ANITA_CARD, + ID_PULSE, + GT_RODS, + 65535, +}; + +Compact s17_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 17, // screen + 0, // place + s17_floor_table, // getToTable + 200, // xcood + 264, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 216, // mouseSize_x + 1024, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint32 grid17[0]; + +uint16 get_card_seq[] = { + 30*64, + 323, + 248, + 0, + 323, + 248, + 1, + 323, + 248, + 2, + 323, + 248, + 3, + 323, + 248, + 3, + 323, + 248, + 3, + 323, + 248, + 3, + 323, + 248, + 2, + 323, + 248, + 1, + 323, + 248, + 0, + 0, +}; + +Compact core_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 17, // screen + 0, // place + 0, // getToTable + 184, // xcood + 208, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 12, // mouseSize_x + 292-208, // mouseSize_y + CORE_EXIT_ACTION, // actionScript +}; + +uint16 rs_foster_17_16[] = { + C_XCOOD, + 296, + C_YCOOD, + 256, + C_SCREEN, + 16, + C_PLACE, + ID_S16_FLOOR, + 65535, +}; + +uint16 s17_chip_list[] = { + 173, + 111, + 136+DISK_2, + 137+DISK_2, + 90+DISK_6, + 96+DISK_6, + 97+DISK_6, + 106+DISK_6, + 30+DISK_6, + 110+DISK_6, + 132+DISK_6, + 133+DISK_6, + 0, +}; + +uint16 s17_pal[] = { + 0, + 3584, + 5650, + 4880, + 4375, + 6164, + 5138, + 4118, + 6421, + 5395, + 4376, + 6934, + 5652, + 5403, + 6422, + 6162, + 4892, + 6679, + 6164, + 5659, + 6934, + 5909, + 5148, + 7704, + 6166, + 6170, + 7192, + 6675, + 5661, + 7449, + 6932, + 5663, + 8218, + 6681, + 6173, + 7962, + 6935, + 5918, + 8476, + 7446, + 6431, + 8219, + 7194, + 6174, + 8222, + 7449, + 7458, + 8476, + 7451, + 6688, + 8478, + 8217, + 6689, + 9502, + 7708, + 6945, + 8735, + 7713, + 7968, + 8735, + 8224, + 7716, + 8993, + 8733, + 7205, + 10019, + 8991, + 7460, + 10277, + 9248, + 9256, + 9762, + 8995, + 7716, + 10535, + 9254, + 8742, + 9766, + 9765, + 8487, + 11048, + 9511, + 9256, + 10535, + 9769, + 10025, + 10791, + 10536, + 9257, + 11818, + 10534, + 10797, + 10792, + 11045, + 9516, + 11821, + 11050, + 11307, + 11818, + 10542, + 12333, + 11049, + 11307, + 11565, + 11307, + 11561, + 10030, + 12078, + 11820, + 10540, + 12335, + 11565, + 12594, + 12076, + 11567, + 10544, + 13104, + 11819, + 11315, + 11314, + 12079, + 10798, + 13362, + 12844, + 12592, + 12335, + 12589, + 12594, + 12849, + 12595, + 11568, + 13620, + 12339, + 12339, + 12597, + 13103, + 13366, + 12850, + 12343, + 11827, + 14133, + 13616, + 12597, + 14132, + 13365, + 12595, + 12600, + 13111, + 12084, + 14391, + 12857, + 13109, + 13622, + 14385, + 13113, + 14136, + 13370, + 13622, + 13879, + 14132, + 14137, + 13622, + 14900, + 13108, + 14905, + 13882, + 13368, + 15418, + 14395, + 13623, + 14907, + 14395, + 14138, + 14395, + 14141, + 14137, + 15162, + 15413, + 14653, + 14907, + 14653, + 14139, + 15165, + 15674, + 15931, + 15419, + 15930, + 15422, + 15679, + 15678, + 16190, + 16191, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 0, + 15360, + 15420, + 13621, + 10551, + 11561, + 8995, + 6697, + 8218, + 2834, + 1811, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 15620, + 16189, + 14649, + 11321, + 12588, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 0, + 63, + 16128, + 0, + 63, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 s17_mouse[] = { + ID_JOEY, + ID_CORE_EXIT, + ID_ANITA_CARD, + ID_PULSE, + ID_S17_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact pulseb = { + L_SCRIPT, // logic + ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 17, // screen + 0, // place + 0, // getToTable + 20, // xcood + 20, // ycood + 132*64, // frame + 8377, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 10, // mouseSize_x + 225-0XCF, // mouseSize_y + COAT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ANIMATE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s17_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 129+DISK_6, + 130+DISK_6, + 131+DISK_6, + 0, +}; + +uint16 pulse_seq[] = { + 110*64, + 256, + 247, + 0, + 256, + 247, + 1, + 256, + 247, + 2, + 256, + 247, + 3, + 256, + 247, + 4, + 256, + 247, + 5, + 256, + 247, + 6, + 256, + 247, + 7, + 256, + 247, + 8, + 256, + 247, + 9, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 256, + 247, + 0, + 0, +}; + +Compact anita_card = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 17, // screen + 0, // place + 0, // getToTable + 328, // xcood + 296, // ycood + 133*64, // frame + 68, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 5, // mouseSize_y + ANITA_CARD_ACTION, // actionScript +}; + +uint16 rs_foster_16_17[] = { + C_XCOOD, + 176, + C_YCOOD, + 280, + C_SCREEN, + 17, + C_PLACE, + ID_S17_FLOOR, + 65535, +}; + +uint16 s17_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_PULSE, + ID_PULSEB, + ID_ANITA_CARD, + 0XFFFF, + ID_MENU_LOGIC, +}; + +Compact pulse = { + L_SCRIPT, // logic + ST_LOGIC+ST_SORT+ST_MOUSE, // status + 0, // sync + 17, // screen + 0, // place + 0, // getToTable + 20, // xcood + 20, // ycood + 110*64, // frame + 9259, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 5, // mouseRel_x + 65510, // mouseRel_y + 45, // mouseSize_x + 30, // mouseSize_y + RODS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ANIMATE_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/18comp.h b/sky/compacts/18comp.h new file mode 100644 index 00000000000..74f9b60a746 --- /dev/null +++ b/sky/compacts/18comp.h @@ -0,0 +1,1543 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY18COMP_H +#define SKY18COMP_H + + + + +namespace SkyCompact { + +uint16 steam_alert_seq[] = { + 86*64, + 258, + 242, + 0, + 258, + 242, + 1, + 258, + 243, + 2, + 257, + 239, + 3, + 254, + 235, + 4, + 253, + 234, + 5, + 251, + 233, + 6, + 251, + 233, + 7, + 0, +}; + +uint16 sleep_seq[] = { + 75*64, + 250, + 231, + 0, + 250, + 231, + 0, + 250, + 231, + 0, + 250, + 231, + 1, + 250, + 231, + 1, + 250, + 231, + 1, + 250, + 231, + 2, + 250, + 231, + 2, + 250, + 231, + 2, + 250, + 231, + 3, + 250, + 231, + 3, + 250, + 231, + 3, + 250, + 231, + 4, + 250, + 231, + 4, + 250, + 231, + 4, + 250, + 231, + 5, + 250, + 231, + 5, + 250, + 231, + 5, + 250, + 231, + 6, + 250, + 231, + 6, + 250, + 231, + 6, + 250, + 231, + 7, + 250, + 231, + 7, + 250, + 231, + 7, + 0, +}; + +Compact power_door = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_MOUSE+ST_RECREATE, // status + 0, // sync + 18, // screen + 0, // place + 0, // getToTable + 146, // xcood + 229, // ycood + 61*64, // frame + 8394, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 174-146, // mouseRel_x + 233-229, // mouseRel_y + 246-174, // mouseSize_x + 268-233, // mouseSize_y + POWER_DOOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + POWER_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 steam1_seq[] = { + 57*64, + 386, + 137, + 0, + 386, + 137, + 1, + 386, + 137, + 2, + 386, + 137, + 3, + 386, + 137, + 4, + 386, + 137, + 5, + 386, + 137, + 6, + 386, + 137, + 7, + 386, + 137, + 8, + 386, + 137, + 9, + 0, +}; + +uint16 unpush_but_seq[] = { + 71*64, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact right_lever = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE, // status + 0, // sync + 18, // screen + 0, // place + 0, // getToTable + 191, // xcood + 236, // ycood + 91*64, // frame + 67, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 24, // mouseSize_y + RIGHT_LEVER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + RIGHT_LEVER_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 steam2_seq[] = { + 58*64, + 382, + 137, + 0, + 382, + 137, + 1, + 382, + 137, + 2, + 382, + 137, + 3, + 382, + 137, + 4, + 0, +}; + +uint16 blowoff_seq[] = { + 69*64, + 169, + 222, + 0, + 162, + 227, + 1, + 160, + 240, + 2, + 150, + 250, + 3, + 150, + 255, + 4, + 148, + 259, + 5, + 149, + 271, + 6, + 149, + 279, + 7, + 149, + 279, + 8, + 147, + 279, + 9, + 147, + 279, + 10, + 0, +}; + +uint16 s18_mouse[] = { + ID_JOEY, + ID_MONITOR, + ID_RIGHT_EXIT_S18, + ID_POWER_PANEL, + ID_POWER_SWITCH, + ID_POWER_CHAIR, + ID_S18_FLOOR, + ID_LEFT_SKULL, + ID_RIGHT_SKULL, + ID_POWER_DOOR, + ID_LEFT_LEVER, + ID_RIGHT_LEVER, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 power_start_seq[] = { + 66*64, + 157, + 315, + 0, + 157, + 315, + 1, + 157, + 315, + 2, + 157, + 315, + 3, + 157, + 315, + 4, + 0, +}; + +Compact power_switch = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 18, // screen + 0, // place + 0, // getToTable + 237, // xcood + 222, // ycood + 63*64, // frame + 67, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 8, // mouseSize_x + 8, // mouseSize_y + SWITCH_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + POWER_SWITCH_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 power_stop_seq[] = { + 68*64, + 157, + 315, + 0, + 157, + 315, + 1, + 157, + 315, + 2, + 157, + 315, + 3, + 157, + 315, + 0, + 157, + 315, + 4, + 157, + 315, + 5, + 157, + 315, + 6, + 157, + 315, + 7, + 157, + 315, + 8, + 0, +}; + +uint16 s18_floor_table[] = { + ID_S18_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S18_WALK_ON, + 1, + GET_TO_TALK, + ID_RIGHT_EXIT_S18, + GET_TO_R_EXIT_S18, + ID_POWER_PANEL, + GET_TO_POWER_PANEL, + ID_POWER_SWITCH, + GET_TO_POWER_SWITCH, + ID_POWER_CHAIR, + GET_TO_POWER_CHAIR, + ID_LEFT_SKULL, + GET_TO_LEFT_SKULL, + ID_RIGHT_SKULL, + GET_TO_RIGHT_SKULL, + ID_POWER_DOOR, + GET_TO_POWER_DOOR, + ID_RIGHT_LEVER, + GET_TO_RIGHT_LEVER, + ID_LEFT_LEVER, + GET_TO_LEFT_LEVER, + 65535, +}; + +Compact s18_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 18, // screen + 0, // place + s18_floor_table, // getToTable + 128, // xcood + 272, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 14+16, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 joey_list_s18[] = { + 156, + 360, + 280, + 304, + 1, + 0, +}; + +uint16 nu_chip_18[] = { + 136+DISK_2, + 137+DISK_2, + 44+DISK_2, + 45+DISK_2, + 46+DISK_2, + 61+DISK_2, + 63+DISK_2, + 64+DISK_2, + 65+DISK_2, + 66+DISK_2, + 67+DISK_2, + 68+DISK_2, + 70+DISK_2+0X8000, + 71+DISK_2, + 88+DISK_2+0X8000, + 92+DISK_2+0X8000, + 90+DISK_2, + 91+DISK_2, + 89+DISK_2, + 72+DISK_2, + 85+DISK_2+0X8000, + 86+DISK_2+0X8000, + 74+DISK_2, + 76+DISK_2+0X8000, + 75+DISK_2, + 0, +}; + +Compact power_chair = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 18, // screen + 0, // place + 0, // getToTable + 258, // xcood + 253, // ycood + 0, // frame + 8908, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 20, // mouseSize_x + 24, // mouseSize_y + CHAIR_ACTION, // actionScript +}; + +uint16 steam3_seq[] = { + 59*64, + 380, + 137, + 0, + 380, + 137, + 1, + 380, + 137, + 2, + 380, + 137, + 3, + 380, + 137, + 4, + 380, + 137, + 5, + 0, +}; + +Compact left_skull = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 18, // screen + 0, // place + 0, // getToTable + 329, // xcood + 247, // ycood + 0, // frame + 65, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 4, // mouseSize_x + 5, // mouseSize_y + LEFT_SKULL_ACTION, // actionScript +}; + +uint16 rs_gordon_end[] = { + C_XCOOD, + 250, + C_YCOOD, + 231, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_MOUSE, + C_ACTION_SCRIPT, + SAT_GORDON_ACTION, + C_MOUSE_REL_X, + 10, + C_MOUSE_REL_Y, + 244-231, + C_MOUSE_SIZE_X, + 20, + C_MOUSE_SIZE_Y, + 276-244, + C_FRAME, + 75*64, + 65535, +}; + +Compact right_skull = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 18, // screen + 0, // place + 0, // getToTable + 379, // xcood + 247, // ycood + 0, // frame + 65, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 4, // mouseSize_x + 5, // mouseSize_y + RIGHT_SKULL_ACTION, // actionScript +}; + +uint16 power_spin_seq[] = { + 67*64, + 157, + 315, + 0, + 157, + 315, + 1, + 157, + 315, + 2, + 157, + 315, + 3, + 0, +}; + +uint16 s18_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 57+DISK_2, + 58+DISK_2, + 60+DISK_2, + 0, +}; + +uint16 steam4_seq[] = { + 60*64, + 380, + 137, + 0, + 380, + 137, + 1, + 380, + 137, + 2, + 380, + 137, + 3, + 380, + 137, + 4, + 0, +}; + +Compact steam = { + L_SCRIPT, // logic + ST_FOREGROUND+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 18, // screen + 0, // place + 0, // getToTable + 10, // xcood + 10, // ycood + 57*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + STEAM_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact socket = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_MOUSE+ST_RECREATE, // status + 0, // sync + 18, // screen + 0, // place + 0, // getToTable + 185, // xcood + 220, // ycood + 65*64, // frame + 66, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 8, // mouseSize_x + 8, // mouseSize_y + SOCKET_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + POWER_PANEL_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact power_motor = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 18, // screen + 0, // place + 0, // getToTable + 20, // xcood + 20, // ycood + 67*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + POWER_MOTOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 joey_unpush_seq[] = { + 89*64, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 high_push_seq[] = { + 72*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +Compact left_lever = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE, // status + 0, // sync + 18, // screen + 0, // place + 0, // getToTable + 181, // xcood + 236, // ycood + 90*64+1, // frame + 67, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 24, // mouseSize_y + LEFT_LEVER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LEFT_LEVER_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s18_pal[] = { + 0, + 1024, + 1540, + 1542, + 2054, + 2056, + 2058, + 2568, + 2570, + 2572, + 3084, + 3594, + 3084, + 4108, + 2570, + 3086, + 6158, + 2058, + 3598, + 4112, + 3598, + 3600, + 4112, + 4112, + 3606, + 5132, + 3088, + 4114, + 5650, + 2576, + 4626, + 6676, + 3600, + 4628, + 5652, + 4114, + 4630, + 5138, + 6162, + 5144, + 5132, + 5652, + 5146, + 5644, + 5654, + 5146, + 5652, + 6166, + 5660, + 6158, + 6166, + 5662, + 6158, + 6678, + 5656, + 6172, + 5656, + 6174, + 7184, + 5656, + 5665, + 6676, + 7192, + 6172, + 8474, + 4122, + 5671, + 7696, + 5658, + 6682, + 7198, + 7194, + 6689, + 8984, + 4636, + 6695, + 7700, + 7708, + 7198, + 8993, + 6684, + 7713, + 10526, + 5660, + 8483, + 8470, + 8990, + 7717, + 8986, + 7713, + 7717, + 11043, + 6174, + 8483, + 10019, + 7201, + 8999, + 8990, + 10019, + 8997, + 12071, + 6177, + 9001, + 8993, + 10021, + 9511, + 11045, + 7205, + 9011, + 11542, + 7717, + 9513, + 12587, + 6693, + 10025, + 11561, + 8999, + 10539, + 12579, + 7721, + 10029, + 13613, + 6185, + 10545, + 11041, + 10539, + 11051, + 12077, + 10027, + 11059, + 15649, + 6697, + 11567, + 14635, + 7211, + 11573, + 14115, + 7725, + 11567, + 12591, + 10543, + 12079, + 14641, + 9007, + 12605, + 13078, + 11057, + 12091, + 16161, + 7725, + 12599, + 13093, + 11569, + 12601, + 14113, + 10033, + 12593, + 12595, + 13617, + 13107, + 14643, + 10547, + 13109, + 13617, + 13107, + 13119, + 15649, + 9523, + 13627, + 16165, + 6199, + 13621, + 15669, + 10037, + 14139, + 14123, + 13623, + 14139, + 16173, + 8505, + 14655, + 14627, + 14135, + 14655, + 15145, + 13627, + 15679, + 16171, + 11581, + 15679, + 15665, + 14141, + 1073, + 2564, + 2570, + 3084, + 4108, + 3598, + 4112, + 5136, + 3088, + 4118, + 10, + 10, + 4630, + 5648, + 4626, + 5144, + 5132, + 5652, + 5146, + 7188, + 3606, + 6174, + 7184, + 6680, + 0, + 2111, + 2056, + 2572, + 3084, + 3594, + 3084, + 3596, + 4110, + 3600, + 4624, + 4624, + 4626, + 5140, + 6162, + 5140, + 6166, + 6166, + 5656, + 6682, + 7192, + 6684, + 7708, + 7708, + 63, + 2048, + 2056, + 3086, + 4622, + 4624, + 5140, + 6166, + 6166, + 6170, + 7708, + 7708, + 7713, + 8990, + 8993, + 8997, + 10023, + 9509, + 10025, + 11049, + 10539, + 11567, + 13099, + 11569, + 16128, + 2560, + 2570, + 2572, + 15116, + 11575, + 4628, + 6676, + 7192, + 7198, + 8990, + 8993, + 9511, + 11045, + 9001, + 11051, + 12073, + 11053, + 13109, + 14129, + 13623, + 15163, + 15669, + 14141, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 rs_foster_to_18[] = { + C_XCOOD, + 424, + C_YCOOD, + 272, + C_SCREEN, + 18, + C_PLACE, + ID_S18_FLOOR, + 65535, +}; + +uint16 power_bang_seq[] = { + 62*64, + 179, + 216, + 0, + 173, + 207, + 1, + 172, + 205, + 2, + 171, + 204, + 3, + 169, + 204, + 4, + 167, + 203, + 5, + 164, + 201, + 6, + 158, + 198, + 7, + 155, + 196, + 8, + 150, + 192, + 9, + 145, + 189, + 10, + 138, + 183, + 11, + 134, + 177, + 12, + 134, + 174, + 13, + 138, + 170, + 14, + 139, + 167, + 15, + 0, +}; + +uint16 s18_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_MONITOR, + ID_STEAM, + ID_POWER_DOOR, + ID_LEFT_LEVER, + ID_RIGHT_LEVER, + ID_POWER_MOTOR, + ID_POWER_PANEL, + ID_POWER_SWITCH, + ID_POWER_BANG, + ID_LAMB, + ID_LIFT_S7, + ID_LIFT7_LIGHT, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 high_unpush_seq[] = { + 72*64, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 s18_chip_list[] = { + 173, + 111, + 44+DISK_2, + 45+DISK_2, + 46+DISK_2, + 61+DISK_2, + 63+DISK_2, + 64+DISK_2, + 65+DISK_2, + 66+DISK_2, + 67+DISK_2, + 68+DISK_2, + 70+DISK_2+0X8000, + 71+DISK_2, + 88+DISK_2+0X8000, + 92+DISK_2+0X8000, + 90+DISK_2, + 91+DISK_2, + 89+DISK_2, + 72+DISK_2, + 85+DISK_2+0X8000, + 86+DISK_2+0X8000, + 74+DISK_2, + 76+DISK_2+0X8000, + 75+DISK_2, + 0, +}; + +Compact power_bang = { + L_SCRIPT, // logic + ST_RECREATE+ST_LOGIC, // status + 0, // sync + 18, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + POWER_BANG_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 push_but_seq[] = { + 71*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 0, +}; + +uint16 door_blast_seq[] = { + 61*64, + 146, + 229, + 0, + 146, + 229, + 1, + 146, + 229, + 2, + 146, + 229, + 3, + 0, +}; + +uint16 rs_gordon_start[] = { + C_XCOOD, + 264, + C_YCOOD, + 272, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION+ST_MOUSE, + C_ACTION_SCRIPT, + SHOUT_ACTION, + C_MOUSE_REL_X, + 65520, + C_MOUSE_REL_Y, + 65488, + C_MOUSE_SIZE_X, + 32, + C_MOUSE_SIZE_Y, + 48, + 65535, +}; + +uint16 monhit_seq[] = { + 76*64, + 250, + 231, + 0, + 250, + 231, + 1, + 250, + 231, + 2, + 250, + 231, + 3, + 0, +}; + +uint16 spanner_seq[] = { + 70*64, + 239, + 195, + 0, + 239, + 195, + 0, + 239, + 195, + 1, + 239, + 195, + 1, + 239, + 195, + 2, + 239, + 195, + 3, + 239, + 195, + 4, + 239, + 195, + 5, + 239, + 195, + 6, + 239, + 195, + 6, + 239, + 195, + 6, + 239, + 195, + 7, + 239, + 195, + 8, + 239, + 195, + 9, + 239, + 195, + 7, + 239, + 195, + 10, + 239, + 195, + 10, + 239, + 195, + 11, + 239, + 195, + 12, + 0, +}; + +uint16 joey_push_seq[] = { + 89*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 0, +}; + +Compact right_exit_s18 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 18, // screen + 0, // place + 0, // getToTable + 405, // xcood + 221, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 414-405, // mouseSize_x + 280-221, // mouseSize_y + ER18_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/19comp.h b/sky/compacts/19comp.h new file mode 100644 index 00000000000..de7b6faa798 --- /dev/null +++ b/sky/compacts/19comp.h @@ -0,0 +1,678 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY19COMP_H +#define SKY19COMP_H + + + + +namespace SkyCompact { + +uint16 rs_foster_19_28[] = { + C_XCOOD, + 120, + C_YCOOD, + 272, + C_SCREEN, + 28, + C_PLACE, + ID_S28_FLOOR, + 65535, +}; + +uint16 s19_mouse[] = { + 12289, + ID_JOEY, + ID_LEFT_EXIT_19, + ID_RIGHT_EXIT_19, + ID_SMALL_19, + ID_S19_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 s19_floor_table[] = { + ID_S19_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S19_RIGHT_ON, + 1, + S19_LEFT_ON, + ID_RIGHT_EXIT_19, + GT_RIGHT_EXIT_19, + ID_LEFT_EXIT_19, + GT_LEFT_EXIT_19, + ID_SMALL_19, + GT_TOP_RIGHT_19, + 12289, + GET_TO_UCHAR, + 65535, +}; + +Compact s19_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 19, // screen + 0, // place + s19_floor_table, // getToTable + 128, // xcood + 216, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 4242, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 rs_28_sml_19[] = { + C_XCOOD, + 456+8, + C_YCOOD, + 248, + C_SCREEN, + 19, + C_PLACE, + ID_S19_FLOOR, + C_FRAME, + 44+12*64, + 65535, +}; + +uint16 s19_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_LAMB, + ID_LAMB_DOOR_20, + ID_INNER_LAMB_DOOR, + ID_GALLAGER_BEL, + ID_LIFT_29, + 12289, + 0XFFFF, + ID_MENU_LOGIC, +}; + +Compact right_exit_19 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 19, // screen + 0, // place + 0, // getToTable + 431, // xcood + 266, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 30, // mouseSize_x + 4242, // mouseSize_y + ER19_ACTION, // actionScript +}; + +ExtCompact useless_char_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + DOWN, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_UCHAR, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact useless_char = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_RECREATE+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 19, // screen + 0, // place + 0, // getToTable + 236, // xcood + 189, // ycood + 16*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 32, // mouseSize_x + 58, // mouseSize_y + UCHAR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + UCHAR_LOGIC, // baseSub + 0, // baseSub_off + &useless_char_ext, +}; + +Compact left_exit_19 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 19, // screen + 0, // place + 0, // getToTable + 163, // xcood + 211, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 10, // mouseSize_x + 277-211, // mouseSize_y + EL19_ACTION, // actionScript +}; + +uint16 joey_list_s19[] = { + 208, + 360, + 240, + 304, + 1, + 0, +}; + +uint16 rs_foster_28_19[] = { + C_XCOOD, + 456, + C_YCOOD, + 304, + C_SCREEN, + 19, + C_PLACE, + ID_S19_FLOOR, + 65535, +}; + +Compact top_right_19 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 19, // screen + 0, // place + 0, // getToTable + 431, // xcood + 137, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 30, // mouseSize_x + 265-137, // mouseSize_y + TOP_R19_ACTION, // actionScript +}; + +uint32 grid19[0]; + +uint16 s19_pal[] = { + 0, + 1792, + 257, + 1285, + 2309, + 772, + 525, + 2051, + 1799, + 1549, + 4098, + 1284, + 2059, + 2823, + 2568, + 2317, + 5125, + 1029, + 1809, + 3074, + 1293, + 1560, + 4358, + 2825, + 2325, + 3587, + 2315, + 2329, + 5123, + 2315, + 3854, + 4360, + 2829, + 3089, + 7184, + 2056, + 3350, + 5638, + 3340, + 4369, + 6664, + 2828, + 3859, + 4110, + 3858, + 3104, + 5892, + 2575, + 2591, + 5898, + 4366, + 3613, + 6408, + 3600, + 5394, + 5387, + 4114, + 3613, + 5645, + 5137, + 4378, + 6674, + 3092, + 4638, + 5642, + 2839, + 3621, + 9229, + 2321, + 3879, + 7686, + 4626, + 5403, + 6928, + 5396, + 4897, + 6413, + 4633, + 4898, + 8209, + 5397, + 5159, + 7435, + 6167, + 4907, + 10506, + 3860, + 6688, + 9486, + 3862, + 5922, + 10002, + 4885, + 7197, + 9492, + 3098, + 5924, + 8214, + 6681, + 6438, + 10771, + 4376, + 7457, + 11541, + 3608, + 7207, + 8976, + 6171, + 8222, + 10007, + 6170, + 7972, + 11794, + 4633, + 7211, + 9233, + 7197, + 7466, + 10006, + 6430, + 6958, + 12566, + 4380, + 7467, + 9754, + 7712, + 7981, + 10003, + 5922, + 7727, + 12569, + 5151, + 8492, + 10779, + 7969, + 8499, + 11793, + 5668, + 9768, + 12316, + 6434, + 9010, + 12053, + 7715, + 9771, + 12831, + 6949, + 9780, + 12055, + 7464, + 9775, + 11297, + 9001, + 9779, + 11551, + 10025, + 10805, + 13848, + 7209, + 10547, + 12322, + 9515, + 11316, + 14366, + 6700, + 12081, + 13088, + 10284, + 12087, + 14109, + 9517, + 11832, + 12065, + 12079, + 12340, + 13607, + 9009, + 12339, + 14380, + 8242, + 12599, + 14122, + 9779, + 13364, + 14385, + 10805, + 13367, + 14638, + 11576, + 14135, + 14641, + 13625, + 771, + 6402, + 777, + 2836, + 5897, + 2575, + 5146, + 9228, + 2321, + 7719, + 11289, + 6945, + 10287, + 13085, + 7974, + 10547, + 12578, + 8239, + 11832, + 13601, + 9009, + 13111, + 14374, + 10805, + 771, + 6658, + 3092, + 7457, + 11541, + 4895, + 9768, + 12316, + 6434, + 9522, + 13851, + 7209, + 10547, + 13346, + 7724, + 11315, + 14376, + 8494, + 12599, + 14122, + 9779, + 13624, + 14634, + 11576, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 s19_chip_list[] = { + 136+DISK_9, + 137+DISK_9, + 70+DISK_9, + 71+DISK_9, + 72+DISK_9, + 74+DISK_9, + 75+DISK_9, + 16+DISK_9, + 0, +}; + +uint16 s19_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/1compact.h b/sky/compacts/1compact.h new file mode 100644 index 00000000000..1a7eb4697bd --- /dev/null +++ b/sky/compacts/1compact.h @@ -0,0 +1,1957 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY1COMPACT_H +#define SKY1COMPACT_H + + + + +namespace SkyCompact { + +uint16 car_down_seq[] = { + 28*64, + 251, + 269, + 0, + 255, + 270, + 1, + 260, + 272, + 2, + 264, + 273, + 3, + 269, + 274, + 4, + 273, + 276, + 5, + 278, + 277, + 6, + 283, + 279, + 7, + 287, + 280, + 8, + 292, + 281, + 9, + 296, + 283, + 10, + 301, + 284, + 11, + 305, + 286, + 12, + 310, + 287, + 13, + 314, + 288, + 14, + 319, + 290, + 15, + 323, + 291, + 16, + 328, + 293, + 17, + 333, + 294, + 18, + 337, + 296, + 19, + 342, + 297, + 20, + 346, + 298, + 21, + 0, +}; + +uint16 car_up_seq[] = { + 27*64, + 345, + 304, + 0, + 340, + 302, + 1, + 335, + 301, + 2, + 330, + 299, + 3, + 325, + 297, + 4, + 320, + 296, + 5, + 315, + 294, + 6, + 310, + 293, + 7, + 305, + 291, + 8, + 300, + 289, + 9, + 295, + 288, + 10, + 290, + 286, + 11, + 285, + 285, + 12, + 280, + 283, + 13, + 275, + 281, + 14, + 270, + 280, + 15, + 265, + 278, + 16, + 260, + 277, + 17, + 255, + 275, + 18, + 250, + 273, + 19, + 250, + 273, + 20, + 250, + 273, + 20, + 0, +}; + +uint16 smoke1_seq[] = { + 232*64, + 235, + 137, + 0, + 235, + 137, + 0, + 235, + 137, + 0, + 235, + 137, + 1, + 235, + 137, + 1, + 235, + 137, + 1, + 235, + 137, + 1, + 235, + 137, + 2, + 235, + 137, + 2, + 235, + 137, + 2, + 235, + 137, + 2, + 235, + 137, + 3, + 235, + 137, + 3, + 235, + 137, + 3, + 235, + 137, + 3, + 235, + 137, + 4, + 235, + 137, + 4, + 235, + 137, + 4, + 235, + 137, + 4, + 235, + 137, + 5, + 235, + 137, + 5, + 235, + 137, + 5, + 235, + 137, + 5, + 235, + 137, + 6, + 235, + 137, + 6, + 235, + 137, + 6, + 235, + 137, + 6, + 235, + 137, + 7, + 235, + 137, + 7, + 235, + 137, + 7, + 235, + 137, + 7, + 235, + 137, + 8, + 235, + 137, + 8, + 235, + 137, + 8, + 235, + 137, + 8, + 235, + 137, + 9, + 235, + 137, + 9, + 235, + 137, + 9, + 235, + 137, + 9, + 235, + 137, + 8, + 235, + 137, + 8, + 235, + 137, + 8, + 235, + 137, + 8, + 235, + 137, + 10, + 235, + 137, + 10, + 235, + 137, + 10, + 235, + 137, + 10, + 235, + 137, + 11, + 235, + 137, + 11, + 235, + 137, + 11, + 235, + 137, + 11, + 235, + 137, + 12, + 235, + 137, + 12, + 235, + 137, + 12, + 235, + 137, + 12, + 235, + 137, + 13, + 235, + 137, + 13, + 235, + 137, + 13, + 235, + 137, + 13, + 235, + 137, + 14, + 235, + 137, + 14, + 235, + 137, + 14, + 235, + 137, + 14, + 235, + 137, + 15, + 235, + 137, + 15, + 235, + 137, + 15, + 235, + 137, + 15, + 235, + 137, + 16, + 235, + 137, + 16, + 235, + 137, + 16, + 235, + 137, + 16, + 235, + 137, + 17, + 235, + 137, + 17, + 235, + 137, + 17, + 235, + 137, + 17, + 235, + 137, + 18, + 235, + 137, + 18, + 235, + 137, + 18, + 235, + 137, + 18, + 235, + 137, + 19, + 235, + 137, + 19, + 235, + 137, + 19, + 235, + 137, + 19, + 235, + 137, + 20, + 235, + 137, + 20, + 235, + 137, + 20, + 235, + 137, + 20, + 235, + 137, + 21, + 235, + 137, + 21, + 235, + 137, + 21, + 235, + 137, + 21, + 235, + 137, + 22, + 235, + 137, + 22, + 235, + 137, + 22, + 235, + 137, + 22, + 235, + 137, + 22, + 235, + 137, + 22, + 235, + 137, + 22, + 235, + 137, + 22, + 235, + 137, + 21, + 235, + 137, + 21, + 235, + 137, + 21, + 235, + 137, + 21, + 235, + 137, + 20, + 235, + 137, + 20, + 235, + 137, + 20, + 235, + 137, + 20, + 235, + 137, + 19, + 235, + 137, + 19, + 235, + 137, + 19, + 235, + 137, + 19, + 235, + 137, + 18, + 235, + 137, + 18, + 235, + 137, + 18, + 235, + 137, + 18, + 235, + 137, + 17, + 235, + 137, + 17, + 235, + 137, + 17, + 235, + 137, + 17, + 235, + 137, + 16, + 235, + 137, + 16, + 235, + 137, + 16, + 235, + 137, + 16, + 235, + 137, + 15, + 235, + 137, + 15, + 235, + 137, + 15, + 235, + 137, + 15, + 235, + 137, + 14, + 235, + 137, + 14, + 235, + 137, + 14, + 235, + 137, + 14, + 235, + 137, + 13, + 235, + 137, + 13, + 235, + 137, + 13, + 235, + 137, + 13, + 235, + 137, + 12, + 235, + 137, + 12, + 235, + 137, + 12, + 235, + 137, + 12, + 235, + 137, + 11, + 235, + 137, + 11, + 235, + 137, + 11, + 235, + 137, + 11, + 235, + 137, + 10, + 235, + 137, + 10, + 235, + 137, + 10, + 235, + 137, + 10, + 235, + 137, + 8, + 235, + 137, + 8, + 235, + 137, + 8, + 235, + 137, + 8, + 235, + 137, + 9, + 235, + 137, + 9, + 235, + 137, + 9, + 235, + 137, + 9, + 235, + 137, + 8, + 235, + 137, + 8, + 235, + 137, + 8, + 235, + 137, + 8, + 235, + 137, + 7, + 235, + 137, + 7, + 235, + 137, + 7, + 235, + 137, + 7, + 235, + 137, + 6, + 235, + 137, + 6, + 235, + 137, + 6, + 235, + 137, + 6, + 235, + 137, + 5, + 235, + 137, + 5, + 235, + 137, + 5, + 235, + 137, + 5, + 235, + 137, + 4, + 235, + 137, + 4, + 235, + 137, + 4, + 235, + 137, + 4, + 235, + 137, + 3, + 235, + 137, + 3, + 235, + 137, + 3, + 235, + 137, + 3, + 235, + 137, + 2, + 235, + 137, + 2, + 235, + 137, + 2, + 235, + 137, + 2, + 235, + 137, + 1, + 235, + 137, + 1, + 235, + 137, + 1, + 235, + 137, + 1, + 235, + 137, + 0, + 235, + 137, + 0, + 0, +}; + +uint16 screen1_logic[] = { + ID_FOSTER, + ID_LFAN2, + 97, + 90, + 105, + ID_UPLOAD, + ID_NOTICE, + ID_NOTICE2, + ID_LFAN1, + ID_SMOKE1, + ID_SMOKE2, + ID_FIRE1, + ID_FIRE2, + ID_CAR_UP, + ID_CAR_DOWN, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 fast_list_cut[] = { + 20+0X8000, + 12, + 51, + 53, + 52, + 92, + 93, + 94, + 102, + 25, + 26, + 27, + 28, + 0, +}; + +uint16 lfan2_seq[] = { + 229*64, + 202, + 196, + 0, + 202, + 196, + 1, + 202, + 196, + 2, + 202, + 196, + 3, + 202, + 196, + 4, + 202, + 196, + 5, + 202, + 196, + 6, + 0, +}; + +Compact smoke2 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 1, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 231*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SMOKE2_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact lfan2 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 1, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 229*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LFAN2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 lfan1_seq[] = { + 228*64, + 165, + 230, + 0, + 165, + 230, + 1, + 165, + 230, + 2, + 165, + 230, + 3, + 165, + 230, + 4, + 165, + 230, + 5, + 0, +}; + +uint16 smoke2_seq[] = { + 231*64, + 297, + 137, + 0, + 297, + 137, + 0, + 297, + 137, + 0, + 297, + 137, + 1, + 297, + 137, + 1, + 297, + 137, + 1, + 297, + 137, + 1, + 297, + 137, + 2, + 297, + 137, + 2, + 297, + 137, + 2, + 297, + 137, + 2, + 297, + 137, + 3, + 297, + 137, + 3, + 297, + 137, + 3, + 297, + 137, + 3, + 297, + 137, + 4, + 297, + 137, + 4, + 297, + 137, + 4, + 297, + 137, + 4, + 297, + 137, + 5, + 297, + 137, + 5, + 297, + 137, + 5, + 297, + 137, + 5, + 297, + 137, + 6, + 297, + 137, + 6, + 297, + 137, + 6, + 297, + 137, + 6, + 297, + 137, + 7, + 297, + 137, + 7, + 297, + 137, + 7, + 297, + 137, + 7, + 297, + 137, + 8, + 297, + 137, + 8, + 297, + 137, + 8, + 297, + 137, + 8, + 297, + 137, + 9, + 297, + 137, + 9, + 297, + 137, + 9, + 297, + 137, + 9, + 297, + 137, + 8, + 297, + 137, + 8, + 297, + 137, + 8, + 297, + 137, + 8, + 297, + 137, + 10, + 297, + 137, + 10, + 297, + 137, + 10, + 297, + 137, + 10, + 297, + 137, + 11, + 297, + 137, + 11, + 297, + 137, + 11, + 297, + 137, + 11, + 297, + 137, + 12, + 297, + 137, + 12, + 297, + 137, + 12, + 297, + 137, + 12, + 297, + 137, + 13, + 297, + 137, + 13, + 297, + 137, + 13, + 297, + 137, + 13, + 297, + 137, + 14, + 297, + 137, + 14, + 297, + 137, + 14, + 297, + 137, + 14, + 297, + 137, + 15, + 297, + 137, + 15, + 297, + 137, + 15, + 297, + 137, + 15, + 297, + 137, + 16, + 297, + 137, + 16, + 297, + 137, + 16, + 297, + 137, + 16, + 297, + 137, + 17, + 297, + 137, + 17, + 297, + 137, + 17, + 297, + 137, + 17, + 297, + 137, + 18, + 297, + 137, + 18, + 297, + 137, + 18, + 297, + 137, + 18, + 297, + 137, + 19, + 297, + 137, + 19, + 297, + 137, + 19, + 297, + 137, + 19, + 297, + 137, + 20, + 297, + 137, + 20, + 297, + 137, + 20, + 297, + 137, + 20, + 297, + 137, + 21, + 297, + 137, + 21, + 297, + 137, + 21, + 297, + 137, + 21, + 297, + 137, + 22, + 297, + 137, + 22, + 297, + 137, + 22, + 297, + 137, + 22, + 297, + 137, + 22, + 297, + 137, + 22, + 297, + 137, + 22, + 297, + 137, + 22, + 297, + 137, + 21, + 297, + 137, + 21, + 297, + 137, + 21, + 297, + 137, + 21, + 297, + 137, + 20, + 297, + 137, + 20, + 297, + 137, + 20, + 297, + 137, + 20, + 297, + 137, + 19, + 297, + 137, + 19, + 297, + 137, + 19, + 297, + 137, + 19, + 297, + 137, + 18, + 297, + 137, + 18, + 297, + 137, + 18, + 297, + 137, + 18, + 297, + 137, + 17, + 297, + 137, + 17, + 297, + 137, + 17, + 297, + 137, + 17, + 297, + 137, + 16, + 297, + 137, + 16, + 297, + 137, + 16, + 297, + 137, + 16, + 297, + 137, + 15, + 297, + 137, + 15, + 297, + 137, + 15, + 297, + 137, + 15, + 297, + 137, + 14, + 297, + 137, + 14, + 297, + 137, + 14, + 297, + 137, + 14, + 297, + 137, + 13, + 297, + 137, + 13, + 297, + 137, + 13, + 297, + 137, + 13, + 297, + 137, + 12, + 297, + 137, + 12, + 297, + 137, + 12, + 297, + 137, + 12, + 297, + 137, + 11, + 297, + 137, + 11, + 297, + 137, + 11, + 297, + 137, + 11, + 297, + 137, + 10, + 297, + 137, + 10, + 297, + 137, + 10, + 297, + 137, + 10, + 297, + 137, + 8, + 297, + 137, + 8, + 297, + 137, + 8, + 297, + 137, + 8, + 297, + 137, + 9, + 297, + 137, + 9, + 297, + 137, + 9, + 297, + 137, + 9, + 297, + 137, + 8, + 297, + 137, + 8, + 297, + 137, + 8, + 297, + 137, + 8, + 297, + 137, + 7, + 297, + 137, + 7, + 297, + 137, + 7, + 297, + 137, + 7, + 297, + 137, + 6, + 297, + 137, + 6, + 297, + 137, + 6, + 297, + 137, + 6, + 297, + 137, + 5, + 297, + 137, + 5, + 297, + 137, + 5, + 297, + 137, + 5, + 297, + 137, + 4, + 297, + 137, + 4, + 297, + 137, + 4, + 297, + 137, + 4, + 297, + 137, + 3, + 297, + 137, + 3, + 297, + 137, + 3, + 297, + 137, + 3, + 297, + 137, + 2, + 297, + 137, + 2, + 297, + 137, + 2, + 297, + 137, + 2, + 297, + 137, + 1, + 297, + 137, + 1, + 297, + 137, + 1, + 297, + 137, + 1, + 297, + 137, + 0, + 297, + 137, + 0, + 0, +}; + +Compact car_down = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 1, // screen + 0, // place + 0, // getToTable + 20, // xcood + 20, // ycood + 28*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + CAR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 fire2_seq[] = { + 26*64, + 302, + 136, + 0, + 302, + 136, + 0, + 302, + 136, + 0, + 302, + 136, + 0, + 302, + 136, + 0, + 302, + 136, + 0, + 302, + 136, + 0, + 302, + 136, + 0, + 302, + 136, + 0, + 302, + 136, + 0, + 302, + 136, + 1, + 302, + 136, + 2, + 302, + 136, + 3, + 302, + 136, + 4, + 302, + 136, + 5, + 302, + 136, + 6, + 302, + 136, + 7, + 302, + 136, + 8, + 302, + 136, + 9, + 302, + 136, + 10, + 302, + 136, + 0, + 302, + 136, + 0, + 302, + 136, + 0, + 0, +}; + +Compact smoke1 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 1, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 232*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SMOKE1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 fast_list_sc1[] = { + 12, + 51, + 52, + 53, + 13, + 92, + 93, + 94, + 25, + 26, + 27, + 28, + 0, +}; + +Compact fire_notice2 = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 1, // screen + 0, // place + 0, // getToTable + 202, // xcood + 192, // ycood + 0, // frame + 4151, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 13, // mouseSize_x + 13, // mouseSize_y + NOTICE2_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + NOTICE_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact car_up = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 1, // screen + 0, // place + 0, // getToTable + 20, // xcood + 20, // ycood + 27*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + CAR_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact fire1 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 1, // screen + 0, // place + 0, // getToTable + 20, // xcood + 20, // ycood + 25*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FIRE1_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact ss_sign = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 1, // screen + 0, // place + 0, // getToTable + 376, // xcood + 143, // ycood + 0, // frame + 4176, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 25, // mouseSize_x + 77, // mouseSize_y + SS_SIGN_ACTION, // actionScript +}; + +Compact lfan1 = { + L_SCRIPT, // logic + ST_FOREGROUND+ST_LOGIC, // status + 0, // sync + 1, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 228*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LFAN1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 chip_list_1[] = { + 21, + 98, + 226, + 228, + 229, + 232, + 231, + 99, + 96, + 0, +}; + +uint16 sc1_mouse[] = { + 95, + ID_NOTICE2, + 97, + ID_SS_SIGN, + 18, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact fire2 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 1, // screen + 0, // place + 0, // getToTable + 20, // xcood + 20, // ycood + 26*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FIRE2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 fire1_seq[] = { + 25*64, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 0, + 256, + 136, + 1, + 256, + 136, + 2, + 256, + 136, + 3, + 256, + 136, + 4, + 256, + 136, + 5, + 256, + 136, + 6, + 256, + 136, + 7, + 256, + 136, + 8, + 256, + 136, + 9, + 256, + 136, + 10, + 256, + 136, + 11, + 256, + 136, + 12, + 256, + 136, + 12, + 256, + 136, + 12, + 256, + 136, + 12, + 256, + 136, + 13, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/20comp.h b/sky/compacts/20comp.h new file mode 100644 index 00000000000..99f455590af --- /dev/null +++ b/sky/compacts/20comp.h @@ -0,0 +1,1121 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY20COMP_H +#define SKY20COMP_H + + + + +namespace SkyCompact { + +uint16 gal_look_up[] = { + 90*64, + 1, + 1, + 0, + 11, + 1, + 1, + 1, + 1, + 2, + 0, +}; + +uint16 rs_joey_start_20[] = { + C_XCOOD, + 168, + C_YCOOD, + 296, + C_SCREEN, + 20, + C_PLACE, + ID_S20_FLOOR, + C_LOGIC, + L_SCRIPT, + C_BASE_SUB, + JOEY_LOGIC, + C_BASE_SUB+2, + 0, + C_FRAME, + 136*64+2, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_COLLISION+ST_MOUSE+ST_GRID_PLOT, + C_DIR, + UP, + 65535, +}; + +uint16 s20_pal[] = { + 0, + 512, + 2, + 514, + 771, + 5, + 1028, + 1027, + 1540, + 1032, + 1026, + 8, + 1797, + 1795, + 2054, + 2822, + 1793, + 1290, + 2059, + 3590, + 776, + 3081, + 2821, + 2569, + 2576, + 2822, + 2062, + 2580, + 2564, + 1552, + 3340, + 4108, + 2828, + 3601, + 3591, + 2320, + 2840, + 3076, + 1300, + 3349, + 4615, + 3598, + 3356, + 5124, + 3344, + 4880, + 3595, + 2070, + 5903, + 5380, + 4112, + 4376, + 4873, + 2325, + 4122, + 7179, + 1809, + 5143, + 8202, + 1296, + 6417, + 4871, + 2328, + 4632, + 5138, + 4629, + 5399, + 5389, + 3095, + 4637, + 7181, + 2069, + 7187, + 4613, + 3610, + 6421, + 6926, + 4116, + 4642, + 5640, + 2587, + 5407, + 6923, + 5141, + 7701, + 9480, + 1556, + 6429, + 6156, + 4890, + 7445, + 8722, + 3606, + 6428, + 6932, + 3612, + 6431, + 6160, + 3871, + 5926, + 6669, + 2849, + 6941, + 7448, + 4637, + 6436, + 8979, + 3866, + 8988, + 6408, + 4898, + 6697, + 9743, + 4380, + 7711, + 8474, + 4896, + 7207, + 8469, + 3364, + 9501, + 9233, + 5663, + 9245, + 11031, + 4381, + 7719, + 11033, + 5406, + 9762, + 8977, + 3112, + 8740, + 8475, + 7460, + 9255, + 8978, + 5415, + 8493, + 12311, + 4641, + 8746, + 10011, + 7715, + 9764, + 8736, + 7209, + 9768, + 11289, + 6437, + 9264, + 12310, + 6692, + 11045, + 10265, + 4907, + 10539, + 10005, + 8489, + 10538, + 12573, + 5672, + 10285, + 12576, + 7463, + 11566, + 13080, + 6697, + 11056, + 11805, + 9003, + 10802, + 13601, + 7721, + 11572, + 12570, + 9773, + 11319, + 13088, + 8750, + 11831, + 13604, + 8241, + 12598, + 14120, + 9266, + 13365, + 14635, + 10036, + 13879, + 14638, + 12345, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 0, + 63, + 16128, + 0, + 63, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact lamb_door_20 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 20, // screen + 0, // place + 0, // getToTable + 291, // xcood + 229, // ycood + 186*64, // frame + 181, // cursorText + LAMB_20_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 273-252, // mouseSize_x + 287-228, // mouseSize_y + LAMB_DOOR_20_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LAMB_DOOR_20_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact reich_window = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 20, // screen + 0, // place + 0, // getToTable + 194, // xcood + 239, // ycood + 0, // frame + 60, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 223-194, // mouseSize_x + 255-239, // mouseSize_y + REICH_WINDOW_ACTION, // actionScript +}; + +uint16 usecard_seq[] = { + 192*64, + 258, + 173, + 0, + 258, + 173, + 1, + 258, + 173, + 2, + 258, + 173, + 3, + 258, + 173, + 3, + 258, + 173, + 3, + 258, + 173, + 2, + 258, + 173, + 1, + 258, + 173, + 0, + 0, +}; + +uint16 s20_chip_list[] = { + 185+DISK_9, + 186+DISK_9, + 192+DISK_9, + 90+DISK_9, + 131+DISK_2, + 132+DISK_2, + 217+DISK_9, + 0, +}; + +Compact down_exit_20 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 20, // screen + 0, // place + 0, // getToTable + 128, // xcood + 312, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_DOWN_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 193-128, // mouseSize_x + 20, // mouseSize_y + ED20_ACTION, // actionScript +}; + +uint16 s20_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 180+DISK_9, + 181+DISK_9, + 182+DISK_9, + 183+DISK_9, + 184+DISK_9, + 0, +}; + +uint16 rs_all_28_20[] = { + C_XCOOD, + 160, + C_YCOOD, + 320, + C_SCREEN, + 20, + C_PLACE, + ID_S20_FLOOR, + 65535, +}; + +uint16 s20_floor_table[] = { + ID_S20_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S20_START_ON, + 1, + S20_REICH_ON, + 3, + S20_LAMB_ON, + ID_DOWN_EXIT_20, + GT_DOWN_EXIT_20, + ID_REICH_DOOR_20, + GT_REICH_DOOR_20, + ID_LAMB_DOOR_20, + GT_LAMB_DOOR_20, + ID_REICH_SLOT, + GT_REICH_SLOT, + ID_LAMB_SLOT, + GT_LAMB_SLOT, + ID_SHRUB_1, + GT_SHRUB_1, + ID_SHRUB_2, + GT_SHRUB_2, + ID_SHRUB_3, + GT_SHRUB_3, + ID_GALLAGER_BEL, + GT_GALLAGER_BEL, + ID_REICH_WINDOW, + GT_REICH_WINDOW, + ID_LAMB_WINDOW, + GT_LAMB_WINDOW, + ID_STD_LEFT_TALK, + GT_L_TALK_20, + ID_STD_RIGHT_TALK, + GT_R_TALK_20, + 65535, +}; + +Compact s20_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 20, // screen + 0, // place + s20_floor_table, // getToTable + 128, // xcood + 288, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 4242, // mouseSize_x + 4242, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 lamb_20_open[] = { + 186*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 10, + 0, +}; + +Compact lamb_window = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 20, // screen + 0, // place + 0, // getToTable + 342, // xcood + 240, // ycood + 0, // frame + 60, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 368-342, // mouseSize_x + 257-240, // mouseSize_y + LAMB_WINDOW_ACTION, // actionScript +}; + +uint32 grid20[0]; + +uint16 gal_look_down[] = { + 90*64, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact lamb_slot = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 20, // screen + 0, // place + 0, // getToTable + 323, // xcood + 256, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 7, // mouseSize_x + 11, // mouseSize_y + LAMB_SLOT_ACTION, // actionScript +}; + +uint16 lamb_20_close[] = { + 186*64, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact shrub_3 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 20, // screen + 0, // place + 0, // getToTable + 396, // xcood + 257, // ycood + 0, // frame + 12659, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 421-396, // mouseSize_x + 298-257, // mouseSize_y + SHRUB_3_ACTION, // actionScript +}; + +uint16 reich_20_close[] = { + 185*64, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact reich_slot = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 20, // screen + 0, // place + 0, // getToTable + 232, // xcood + 256, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 7, // mouseSize_x + 11, // mouseSize_y + REICH_SLOT_ACTION, // actionScript +}; + +Compact shrub_2 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 20, // screen + 0, // place + 0, // getToTable + 249, // xcood + 303, // ycood + 0, // frame + 12659, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 310-249, // mouseSize_x + 4242, // mouseSize_y + SHRUB_2_ACTION, // actionScript +}; + +uint16 joey_list_20[] = { + 208, + 352, + 296, + 330, + 1, + 0, +}; + +uint16 reich_20_open[] = { + 185*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 10, + 0, +}; + +Compact shrub_1 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 20, // screen + 0, // place + 0, // getToTable + 156, // xcood + 251, // ycood + 0, // frame + 12659, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 193-156, // mouseSize_x + 294-251, // mouseSize_y + SHRUB_1_ACTION, // actionScript +}; + +uint16 s20_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_LAMB, + ID_REICH_DOOR_20, + ID_LAMB_DOOR_20, + ID_INNER_LAMB_DOOR, + ID_INNER_R_DOOR, + ID_LIFT_29, + ID_GALLAGER_BEL, + ID_CAT, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 lamb_card_seq2[] = { + 217*64, + 276, + 231, + 0, + 276, + 231, + 1, + 276, + 231, + 2, + 276, + 231, + 3, + 276, + 231, + 4, + 276, + 231, + 5, + 276, + 231, + 6, + 276, + 231, + 1, + 276, + 231, + 0, + 0, +}; + +Compact reich_door_20 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 20, // screen + 0, // place + 0, // getToTable + 252, // xcood + 228, // ycood + 185*64, // frame + 181, // cursorText + REICH_20_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 273-252, // mouseSize_x + 287-228, // mouseSize_y + REICH_DOOR_20_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + REICH_DOOR_20_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_20_28[] = { + C_XCOOD, + 408, + C_YCOOD, + 248, + C_SCREEN, + 28, + C_PLACE, + ID_S28_FLOOR, + 65535, +}; + +ExtCompact gallager_bel_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_GALAG, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact gallager_bel = { + L_SCRIPT, // logic + ST_RECREATE+ST_LOGIC+ST_MOUSE+ST_FOREGROUND, // status + 0, // sync + 20, // screen + 0, // place + 0, // getToTable + 346, // xcood + 282, // ycood + 90*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 369-346, // mouseSize_x + 320-282, // mouseSize_y + GAL_BEL_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + GAL_LOGIC, // baseSub + 0, // baseSub_off + &gallager_bel_ext, +}; + +uint16 s20_mouse[] = { + ID_JOEY, + ID_LAMB, + ID_DOWN_EXIT_20, + ID_REICH_DOOR_20, + ID_REICH_SLOT, + ID_LAMB_SLOT, + ID_LAMB_DOOR_20, + ID_SHRUB_1, + ID_SHRUB_2, + ID_SHRUB_3, + ID_GALLAGER_BEL, + ID_REICH_WINDOW, + ID_LAMB_WINDOW, + ID_S20_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/21comp.h b/sky/compacts/21comp.h new file mode 100644 index 00000000000..3ffd930d3b1 --- /dev/null +++ b/sky/compacts/21comp.h @@ -0,0 +1,2032 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY21COMP_H +#define SKY21COMP_H + + +#include "22comp.h" + + +namespace SkyCompact { + +uint16 lamb_sit_up[] = { + 218*64, + 248, + 246, + 9, + 248, + 246, + 8, + 248, + 246, + 7, + 248, + 246, + 6, + 249, + 246, + 5, + 249, + 245, + 4, + 249, + 246, + 3, + 253, + 247, + 2, + 264, + 241, + 1, + 268, + 241, + 0, + 0, +}; + +uint16 s21_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_LAMB, + ID_CATFOOD, + ID_VIDEO, + ID_CASSETTE, + ID_VIDEO_SCREEN, + ID_CAT, + ID_INNER_LAMB_DOOR, + ID_LAMB_DOOR_20, + ID_GALLAGER_BEL, + ID_LIFT_29, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 cat1_seq[] = { + 103*64, + 347, + 214, + 0, + 347, + 214, + 1, + 347, + 214, + 2, + 347, + 214, + 3, + 347, + 214, + 3, + 347, + 214, + 4, + 347, + 214, + 5, + 347, + 214, + 6, + 347, + 214, + 7, + 347, + 214, + 8, + 347, + 214, + 9, + 347, + 214, + 10, + 347, + 214, + 11, + 347, + 214, + 12, + 347, + 214, + 13, + 347, + 214, + 14, + 347, + 214, + 15, + 347, + 214, + 16, + 347, + 214, + 17, + 347, + 214, + 18, + 347, + 214, + 19, + 347, + 214, + 20, + 347, + 214, + 21, + 347, + 214, + 22, + 347, + 214, + 23, + 347, + 214, + 24, + 347, + 214, + 25, + 347, + 214, + 26, + 347, + 214, + 27, + 347, + 214, + 28, + 347, + 214, + 29, + 347, + 214, + 30, + 347, + 214, + 31, + 347, + 214, + 32, + 347, + 214, + 33, + 347, + 214, + 34, + 347, + 214, + 35, + 347, + 214, + 36, + 347, + 214, + 37, + 347, + 214, + 27, + 347, + 214, + 28, + 347, + 214, + 29, + 347, + 214, + 30, + 347, + 214, + 31, + 347, + 214, + 32, + 347, + 214, + 33, + 347, + 214, + 34, + 347, + 214, + 35, + 347, + 214, + 36, + 347, + 214, + 37, + 347, + 214, + 38, + 347, + 214, + 39, + 347, + 214, + 40, + 347, + 214, + 41, + 347, + 214, + 42, + 347, + 214, + 43, + 347, + 214, + 44, + 0, +}; + +uint16 rs_foster_21_20[] = { + C_XCOOD, + 328, + C_YCOOD, + 280, + C_SCREEN, + 20, + C_PLACE, + ID_S20_FLOOR, + 65535, +}; + +uint16 inner_lamb_close[] = { + 89*64, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 push_dispensor[] = { + 201*64, + 352, + 224, + 0, + 352, + 224, + 1, + 352, + 224, + 2, + 352, + 224, + 3, + 352, + 224, + 4, + 352, + 224, + 4, + 352, + 224, + 4, + 352, + 224, + 4, + 352, + 224, + 2, + 352, + 224, + 5, + 352, + 224, + 0, + 0, +}; + +uint16 s21_floor_table[] = { + ID_S21_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S21_START_ON, + ID_LEFT_EXIT_21, + GT_LEFT_EXIT_21, + ID_LAMBS_BOOKS, + GT_LAMBS_BOOKS, + ID_LAMBS_CHAIR, + GT_LAMBS_CHAIR, + ID_DISPENSOR, + GT_DISPENSOR, + ID_CATFOOD, + GT_CAT_FOOD, + ID_VIDEO, + GT_VIDEO, + ID_CASSETTE, + GT_CASSETTE, + ID_BIG_PICT1, + GT_BIG_PICT1, + ID_BIG_PICT2, + GT_BIG_PICT2, + ID_BIG_PICT3, + GT_BIG_PICT3, + ID_VIDEO_SCREEN, + GT_VIDEO_SCREEN, + ID_CAT, + GT_CAT, + 65535, +}; + +Compact s21_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 21, // screen + 0, // place + s21_floor_table, // getToTable + 128, // xcood + 248, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 4242, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 s21_chip_list[] = { + 201+DISK_9, + 202+DISK_9, + 110+DISK_9, + 109+DISK_9, + 108+DISK_9, + 107+DISK_9, + 101+DISK_9, + 102+DISK_9, + 89+DISK_9, + 131+DISK_2, + 132+DISK_2, + 218+DISK_9, + 0, +}; + +uint16 lamb_sit_seq[] = { + 218*64, + 268, + 241, + 0, + 264, + 241, + 1, + 253, + 247, + 2, + 249, + 246, + 3, + 249, + 245, + 4, + 249, + 246, + 5, + 248, + 246, + 6, + 248, + 246, + 7, + 248, + 246, + 8, + 248, + 246, + 9, + 0, +}; + +Compact cat_food = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 193, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 2, // mouseRel_x + 18, // mouseRel_y + 6, // mouseSize_x + 1, // mouseSize_y + CAT_FOOD_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + CAT_FOOD_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact video = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 345, // xcood + 259, // ycood + 0, // frame + 12677, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 65529, // mouseRel_y + 25, // mouseSize_x + 19, // mouseSize_y + VIDEO_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + VIDEO_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact video_screen = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 348, // xcood + 216, // ycood + 0, // frame + 57, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 378-349, // mouseSize_x + 253-216, // mouseSize_y + VIDEO_SCREEN_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + VIDEO_SCREEN_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_20_21[] = { + C_XCOOD, + 136, + C_YCOOD, + 296, + C_SCREEN, + 21, + C_PLACE, + ID_S21_FLOOR, + 65535, +}; + +uint16 cat4_seq[] = { + 106*64, + 347, + 214, + 0, + 347, + 214, + 1, + 347, + 214, + 2, + 347, + 214, + 3, + 347, + 214, + 4, + 347, + 214, + 5, + 347, + 214, + 6, + 347, + 214, + 7, + 347, + 214, + 8, + 347, + 214, + 9, + 347, + 214, + 10, + 347, + 214, + 11, + 347, + 214, + 12, + 347, + 214, + 13, + 347, + 214, + 14, + 347, + 214, + 15, + 347, + 214, + 16, + 347, + 214, + 17, + 347, + 214, + 18, + 347, + 214, + 19, + 347, + 214, + 0, + 347, + 214, + 1, + 347, + 214, + 2, + 347, + 214, + 3, + 347, + 214, + 4, + 347, + 214, + 5, + 347, + 214, + 6, + 347, + 214, + 7, + 347, + 214, + 8, + 347, + 214, + 9, + 347, + 214, + 10, + 347, + 214, + 11, + 347, + 214, + 12, + 347, + 214, + 13, + 347, + 214, + 14, + 347, + 214, + 15, + 347, + 214, + 16, + 347, + 214, + 20, + 347, + 214, + 21, + 347, + 214, + 22, + 347, + 214, + 23, + 0, +}; + +uint16 video_out[] = { + 109*64, + 345, + 259, + 5, + 345, + 259, + 4, + 345, + 259, + 3, + 345, + 259, + 2, + 345, + 259, + 1, + 345, + 259, + 0, + 345, + 259, + 0, + 345, + 259, + 0, + 0, +}; + +uint16 inner_lamb_open[] = { + 89*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 11, + 0, +}; + +uint16 s21_mouse[] = { + ID_JOEY, + ID_LAMB, + ID_INNER_LAMB_DOOR, + ID_LEFT_EXIT_21, + ID_LAMBS_BOOKS, + ID_LAMBS_CHAIR, + ID_DISPENSOR, + ID_CATFOOD, + ID_VIDEO, + ID_CASSETTE, + ID_BIG_PICT1, + ID_BIG_PICT2, + ID_BIG_PICT3, + ID_VIDEO_SCREEN, + ID_CAT, + ID_S21_FLOOR, + ID_FAKE_FLOOR_21, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 video_in[] = { + 109*64, + 345, + 259, + 0, + 345, + 259, + 0, + 345, + 259, + 0, + 345, + 259, + 0, + 345, + 259, + 1, + 345, + 259, + 2, + 345, + 259, + 3, + 345, + 259, + 4, + 345, + 259, + 5, + 0, +}; + +Compact lambs_books = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 202, // xcood + 240, // ycood + 0, // frame + 12669, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 227-202, // mouseSize_x + 270-240, // mouseSize_y + LAMBS_BOOKS_ACTION, // actionScript +}; + +uint16 cat_walk_seq[] = { + 101*64, + 250, + 228, + 0, + 250, + 228, + 1, + 250, + 228, + 2, + 251, + 226, + 3, + 254, + 224, + 4, + 254, + 221, + 5, + 254, + 221, + 6, + 254, + 222, + 7, + 254, + 220, + 8, + 253, + 218, + 9, + 253, + 218, + 9, + 253, + 218, + 9, + 253, + 218, + 10, + 253, + 218, + 10, + 253, + 220, + 11, + 253, + 219, + 12, + 254, + 220, + 13, + 254, + 219, + 14, + 254, + 220, + 15, + 254, + 221, + 16, + 254, + 222, + 17, + 254, + 222, + 18, + 254, + 224, + 19, + 254, + 226, + 20, + 255, + 226, + 21, + 255, + 226, + 22, + 255, + 226, + 23, + 254, + 227, + 24, + 256, + 228, + 25, + 256, + 230, + 26, + 264, + 232, + 27, + 278, + 238, + 28, + 289, + 250, + 29, + 292, + 256, + 30, + 293, + 260, + 31, + 296, + 261, + 32, + 297, + 262, + 33, + 299, + 263, + 34, + 300, + 264, + 35, + 302, + 265, + 36, + 305, + 265, + 37, + 307, + 266, + 38, + 309, + 266, + 39, + 314, + 267, + 40, + 316, + 268, + 41, + 317, + 268, + 42, + 320, + 268, + 43, + 322, + 268, + 44, + 324, + 268, + 45, + 327, + 269, + 46, + 329, + 269, + 47, + 331, + 269, + 48, + 334, + 269, + 49, + 338, + 269, + 50, + 340, + 269, + 51, + 344, + 269, + 52, + 347, + 269, + 53, + 0, +}; + +Compact big_pict1 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 195, // xcood + 191, // ycood + 0, // frame + 12680, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 211-195, // mouseSize_x + 228-191, // mouseSize_y + BIG_PICT1_ACTION, // actionScript +}; + +Compact lambs_chair = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 250, // xcood + 262, // ycood + 0, // frame + 12665, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 271-250, // mouseSize_x + 293-262, // mouseSize_y + LAMBS_CHAIR_ACTION, // actionScript +}; + +uint16 put_video_in[] = { + 108*64, + 322, + 218, + 0, + 322, + 218, + 1, + 322, + 218, + 2, + 322, + 218, + 3, + SEND_SYNC, + ID_VIDEO, + 1, + 322, + 218, + 4, + 0, +}; + +uint16 watch_film[] = { + 108*64, + 322, + 218, + 4, + 322, + 218, + 5, + 322, + 218, + 6, + 322, + 218, + 7, + 322, + 218, + 0, + 0, +}; + +Compact cat = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_RECREATE+ST_BACKGROUND, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 250, // xcood + 228, // ycood + 101*64, // frame + 195, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 274-250, // mouseSize_x + 235-228, // mouseSize_y + CAT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + CAT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact big_pict3 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 264, // xcood + 190, // ycood + 0, // frame + 12680, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 295-264, // mouseSize_x + 213-190, // mouseSize_y + BIG_PICT3_ACTION, // actionScript +}; + +uint16 cat3_seq[] = { + 105*64, + 347, + 214, + 0, + 347, + 214, + 1, + 347, + 214, + 2, + 347, + 214, + 3, + 347, + 214, + 4, + 347, + 214, + 5, + 347, + 214, + 6, + 347, + 214, + 7, + 347, + 214, + 8, + 347, + 214, + 9, + 347, + 214, + 10, + 347, + 214, + 11, + 347, + 214, + 12, + 347, + 214, + 13, + 347, + 214, + 14, + 347, + 214, + 15, + 347, + 214, + 16, + 347, + 214, + 17, + 347, + 214, + 18, + 347, + 214, + 19, + 347, + 214, + 20, + 347, + 214, + 21, + 347, + 214, + 22, + 347, + 214, + 23, + 347, + 214, + 24, + 347, + 214, + 25, + 347, + 214, + 26, + 347, + 214, + 27, + 347, + 214, + 28, + 0, +}; + +uint16 s21_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 193+DISK_9, + 194+DISK_9, + 195+DISK_9, + 219+DISK_9, + 220+DISK_9, + 0, +}; + +uint16 bend_down[] = { + 108*64, + 322, + 218, + 0, + 322, + 218, + 7, + 322, + 218, + 6, + 322, + 218, + 5, + 322, + 218, + 4, + 0, +}; + +uint16 take_video_out[] = { + 108*64, + 322, + 218, + 3, + SEND_SYNC, + ID_VIDEO, + 1, + 322, + 218, + 2, + 322, + 218, + 1, + 322, + 218, + 0, + 0, +}; + +Compact big_pict2 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 227, // xcood + 188, // ycood + 0, // frame + 12680, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 236-227, // mouseSize_x + 212-188, // mouseSize_y + BIG_PICT2_ACTION, // actionScript +}; + +uint16 cat_food_seq[] = { + 202*64, + 372, + 263, + 0, + 372, + 263, + 1, + 372, + 263, + 2, + 372, + 263, + 3, + 372, + 263, + 4, + 372, + 263, + 5, + 372, + 263, + 2, + 372, + 263, + 3, + 372, + 263, + 4, + 372, + 263, + 5, + 372, + 263, + 6, + 372, + 263, + 7, + 372, + 263, + 8, + 372, + 263, + 9, + 372, + 263, + 10, + 372, + 263, + 11, + 372, + 263, + 12, + 372, + 263, + 13, + 372, + 263, + 14, + 372, + 263, + 15, + 372, + 263, + 16, + 372, + 263, + 17, + 372, + 263, + 18, + 372, + 263, + 19, + 372, + 263, + 20, + 0, +}; + +Compact left_exit_21 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 173, // xcood + 240, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 181-173, // mouseSize_x + 301-240, // mouseSize_y + EL21_ACTION, // actionScript +}; + +uint32 grid21[0]; + +Compact inner_lamb_door = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 173, // xcood + 242, // ycood + 89*64, // frame + 181, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 65534, // mouseRel_y + 181-173, // mouseSize_x + 308-242, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + INNER_LAMB_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact fake_floor_21 = { + 0, // logic + 0, // status + 0, // sync + 21, // screen + 0, // place + s22_floor_table, // getToTable + 128, // xcood + 136, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 4242, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 cat_eat_seq[] = { + 102*64, + 348, + 269, + 0, + 348, + 269, + 1, + 348, + 269, + 2, + 348, + 269, + 3, + 348, + 269, + 1, + 348, + 269, + 4, + 0, +}; + +uint16 more_cassette_seq[] = { + 107*64, + 217, + 216, + 2, + 217, + 216, + 1, + 217, + 216, + 0, + 0, +}; + +Compact cassette = { + L_SCRIPT, // logic + ST_MOUSE+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 216, // xcood + 230, // ycood + 110*64, // frame + 173, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 8, // mouseSize_y + CASSETTE_ACTION, // actionScript +}; + +uint16 s21_pal[] = { + 0, + 1280, + 257, + 515, + 2308, + 257, + 775, + 1281, + 1795, + 1031, + 3332, + 258, + 779, + 2308, + 2052, + 1545, + 1541, + 1032, + 785, + 3073, + 1542, + 1801, + 2057, + 3079, + 2061, + 5123, + 773, + 1552, + 4359, + 519, + 2059, + 2317, + 3849, + 3082, + 6149, + 516, + 2062, + 5133, + 1798, + 1809, + 7179, + 516, + 2577, + 3078, + 2061, + 2571, + 6162, + 1542, + 2831, + 5387, + 1546, + 2579, + 3594, + 4364, + 3084, + 6165, + 1035, + 1822, + 4355, + 4875, + 2076, + 8966, + 773, + 3094, + 5385, + 3339, + 3342, + 4632, + 4109, + 3599, + 8212, + 1544, + 2843, + 6155, + 3085, + 1323, + 7169, + 782, + 3604, + 3859, + 6927, + 3857, + 9751, + 1287, + 2339, + 7176, + 3597, + 2089, + 6147, + 2833, + 4370, + 5658, + 4369, + 3360, + 7434, + 1042, + 4636, + 6664, + 3857, + 2348, + 7685, + 3088, + 4129, + 4614, + 7698, + 4887, + 5140, + 3096, + 4633, + 7447, + 4115, + 3623, + 8460, + 3346, + 4386, + 9233, + 2578, + 4639, + 6931, + 5141, + 4133, + 11023, + 3088, + 5406, + 6167, + 4124, + 5157, + 9999, + 4626, + 6174, + 7186, + 6168, + 5665, + 7445, + 7447, + 4906, + 10000, + 3607, + 4910, + 10254, + 4630, + 5670, + 11286, + 4885, + 6434, + 10780, + 5654, + 7965, + 8725, + 6172, + 5679, + 10513, + 5145, + 6948, + 12063, + 5400, + 7210, + 12824, + 4889, + 8993, + 9753, + 8222, + 7214, + 10006, + 6944, + 6706, + 11287, + 7197, + 7216, + 10266, + 8991, + 9763, + 13340, + 6684, + 8491, + 12834, + 6943, + 10022, + 14110, + 6430, + 8501, + 12061, + 8229, + 9518, + 10789, + 8234, + 9016, + 11038, + 9258, + 10290, + 12070, + 10029, + 3616, + 9231, + 2327, + 5154, + 7431, + 4367, + 1319, + 16130, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 5632, + 2316, + 4376, + 6667, + 3857, + 4126, + 5132, + 3096, + 4893, + 8720, + 4369, + 7192, + 9488, + 3860, + 7965, + 8725, + 6172, + 8993, + 9753, + 7719, + 10794, + 12064, + 10029, + 0, + 1280, + 257, + 515, + 2308, + 257, + 775, + 1281, + 1795, + 1031, + 3332, + 258, + 779, + 5124, + 773, + 1552, + 6151, + 1542, + 2076, + 8198, + 1544, + 2843, + 8971, + 2057, + 259, + 1795, + 1795, + 1547, + 3851, + 3593, + 3092, + 6162, + 5647, + 4892, + 8474, + 7703, + 7205, + 10529, + 9504, + 9517, + 12841, + 11818, + 12342, + 14899, + 14134, + 15423, + 61, + 0, + 0, + 14336, + 13364, + 10283, + 7720, + 7196, + 5401, + 5396, + 3855, + 2576, + 1802, + 1285, + 0, + 15616, + 9522, + 10041, + 12059, + 5152, + 5928, + 7948, + 1806, + 2836, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 12548, + 13361, + 10281, + 8236, + 8734, + 10284, + 9264, + 10271, + 5917, + 5664, + 6159, + 2319, + 2064, + 2052, + 13631, + 14376, + 6694, + 6189, + 8975, + 1805, + 1048, + 3586, + 0, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 13631, + 14376, + 6694, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact dispensor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 21, // screen + 0, // place + 0, // getToTable + 387, // xcood + 228, // ycood + 0, // frame + 12668, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 398-387, // mouseSize_x + 280-228, // mouseSize_y + DISPENSOR_ACTION, // actionScript +}; + +uint16 cat2_seq[] = { + 104*64, + 347, + 214, + 0, + 347, + 214, + 1, + 347, + 214, + 2, + 347, + 214, + 3, + 347, + 214, + 4, + 347, + 214, + 5, + 347, + 214, + 6, + 347, + 214, + 7, + 347, + 214, + 8, + 347, + 214, + 9, + 347, + 214, + 10, + 347, + 214, + 11, + 347, + 214, + 12, + 347, + 214, + 13, + 347, + 214, + 14, + 347, + 214, + 15, + 347, + 214, + 16, + 347, + 214, + 17, + 347, + 214, + 18, + 347, + 214, + 19, + 347, + 214, + 20, + 347, + 214, + 21, + 347, + 214, + 22, + 0, +}; + +uint16 take_cassette_seq[] = { + 107*64, + 217, + 216, + 0, + 217, + 216, + 1, + 217, + 216, + 2, + 217, + 216, + 3, + 217, + 216, + 3, + 217, + 216, + 3, + 217, + 216, + 3, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/22comp.h b/sky/compacts/22comp.h new file mode 100644 index 00000000000..179b83260ff --- /dev/null +++ b/sky/compacts/22comp.h @@ -0,0 +1,1451 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY22COMP_H +#define SKY22COMP_H + + + + +namespace SkyCompact { + +uint16 fost_replace_pill[] = { + 197*64, + 320, + 226, + 3, + 320, + 226, + 3, + 320, + 226, + 2, + 320, + 226, + 2, + 320, + 226, + 1, + 320, + 226, + 1, + 320, + 226, + 0, + 320, + 226, + 0, + 0, +}; + +uint16 rs_foster_20_22[] = { + C_XCOOD, + 424, + C_YCOOD, + 304, + C_SCREEN, + 22, + C_PLACE, + ID_S22_FLOOR, + 65535, +}; + +Compact reich_picture = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 259, // xcood + 175, // ycood + 0, // frame + 12744, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 326-259, // mouseSize_x + 210-175, // mouseSize_y + REICH_PICTURE_ACTION, // actionScript +}; + +Compact inner_reich_door = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 393, // xcood + 249, // ycood + 85*64, // frame + 181, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 403-393, // mouseSize_x + 313-249, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + INNER_R_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_22_20[] = { + C_XCOOD, + 216, + C_YCOOD, + 280, + C_SCREEN, + 20, + C_PLACE, + ID_S20_FLOOR, + 65535, +}; + +uint16 fost_remove_pill[] = { + 197*64, + 320, + 226, + 0, + 320, + 226, + 0, + 320, + 226, + 0, + 320, + 226, + 0, + 320, + 226, + 0, + 320, + 226, + 0, + 320, + 226, + 1, + 320, + 226, + 1, + 320, + 226, + 2, + 320, + 226, + 2, + 320, + 226, + 3, + 320, + 226, + 3, + 320, + 226, + 4, + 320, + 226, + 4, + 0, +}; + +uint16 inner_reich_open[] = { + 85*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 12, + 0, +}; + +uint16 rs_magazine[] = { + C_SCREEN, + 424, + 65535, +}; + +uint32 grid22[0]; + +uint16 remove_pillow[] = { + 196*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 4, + 0, +}; + +uint16 s22_floor_table[] = { + ID_S22_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S22_START_ON, + ID_RIGHT_EXIT_22, + GT_RIGHT_EXIT_22, + ID_LAMB_BED, + GT_LAMB_BED, + ID_LAMB_TV, + GT_LAMB_TV, + ID_FISH_TANK, + GT_FISH_TANK, + ID_FISH_POSTER, + GT_FISH_TANK, + ID_PILLOW, + GT_PILLOW, + ID_MAGAZINE, + GT_MAGAZINE, + ID_REICH_CHAIR, + GT_REICH_CHAIR, + ID_CABINET, + GT_CABINET, + ID_CERT, + GT_CERT, + ID_REICH_PICTURE, + GT_REICH_PICTURE, + ID_FISH_FOOD, + GT_FISH_FOOD, + 65535, +}; + +Compact pillow = { + L_SCRIPT, // logic + ST_MOUSE+ST_SORT+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 324, // xcood + 244, // ycood + 196*64, // frame + 12734, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 7, // mouseRel_x + 0, // mouseRel_y + 26, // mouseSize_x + 16, // mouseSize_y + PILLOW_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + PILLOW_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 inner_reich_close[] = { + 85*64, + 1, + 1, + 11, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact lamb_bed = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 283, // xcood + 251, // ycood + 0, // frame + 12731, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 365-283, // mouseSize_x + 275-251, // mouseSize_y + BED_ACTION, // actionScript +}; + +uint16 replace_pillow[] = { + 196*64, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 get_magazine_seq[] = { + 200*64, + 273, + 218, + 0, + 273, + 218, + 1, + 273, + 218, + 2, + 273, + 218, + 3, + 273, + 218, + 3, + 273, + 218, + 3, + 273, + 218, + 2, + 273, + 218, + 1, + 273, + 218, + 0, + 0, +}; + +uint16 tank3_seq[] = { + 92*64, + 245, + 238, + 0, + 245, + 238, + 1, + 245, + 238, + 2, + 245, + 238, + 3, + 245, + 238, + 4, + 245, + 238, + 5, + 245, + 238, + 6, + 245, + 238, + 7, + 245, + 238, + 8, + 245, + 238, + 9, + 245, + 238, + 10, + 245, + 238, + 11, + 245, + 238, + 12, + 245, + 238, + 13, + 245, + 238, + 14, + 245, + 238, + 15, + 245, + 238, + 16, + 245, + 238, + 17, + 245, + 238, + 18, + 245, + 238, + 19, + 0, +}; + +uint16 tank2_seq[] = { + 91*64, + 245, + 238, + 0, + 245, + 238, + 1, + 245, + 238, + 2, + 245, + 238, + 3, + 245, + 238, + 4, + 245, + 238, + 5, + 245, + 238, + 6, + 245, + 238, + 7, + 245, + 238, + 8, + 245, + 238, + 4, + 245, + 238, + 9, + 245, + 238, + 6, + 245, + 238, + 7, + 245, + 238, + 10, + 245, + 238, + 11, + 245, + 238, + 12, + 245, + 238, + 13, + 245, + 238, + 14, + 245, + 238, + 15, + 245, + 238, + 16, + 245, + 238, + 17, + 245, + 238, + 18, + 245, + 238, + 19, + 245, + 238, + 20, + 245, + 238, + 21, + 245, + 238, + 22, + 245, + 238, + 23, + 245, + 238, + 24, + 245, + 238, + 25, + 245, + 238, + 26, + 0, +}; + +Compact s22_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 22, // screen + 0, // place + s22_floor_table, // getToTable + 128, // xcood + 240, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 4242, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact right_exit_22 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 393, // xcood + 249, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 402-393, // mouseSize_x + 313-249, // mouseSize_y + ER22_ACTION, // actionScript +}; + +Compact reich_chair = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 221, // xcood + 287, // ycood + 0, // frame + 12752, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 240-221, // mouseSize_x + 314-287, // mouseSize_y + REICH_CHAIR_ACTION, // actionScript +}; + +uint16 s22_mouse[] = { + ID_JOEY, + ID_INNER_R_DOOR, + ID_RIGHT_EXIT_22, + ID_MAGAZINE, + ID_PILLOW, + ID_LAMB_BED, + ID_LAMB_TV, + ID_FISH_TANK, + ID_FISH_POSTER, + ID_REICH_CHAIR, + ID_CABINET, + ID_CERT, + ID_REICH_PICTURE, + ID_FISH_FOOD, + ID_S22_FLOOR, + ID_FAKE_FLOOR_22, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact fish_tank = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 245, // xcood + 238, // ycood + 199*64, // frame + 12738, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 65533, // mouseRel_y + 264-242, // mouseSize_x + 258-235, // mouseSize_y + FISH_TANK_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + FISH_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact fake_floor_22 = { + 0, // logic + 0, // status + 0, // sync + 22, // screen + 0, // place + s22_floor_table, // getToTable + 128, // xcood + 136, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 4242, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 s22_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 187+DISK_9, + 188+DISK_9, + 189+DISK_9, + 190+DISK_9, + 191+DISK_9, + 0, +}; + +uint16 s22_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_FISH_TANK, + ID_MAGAZINE, + ID_PILLOW, + ID_INNER_R_DOOR, + ID_LAMB, + ID_LAMB_DOOR_20, + ID_INNER_LAMB_DOOR, + ID_GALLAGER_BEL, + ID_LIFT_29, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 s22_chip_list[] = { + 196+DISK_9, + 197+DISK_9, + 198+DISK_9, + 199+DISK_9, + 91+DISK_9, + 92+DISK_9, + 200+DISK_9, + 85+DISK_9, + 0, +}; + +Compact magazine = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 340, // xcood + 249, // ycood + 198*64, // frame + 163, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 26, // mouseSize_x + 16, // mouseSize_y + MAGAZINE_ACTION, // actionScript +}; + +uint16 fish_seq[] = { + 199*64, + 245, + 238, + 0, + 245, + 238, + 1, + 245, + 238, + 2, + 245, + 238, + 3, + 245, + 238, + 4, + 245, + 238, + 5, + 245, + 238, + 6, + 245, + 238, + 7, + 245, + 238, + 8, + 245, + 238, + 9, + 245, + 238, + 10, + 245, + 238, + 11, + 245, + 238, + 12, + 245, + 238, + 13, + 245, + 238, + 14, + 245, + 238, + 15, + 245, + 238, + 16, + 245, + 238, + 17, + 245, + 238, + 18, + 245, + 238, + 19, + 245, + 238, + 20, + 245, + 238, + 21, + 245, + 238, + 22, + 245, + 238, + 23, + 245, + 238, + 24, + 245, + 238, + 25, + 245, + 238, + 26, + 245, + 238, + 27, + 245, + 238, + 28, + 245, + 238, + 29, + 245, + 238, + 30, + 245, + 238, + 31, + 245, + 238, + 32, + 245, + 238, + 33, + 245, + 238, + 34, + 245, + 238, + 35, + 245, + 238, + 36, + 245, + 238, + 37, + 245, + 238, + 38, + 245, + 238, + 39, + 0, +}; + +Compact cert = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 310, // xcood + 215, // ycood + 0, // frame + 12746, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 325-310, // mouseSize_x + 224-215, // mouseSize_y + CERT_ACTION, // actionScript +}; + +uint16 s22_pal[] = { + 0, + 0, + 0, + 7, + 768, + 0, + 9, + 1024, + 259, + 266, + 2048, + 514, + 526, + 2560, + 4, + 1032, + 1540, + 1030, + 1037, + 4608, + 257, + 1292, + 4353, + 4, + 785, + 2307, + 1799, + 1806, + 5633, + 258, + 2316, + 5381, + 6, + 2061, + 4616, + 9, + 1050, + 4098, + 1034, + 2576, + 5130, + 522, + 2835, + 6149, + 9, + 3341, + 7435, + 1030, + 2073, + 5638, + 1292, + 3601, + 6921, + 1035, + 3601, + 3342, + 2067, + 4367, + 6412, + 526, + 3353, + 5385, + 3343, + 4121, + 7430, + 2061, + 4631, + 7434, + 1296, + 6414, + 8458, + 783, + 5393, + 6929, + 2833, + 5141, + 3854, + 3609, + 4129, + 7943, + 3088, + 5397, + 7698, + 2067, + 5147, + 6414, + 4628, + 5912, + 8717, + 2579, + 5155, + 7685, + 2838, + 6929, + 5909, + 5400, + 5915, + 4884, + 4637, + 6177, + 4873, + 3616, + 5669, + 7945, + 3864, + 7195, + 8975, + 3352, + 6684, + 10008, + 3096, + 8725, + 8467, + 3101, + 6691, + 6673, + 4385, + 8470, + 8473, + 5659, + 7710, + 7957, + 6684, + 7206, + 10767, + 2843, + 9240, + 9750, + 4892, + 7716, + 8471, + 7199, + 7721, + 9745, + 4896, + 10009, + 10009, + 2339, + 8235, + 8205, + 8226, + 9758, + 9496, + 6689, + 7980, + 10260, + 5922, + 10012, + 10783, + 4643, + 9005, + 11279, + 6177, + 9252, + 10017, + 7205, + 11038, + 10525, + 5415, + 9263, + 11032, + 7717, + 10023, + 12576, + 4902, + 11553, + 11552, + 6951, + 10026, + 11812, + 8486, + 10033, + 12314, + 7720, + 10797, + 10532, + 10028, + 10803, + 12572, + 8746, + 11571, + 11296, + 10798, + 11314, + 12070, + 11312, + 12339, + 12841, + 12081, + 13364, + 13356, + 12596, + 0, + 3840, + 3089, + 5393, + 5393, + 3604, + 5397, + 6162, + 3351, + 6929, + 5909, + 5400, + 7443, + 7186, + 6170, + 8470, + 7705, + 5406, + 10009, + 7193, + 7975, + 11038, + 8477, + 8237, + 0, + 4096, + 2570, + 3601, + 4361, + 3598, + 3861, + 5389, + 3604, + 5145, + 6930, + 5143, + 6175, + 7183, + 6170, + 6945, + 8470, + 7199, + 8485, + 10010, + 7205, + 9515, + 10014, + 8231, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 15360, + 13621, + 12856, + 13106, + 11309, + 9773, + 9253, + 7710, + 5916, + 5143, + 4112, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact cabinet = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 312, // xcood + 239, // ycood + 0, // frame + 12749, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 340-312, // mouseSize_x + 248-239, // mouseSize_y + CABINET_ACTION, // actionScript +}; + +Compact lamb_tv = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 203, // xcood + 223, // ycood + 0, // frame + 57, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 225-203, // mouseSize_x + 251-223, // mouseSize_y + LAMB_TV_ACTION, // actionScript +}; + +Compact fish_food = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 179, // xcood + 236, // ycood + 0, // frame + 12668, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 192-179, // mouseSize_x + 289-236, // mouseSize_y + FISH_FOOD_ACTION, // actionScript +}; + +Compact fish_poster = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 22, // screen + 0, // place + 0, // getToTable + 232, // xcood + 193, // ycood + 0, // frame + 12741, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 248-232, // mouseSize_x + 232-193, // mouseSize_y + FISH_POSTER_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/23comp.h b/sky/compacts/23comp.h new file mode 100644 index 00000000000..28a2816db56 --- /dev/null +++ b/sky/compacts/23comp.h @@ -0,0 +1,701 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY23COMP_H +#define SKY23COMP_H + + + + +namespace SkyCompact { + +uint32 grid23[0]; + +Compact link_23 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 23, // screen + 0, // place + 0, // getToTable + 191, // xcood + 236, // ycood + 0, // frame + 51, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 212-191, // mouseSize_x + 276-236, // mouseSize_y + LINK_23_ACTION, // actionScript +}; + +uint16 s23_chip_list[] = { + 136+DISK_8, + 137+DISK_8, + 21+DISK_8, + 22+DISK_8, + 24+DISK_8, + 23+DISK_8, + 25+DISK_8, + 0, +}; + +Compact sculpture = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 23, // screen + 0, // place + 0, // getToTable + 274, // xcood + 235, // ycood + 0, // frame + 12755, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 309-274, // mouseSize_x + 278-235, // mouseSize_y + SCULPTURE_ACTION, // actionScript +}; + +Compact wreck_23 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 23, // screen + 0, // place + 0, // getToTable + 322, // xcood + 310, // ycood + 0, // frame + 12763, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 4242, // mouseSize_x + 4242, // mouseSize_y + WRECK_23_ACTION, // actionScript +}; + +Compact anchor_exit_23 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 23, // screen + 0, // place + 0, // getToTable + 393, // xcood + 219, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 12, // mouseSize_x + 299-219, // mouseSize_y + ANCHOR23_ACTION, // actionScript +}; + +Compact bin_23 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 23, // screen + 0, // place + 0, // getToTable + 127, // xcood + 300, // ycood + 0, // frame + 12757, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 155-127, // mouseSize_x + 4242, // mouseSize_y + BIN_23_ACTION, // actionScript +}; + +uint16 s23_pal[] = { + 0, + 768, + 0, + 514, + 1538, + 1, + 517, + 1794, + 771, + 778, + 1281, + 2053, + 1288, + 3590, + 260, + 1291, + 2564, + 2055, + 1297, + 3587, + 1031, + 2313, + 2313, + 3081, + 1806, + 5383, + 518, + 2320, + 2566, + 3851, + 2829, + 5645, + 1033, + 2831, + 4363, + 2315, + 2835, + 5382, + 2061, + 3854, + 4879, + 2829, + 3598, + 6930, + 1035, + 3857, + 6417, + 2062, + 3607, + 9483, + 1033, + 3612, + 5894, + 3600, + 4372, + 8721, + 1291, + 4624, + 6423, + 2577, + 4123, + 5133, + 5140, + 4887, + 7952, + 2065, + 3874, + 7177, + 2323, + 5144, + 11284, + 1291, + 4639, + 10764, + 1805, + 5402, + 5648, + 5909, + 5651, + 7450, + 3859, + 5148, + 9491, + 2577, + 4898, + 8202, + 3605, + 5917, + 11536, + 2063, + 5156, + 9997, + 2067, + 5914, + 7189, + 6168, + 6425, + 9499, + 2583, + 6432, + 6160, + 7962, + 4655, + 8713, + 5144, + 5673, + 9738, + 3607, + 6181, + 10258, + 2074, + 6692, + 7695, + 6682, + 6944, + 10773, + 3352, + 5424, + 8715, + 6426, + 7451, + 9760, + 4380, + 7201, + 8988, + 5405, + 6701, + 11275, + 3866, + 7208, + 9748, + 6172, + 6194, + 12557, + 4633, + 7726, + 9223, + 7454, + 6960, + 11021, + 4637, + 7976, + 11794, + 3869, + 7467, + 9750, + 6944, + 8489, + 12821, + 2079, + 8239, + 11281, + 5921, + 8744, + 12573, + 3618, + 8242, + 9747, + 8228, + 9006, + 11796, + 6180, + 9523, + 11020, + 6949, + 9009, + 10518, + 8742, + 9266, + 13082, + 5158, + 10032, + 10775, + 9512, + 9781, + 13079, + 6440, + 10543, + 11552, + 9770, + 10804, + 11548, + 10540, + 11318, + 13086, + 8749, + 11824, + 12841, + 11056, + 12343, + 13350, + 11570, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 s23_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_TREVOR, + ID_LAMB, + ID_LAMB_DOOR_20, + ID_INNER_LAMB_DOOR, + ID_LIFT_29, + ID_GALLAGER_BEL, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 s23_mouse[] = { + ID_JOEY, + ID_LEFT_EXIT_23, + ID_SMALL_23, + ID_ANCHOR_EXIT_23, + ID_TRAVEL_EXIT_23, + ID_BIN_23, + ID_SCULPTURE, + ID_LINK_23, + ID_WRECK_23, + ID_S23_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact small_exit_23 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 23, // screen + 0, // place + 0, // getToTable + 217, // xcood + 190, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 227-217, // mouseSize_x + 250-190, // mouseSize_y + SML_EXIT_S23_ACTION, // actionScript +}; + +Compact travel_exit_23 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 23, // screen + 0, // place + 0, // getToTable + 315, // xcood + 189, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_UP_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 342-315, // mouseSize_x + 246-189, // mouseSize_y + TRAVEL_23_ACTION, // actionScript +}; + +uint16 s23_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 0, +}; + +Compact left_exit_23 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 23, // screen + 0, // place + 0, // getToTable + 150, // xcood + 226, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 10, // mouseSize_x + 288-226, // mouseSize_y + EL23_ACTION, // actionScript +}; + +uint16 s23_floor_table[] = { + ID_S23_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S23_LEFT_ON, + 1, + S23_ANCHOR_ON, + 3, + S23_TRAVEL_ON, + ID_LEFT_EXIT_23, + GT_LEFT_EXIT_23, + ID_ANCHOR_EXIT_23, + GT_ANCHOR_EXIT_23, + ID_TRAVEL_EXIT_23, + GT_TRAVEL_EXIT_23, + ID_BIN_23, + GT_BIN_23, + ID_SCULPTURE, + GT_SCULPTURE, + ID_LINK_23, + GT_LINK_23, + ID_WRECK_23, + GT_WRECK_23, + ID_SMALL_23, + GT_SMALL_23, + 65535, +}; + +Compact s23_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 23, // screen + 0, // place + s23_floor_table, // getToTable + 128, // xcood + 240, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 1000, // mouseSize_x + 1000, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 rs_foster_29_23[] = { + C_XCOOD, + 136, + C_YCOOD, + 280, + C_SCREEN, + 23, + C_PLACE, + ID_S23_FLOOR, + 65535, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/24comp.h b/sky/compacts/24comp.h new file mode 100644 index 00000000000..23e9f6856a4 --- /dev/null +++ b/sky/compacts/24comp.h @@ -0,0 +1,1244 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY24COMP_H +#define SKY24COMP_H + + + + +namespace SkyCompact { + +uint16 give_mag_seq[] = { + 70*64, + 131, + 226, + 0, + 131, + 226, + 0, + 131, + 226, + 0, + 131, + 226, + 1, + 131, + 226, + 2, + 131, + 226, + 2, + 131, + 226, + 2, + 131, + 226, + 3, + 131, + 226, + 4, + 0, +}; + +uint16 trev_read_mag[] = { + 64*64, + 351, + 239, + 0, + 351, + 239, + 0, + 351, + 239, + 0, + 351, + 239, + 0, + 351, + 239, + 1, + 351, + 239, + 1, + 351, + 239, + 1, + 351, + 239, + 1, + 351, + 239, + 0, + 0, +}; + +uint16 s24_floor_table[] = { + ID_S24_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S24_LEFT_ON, + ID_LEFT_EXIT_24, + GT_LEFT_EXIT_24, + ID_LONDON_POSTER, + GT_LONDON_POSTER, + ID_NEW_YORK, + GT_NEW_YORK, + ID_MURAL, + GT_MURAL, + ID_PIDGEONS, + GT_PIDGEONS, + ID_TREVOR, + GT_TREVOR, + ID_TICKET, + GT_TICKET, + ID_GLOBE, + GT_GLOBE, + 65535, +}; + +Compact s24_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 24, // screen + 0, // place + s24_floor_table, // getToTable + 128, // xcood + 272, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 4242, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 mag_away[] = { + 66*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 0, +}; + +uint32 grid24[0]; + +Compact left_exit_24 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 24, // screen + 0, // place + 0, // getToTable + 175, // xcood + 247, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 196-175, // mouseSize_x + 308-247, // mouseSize_y + EL24_ACTION, // actionScript +}; + +Compact mural = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 24, // screen + 0, // place + 0, // getToTable + 244, // xcood + 159, // ycood + 0, // frame + 12767, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 383-244, // mouseSize_x + 238-159, // mouseSize_y + MURAL_ACTION, // actionScript +}; + +uint16 trevor_relax[] = { + 61*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 0, +}; + +uint16 rs_foster_23_24[] = { + C_XCOOD, + 160, + C_YCOOD, + 296, + C_SCREEN, + 24, + C_PLACE, + ID_S24_FLOOR, + 65535, +}; + +uint16 s24_mouse[] = { + ID_JOEY, + ID_LEFT_EXIT_24, + ID_LONDON_POSTER, + ID_NEW_YORK, + ID_PIDGEONS, + ID_MURAL, + ID_TREVOR, + ID_TICKET, + ID_GLOBE, + ID_S24_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 trevor_unrelax[] = { + 61*64, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact pidgeons = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 24, // screen + 0, // place + 0, // getToTable + 246, // xcood + 232, // ycood + 0, // frame + 12772, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 291-246, // mouseSize_x + 275-232, // mouseSize_y + PIDGEONS_ACTION, // actionScript +}; + +uint16 trev_get_mag[] = { + 63*64, + 351, + 239, + 0, + 351, + 239, + 0, + 351, + 239, + 1, + 351, + 239, + 2, + 351, + 239, + 3, + 351, + 239, + 3, + 351, + 239, + 3, + 351, + 239, + 4, + 351, + 239, + 5, + 351, + 239, + 6, + 0, +}; + +uint16 s24_chip_list[] = { + 136+DISK_8, + 137+DISK_8, + 61+DISK_8, + 62+DISK_8, + 63+DISK_8, + 64+DISK_8, + 65+DISK_8, + 66+DISK_8, + 67+DISK_8, + 68+DISK_8, + 69+DISK_8, + 70+DISK_8, + 72+DISK_8, + 74+DISK_8, + 71+DISK_8, + 75+DISK_8, + 29+DISK_8, + 30+DISK_8, + 31+DISK_8, + 0, +}; + +uint16 rs_foster_24_23[] = { + C_XCOOD, + 328, + C_YCOOD, + 240, + C_SCREEN, + 23, + C_PLACE, + ID_S23_FLOOR, + 65535, +}; + +uint16 mag_back_seq[] = { + 69*64, + 253, + 226, + 0, + 253, + 226, + 1, + 253, + 226, + 2, + 253, + 226, + 3, + 253, + 226, + 3, + 253, + 226, + 3, + 253, + 226, + 3, + 253, + 226, + 4, + 253, + 226, + 5, + 253, + 226, + 6, + 253, + 226, + 6, + 253, + 226, + 7, + 0, +}; + +uint16 push_globe[] = { + 75*64, + 265, + 193, + 0, + 265, + 193, + 1, + 265, + 193, + 2, + 265, + 193, + 2, + 265, + 193, + 1, + 265, + 193, + 0, + 0, +}; + +uint16 s24_pal[] = { + 0, + 0, + 0, + 5, + 512, + 2, + 773, + 2560, + 1, + 512, + 1040, + 518, + 525, + 2049, + 1029, + 769, + 2069, + 1798, + 1291, + 4099, + 5, + 1540, + 2838, + 1288, + 2054, + 4882, + 772, + 2825, + 1796, + 2826, + 2314, + 1807, + 5897, + 2577, + 4098, + 2057, + 1306, + 5121, + 1288, + 3594, + 5638, + 264, + 3601, + 2821, + 3088, + 1566, + 6659, + 266, + 3346, + 3850, + 3342, + 2840, + 3590, + 2322, + 2082, + 5378, + 1807, + 3352, + 3338, + 4114, + 4108, + 7962, + 1290, + 3356, + 3844, + 5138, + 3616, + 6145, + 3089, + 5137, + 9232, + 1291, + 4371, + 7702, + 1808, + 5398, + 8713, + 1296, + 4880, + 4382, + 5909, + 4633, + 4625, + 4887, + 3622, + 6920, + 3348, + 4895, + 5386, + 4121, + 5654, + 8984, + 2067, + 5651, + 9759, + 2834, + 5911, + 10525, + 533, + 5919, + 5134, + 8474, + 5666, + 6161, + 6427, + 6429, + 9752, + 2327, + 5415, + 9230, + 3352, + 7191, + 8222, + 5147, + 6445, + 10498, + 3097, + 7448, + 6947, + 8220, + 6691, + 11031, + 4120, + 7454, + 11035, + 2075, + 7460, + 10258, + 3868, + 7713, + 6936, + 8736, + 6446, + 8979, + 7454, + 7211, + 12053, + 544, + 7976, + 11028, + 4127, + 8736, + 11810, + 3105, + 8233, + 12313, + 1570, + 7982, + 11028, + 5410, + 8999, + 8476, + 10020, + 8494, + 8984, + 8997, + 8753, + 11029, + 7716, + 9521, + 12559, + 6946, + 10275, + 10023, + 9512, + 9777, + 11801, + 7207, + 10030, + 9761, + 10794, + 9779, + 13085, + 5674, + 10801, + 12829, + 8745, + 11052, + 10536, + 11053, + 11572, + 12831, + 9261, + 12332, + 13100, + 10032, + 12592, + 12586, + 11827, + 12853, + 13355, + 12853, + 0, + 0, + 4098, + 1540, + 1538, + 4616, + 2825, + 1796, + 2826, + 2314, + 4367, + 1294, + 3599, + 6157, + 3089, + 4371, + 5654, + 2325, + 4880, + 7966, + 3607, + 7454, + 9499, + 9765, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 15167, + 15163, + 15163, + 15163, + 15163, + 15163, + 13883, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 joey_list_s24[] = { + 224, + 344, + 280, + 320, + 1, + 293, + 361, + 264, + 294, + 0, + 0, +}; + +uint16 mag_out[] = { + 66*64, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 trev_turn_page[] = { + 65*64, + 351, + 239, + 0, + 351, + 239, + 1, + 351, + 239, + 2, + 351, + 239, + 2, + 351, + 239, + 2, + 351, + 239, + 1, + 351, + 239, + 0, + 0, +}; + +ExtCompact trevor_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_TREVOR, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact trevor = { + L_SCRIPT, // logic + ST_RECREATE+ST_LOGIC+ST_MOUSE+ST_BACKGROUND, // status + 0, // sync + 24, // screen + 0, // place + 0, // getToTable + 351, // xcood + 239, // ycood + 62*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 16, // mouseRel_x + 0, // mouseRel_y + 297-271, // mouseSize_x + 256-233, // mouseSize_y + TREVOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + TREVOR_LOGIC, // baseSub + 0, // baseSub_off + &trevor_ext, +}; + +Compact ticket = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 24, // screen + 0, // place + 0, // getToTable + 324, // xcood + 244, // ycood + 0, // frame + 189, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 5, // mouseSize_y + TICKET_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + TICKET_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact new_york_poster = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 24, // screen + 0, // place + 0, // getToTable + 162, // xcood + 166, // ycood + 0, // frame + 12741, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 200-162, // mouseSize_x + 245-166, // mouseSize_y + NEW_YORK_ACTION, // actionScript +}; + +Compact london_poster = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 24, // screen + 0, // place + 0, // getToTable + 207, // xcood + 166, // ycood + 0, // frame + 12741, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 237-207, // mouseSize_x + 226-166, // mouseSize_y + LONDON_ACTION, // actionScript +}; + +uint16 get_ticket[] = { + 72*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + SEND_SYNC, + ID_TICKET, + 1, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 s24_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_TREVOR, + ID_TICKET, + ID_GLOBE, + ID_LAMB, + ID_LAMB_DOOR_20, + ID_INNER_LAMB_DOOR, + ID_LIFT_29, + ID_GALLAGER_BEL, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 globe_spin[] = { + 71*64, + 274, + 275, + 0, + 274, + 275, + 1, + 274, + 275, + 2, + 274, + 275, + 3, + 274, + 275, + 4, + 274, + 275, + 5, + 274, + 275, + 6, + 274, + 275, + 7, + 274, + 275, + 8, + 274, + 275, + 9, + 274, + 275, + 10, + 274, + 275, + 11, + 274, + 275, + 12, + 274, + 275, + 13, + 274, + 275, + 14, + 274, + 275, + 15, + 274, + 275, + 16, + 274, + 275, + 17, + 274, + 275, + 0, + 274, + 275, + 0, + 0, +}; + +uint16 ticket_seq[] = { + 74*64, + 352, + 254, + 0, + 352, + 254, + 1, + 352, + 254, + 2, + 352, + 254, + 3, + 352, + 254, + 4, + 352, + 254, + 5, + 352, + 254, + 6, + 0, +}; + +Compact globe = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 24, // screen + 0, // place + 0, // getToTable + 274, // xcood + 275, // ycood + 0, // frame + 12769, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 311-274, // mouseSize_x + 312-275, // mouseSize_y + GLOBE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + GLOBE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 trevor_scratch[] = { + 62*64, + 351, + 239, + 0, + 351, + 239, + 1, + 351, + 239, + 2, + 351, + 239, + 3, + 351, + 239, + 4, + 351, + 239, + 3, + 351, + 239, + 4, + 351, + 239, + 3, + 351, + 239, + 4, + 351, + 239, + 3, + 351, + 239, + 4, + 351, + 239, + 2, + 351, + 239, + 1, + 351, + 239, + 0, + 0, +}; + +uint16 s24_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/25comp.h b/sky/compacts/25comp.h new file mode 100644 index 00000000000..773895c7e1d --- /dev/null +++ b/sky/compacts/25comp.h @@ -0,0 +1,1071 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY25COMP_H +#define SKY25COMP_H + + + + +namespace SkyCompact { + +Compact sales_chart = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 25, // screen + 0, // place + 0, // getToTable + 273, // xcood + 185, // ycood + 0, // frame + 12778, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 346-273, // mouseSize_x + 220-185, // mouseSize_y + SALES_CHART_ACTION, // actionScript +}; + +uint16 hook_seq[] = { + 48*64, + 359, + 237, + 0, + 359, + 244, + 0, + 359, + 253, + 0, + 359, + 263, + 0, + 359, + 274, + 0, + 359, + 282, + 1, + 359, + 294, + 2, + 0, +}; + +uint16 s25_pal[] = { + 0, + 1792, + 1543, + 2318, + 4103, + 1289, + 2828, + 4619, + 1546, + 2832, + 3593, + 3341, + 2838, + 4871, + 2061, + 3855, + 5390, + 2829, + 4114, + 5902, + 2063, + 4118, + 6666, + 2062, + 4370, + 6930, + 2320, + 4378, + 6157, + 3602, + 4884, + 6932, + 2834, + 4639, + 5643, + 5142, + 5654, + 8214, + 3604, + 5661, + 6927, + 4886, + 5403, + 6939, + 7700, + 5667, + 8461, + 4374, + 6681, + 7449, + 8469, + 6180, + 7952, + 5657, + 6683, + 10012, + 3608, + 7196, + 7961, + 8983, + 6439, + 9234, + 5147, + 7709, + 7452, + 9499, + 6698, + 10000, + 5149, + 7967, + 10271, + 6427, + 7716, + 9496, + 9753, + 7459, + 10782, + 4637, + 7712, + 8742, + 10268, + 7976, + 9495, + 6944, + 8481, + 11041, + 5407, + 7461, + 9002, + 7971, + 8236, + 10522, + 10781, + 8494, + 10005, + 8993, + 9508, + 8738, + 12578, + 8749, + 10781, + 7460, + 9509, + 10790, + 11296, + 9008, + 11031, + 10273, + 9766, + 9510, + 11301, + 9261, + 11296, + 11810, + 10023, + 11048, + 9255, + 10032, + 10522, + 9769, + 10021, + 11061, + 11558, + 10035, + 12316, + 10533, + 10280, + 11824, + 12324, + 10289, + 12320, + 9767, + 10794, + 10026, + 14121, + 10804, + 12318, + 12838, + 11057, + 11298, + 10541, + 10290, + 13357, + 10026, + 11567, + 11307, + 13356, + 11318, + 14368, + 9517, + 12335, + 13613, + 9775, + 12078, + 13110, + 11312, + 11829, + 12592, + 12338, + 12600, + 12070, + 14641, + 13108, + 12846, + 14130, + 13113, + 13353, + 12852, + 12600, + 12596, + 15155, + 13623, + 14895, + 11317, + 13370, + 15413, + 12085, + 13624, + 14648, + 12599, + 14133, + 15419, + 14134, + 14393, + 15931, + 12345, + 14397, + 15419, + 15675, + 15422, + 16186, + 15933, + 0, + 1792, + 1543, + 2318, + 4103, + 1289, + 2828, + 4619, + 1546, + 2832, + 3593, + 3341, + 2838, + 4871, + 2061, + 3855, + 5390, + 2829, + 4114, + 5902, + 2063, + 4118, + 6666, + 2062, + 0, + 3072, + 2827, + 3855, + 4622, + 4625, + 4632, + 5134, + 5139, + 5654, + 7444, + 3862, + 6681, + 7961, + 5657, + 7709, + 8476, + 8481, + 9508, + 11298, + 10541, + 12849, + 14384, + 14389, + 63, + 16128, + 5140, + 10559, + 16169, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 15676, + 11583, + 16180, + 11806, + 4159, + 16170, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact statue_25 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 25, // screen + 0, // place + 0, // getToTable + 363, // xcood + 238, // ycood + 0, // frame + 12775, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 424-363, // mouseSize_x + 313-238, // mouseSize_y + STATUE_25_ACTION, // actionScript +}; + +Compact anchor_exit_25 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 25, // screen + 0, // place + 0, // getToTable + 185, // xcood + 244, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 203-185, // mouseSize_x + 309-244, // mouseSize_y + ANCHOR25_ACTION, // actionScript +}; + +uint16 spark_25_seq[] = { + 56*64, + 348, + 239, + 0, + 348, + 239, + 1, + 348, + 239, + 2, + 348, + 239, + 3, + 0, +}; + +uint16 rs_foster_23_25[] = { + C_XCOOD, + 160, + C_YCOOD, + 304, + C_SCREEN, + 25, + C_PLACE, + ID_S25_FLOOR, + 65535, +}; + +ExtCompact anchor_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_ANCHOR, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact anchor = { + L_SCRIPT, // logic + ST_RECREATE+ST_LOGIC+ST_MOUSE+ST_BACKGROUND, // status + 0, // sync + 25, // screen + 0, // place + 0, // getToTable + 258, // xcood + 233, // ycood + 43*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 16, // mouseRel_x + 0, // mouseRel_y + 297-271, // mouseSize_x + 256-233, // mouseSize_y + ANCHOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + ANCHOR_LOGIC, // baseSub + 0, // baseSub_off + &anchor_ext, +}; + +uint16 s25_chip_list[] = { + 136+DISK_8, + 137+DISK_8, + 43+DISK_8, + 44+DISK_8, + 45+DISK_8, + 46+DISK_8, + 47+DISK_8, + 48+DISK_8, + 55+DISK_8, + 56+DISK_8, + 57+DISK_8, + 58+DISK_8, + 59+DISK_8, + 60+DISK_8, + 26+DISK_8, + 27+DISK_8, + 28+DISK_8, + 0, +}; + +uint16 lazer_25_seq[] = { + 55*64, + 344, + 244, + 0, + 344, + 244, + 1, + 0, +}; + +uint16 s25_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 0, +}; + +uint32 grid25[0]; + +uint16 anchor_leave_seq[] = { + 45*64, + 280, + 233, + 0, + 279, + 226, + 1, + 280, + 226, + 2, + 278, + 227, + 3, + 277, + 226, + 4, + 273, + 226, + 5, + 270, + 226, + 6, + 264, + 227, + 7, + 263, + 226, + 6, + 259, + 226, + 5, + 255, + 226, + 8, + 252, + 226, + 9, + 253, + 225, + 10, + 253, + 224, + 11, + 253, + 223, + 12, + 253, + 223, + 13, + 253, + 223, + 14, + 252, + 223, + 15, + 252, + 223, + 15, + 252, + 223, + 15, + 252, + 223, + 15, + 252, + 223, + 15, + 0, +}; + +uint16 joey_list_s25[] = { + 156, + 360, + 296, + 304, + 1, + 0, +}; + +uint16 rs_foster_25_23[] = { + C_XCOOD, + 432, + C_YCOOD, + 288, + C_SCREEN, + 23, + C_PLACE, + ID_S23_FLOOR, + 65535, +}; + +uint16 s25_mouse[] = { + ID_JOEY, + ID_ANCHOR_EXIT_25, + ID_ANCHOR, + ID_HOOK, + ID_STATUE_25, + ID_SALES_CHART, + ID_S25_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 s25_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_ANCHOR, + ID_HOOK, + ID_LAZER_25, + ID_SPARK_25, + ID_LAMB, + ID_LAMB_DOOR_20, + ID_GALLAGER_BEL, + ID_INNER_LAMB_DOOR, + ID_LIFT_29, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 anchor_seq[] = { + 43*64, + 258, + 233, + 0, + 258, + 233, + 0, + 258, + 233, + 0, + 258, + 233, + 0, + 258, + 233, + 1, + 258, + 233, + 1, + 258, + 233, + 2, + 258, + 233, + 2, + 258, + 233, + 3, + 258, + 233, + 3, + 258, + 233, + 4, + 258, + 233, + 4, + 258, + 233, + 4, + 258, + 233, + 4, + 258, + 233, + 4, + 258, + 233, + 4, + 258, + 233, + 5, + 258, + 233, + 5, + 258, + 233, + 6, + 258, + 233, + 6, + 258, + 233, + 7, + 258, + 233, + 7, + 258, + 233, + 8, + 258, + 233, + 8, + 258, + 233, + 0, + 0, +}; + +uint16 anchor_return_seq[] = { + 46*64, + 252, + 223, + 0, + 252, + 223, + 1, + 252, + 223, + 2, + 252, + 224, + 3, + 252, + 226, + 4, + 254, + 226, + 5, + 257, + 227, + 6, + 264, + 226, + 7, + 269, + 226, + 8, + 272, + 226, + 9, + 272, + 227, + 10, + 279, + 226, + 9, + 283, + 226, + 8, + 278, + 226, + 5, + 279, + 226, + 11, + 280, + 233, + 12, + 280, + 233, + 12, + 280, + 233, + 12, + 280, + 233, + 12, + 0, +}; + +Compact hook = { + L_SCRIPT, // logic + ST_FOREGROUND+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 25, // screen + 0, // place + 0, // getToTable + 359, // xcood + 237, // ycood + 48*64, // frame + 191, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 10, // mouseSize_x + 10, // mouseSize_y + HOOK_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + HOOK_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact spark_25 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 25, // screen + 0, // place + 0, // getToTable + 348, // xcood + 239, // ycood + 56*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + SPARK_25_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact lazer_25 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 25, // screen + 0, // place + 0, // getToTable + 344, // xcood + 244, // ycood + 55*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LAZER_25_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s25_floor_table[] = { + ID_S25_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S25_LEFT_ON, + ID_ANCHOR_EXIT_25, + GT_ANCHOR_EXIT_25, + ID_ANCHOR, + GT_ANCHOR, + ID_ANCHOR_PC, + GT_ANCHOR_PC, + ID_STATUE_25, + GT_STATUE_25, + ID_HOOK, + GT_HOOK, + ID_SALES_CHART, + GT_SALES_CHART, + 65535, +}; + +uint16 get_anchor_seq[] = { + 58*64, + 341, + 264, + 0, + 341, + 264, + 1, + 341, + 264, + 2, + 341, + 264, + 3, + 341, + 264, + 3, + 341, + 264, + 3, + 341, + 264, + 3, + 341, + 264, + 4, + 341, + 264, + 5, + 0, +}; + +Compact s25_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 25, // screen + 0, // place + s25_floor_table, // getToTable + 128, // xcood + 272, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 4242, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/26comp.h b/sky/compacts/26comp.h new file mode 100644 index 00000000000..4a8ec0af958 --- /dev/null +++ b/sky/compacts/26comp.h @@ -0,0 +1,1214 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY26COMP_H +#define SKY26COMP_H + + + + +namespace SkyCompact { + +Compact bio_door = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 26, // screen + 0, // place + 0, // getToTable + 181, // xcood + 232, // ycood + 93*64, // frame + 181, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 13, // mouseSize_x + 63, // mouseSize_y + BIO_DOOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BIO_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact plant_26 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 26, // screen + 0, // place + 0, // getToTable + 330, // xcood + 211, // ycood + 0, // frame + 12785, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 353-330, // mouseSize_x + 237-211, // mouseSize_y + PLANT_26_ACTION, // actionScript +}; + +uint16 s26_floor_table[] = { + ID_S26_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S26_RIGHT_ON, + 1, + S26_LEFT_ON, + ID_RIGHT_EXIT_26, + GT_RIGHT_EXIT_26, + ID_LEFT_EXIT_26, + GT_LEFT_EXIT_26, + ID_POSTER1, + GT_POSTER, + ID_POSTER2, + GT_POSTER, + ID_POSTER3, + GT_POSTER, + ID_POSTER4, + GT_POSTER, + ID_26_PLANT, + GT_PLANT, + ID_LEAFLET, + GT_LEAFLET, + ID_HOLO, + GT_HOLO, + ID_BIO_DOOR, + GT_BIO_DOOR, + 65535, +}; + +uint16 s26_mouse[] = { + ID_JOEY, + ID_BIO_DOOR, + ID_LEFT_EXIT_26, + ID_RIGHT_EXIT_26, + ID_POSTER1, + ID_POSTER2, + ID_POSTER3, + ID_POSTER4, + ID_26_PLANT, + ID_LEAFLET, + ID_HOLO, + ID_S26_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 s26_pal[] = { + 0, + 2560, + 2312, + 2314, + 3854, + 1800, + 3085, + 4873, + 1289, + 3086, + 4622, + 2570, + 3601, + 5640, + 2059, + 3344, + 3346, + 5901, + 3098, + 4870, + 3342, + 3857, + 3606, + 6927, + 3358, + 6152, + 3599, + 4122, + 4617, + 6673, + 4630, + 7696, + 3088, + 4629, + 6421, + 2836, + 3618, + 4362, + 8978, + 4886, + 4891, + 7956, + 5401, + 7702, + 3093, + 4641, + 8719, + 2579, + 4389, + 4621, + 6426, + 5915, + 7439, + 4885, + 5656, + 10526, + 2322, + 5414, + 6667, + 6679, + 5922, + 8717, + 4886, + 5414, + 5648, + 10008, + 7704, + 7954, + 5912, + 7957, + 6423, + 8985, + 5420, + 6923, + 7706, + 7709, + 7952, + 7193, + 6185, + 9486, + 4122, + 6680, + 10283, + 5145, + 7197, + 6690, + 10011, + 7968, + 11284, + 4632, + 6446, + 9741, + 6172, + 7457, + 10783, + 4380, + 7451, + 12333, + 4378, + 7964, + 9256, + 6432, + 7712, + 11557, + 5404, + 8994, + 10518, + 5663, + 7474, + 10254, + 6943, + 8483, + 12835, + 5149, + 8238, + 9491, + 7972, + 8498, + 10769, + 6691, + 8994, + 13866, + 4639, + 8752, + 9751, + 7208, + 9770, + 13342, + 5411, + 10279, + 14370, + 4900, + 9266, + 13086, + 6437, + 9774, + 10017, + 7724, + 10031, + 10012, + 5935, + 9528, + 15384, + 4646, + 9782, + 11549, + 9515, + 13354, + 14870, + 5673, + 10043, + 13339, + 8748, + 10553, + 11295, + 7476, + 10047, + 14878, + 6445, + 11324, + 11549, + 6199, + 13358, + 13860, + 9519, + 11070, + 11809, + 8247, + 12350, + 12060, + 10294, + 12348, + 13860, + 11314, + 12863, + 12832, + 11319, + 13884, + 15905, + 10035, + 13882, + 13098, + 11835, + 14140, + 15919, + 11064, + 15165, + 16177, + 13629, + 15677, + 16186, + 16191, + 0, + 3840, + 1800, + 2323, + 4613, + 2570, + 2838, + 6664, + 1548, + 3358, + 6664, + 2320, + 3618, + 8714, + 2579, + 4389, + 7437, + 4885, + 4649, + 9737, + 4117, + 5420, + 11787, + 3353, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 14851, + 9522, + 10806, + 12828, + 5410, + 6443, + 9485, + 1809, + 2591, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 13375, + 14375, + 7724, + 9781, + 12823, + 2589, + 5679, + 6144, + 787, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 7936, + 0, + 39, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 13881, + 14634, + 9519, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 helga_awake[] = { + 94*64, + 300, + 212, + 0, + 300, + 212, + 1, + 300, + 212, + 2, + 300, + 212, + 3, + 300, + 212, + 4, + 300, + 212, + 5, + 300, + 212, + 6, + 300, + 212, + 7, + 300, + 212, + 8, + 300, + 212, + 7, + 300, + 212, + 9, + 300, + 212, + 7, + 300, + 212, + 10, + 300, + 212, + 10, + 300, + 212, + 7, + 300, + 212, + 10, + 300, + 212, + 10, + 300, + 212, + 11, + 300, + 212, + 7, + 300, + 212, + 12, + 300, + 212, + 10, + 0, +}; + +Compact right_exit_26 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 26, // screen + 0, // place + 0, // getToTable + 389, // xcood + 232, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 398-389, // mouseSize_x + 298-232, // mouseSize_y + ER26_ACTION, // actionScript +}; + +uint16 wobble2[] = { + 96*64, + 378, + 217, + 0, + 378, + 217, + 1, + 378, + 217, + 2, + 378, + 217, + 3, + 378, + 217, + 4, + 378, + 217, + 5, + 378, + 217, + 6, + 378, + 217, + 7, + 378, + 217, + 8, + 378, + 217, + 9, + 378, + 217, + 10, + 378, + 217, + 11, + 378, + 217, + 12, + 378, + 217, + 13, + 378, + 217, + 14, + 378, + 217, + 15, + 378, + 217, + 16, + 378, + 217, + 17, + 378, + 217, + 18, + 378, + 217, + 19, + 378, + 217, + 20, + 378, + 217, + 21, + 378, + 217, + 22, + 378, + 217, + 23, + 0, +}; + +uint16 helga_byeee[] = { + 97*64, + 415, + 217, + 0, + 415, + 217, + 1, + 415, + 217, + 2, + 415, + 217, + 1, + 415, + 217, + 3, + 415, + 217, + 1, + 415, + 217, + 4, + 415, + 217, + 5, + 415, + 217, + 6, + 415, + 217, + 7, + 415, + 217, + 8, + 415, + 217, + 9, + 415, + 217, + 10, + 0, +}; + +Compact left_exit_26 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 26, // screen + 0, // place + 0, // getToTable + 181, // xcood + 233, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 192-181, // mouseSize_x + 295-233, // mouseSize_y + EL26_ACTION, // actionScript +}; + +uint16 rs_joey_start_26[] = { + C_XCOOD, + 344, + C_YCOOD, + 312, + C_SCREEN, + 26, + C_PLACE, + ID_S26_FLOOR, + C_LOGIC, + L_SCRIPT, + C_BASE_SUB, + JOEY_LOGIC, + C_BASE_SUB+2, + 0, + C_FRAME, + 136*64+2, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_COLLISION+ST_MOUSE+ST_GRID_PLOT, + C_DIR, + DOWN, + 65535, +}; + +uint16 bio_door_open[] = { + 93*64, + 181, + 232, + 0, + 181, + 232, + 1, + 181, + 232, + 2, + 181, + 232, + 3, + 181, + 232, + 4, + 0, +}; + +uint16 wobble1[] = { + 95*64, + 340, + 217, + 0, + 340, + 217, + 1, + 340, + 217, + 2, + 340, + 217, + 3, + 340, + 217, + 4, + 340, + 217, + 5, + 340, + 217, + 6, + 340, + 217, + 7, + 340, + 217, + 8, + 340, + 217, + 9, + 340, + 217, + 10, + 340, + 217, + 11, + 340, + 217, + 12, + 340, + 217, + 13, + 340, + 217, + 14, + 340, + 217, + 15, + 340, + 217, + 16, + 340, + 217, + 17, + 340, + 217, + 18, + 340, + 217, + 19, + 340, + 217, + 20, + 340, + 217, + 21, + 0, +}; + +ExtCompact holo_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + DOWN, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_HOLO, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact holo = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 26, // screen + 0, // place + 0, // getToTable + 226, // xcood + 211, // ycood + 0, // frame + 12783, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 6, // mouseRel_x + 32, // mouseRel_y + 250-231, // mouseSize_x + 251-244, // mouseSize_y + HOLO_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + HELGA_LOGIC, // baseSub + 0, // baseSub_off + &holo_ext, +}; + +Compact poster2 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 26, // screen + 0, // place + 0, // getToTable + 297, // xcood + 184, // ycood + 0, // frame + 12741, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 329-297, // mouseSize_x + 204-184, // mouseSize_y + POSTER2_ACTION, // actionScript +}; + +uint16 s26_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 86+DISK_9, + 87+DISK_9, + 88+DISK_9, + 0, +}; + +uint32 grid26[0]; + +uint16 joey_list_s26[] = { + 208, + 360, + 280, + 321, + 1, + 0, +}; + +uint16 return_leaflet[] = { + 87*64, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 rs_foster_19_26[] = { + C_XCOOD, + 416, + C_YCOOD, + 288, + C_SCREEN, + 26, + C_PLACE, + ID_S26_FLOOR, + C_FRAME, + 12*64+42, + 65535, +}; + +uint16 get_leaflet[] = { + 87*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 0, +}; + +Compact poster3 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 26, // screen + 0, // place + 0, // getToTable + 262, // xcood + 208, // ycood + 0, // frame + 12741, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 293-262, // mouseSize_x + 225-208, // mouseSize_y + POSTER3_ACTION, // actionScript +}; + +Compact leaflet = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 26, // screen + 0, // place + 0, // getToTable + 291, // xcood + 266, // ycood + 86*64, // frame + 12784, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 309-291, // mouseSize_x + 8, // mouseSize_y + LEAFLET_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LEAFLET_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s26_chip_list[] = { + 136+DISK_9, + 137+DISK_9, + 93+DISK_9, + 94+DISK_9, + 95+DISK_9, + 96+DISK_9, + 97+DISK_9, + 98+DISK_9, + 99+DISK_9, + 100+DISK_9, + 140+DISK_9, + 141+DISK_9, + 142+DISK_9, + 0, +}; + +uint16 rs_foster_26_19[] = { + C_XCOOD, + 136, + C_YCOOD, + 264, + C_SCREEN, + 19, + C_PLACE, + ID_S19_FLOOR, + 65535, +}; + +Compact poster4 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 26, // screen + 0, // place + 0, // getToTable + 297, // xcood + 208, // ycood + 0, // frame + 12741, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 329-297, // mouseSize_x + 225-208, // mouseSize_y + POSTER4_ACTION, // actionScript +}; + +uint16 s26_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_BURKE, + ID_HOLO, + ID_BIO_DOOR, + ID_LEAFLET, + ID_LAMB, + ID_LAMB_DOOR_20, + ID_INNER_LAMB_DOOR, + ID_LIFT_29, + 0XFFFF, + ID_MENU_LOGIC, +}; + +Compact poster1 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 26, // screen + 0, // place + 0, // getToTable + 262, // xcood + 184, // ycood + 0, // frame + 12741, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 293-262, // mouseSize_x + 204-184, // mouseSize_y + POSTER1_ACTION, // actionScript +}; + +Compact s26_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 26, // screen + 0, // place + s26_floor_table, // getToTable + 128, // xcood + 264, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 4242, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/27comp.h b/sky/compacts/27comp.h new file mode 100644 index 00000000000..d5911607f91 --- /dev/null +++ b/sky/compacts/27comp.h @@ -0,0 +1,3198 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY27COMP_H +#define SKY27COMP_H + + + + +namespace SkyCompact { + +uint16 s27_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_BURKE, + ID_SCANNER_27, + ID_HELMET_COLE, + ID_MEDI_COMP, + ID_BODY, + ID_GLASS_SLOT, + ID_LAMB, + ID_LAMB_DOOR_20, + ID_INNER_LAMB_DOOR, + ID_LIFT_29, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 scan_27_seq[] = { + 159*64, + 308, + 212, + 0, + 308, + 212, + 1, + 0, +}; + +uint16 body_table[] = { + ID_CHAIR_27, + GT_CHAIR_27, + ID_GAS, + GT_GAS, + ID_STD_RIGHT_TALK, + GT_R_TALK_27, + 65535, +}; + +uint16 glass_scan[] = { + 212*64, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 2, + 194, + 264, + 3, + 194, + 264, + 4, + 194, + 264, + 5, + 194, + 264, + 6, + 194, + 264, + 7, + 194, + 264, + 8, + 194, + 264, + 9, + 194, + 264, + 10, + 194, + 264, + 11, + 194, + 264, + 12, + 194, + 264, + 13, + 194, + 264, + 14, + 194, + 264, + 15, + 194, + 264, + 16, + 194, + 264, + 17, + 194, + 264, + 18, + 194, + 264, + 19, + 194, + 264, + 20, + 194, + 264, + 21, + 194, + 264, + 22, + 194, + 264, + 23, + 194, + 264, + 24, + 194, + 264, + 25, + 194, + 264, + 26, + 194, + 264, + 27, + 194, + 264, + 28, + 194, + 264, + 29, + 194, + 264, + 30, + 194, + 264, + 31, + 194, + 264, + 32, + 194, + 264, + 7, + 194, + 264, + 8, + 194, + 264, + 9, + 194, + 264, + 10, + 194, + 264, + 11, + 194, + 264, + 33, + 194, + 264, + 34, + 194, + 264, + 35, + 194, + 264, + 36, + 194, + 264, + 37, + 194, + 264, + 38, + 194, + 264, + 38, + 194, + 264, + 38, + 194, + 264, + 9, + 194, + 264, + 9, + 194, + 264, + 9, + 194, + 264, + 38, + 194, + 264, + 38, + 194, + 264, + 38, + 194, + 264, + 9, + 194, + 264, + 9, + 194, + 264, + 38, + 194, + 264, + 38, + 194, + 264, + 38, + 194, + 264, + 38, + 194, + 264, + 38, + 194, + 264, + 38, + 194, + 264, + 39, + 194, + 264, + 40, + 194, + 264, + 41, + 194, + 264, + 42, + 0, +}; + +uint8 burke_auto[64]; + +uint16 put_glass_seq[] = { + 203*64, + 241, + 250, + 0, + 236, + 254, + 1, + 235, + 262, + 2, + 233, + 262, + 3, + 233, + 262, + 3, + 231, + 262, + 4, + 229, + 262, + 5, + 227, + 262, + 6, + 227, + 262, + 6, + 227, + 262, + 6, + 231, + 262, + 4, + 233, + 262, + 3, + 234, + 262, + 7, + 234, + 262, + 8, + 234, + 262, + 8, + 234, + 262, + 8, + 234, + 262, + 8, + 234, + 262, + 8, + 234, + 262, + 8, + 234, + 262, + 8, + 234, + 262, + 7, + 230, + 262, + 9, + 225, + 262, + 10, + 224, + 262, + 11, + 226, + 262, + 12, + 227, + 262, + 13, + 232, + 262, + 14, + 234, + 262, + 7, + 235, + 262, + 2, + 236, + 254, + 1, + 241, + 250, + 15, + 0, +}; + +uint16 burke_u_to_d[] = { + 43-8+150*64, + 42-8+150*64, + 41-8+150*64, + 0, +}; + +uint16 burke_l_to_u[] = { + 43-8+150*64, + 0, +}; + +Compact helmet_cole = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_RECREATE+ST_FOREGROUND, // status + 0, // sync + 27, // screen + 0, // place + 0, // getToTable + 232, // xcood + 207, // ycood + 162*64, // frame + 12798, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 253-232, // mouseSize_x + 226-207, // mouseSize_y + HELMET_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + HELMET_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_27_26[] = { + C_XCOOD, + 160, + C_YCOOD, + 288, + C_SCREEN, + 26, + C_PLACE, + ID_S26_FLOOR, + 65535, +}; + +uint16 burke_d_to_u[] = { + 47-8+150*64, + 46-8+150*64, + 45-8+150*64, + 0, +}; + +uint16 burke_st_talk[] = { + 151*64, + 1, + 1, + 0, + 0, +}; + +uint16 out_chair_seq[] = { + 161*64, + 233, + 235, + 0, + 231, + 235, + 1, + 230, + 235, + 2, + 230, + 235, + 3, + 230, + 234, + 4, + 230, + 234, + 5, + 230, + 236, + 6, + 237, + 236, + 7, + 240, + 236, + 8, + 246, + 234, + 9, + 246, + 235, + 10, + 248, + 235, + 11, + 254, + 234, + 12, + 258, + 234, + 13, + 0, +}; + +uint16 burke_st_right[] = { + 150*64, + 1, + 1, + 38, + 0, +}; + +uint16 burke_u_to_l[] = { + 43-8+150*64, + 0, +}; + +uint16 hand_op_seq[] = { + 210*64, + 216, + 240, + 0, + 216, + 240, + 1, + 216, + 240, + 2, + 216, + 240, + 3, + 216, + 240, + 4, + 216, + 240, + 3, + 216, + 240, + 4, + 216, + 240, + 2, + 216, + 240, + 1, + 216, + 240, + 5, + 216, + 240, + 6, + 216, + 240, + 5, + 216, + 240, + 2, + 216, + 240, + 4, + 216, + 240, + 3, + 216, + 240, + 4, + 216, + 240, + 2, + 216, + 240, + 3, + 216, + 240, + 2, + 216, + 240, + 1, + 216, + 240, + 2, + 216, + 240, + 3, + 216, + 240, + 4, + 216, + 240, + 5, + 216, + 240, + 6, + 216, + 240, + 5, + 216, + 240, + 6, + 216, + 240, + 5, + 216, + 240, + 1, + 216, + 240, + 2, + 216, + 240, + 7, + 216, + 240, + 8, + 216, + 240, + 8, + 216, + 240, + 9, + 216, + 240, + 10, + 216, + 240, + 11, + 216, + 240, + 12, + 216, + 240, + 13, + 216, + 240, + 14, + 216, + 240, + 15, + 0, +}; + +uint16 helmet_up[] = { + 162*64, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 hand_in_seq[] = { + 209*64, + 216, + 240, + 0, + 216, + 240, + 1, + 216, + 240, + 1, + 216, + 240, + 2, + 216, + 240, + 2, + 216, + 240, + 3, + 216, + 240, + 3, + 216, + 240, + 4, + 216, + 240, + 4, + 216, + 240, + 4, + 216, + 240, + 4, + 216, + 240, + 4, + 216, + 240, + 4, + 216, + 240, + 4, + 216, + 240, + 4, + 0, +}; + +uint16 burke_r_to_u[] = { + 45-8+150*64, + 0, +}; + +uint16 burke_left[] = { + 4, + 16+150*64, + 65532, + 0, + 4, + 17+150*64, + 65532, + 0, + 4, + 18+150*64, + 65532, + 0, + 4, + 19+150*64, + 65532, + 0, + 4, + 20+150*64, + 65532, + 0, + 4, + 21+150*64, + 65532, + 0, + 4, + 22+150*64, + 65532, + 0, + 4, + 23+150*64, + 65532, + 0, + 0, +}; + +uint16 burke_st_up[] = { + 150*64, + 1, + 1, + 36, + 0, +}; + +uint16 burke_st_left[] = { + 150*64, + 1, + 1, + 34, + 0, +}; + +uint16 chair_table[] = { + ID_CHAIR_27, + RETURN_OK, + ID_S27_FLOOR, + GT_FLOOR_FROM_CHAIR, + ID_RIGHT_EXIT_27, + GT_FLOOR_FROM_CHAIR, + ID_STD_LEFT_TALK, + GT_FLOOR_FROM_CHAIR, + ID_CHART1, + GT_FLOOR_FROM_CHAIR, + ID_CHART2, + GT_FLOOR_FROM_CHAIR, + ID_GAS, + GT_FLOOR_FROM_CHAIR, + ID_SCANNER_27, + GT_FLOOR_FROM_CHAIR, + ID_MEDI_COMP, + GT_FLOOR_FROM_CHAIR, + ID_BODY, + GT_FLOOR_FROM_CHAIR, + ID_HELMET_COLE, + GT_FLOOR_FROM_CHAIR, + 65535, +}; + +Compact gas = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 27, // screen + 0, // place + 0, // getToTable + 276, // xcood + 269, // ycood + 0, // frame + 12797, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 294-276, // mouseSize_x + 326-269, // mouseSize_y + GAS_ACTION, // actionScript +}; + +uint16 lung_seq[] = { + 157*64, + 308, + 212, + 0, + 308, + 212, + 1, + 308, + 212, + 2, + 308, + 212, + 3, + 308, + 212, + 4, + 308, + 212, + 5, + 308, + 212, + 6, + 308, + 212, + 7, + 308, + 212, + 8, + 308, + 212, + 9, + 308, + 212, + 10, + 308, + 212, + 11, + 308, + 212, + 12, + 308, + 212, + 13, + 308, + 212, + 14, + 308, + 212, + 15, + 308, + 212, + 14, + 308, + 212, + 13, + 308, + 212, + 12, + 308, + 212, + 11, + 308, + 212, + 16, + 308, + 212, + 11, + 308, + 212, + 16, + 308, + 212, + 13, + 308, + 212, + 12, + 308, + 212, + 15, + 308, + 212, + 14, + 308, + 212, + 15, + 308, + 212, + 12, + 308, + 212, + 13, + 308, + 212, + 16, + 308, + 212, + 9, + 308, + 212, + 17, + 308, + 212, + 5, + 308, + 212, + 18, + 308, + 212, + 19, + 308, + 212, + 20, + 308, + 212, + 21, + 0, +}; + +uint16 burke_l_to_r[] = { + 41-8+150*64, + 40-8+150*64, + 47-8+150*64, + 0, +}; + +uint16 glass_slot_open[] = { + 204*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +ExtCompact body_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_BODY, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact body = { + L_SCRIPT, // logic + ST_RECREATE+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 27, // screen + 0, // place + body_table, // getToTable + 353, // xcood + 283, // ycood + 169*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 10, // mouseSize_x + 10, // mouseSize_y + BODY_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + BODY_SSS, // baseSub + 0, // baseSub_off + &body_ext, +}; + +uint16 glove_off_seq[] = { + 154*64, + 328, + 261, + 6, + 328, + 261, + 5, + 328, + 261, + 4, + 328, + 261, + 3, + 328, + 261, + 2, + 328, + 261, + 1, + 328, + 261, + 0, + 0, +}; + +uint16 rs_small_burke[] = { + C_MOUSE_REL_X, + 0, + C_MOUSE_REL_Y, + 0, + 65535, +}; + +uint16 burke_d_to_l[] = { + 41-8+150*64, + 0, +}; + +uint16 rs_foster_26_27[] = { + C_XCOOD, + 392, + C_YCOOD, + 256, + C_SCREEN, + 27, + C_PLACE, + ID_S27_FLOOR, + 65535, +}; + +uint32 grid27[0]; + +uint16 burke_up[] = { + 2, + 0+150*64, + 0, + 65534, + 2, + 1+150*64, + 0, + 65534, + 2, + 2+150*64, + 0, + 65534, + 2, + 3+150*64, + 0, + 65534, + 2, + 4+150*64, + 0, + 65534, + 2, + 5+150*64, + 0, + 65534, + 2, + 6+150*64, + 0, + 65534, + 2, + 7+150*64, + 0, + 65534, + 0, +}; + +uint16 operate_seq[] = { + 155*64, + 326, + 260, + 0, + 326, + 260, + 0, + 326, + 260, + 1, + 326, + 260, + 1, + 326, + 260, + 1, + 326, + 260, + 1, + 326, + 260, + 1, + 326, + 260, + 2, + 326, + 260, + 3, + 326, + 260, + 3, + 326, + 260, + 4, + 326, + 260, + 4, + 326, + 260, + 5, + 326, + 260, + 6, + 326, + 260, + 6, + 326, + 260, + 6, + 326, + 260, + 7, + 326, + 260, + 7, + 326, + 260, + 7, + 326, + 260, + 7, + 326, + 260, + 8, + 326, + 260, + 8, + 326, + 260, + 8, + 326, + 260, + 8, + 326, + 260, + 7, + 326, + 260, + 7, + 326, + 260, + 6, + 326, + 260, + 6, + 326, + 260, + 4, + 326, + 260, + 4, + 326, + 260, + 5, + 326, + 260, + 5, + 326, + 260, + 9, + 326, + 260, + 9, + 326, + 260, + 10, + 326, + 260, + 10, + 326, + 260, + 11, + 326, + 260, + 12, + 326, + 260, + 11, + 326, + 260, + 11, + 326, + 260, + 0, + 0, +}; + +uint16 s27_floor_table[] = { + ID_S27_FLOOR, + RETURN_OK, + ID_RIGHT_EXIT_27, + GT_RIGHT_EXIT_27, + ID_JOEY_PARK, + GET_TO_JP2, + ID_STD_LEFT_TALK, + GT_L_TALK_27, + ID_STD_RIGHT_TALK, + GT_R_TALK_27, + 0, + S27_RIGHT_ON, + ID_CHART1, + GT_CHART1, + ID_CHART2, + GT_CHART2, + ID_GAS, + GT_GAS, + ID_SCANNER_27, + GT_SCANNER_27, + ID_MEDI_COMP, + GT_MEDI_COMP, + ID_CHAIR_27, + GT_CHAIR_27, + ID_HELMET_COLE, + GT_HELMET, + ID_BODY, + GT_BODY, + 65535, +}; + +uint16 helmet_down[] = { + 162*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 0, +}; + +uint32 heart_seq[0]; + +uint16 squirm_seq[] = { + 164*64, + 230, + 234, + 0, + 230, + 234, + 1, + 230, + 234, + 2, + 230, + 234, + 3, + 230, + 234, + 4, + 230, + 234, + 4, + 230, + 234, + 2, + 230, + 234, + 2, + 230, + 234, + 5, + 230, + 234, + 6, + 230, + 234, + 5, + 230, + 234, + 2, + 230, + 234, + 5, + 230, + 234, + 6, + 230, + 234, + 5, + 230, + 234, + 2, + 230, + 234, + 1, + 230, + 234, + 3, + 230, + 234, + 4, + 230, + 234, + 3, + 230, + 234, + 2, + 230, + 234, + 5, + 230, + 234, + 2, + 230, + 234, + 3, + 230, + 234, + 4, + 230, + 234, + 2, + 230, + 234, + 5, + 230, + 234, + 6, + 230, + 234, + 5, + 230, + 234, + 2, + 230, + 234, + 2, + 230, + 234, + 3, + 230, + 234, + 2, + 230, + 234, + 3, + 230, + 234, + 4, + 230, + 234, + 3, + 230, + 234, + 4, + 230, + 234, + 3, + 230, + 234, + 5, + 230, + 234, + 6, + 230, + 234, + 5, + 230, + 234, + 6, + 230, + 234, + 5, + 230, + 234, + 2, + 230, + 234, + 0, + 230, + 234, + 0, + 230, + 234, + 7, + 0, +}; + +uint16 burke_r_to_d[] = { + 47-8+150*64, + 0, +}; + +uint16 glove_on_seq[] = { + 154*64, + 328, + 261, + 0, + 328, + 261, + 1, + 328, + 261, + 2, + 328, + 261, + 3, + 328, + 261, + 4, + 328, + 261, + 5, + 328, + 261, + 6, + 0, +}; + +Compact chart2 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 27, // screen + 0, // place + 0, // getToTable + 395, // xcood + 201, // ycood + 0, // frame + 12778, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 416-395, // mouseSize_x + 251-201, // mouseSize_y + CHART2_ACTION, // actionScript +}; + +uint16 burke_r_to_l[] = { + 45-8+150*64, + 44-8+150*64, + 43-8+150*64, + 0, +}; + +Compact chart1 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 27, // screen + 0, // place + 0, // getToTable + 263, // xcood + 193, // ycood + 0, // frame + 12778, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 289-263, // mouseSize_x + 241-193, // mouseSize_y + CHART1_ACTION, // actionScript +}; + +uint16 rs_big_burke[] = { + C_MOUSE_REL_X, + 65520, + C_MOUSE_REL_Y, + 65488, + 65535, +}; + +uint16 burke_down[] = { + 2, + 8+150*64, + 0, + 2, + 2, + 9+150*64, + 0, + 2, + 2, + 10+150*64, + 0, + 2, + 2, + 11+150*64, + 0, + 2, + 2, + 12+150*64, + 0, + 2, + 2, + 13+150*64, + 0, + 2, + 2, + 14+150*64, + 0, + 2, + 2, + 15+150*64, + 0, + 2, + 0, +}; + +uint16 medi_comp_seq[] = { + 165*64, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 2, + 194, + 264, + 3, + 194, + 264, + 4, + 194, + 264, + 5, + 194, + 264, + 6, + 194, + 264, + 7, + 194, + 264, + 8, + 194, + 264, + 9, + 194, + 264, + 10, + 194, + 264, + 11, + 194, + 264, + 12, + 194, + 264, + 13, + 194, + 264, + 14, + 194, + 264, + 15, + 194, + 264, + 16, + 194, + 264, + 17, + 194, + 264, + 18, + 194, + 264, + 17, + 194, + 264, + 19, + 194, + 264, + 20, + 194, + 264, + 21, + 194, + 264, + 22, + 194, + 264, + 23, + 194, + 264, + 24, + 194, + 264, + 25, + 194, + 264, + 26, + 194, + 264, + 27, + 194, + 264, + 28, + 194, + 264, + 29, + 194, + 264, + 30, + 194, + 264, + 31, + 194, + 264, + 30, + 194, + 264, + 31, + 194, + 264, + 30, + 194, + 264, + 31, + 194, + 264, + 30, + 194, + 264, + 31, + 194, + 264, + 30, + 194, + 264, + 31, + 194, + 264, + 30, + 194, + 264, + 32, + 194, + 264, + 30, + 194, + 264, + 32, + 194, + 264, + 30, + 194, + 264, + 32, + 194, + 264, + 30, + 0, +}; + +uint16 helmet_op_seq[] = { + 163*64, + 232, + 207, + 0, + 232, + 207, + 1, + 232, + 207, + 1, + 232, + 207, + 2, + 232, + 207, + 2, + 232, + 207, + 3, + 232, + 207, + 3, + 232, + 207, + 4, + 232, + 207, + 4, + 232, + 207, + 5, + 232, + 207, + 5, + 232, + 207, + 5, + 232, + 207, + 5, + 232, + 207, + 6, + 232, + 207, + 6, + 232, + 207, + 3, + 232, + 207, + 3, + 232, + 207, + 2, + 232, + 207, + 2, + 232, + 207, + 1, + 232, + 207, + 1, + 232, + 207, + 7, + 232, + 207, + 7, + 232, + 207, + 7, + 232, + 207, + 7, + 232, + 207, + 1, + 232, + 207, + 1, + 232, + 207, + 2, + 232, + 207, + 2, + 232, + 207, + 3, + 232, + 207, + 3, + 232, + 207, + 4, + 232, + 207, + 4, + 232, + 207, + 5, + 232, + 207, + 5, + 232, + 207, + 5, + 232, + 207, + 5, + 232, + 207, + 6, + 232, + 207, + 6, + 232, + 207, + 3, + 232, + 207, + 3, + 232, + 207, + 2, + 232, + 207, + 2, + 232, + 207, + 1, + 232, + 207, + 1, + 232, + 207, + 7, + 232, + 207, + 7, + 0, +}; + +uint16 gas_seq[] = { + 153*64, + 288, + 256, + 0, + 288, + 256, + 1, + 288, + 256, + 2, + 288, + 256, + 3, + 288, + 256, + 4, + 288, + 256, + 4, + 288, + 256, + 4, + 288, + 256, + 3, + 288, + 256, + 5, + 288, + 256, + 6, + 288, + 256, + 7, + 288, + 256, + 8, + 288, + 256, + 9, + 288, + 256, + 10, + 288, + 256, + 10, + 288, + 256, + 10, + 288, + 256, + 10, + 288, + 256, + 11, + 288, + 256, + 12, + 288, + 256, + 12, + 288, + 256, + 12, + 288, + 256, + 12, + 288, + 256, + 7, + 288, + 256, + 6, + 288, + 256, + 5, + 288, + 256, + 3, + 288, + 256, + 4, + 288, + 256, + 4, + 288, + 256, + 4, + 288, + 256, + 3, + 288, + 256, + 2, + 288, + 256, + 1, + 288, + 256, + 0, + 0, +}; + +uint16 burke_l_to_d[] = { + 41-8+150*64, + 0, +}; + +uint16 glass_slot_close[] = { + 204*64, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 s27_mouse[] = { + ID_JOEY, + ID_BURKE, + ID_RIGHT_EXIT_27, + ID_CHART1, + ID_CHART2, + ID_GAS, + ID_SCANNER_27, + ID_MEDI_COMP, + ID_CHAIR_27, + ID_BODY, + ID_HELMET_COLE, + ID_S27_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 burke_right[] = { + 4, + 24+150*64, + 4, + 0, + 4, + 25+150*64, + 4, + 0, + 4, + 26+150*64, + 4, + 0, + 4, + 27+150*64, + 4, + 0, + 4, + 28+150*64, + 4, + 0, + 4, + 29+150*64, + 4, + 0, + 4, + 30+150*64, + 4, + 0, + 4, + 31+150*64, + 4, + 0, + 0, +}; + +uint16 burke_st_down[] = { + 150*64, + 1, + 1, + 32, + 0, +}; + +uint16 burke_u_to_r[] = { + 45-8+150*64, + 0, +}; + +uint16 burke_d_to_r[] = { + 47-8+150*64, + 0, +}; + +uint16 *burke_turnTable[5][5] = { + { // turnTableup + 0, + burke_u_to_d, + burke_u_to_l, + burke_u_to_r, + 0 + }, + { // turnTableDown + burke_d_to_u, + 0, + burke_d_to_l, + burke_d_to_r, + 0 + }, + { // turnTableLeft + burke_l_to_u, + burke_l_to_d, + 0, + burke_l_to_r, + 0 + }, + { // turnTableRight + burke_r_to_u, + burke_r_to_d, + burke_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact burke_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + DOWN, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_BURKE, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + burke_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + burke_up, // animUp + burke_down, // animDown + burke_left, // animLeft + burke_right, // animRight + burke_st_up, // standUp + burke_st_down, // standDown + burke_st_left, // standLeft + burke_st_right, // standRight + burke_st_talk, // standTalk +}; + +Compact burke = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_MOUSE+ST_GRID_PLOT, // status + 0, // sync + 27, // screen + ID_S27_FLOOR, // place + 0, // getToTable + 344, // xcood + 304, // ycood + 150*64, // frame + 12694, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65520, // mouseRel_x + 65488, // mouseRel_y + 32, // mouseSize_x + 48, // mouseSize_y + MEGA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + BURKE_LOGIC, // baseSub + 0, // baseSub_off + &burke_ext, + &burke_turnTable, +}; + +uint16 shake_seq[] = { + 152*64, + 325, + 256, + 0, + 325, + 256, + 1, + 325, + 256, + 2, + 325, + 256, + 3, + 325, + 256, + 4, + 325, + 256, + 5, + 325, + 256, + 2, + 325, + 256, + 3, + 325, + 256, + 4, + 325, + 256, + 2, + 325, + 256, + 4, + 325, + 256, + 2, + 325, + 256, + 4, + 325, + 256, + 6, + 325, + 256, + 7, + 325, + 256, + 8, + 325, + 256, + 9, + 325, + 256, + 10, + 0, +}; + +uint16 hands_out_seq[] = { + 213*64, + 216, + 240, + 0, + 216, + 240, + 0, + 216, + 240, + 0, + 216, + 240, + 0, + 216, + 240, + 1, + 216, + 240, + 1, + 216, + 240, + 1, + 216, + 240, + 1, + 216, + 240, + 0, + 216, + 240, + 0, + 216, + 240, + 0, + 216, + 240, + 0, + 216, + 240, + 1, + 216, + 240, + 1, + 216, + 240, + 1, + 216, + 240, + 1, + 216, + 240, + 0, + 216, + 240, + 0, + 216, + 240, + 0, + 216, + 240, + 1, + 216, + 240, + 1, + 216, + 240, + 0, + 216, + 240, + 0, + 216, + 240, + 0, + 216, + 240, + 0, + 216, + 240, + 1, + 216, + 240, + 2, + 216, + 240, + 3, + 216, + 240, + 4, + 0, +}; + +uint16 s27_pal[] = { + 0, + 1280, + 1286, + 1545, + 1797, + 1800, + 2061, + 2054, + 2570, + 2570, + 2823, + 2571, + 2577, + 3079, + 2829, + 3343, + 2824, + 3342, + 4108, + 3594, + 3598, + 4109, + 4879, + 3085, + 4111, + 4364, + 3345, + 4373, + 5640, + 3600, + 4881, + 6416, + 2065, + 4627, + 4111, + 4373, + 5138, + 6420, + 3349, + 5651, + 7187, + 4370, + 5398, + 5140, + 5654, + 5401, + 7442, + 3348, + 6421, + 5136, + 4635, + 5151, + 5906, + 5911, + 6171, + 5391, + 5951, + 7191, + 6164, + 6426, + 5410, + 6932, + 5913, + 6175, + 8213, + 4122, + 6940, + 6426, + 6941, + 7962, + 7699, + 5915, + 6434, + 8983, + 4380, + 7963, + 8217, + 7453, + 8732, + 7703, + 6944, + 7717, + 10259, + 6427, + 8477, + 8735, + 6687, + 8992, + 8217, + 7458, + 7465, + 8988, + 7712, + 8486, + 8469, + 8483, + 9760, + 9755, + 6946, + 7981, + 8989, + 6952, + 9256, + 10782, + 8226, + 9509, + 10786, + 6437, + 10017, + 9252, + 7722, + 10277, + 10020, + 8231, + 9006, + 11296, + 6696, + 10536, + 9510, + 8237, + 9520, + 12066, + 6442, + 10795, + 11556, + 7467, + 11816, + 12578, + 9256, + 11561, + 11046, + 10283, + 11568, + 11803, + 9770, + 11058, + 13087, + 10025, + 12076, + 13095, + 7215, + 11823, + 11305, + 10801, + 11316, + 11561, + 9266, + 10807, + 13352, + 9520, + 12591, + 13612, + 8497, + 12593, + 12585, + 9780, + 11831, + 13866, + 9267, + 13616, + 14124, + 11313, + 13107, + 12846, + 10550, + 13617, + 14385, + 9781, + 13621, + 14640, + 11827, + 14131, + 13875, + 11065, + 14393, + 15401, + 10550, + 14646, + 14127, + 12855, + 14649, + 14388, + 12603, + 14909, + 16170, + 11579, + 15418, + 15673, + 14141, + 15932, + 16187, + 15679, + 0, + 2048, + 2570, + 2827, + 3082, + 2829, + 3598, + 3342, + 3856, + 4111, + 4364, + 4115, + 4627, + 4111, + 4373, + 5138, + 4884, + 4886, + 5652, + 5910, + 5911, + 6680, + 6937, + 5913, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 6688, + 10768, + 6437, + 5138, + 5908, + 5911, + 3340, + 2827, + 2571, + 12076, + 10023, + 8231, + 4377, + 6408, + 6941, + 4881, + 7440, + 3348, + 2061, + 4358, + 1802, + 9760, + 16155, + 16191, + 16189, + 13113, + 11575, + 12072, + 7970, + 6440, + 8213, + 3345, + 2841, + 4358, + 517, + 522, + 1285, + 16133, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 14399, + 13364, + 12338, + 11820, + 10028, + 8226, + 7452, + 5142, + 3605, + 1804, + 1799, + 1799, + 14343, + 9518, + 10035, + 11802, + 4383, + 6441, + 9226, + 786, + 3360, + 11264, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 12548, + 13361, + 10281, + 8236, + 8734, + 10284, + 9264, + 10271, + 5917, + 5664, + 6159, + 2319, + 2064, + 2052, + 13631, + 14376, + 6694, + 6189, + 8975, + 1805, + 1048, + 3586, + 0, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 13631, + 14376, + 6694, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 s27_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 147+DISK_8, + 148+DISK_8, + 149+DISK_8, + 169+DISK_8, + 204+DISK_8, + 209+DISK_8, + 211+DISK_8, + 213+DISK_8, + 163+DISK_8+0X000, + 0, +}; + +Compact medi_comp = { + L_SCRIPT, // logic + ST_MOUSE+ST_SORT+ST_LOGIC, // status + 0, // sync + 27, // screen + 0, // place + 0, // getToTable + 194, // xcood + 264, // ycood + 165*64, // frame + 12668, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 235-194, // mouseSize_x + 301-261, // mouseSize_y + MEDI_COMP_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MEDIC_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact glass_slot = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 27, // screen + 0, // place + 0, // getToTable + 224, // xcood + 285, // ycood + 204*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + GLASS_SLOT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 in_chair_seq[] = { + 160*64, + 252, + 234, + 0, + 249, + 234, + 1, + 240, + 235, + 2, + 233, + 236, + 3, + 229, + 236, + 4, + 230, + 236, + 5, + 230, + 234, + 6, + 230, + 234, + 7, + 230, + 235, + 8, + 230, + 235, + 9, + 231, + 235, + 10, + 233, + 235, + 11, + 0, +}; + +uint16 s27_chip_list[] = { + 150+DISK_8, + 151+DISK_8, + 152+DISK_8, + 153+DISK_8, + 154+DISK_8, + 155+DISK_8, + 159+DISK_8, + 162+DISK_8+0X000, + 164+DISK_8, + 165+DISK_8, + 167+DISK_8, + 168+DISK_8, + 143+DISK_8, + 144+DISK_8, + 145+DISK_8, + 146+DISK_8, + 0, +}; + +uint16 kidney_seq[] = { + 158*64, + 308, + 212, + 0, + 308, + 212, + 1, + 308, + 212, + 2, + 308, + 212, + 3, + 308, + 212, + 4, + 308, + 212, + 3, + 308, + 212, + 5, + 308, + 212, + 6, + 308, + 212, + 7, + 308, + 212, + 8, + 308, + 212, + 9, + 308, + 212, + 10, + 308, + 212, + 11, + 308, + 212, + 12, + 308, + 212, + 13, + 308, + 212, + 14, + 308, + 212, + 15, + 308, + 212, + 16, + 308, + 212, + 15, + 308, + 212, + 16, + 308, + 212, + 15, + 308, + 212, + 16, + 308, + 212, + 15, + 308, + 212, + 16, + 308, + 212, + 15, + 308, + 212, + 16, + 308, + 212, + 15, + 308, + 212, + 16, + 308, + 212, + 15, + 308, + 212, + 14, + 308, + 212, + 13, + 308, + 212, + 12, + 308, + 212, + 11, + 308, + 212, + 10, + 308, + 212, + 9, + 308, + 212, + 8, + 308, + 212, + 7, + 308, + 212, + 6, + 308, + 212, + 5, + 308, + 212, + 3, + 308, + 212, + 4, + 308, + 212, + 3, + 308, + 212, + 4, + 308, + 212, + 2, + 308, + 212, + 1, + 308, + 212, + 0, + 0, +}; + +Compact scanner_27 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 27, // screen + 0, // place + 0, // getToTable + 308, // xcood + 212, // ycood + 159*64, // frame + 12799, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 329-308, // mouseSize_x + 245-212, // mouseSize_y + SCANNER_27_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + SCANNER_27_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact s27_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 27, // screen + 0, // place + s27_floor_table, // getToTable + 128, // xcood + 240, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 4242, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 fprint_seq[] = { + 211*64, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 194, + 264, + 0, + 194, + 264, + 1, + 0, +}; + +Compact right_exit_27 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 27, // screen + 0, // place + 0, // getToTable + 363, // xcood + 202, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 382-363, // mouseSize_x + 267-202, // mouseSize_y + ER27_ACTION, // actionScript +}; + +Compact chair_27 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 27, // screen + 0, // place + chair_table, // getToTable + 230, // xcood + 236, // ycood + 0, // frame + 12752, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 256-230, // mouseSize_x + 283-236, // mouseSize_y + CHAIR_27_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/28comp.h b/sky/compacts/28comp.h new file mode 100644 index 00000000000..92cadd98986 --- /dev/null +++ b/sky/compacts/28comp.h @@ -0,0 +1,894 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY28COMP_H +#define SKY28COMP_H + + + + +namespace SkyCompact { + +uint16 s28_chip_list[] = { + 136+DISK_9, + 137+DISK_9, + 86+DISK_8, + 131+DISK_2, + 132+DISK_2, + 63+DISK_9, + 64+DISK_9, + 65+DISK_9, + 66+DISK_9, + 67+DISK_9, + 13, + 69+DISK_9, + 18+DISK_8, + 0, +}; + +uint16 s28_floor_table[] = { + ID_S28_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S28_RIGHT_ON, + 1, + S28_LEFT_ON, + 3, + S28_UP_ON, + ID_RIGHT_EXIT_28, + GT_RIGHT_EXIT_28, + ID_LEFT_EXIT_28, + GT_LEFT_EXIT_28, + ID_UP_EXIT_28, + GT_UP_EXIT_28, + ID_DUSTBIN_28, + GT_DUSTBIN_28, + ID_STD_LEFT_TALK, + GT_L_TALK_28, + ID_STD_RIGHT_TALK, + GT_R_TALK_28, + ID_LIFT_28, + GT_LIFT_28, + ID_SLOT_28, + GT_SLOT_28, + 65535, +}; + +uint16 s28_sml_table[] = { + ID_S28_SML_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + ID_SMALL_R_28, + GT_SML_R_28, + ID_SMALL_L_28, + GT_SML_L_28, + 4, + SML_RIGHT_28, + 5, + SML_LEFT_28, + 65535, +}; + +Compact s28_sml_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 28, // screen + 0, // place + s28_sml_table, // getToTable + 192, // xcood + 168, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 304-192, // mouseSize_x + 16, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 slot_28_anim[] = { + 18*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact left_exit_28 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 28, // screen + 0, // place + 0, // getToTable + 127, // xcood + 180, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 144-127, // mouseSize_x + 308-180, // mouseSize_y + EL28_ACTION, // actionScript +}; + +uint16 rs_foster_28_29[] = { + C_XCOOD, + 120, + C_YCOOD, + 272, + C_SCREEN, + 29, + C_PLACE, + ID_S29_FLOOR, + 65535, +}; + +Compact s28_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 28, // screen + 0, // place + s28_floor_table, // getToTable + 128, // xcood + 248, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 312-248, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 s28_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_LAMB, + ID_LAMB_DOOR_20, + ID_INNER_LAMB_DOOR, + ID_REICH_DOOR_20, + ID_INNER_R_DOOR, + ID_GALLAGER_BEL, + ID_LIFT_29, + ID_LIFT_28, + ID_CAT, + ID_CATFOOD, + 0XFFFF, + ID_MENU_LOGIC, +}; + +Compact small_r_28 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 28, // screen + 0, // place + 0, // getToTable + 308, // xcood + 137, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 339-308, // mouseSize_x + 186-137, // mouseSize_y + R_28_SML_ACTION, // actionScript +}; + +uint16 s28_pal[] = { + 0, + 512, + 514, + 1028, + 1540, + 773, + 1797, + 1794, + 1541, + 2568, + 2817, + 1542, + 2056, + 3592, + 1030, + 2059, + 2570, + 780, + 2065, + 3587, + 2570, + 2572, + 3085, + 1294, + 2323, + 4102, + 1803, + 2578, + 3594, + 3852, + 3088, + 3596, + 785, + 2837, + 3592, + 2064, + 2586, + 4099, + 4366, + 4112, + 4619, + 3598, + 3353, + 6150, + 2573, + 4116, + 5643, + 3598, + 4626, + 8461, + 1036, + 5394, + 6918, + 2063, + 3615, + 6407, + 3600, + 4375, + 5138, + 3860, + 4124, + 5388, + 1815, + 5144, + 5135, + 6164, + 4890, + 7698, + 3091, + 4135, + 8709, + 2578, + 5659, + 6671, + 3096, + 5405, + 6162, + 4888, + 4899, + 10767, + 1554, + 5412, + 8458, + 4629, + 6174, + 6672, + 6168, + 5918, + 10261, + 2581, + 5164, + 9224, + 3096, + 5922, + 7957, + 4890, + 5674, + 9997, + 3608, + 7197, + 8729, + 3357, + 6692, + 8468, + 5659, + 7198, + 11037, + 3865, + 7206, + 12050, + 3097, + 6952, + 8981, + 5918, + 6958, + 9231, + 5152, + 7717, + 8474, + 7967, + 7467, + 11797, + 4637, + 8229, + 10525, + 6943, + 7728, + 11023, + 6175, + 8745, + 11286, + 5153, + 8240, + 10770, + 7458, + 9253, + 12833, + 5408, + 8751, + 10776, + 6693, + 9011, + 11283, + 7972, + 9521, + 12566, + 6692, + 9771, + 13347, + 6180, + 9775, + 13343, + 5159, + 10543, + 12827, + 7462, + 10038, + 12567, + 8488, + 10287, + 11300, + 9770, + 10293, + 14107, + 6442, + 10805, + 12831, + 8236, + 11310, + 13608, + 6956, + 11058, + 13607, + 9516, + 11574, + 14369, + 7469, + 12082, + 14631, + 8239, + 12084, + 14122, + 8753, + 12854, + 14376, + 9523, + 13112, + 14379, + 10294, + 13623, + 14640, + 11574, + 0, + 5120, + 2832, + 4124, + 8972, + 3859, + 6170, + 11288, + 2068, + 6687, + 7699, + 7452, + 7715, + 10519, + 5666, + 10543, + 13595, + 7978, + 11317, + 14117, + 8753, + 12854, + 14376, + 11059, + 0, + 8448, + 4629, + 6687, + 10259, + 5403, + 8746, + 12061, + 6178, + 10543, + 12827, + 7462, + 10805, + 13599, + 9516, + 11574, + 14369, + 7469, + 12599, + 13858, + 10290, + 13112, + 14373, + 10294, + 0, + 512, + 514, + 1028, + 1540, + 773, + 1797, + 1794, + 1541, + 2568, + 7681, + 3091, + 5412, + 12298, + 3870, + 9011, + 13331, + 5159, + 10293, + 13595, + 6956, + 12599, + 14626, + 11574, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact up_exit_28 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 28, // screen + 0, // place + 0, // getToTable + 369, // xcood + 196, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 394-369, // mouseSize_x + 254-196, // mouseSize_y + EU28_ACTION, // actionScript +}; + +Compact dustbin_28 = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 28, // screen + 0, // place + 0, // getToTable + 326, // xcood + 236, // ycood + 0, // frame + 12757, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 339-326, // mouseSize_x + 253-236, // mouseSize_y + DUSTBIN_ACTION, // actionScript +}; + +uint32 grid28[0]; + +uint16 rs_31_28[] = { + C_XCOOD, + 248, + C_YCOOD, + 240, + C_SCREEN, + 28, + C_FRAME, + 12*64+40, + C_DIR, + DOWN, + C_PLACE, + ID_S28_FLOOR, + 65535, +}; + +Compact slot_28 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 28, // screen + 0, // place + 0, // getToTable + 267, // xcood + 217, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 8, // mouseSize_y + S28_SLOT_ACTION, // actionScript +}; + +uint16 s28_mouse[] = { + ID_JOEY, + ID_LAMB, + ID_RIGHT_EXIT_28, + ID_LEFT_EXIT_28, + ID_DUSTBIN_28, + ID_UP_EXIT_28, + ID_LIFT_28, + ID_SLOT_28, + ID_S28_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 lift_28_close[] = { + 69*64, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 lift_28_open[] = { + 69*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 0, +}; + +Compact right_exit_28 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 28, // screen + 0, // place + 0, // getToTable + 429, // xcood + 189, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 30, // mouseSize_x + 306-189, // mouseSize_y + ER28_ACTION, // actionScript +}; + +uint16 rs_lamb_28[] = { + C_XCOOD, + 376, + C_YCOOD, + 280, + C_SCREEN, + 28, + C_PLACE, + ID_S28_FLOOR, + C_LOGIC, + L_SCRIPT, + C_MODE, + 0, + C_BASE_SUB, + LAMB_BELL_LOGIC, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 rs_foster_29_28[] = { + C_XCOOD, + 456, + C_YCOOD, + 288, + C_SCREEN, + 28, + C_PLACE, + ID_S28_FLOOR, + 65535, +}; + +uint16 s28_sml_mouse[] = { + ID_JOEY, + ID_SMALL_L_28, + ID_SMALL_R_28, + ID_S28_SML_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact lift_28 = { + L_SCRIPT, // logic + ST_SORT+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 28, // screen + 0, // place + 0, // getToTable + 237, // xcood + 196, // ycood + 69*64, // frame + 45+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 268-0XF2, // mouseSize_x + 236-0XB5, // mouseSize_y + LIFT_28_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LIFT_28_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact small_l_28 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 28, // screen + 0, // place + 0, // getToTable + 173, // xcood + 137, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 200-173, // mouseSize_x + 186-137, // mouseSize_y + L_28_SML_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/29comp.h b/sky/compacts/29comp.h new file mode 100644 index 00000000000..7bc491535ea --- /dev/null +++ b/sky/compacts/29comp.h @@ -0,0 +1,1486 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY29COMP_H +#define SKY29COMP_H + + +#include "19comp.h" +#include "23comp.h" +#include "25comp.h" +#include "24comp.h" +#include "28comp.h" +#include "26comp.h" +#include "27comp.h" +#include "20comp.h" +#include "22comp.h" +#include "21comp.h" +#include "11comp.h" +#include "10comp.h" + + +namespace SkyCompact { + +uint16 rs_joey_7_29[] = { + C_XCOOD, + 240, + C_YCOOD, + 240, + C_SCREEN, + 29, + C_PLACE, + ID_S29_FLOOR, + C_LOGIC, + L_SCRIPT, + C_BASE_SUB, + JOEY_OUT_OF_LIFT, + C_BASE_SUB+2, + 0, + C_FRAME, + 136*64+2, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_COLLISION+ST_MOUSE, + C_DIR, + DOWN, + C_MEGA_SET, + 1*NEXT_MEGA_SET, + C_FRAME, + 136*64+2, + 65535, +}; + +uint16 s29_floor_table[] = { + ID_S29_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + ID_LIFT_29, + GT_29_LIFT, + ID_S29_CARD_SLOT, + GT_29_CARD_SLOT, + ID_LIFT_WAIT, + GT_LIFT_WAIT, + ID_RIGHT_EXIT_29, + GT_RIGHT_EXIT_29, + ID_LEFT_EXIT_29, + GT_LEFT_EXIT_29, + 1, + S29_RIGHT_ON, + 3, + S29_LEFT_ON, + ID_LIFT_WAIT, + GT_LIFT_WAIT, + ID_STD_LEFT_TALK, + GT_L_TALK_29, + ID_STD_RIGHT_TALK, + GT_R_TALK_29, + ID_CABLE_29, + GT_CABLE_29, + 65535, +}; + +Compact s29_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 29, // screen + 0, // place + s29_floor_table, // getToTable + 128, // xcood + 248, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 48, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint32 grid29[0]; + +uint16 card_slot_29_anim[] = { + 18*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 s29_lift_open[] = { + 17*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 0, +}; + +uint16 rs_19_sml_28[] = { + C_XCOOD, + 192, + C_YCOOD, + 176, + C_SCREEN, + 28, + C_PLACE, + ID_S28_SML_FLOOR, + C_FRAME, + 44+13*64, + 65535, +}; + +uint16 sml_joey_list_28[] = { + 222, + 284, + 166, + 186, + 1, + 0, +}; + +Compact s29_card_slot = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 29, // screen + 0, // place + 0, // getToTable + 258, // xcood + 219, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 8, // mouseSize_y + S29_SLOT_ACTION, // actionScript +}; + +uint16 s29_sml_mouse[] = { + ID_JOEY, + ID_SMALL_R_29, + ID_SMALL_L_29, + ID_S29_SML_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 s29_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_LAMB, + ID_LAMB_DOOR_20, + ID_INNER_LAMB_DOOR, + ID_LIFT_29, + ID_LIFT29_LIGHT, + ID_CABLE_29, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 s29_pal[] = { + 0, + 512, + 514, + 1028, + 1540, + 773, + 1797, + 1794, + 1541, + 2568, + 2817, + 1542, + 2056, + 3592, + 1030, + 2059, + 2570, + 780, + 2065, + 3587, + 2570, + 2572, + 3085, + 1294, + 2323, + 4102, + 1803, + 2578, + 3594, + 3852, + 3088, + 3596, + 785, + 2837, + 3592, + 2064, + 2586, + 4099, + 4366, + 4112, + 4619, + 3598, + 3353, + 6150, + 2573, + 4116, + 5643, + 3598, + 4626, + 8461, + 1036, + 5394, + 6918, + 2063, + 3615, + 6407, + 3600, + 4375, + 5138, + 3860, + 4124, + 5388, + 1815, + 5144, + 5135, + 6164, + 4890, + 7698, + 3091, + 4135, + 8709, + 2578, + 5659, + 6671, + 3096, + 5405, + 6162, + 4888, + 4899, + 10767, + 1554, + 5412, + 8458, + 4629, + 6174, + 6672, + 6168, + 5918, + 10261, + 2581, + 5164, + 9224, + 3096, + 5922, + 7957, + 4890, + 5674, + 9997, + 3608, + 7197, + 8729, + 3357, + 6692, + 8468, + 5659, + 7198, + 11037, + 3865, + 7206, + 12050, + 3097, + 6952, + 8981, + 5918, + 6958, + 9231, + 5152, + 7717, + 8474, + 7967, + 7467, + 11797, + 4637, + 8229, + 10525, + 6943, + 7728, + 11023, + 6175, + 8745, + 11286, + 5153, + 8240, + 10770, + 7458, + 9253, + 12833, + 5408, + 8751, + 10776, + 6693, + 9011, + 11283, + 7972, + 9521, + 12566, + 6692, + 9771, + 13347, + 6180, + 9775, + 13343, + 5159, + 10543, + 12827, + 7462, + 10038, + 12567, + 8488, + 10287, + 11300, + 9770, + 10293, + 14107, + 6442, + 10805, + 12831, + 8236, + 11310, + 13608, + 6956, + 11058, + 13607, + 9516, + 11574, + 14369, + 7469, + 12082, + 14631, + 8239, + 12084, + 14122, + 8753, + 12854, + 14376, + 9523, + 13112, + 14379, + 10294, + 13623, + 14640, + 11574, + 0, + 5120, + 2832, + 4124, + 8972, + 3859, + 6170, + 11288, + 2068, + 6687, + 7699, + 7452, + 7715, + 10519, + 5666, + 10543, + 13595, + 7978, + 11317, + 14117, + 8753, + 12854, + 14376, + 11059, + 0, + 8448, + 4629, + 6687, + 10259, + 5403, + 8746, + 12061, + 6178, + 10543, + 12827, + 7462, + 10805, + 13599, + 9516, + 11574, + 14369, + 7469, + 12599, + 13858, + 10290, + 13112, + 14373, + 10294, + 0, + 512, + 514, + 1028, + 1540, + 773, + 1797, + 1794, + 1541, + 2568, + 7681, + 3091, + 5412, + 12298, + 3870, + 9011, + 13331, + 5159, + 10293, + 13595, + 6956, + 12599, + 14626, + 11574, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact small_l_29 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 29, // screen + 0, // place + 0, // getToTable + 156, // xcood + 136, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 179-156, // mouseSize_x + 188-136, // mouseSize_y + L_29_SML_ACTION, // actionScript +}; + +uint16 rs_foster_7_29[] = { + C_XCOOD, + 240, + C_YCOOD, + 232, + C_SCREEN, + 29, + C_FRAME, + 12*64+40, + C_DIR, + DOWN, + C_PLACE, + ID_S29_FLOOR, + 65535, +}; + +uint16 rs_28_sml_29[] = { + C_XCOOD, + 168, + C_YCOOD, + 176, + C_SCREEN, + 29, + C_PLACE, + ID_S29_SML_FLOOR, + 65535, +}; + +uint16 s29_chip_list[] = { + 136+DISK_8, + 137+DISK_8, + 131+DISK_2, + 132+DISK_2, + 86+DISK_8, + 17+DISK_8, + 18+DISK_8, + 20+DISK_8, + 76+DISK_8, + 14+DISK_8, + 15+DISK_8, + 16+DISK_8, + 13, + 0, +}; + +uint16 s29_lift_close[] = { + 17*64, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 rs_29_sml_23[] = { + C_XCOOD, + 184, + C_YCOOD, + 248, + C_SCREEN, + 23, + C_PLACE, + ID_S23_FLOOR, + C_FRAME, + 44+12*64, + 65535, +}; + +uint16 rs_lamb_start_bel[] = { + C_XCOOD, + 360, + C_YCOOD, + 264, + C_SCREEN, + 28, + C_PLACE, + ID_S28_FLOOR, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION+ST_MOUSE, + 65535, +}; + +uint16 s29_mouse[] = { + ID_JOEY, + ID_LIFT_29, + ID_LAMB, + ID_S29_CARD_SLOT, + ID_RIGHT_EXIT_29, + ID_LEFT_EXIT_29, + ID_CABLE_29, + ID_S29_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact lift_29 = { + L_SCRIPT, // logic + ST_SORT+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 29, // screen + 0, // place + 0, // getToTable + 0XE5, // xcood + 0XC5, // ycood + 17*64, // frame + 45+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 268-0XF5, // mouseSize_x + 236-0XB5, // mouseSize_y + LIFT_29_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + S29_LIFT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact lift29_light = { + L_SCRIPT, // logic + ST_RECREATE, // status + 0, // sync + 29, // screen + 0, // place + 0, // getToTable + 0XEE, // xcood + 0XBE, // ycood + 20*64, // frame +}; + +uint16 joey_list_s29[] = { + 156, + 360, + 276, + 304, + 1, + 0, +}; + +Compact right_exit_29 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 29, // screen + 0, // place + 0, // getToTable + 397, // xcood + 201, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 414-397, // mouseSize_x + 262-201, // mouseSize_y + ER29_ACTION, // actionScript +}; + +uint16 rs_foster_23_29[] = { + C_XCOOD, + 440, + C_YCOOD, + 264, + C_SCREEN, + 29, + C_PLACE, + ID_S29_FLOOR, + 65535, +}; + +Compact left_exit_29 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 29, // screen + 0, // place + 0, // getToTable + 127, // xcood + 180, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 144-127, // mouseSize_x + 300-180, // mouseSize_y + EL29_ACTION, // actionScript +}; + +uint16 lamb_card_29[] = { + 76*64, + 276, + 231, + 0, + 276, + 231, + 1, + 276, + 231, + 2, + 276, + 231, + 3, + 276, + 231, + 4, + 276, + 231, + 5, + 276, + 231, + 6, + 276, + 231, + 1, + 276, + 231, + 0, + 0, +}; + +Compact cable_29 = { + L_SCRIPT, // logic + ST_RECREATE, // status + 0, // sync + 29, // screen + 0, // place + 0, // getToTable + 335, // xcood + 236, // ycood + 171*64, // frame + 49, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 5, // mouseRel_x + 16, // mouseRel_y + 45, // mouseSize_x + 20, // mouseSize_y + CABLE_29_ACTION, // actionScript +}; + +uint16 get_cable_29_seq[] = { + 170*64, + 293, + 252, + 0, + 293, + 252, + 1, + 293, + 252, + 2, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 2, + 293, + 252, + 1, + 293, + 252, + 0, + 0, +}; + +Compact small_r_29 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 29, // screen + 0, // place + 0, // getToTable + 319, // xcood + 137, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 348-319, // mouseSize_x + 186-137, // mouseSize_y + R_29_SML_ACTION, // actionScript +}; + +uint16 s29_sml_table[] = { + ID_S29_SML_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + ID_SMALL_R_29, + GT_SML_R_29, + ID_SMALL_L_29, + GT_SML_L_29, + 4, + SML_RIGHT_29, + 5, + SML_LEFT_29, + 65535, +}; + +Compact s29_sml_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 29, // screen + 0, // place + s29_sml_table, // getToTable + 176, // xcood + 168, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320-176, // mouseSize_x + 16, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 rs_23_sml_29[] = { + C_XCOOD, + 328, + C_YCOOD, + 168, + C_SCREEN, + 29, + C_PLACE, + ID_S29_SML_FLOOR, + C_FRAME, + 44+13*64, + 65535, +}; + +uint16 rs_29_sml_28[] = { + C_XCOOD, + 312, + C_YCOOD, + 168, + C_SCREEN, + 28, + C_PLACE, + ID_S28_SML_FLOOR, + 65535, +}; + +uint16 sml_joey_list_29[] = { + 202, + 294, + 166, + 186, + 1, + 0, +}; + +void *data_3[] = { + s29_chip_list, + &useless_char, + grid29, + s29_pal, + &s29_floor, + s29_mouse, + s29_logic, + rs_foster_7_29, + &lift_29, + s29_lift_open, + s29_lift_close, + &s29_card_slot, + card_slot_29_anim, + &lift29_light, + rs_joey_7_29, + joey_list_s29, + &right_exit_29, + s23_chip_list, + s23_fast_list, + grid23, + s23_pal, + &s23_floor, + s23_mouse, + s23_logic, + rs_foster_29_23, + &left_exit_23, + rs_foster_23_29, + &anchor_exit_23, + s25_chip_list, + s25_fast_list, + grid25, + s25_pal, + &s25_floor, + s25_mouse, + s25_logic, + rs_foster_23_25, + &anchor_exit_25, + rs_foster_25_23, + joey_list_s25, + &travel_exit_23, + s24_fast_list, + s24_chip_list, + grid24, + s24_pal, + &s24_floor, + s24_mouse, + s24_logic, + rs_foster_23_24, + &left_exit_24, + rs_foster_24_23, + &left_exit_29, + 0, + s28_chip_list, + grid28, + s28_pal, + &s28_floor, + s28_mouse, + s28_logic, + rs_foster_29_28, + &right_exit_28, + rs_foster_28_29, + &left_exit_28, + s19_fast_list, + s19_chip_list, + grid19, + s19_pal, + &s19_floor, + s19_mouse, + s19_logic, + rs_foster_28_19, + &right_exit_19, + rs_foster_19_28, + joey_list_s19, + &left_exit_19, + s26_fast_list, + s26_chip_list, + grid26, + s26_pal, + &s26_floor, + s26_mouse, + s26_logic, + rs_foster_19_26, + &right_exit_26, + rs_foster_26_19, + &dustbin_28, + rs_joey_start_26, + joey_list_s26, + &poster1, + &poster2, + &poster3, + &poster4, + &plant_26, + &leaflet, + &holo, + &bin_23, + &sculpture, + &link_23, + &wreck_23, + &london_poster, + &new_york_poster, + &mural, + 0, + &left_exit_26, + s27_fast_list, + s27_chip_list, + grid27, + s27_pal, + &s27_floor, + s27_mouse, + s27_logic, + rs_foster_26_27, + &right_exit_27, + rs_foster_27_26, + &chart1, + &chart2, + &gas, + &scanner_27, + &pidgeons, + 0, + &burke, + glove_on_seq, + glove_off_seq, + operate_seq, + gas_seq, + shake_seq, + scan_27_seq, + heart_seq, + lung_seq, + kidney_seq, + &chair_27, + in_chair_seq, + out_chair_seq, + &helmet_cole, + helmet_down, + helmet_up, + helmet_op_seq, + squirm_seq, + &medi_comp, + medi_comp_seq, + rs_big_burke, + rs_small_burke, + &body, + &anchor, + anchor_seq, + anchor_leave_seq, + anchor_return_seq, + &hook, + &statue_25, + hook_seq, + &lazer_25, + lazer_25_seq, + &spark_25, + spark_25_seq, + get_anchor_seq, + &trevor, + trevor_relax, + trevor_unrelax, + joey_list_s24, + trevor_scratch, + &up_exit_28, + s20_fast_list, + s20_chip_list, + grid20, + s20_pal, + &s20_floor, + s20_mouse, + s20_logic, + rs_all_28_20, + &down_exit_20, + rs_foster_20_28, + joey_list_20, + &reich_door_20, + reich_20_open, + reich_20_close, + &reich_slot, + s22_fast_list, + s22_chip_list, + grid22, + s22_pal, + &s22_floor, + s22_mouse, + s22_logic, + rs_foster_20_22, + &right_exit_22, + rs_foster_22_20, + usecard_seq, + &lamb_door_20, + lamb_20_open, + lamb_20_close, + &lamb_slot, + s21_fast_list, + s21_chip_list, + grid21, + s21_pal, + &s21_floor, + s21_mouse, + s21_logic, + rs_foster_20_21, + &left_exit_21, + rs_foster_21_20, + &shrub_1, + &shrub_2, + &shrub_3, + rs_joey_start_20, + &lamb_bed, + &lamb_tv, + &fish_tank, + &fish_poster, + &pillow, + remove_pillow, + replace_pillow, + fost_remove_pill, + fost_replace_pill, + &magazine, + rs_magazine, + fish_seq, + get_magazine_seq, + &reich_chair, + &cabinet, + &cert, + &reich_picture, + &fish_food, + &lambs_books, + &lambs_chair, + &dispensor, + push_dispensor, + &cat_food, + cat_food_seq, + &video, + &cassette, + put_video_in, + take_video_out, + video_in, + video_out, + take_cassette_seq, + more_cassette_seq, + &big_pict1, + &video_screen, + &big_pict2, + &big_pict3, + cat1_seq, + cat2_seq, + cat3_seq, + cat4_seq, + bend_down, + watch_film, + &cat, + cat_walk_seq, + cat_eat_seq, + helga_awake, + helga_byeee, + wobble1, + wobble2, + &bio_door, + bio_door_open, + tank2_seq, + tank3_seq, + &sales_chart, + &gallager_bel, + gal_look_up, + gal_look_down, + trev_get_mag, + trev_read_mag, + trev_turn_page, + mag_out, + mag_away, + &fake_floor_22, + &reich_window, + &lamb_window, + &fake_floor_21, + &inner_lamb_door, + inner_lamb_open, + inner_lamb_close, + get_leaflet, + return_leaflet, + mag_back_seq, + give_mag_seq, + &ticket, + ticket_seq, + get_ticket, + &globe, + globe_spin, + push_globe, + &inner_reich_door, + inner_reich_open, + inner_reich_close, + &glass_slot, + glass_slot_open, + glass_slot_close, + put_glass_seq, + hand_in_seq, + glass_scan, + hand_op_seq, + fprint_seq, + hands_out_seq, + rs_lamb_28, + lamb_card_seq2, + lamb_card_29, + lamb_sit_seq, + lamb_sit_up, + &cable_29, + get_cable_29_seq, + 0, + s11_chip_list, + grid11, + s11_pal, + &s11_floor, + s11_mouse, + s11_logic, + rs_foster_1_11, + fallin_seq, + fallin2_seq, + fallin3_seq, + &cable_fall, + cable_fall1_seq, + cable_fall2_seq, + &cable_fall2, + &smashed_window, + smashed_window_seq, + &bits, + bits_seq, + &bits2, + bits2_seq, + get_cable_11, + &spy_11, + &locker_11, + locker_11_open, + locker_11_close, + &slot_11, + usecard_11_seq, + open_11_locker, + close_11_locker, + &soccer_1, + &soccer_2, + &soccer_3, + &soccer_4, + &soccer_5, + cant_open_locker, + &slat_1, + &slat_2, + &slat_3, + &slat_4, + &slat_5, + &right_exit_11, + 0, + s10_chip_list, + grid10, + s10_pal, + &s10_floor, + s10_mouse, + s10_logic, + rs_foster_11_10, + rs_foster_10_11, + &left_exit_10, + &lift_10, + lift_10_open, + &lift_slot_10, + card2_seq, + scanline_seq, + &scanner_10, + &pod, + pod_down, + pod_up, + &linc_10, + &pod_light, + pod_light_seq, + linc_card_seq, + sit_10_seq, + stand_10_seq, + &monitor_10, + monitor_10_seq, + &liyt_1, + liyt_1_seq, + &liyt_2, + liyt_2_seq, + &liyt_3, + liyt_3_seq, + &liyt_4, + liyt_4_seq, + &litebank, + litebank_seq, + fsit_talk_seq, + &terminal_10, + lift_10_close, + &fake_floor_10, + rs_lamb_start_bel, + 0, + rs_foster_from_linc, + &small_exit_23, + &small_r_29, + &small_l_29, + &small_r_28, + &small_l_28, + &top_right_19, + &s29_sml_floor, + rs_23_sml_29, + s29_sml_mouse, + rs_29_sml_23, + &s28_sml_floor, + rs_29_sml_28, + s28_sml_mouse, + rs_28_sml_29, + rs_28_sml_19, + rs_19_sml_28, + sml_joey_list_29, + sml_joey_list_28, + &lift_28, + lift_28_open, + lift_28_close, + &slot_28, + slot_28_anim, + rs_31_28, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/2compact.h b/sky/compacts/2compact.h new file mode 100644 index 00000000000..faaa2a860bd --- /dev/null +++ b/sky/compacts/2compact.h @@ -0,0 +1,1720 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY2COMPACT_H +#define SKY2COMPACT_H + + + + +namespace SkyCompact { + +uint16 sml_loaderb_l_to_u[] = { + 24+158*64, + 0, +}; + +uint16 joey_list_s2[] = { + 168, + 368, + 232, + 288, + 1, + 192, + 336, + 248, + 272, + 0, + 216, + 312, + 232, + 248, + 0, + 0, +}; + +uint16 sml_loader_u_to_l[] = { + 24+158*64, + 0, +}; + +uint32 c4121[0]; + +uint16 loader_right[] = { + 2, + 10+156*64, + 2, + 0, + 2, + 11+156*64, + 2, + 0, + 2, + 12+156*64, + 2, + 0, + 2, + 13+156*64, + 2, + 0, + 0, +}; + +uint16 loaderb_st_left[] = { + 157*64, + 1, + 1, + 3, + 0, +}; + +uint16 loader_r_to_d[] = { + 14+156*64, + 0, +}; + +uint16 loader_st_down[] = { + 156*64, + 1, + 1, + 3, + 0, +}; + +uint16 sml_loaderb_l_to_r[] = { + 20+159*64, + 159*64, + 19+159*64, + 0, +}; + +uint16 loaderb_st_down[] = { + 157*64, + 1, + 1, + 0, + 0, +}; + +uint16 sml_loaderb_r_to_u[] = { + 23+158*64, + 0, +}; + +uint16 sml_loaderb_st_up[] = { + 158*64, + 1, + 1, + 0, + 0, +}; + +uint16 loaderb_d_to_l[] = { + 12+157*64, + 0, +}; + +uint16 sml_loaderb_st_right[] = { + 159*64, + 1, + 1, + 11, + 0, +}; + +uint16 sml_loader_r_to_l[] = { + 23+158*64, + 0+158*64, + 24+158*64, + 0, +}; + +uint16 sml_loader_r_to_u[] = { + 23+158*64, + 0, +}; + +uint16 sml_loader_st_down[] = { + 158*64, + 1, + 1, + 3, + 0, +}; + +uint16 loader_l_to_r[] = { + 17+156*64, + 3+156*64, + 14+156*64, + 0, +}; + +uint16 sml_loaderb_d_to_l[] = { + 20+159*64, + 0, +}; + +uint16 loaderb_r_to_u[] = { + 15+156*64, + 0, +}; + +uint16 loader_left[] = { + 2, + 6+156*64, + 65534, + 0, + 2, + 7+156*64, + 65534, + 0, + 2, + 8+156*64, + 65534, + 0, + 2, + 9+156*64, + 65534, + 0, + 0, +}; + +uint16 loaderb_right[] = { + 2, + 7+157*64, + 2, + 0, + 2, + 8+157*64, + 2, + 0, + 2, + 9+157*64, + 2, + 0, + 2, + 10+157*64, + 2, + 0, + 0, +}; + +uint16 loaderb_r_to_d[] = { + 11+157*64, + 0, +}; + +uint16 loader_d_to_u[] = { + 14+156*64, + 10+156*64, + 15+156*64, + 0, +}; + +uint16 sml_loaderb_st_down[] = { + 159*64, + 1, + 1, + 0, + 0, +}; + +uint16 sml_loaderb_up[] = { + 1, + 0+158*64, + 0, + 65535, + 1, + 1+158*64, + 0, + 65535, + 1, + 2+158*64, + 0, + 65535, + 0, +}; + +uint16 sml_loader_d_to_r[] = { + 22+158*64, + 0, +}; + +uint16 loader_st_up[] = { + 156*64, + 1, + 1, + 0, + 0, +}; + +Compact right_exit_rm2 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 2, // screen + 0, // place + 0, // getToTable + 388, // xcood + 185, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 11, // mouseSize_x + 71, // mouseSize_y + ER2_ACTION, // actionScript +}; + +uint16 sml_loaderb_right[] = { + 1, + 11+159*64, + 1, + 0, + 1, + 12+159*64, + 1, + 0, + 1, + 13+159*64, + 1, + 0, + 1, + 14+159*64, + 1, + 0, + 1, + 15+159*64, + 1, + 0, + 1, + 16+159*64, + 1, + 0, + 1, + 17+159*64, + 1, + 0, + 1, + 18+159*64, + 1, + 0, + 0, +}; + +uint16 loader_u_to_l[] = { + 16+156*64, + 0, +}; + +uint16 sml_loader_st_right[] = { + 158*64, + 1, + 1, + 14, + 0, +}; + +Compact panel = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 2, // screen + 0, // place + 0, // getToTable + 321, // xcood + 187, // ycood + 165*64, // frame + 4186, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 12, // mouseSize_x + 12, // mouseSize_y + PANEL2_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + PANEL_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact alarm_flash = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 2, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ALARM_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 loader_st_right[] = { + 156*64, + 1, + 1, + 10, + 0, +}; + +uint16 sml_loader_l_to_u[] = { + 24+158*64, + 0, +}; + +uint8 loader_auto[64]; + +uint16 loaderb_u_to_r[] = { + 15+156*64, + 0, +}; + +uint16 sml_loader_u_to_r[] = { + 23+158*64, + 0, +}; + +uint16 loaderb_d_to_r[] = { + 11+157*64, + 0, +}; + +uint16 loaderb_u_to_l[] = { + 16+156*64, + 0, +}; + +uint16 sml_loaderb_d_to_u[] = { + 19+159*64, + 11+159*64, + 23+158*64, + 0, +}; + +uint16 loaderb_left[] = { + 2, + 3+157*64, + 65534, + 0, + 2, + 4+157*64, + 65534, + 0, + 2, + 5+157*64, + 65534, + 0, + 2, + 6+157*64, + 65534, + 0, + 0, +}; + +uint16 sml_loaderb_r_to_d[] = { + 19+159*64, + 0, +}; + +uint16 loader_l_to_u[] = { + 16+156*64, + 0, +}; + +uint16 sml_loader_up[] = { + 1, + 0+158*64, + 0, + 65535, + 1, + 1+158*64, + 0, + 65535, + 1, + 2+158*64, + 0, + 65535, + 0, +}; + +uint16 rs_test_jobs[] = { + C_BASE_SUB, + BASIC_JOBS, + 65535, +}; + +uint16 loaderb_l_to_d[] = { + 12+157*64, + 0, +}; + +uint16 sc2_mouse[] = { + JOBS, + ID_LOADER, + ID_DEAD_LOADER, + ID_JOEY, + ID_ROBOT_SHELL, + ID_JUNK1, + ID_JUNK2, + ID_LIGHT1, + ID_PANEL, + ID_TOP_LIFT, + ID_HOLE, + 115, + ID_L_EXIT_S2, + ID_R_EXIT_S2, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 loaderb_up[] = { + 1, + 0+156*64, + 0, + 65535, + 1, + 1+156*64, + 0, + 65535, + 1, + 2+156*64, + 0, + 65535, + 0, +}; + +uint16 loader_u_to_d[] = { + 16+156*64, + 6+156*64, + 17+156*64, + 0, +}; + +uint16 sml_loader_u_to_d[] = { + 24+158*64, + 6+158*64, + 25+158*64, + 0, +}; + +Compact hole = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 2, // screen + 0, // place + 0, // getToTable + 247, // xcood + 252, // ycood + 0, // frame + 20+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 45, // mouseSize_x + 19, // mouseSize_y + HOLE_ACTION, // actionScript +}; + +uint16 loaderb_st_up[] = { + 156*64, + 1, + 1, + 0, + 0, +}; + +uint16 sml_loader_down[] = { + 1, + 3+158*64, + 0, + 1, + 1, + 4+158*64, + 0, + 1, + 1, + 5+158*64, + 0, + 1, + 0, +}; + +uint16 sml_loaderb_u_to_l[] = { + 24+158*64, + 0, +}; + +uint16 loader_l_to_d[] = { + 17+156*64, + 0, +}; + +uint16 left_table2[0]; + +uint16 sml_loaderb_u_to_d[] = { + 24+158*64, + 3+159*64, + 20+159*64, + 0, +}; + +uint16 loader_u_to_r[] = { + 15+156*64, + 0, +}; + +uint16 loaderb_l_to_r[] = { + 12+157*64, + 157*64, + 11+157*64, + 0, +}; + +uint16 sml_loader_d_to_l[] = { + 25+158*64, + 0, +}; + +uint16 loaderb_r_to_l[] = { + 15+156*64, + 0+156*64, + 17+156*64, + 0, +}; + +uint16 top_lift_table[] = { + ID_TOP_LIFT, + RETURN_OK, + 115, + LIFT_TO_FLOOR, + ID_L_EXIT_S2, + LIFT_TO_FLOOR, + ID_R_EXIT_S2, + LIFT_TO_FLOOR, + 21, + LIFT_TO_FLOOR, + 22, + LIFT_TO_FLOOR, + ID_HOLE, + LIFT_TO_FLOOR, + ID_DEAD_LOADER, + GET_TO_TRANSPORTER, + ID_ROBOT_SHELL, + GET_TO_SHELL, + ID_PANEL, + GT_PANEL2, + ID_JUNK1, + GT_JUNK1, + ID_JUNK2, + GT_JUNK2, + 65535, +}; + +Compact robot_shell = { + L_SCRIPT, // logic + ST_FOREGROUND+ST_MOUSE+ST_RECREATE+ST_LOGIC, // status + 0, // sync + 2, // screen + 0, // place + 0, // getToTable + 312, // xcood + 294, // ycood + 174*64, // frame + 4546, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 16, // mouseSize_x + 16, // mouseSize_y + SHELL_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + JOEY_START, // baseSub + 0, // baseSub_off +}; + +Compact junk1 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 2, // screen + 0, // place + 0, // getToTable + 276, // xcood + 293, // ycood + 0, // frame + 4546, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 306-276, // mouseSize_x + 309-293, // mouseSize_y + JUNK1_ACTION, // actionScript +}; + +uint16 loader_down[] = { + 1, + 3+156*64, + 0, + 1, + 1, + 4+156*64, + 0, + 1, + 1, + 5+156*64, + 0, + 1, + 0, +}; + +uint16 loader_d_to_r[] = { + 14+156*64, + 0, +}; + +uint16 top_lift_up[] = { + 148*64, + 244, + 250, + 6, + 244, + 250, + 5, + 244, + 250, + 4, + 244, + 250, + 3, + 244, + 250, + 2, + 244, + 250, + 1, + 244, + 250, + 0, + 0, + 0, +}; + +uint16 sml_loader_st_up[] = { + 158*64, + 1, + 1, + 0, + 0, +}; + +uint16 transporter_table[] = { + 115, + STD_ADJOIN_FLOOR, + ID_L_EXIT_S2, + GET_TO_EL2, + ID_R_EXIT_S2, + GET_TO_ER2, + ID_TOP_LIFT, + GET_TO_LIFTER, + 21, + GET_TO_TALK21, + 22, + GET_TO_TALK22, + ID_LIGHT1, + GET_TO_LIGHT1, + ID_HOLE, + GET_TO_HOLE, + ID_DEAD_LOADER, + GET_TO_TRANSPORTER, + ID_ROBOT_SHELL, + GET_TO_SHELL, + ID_PANEL, + GT_PANEL2, + ID_JUNK1, + GT_JUNK1, + ID_JUNK2, + GT_JUNK2, + 65535, +}; + +uint16 sml_loader_r_to_d[] = { + 22+158*64, + 0, +}; + +uint16 loaderb_st_right[] = { + 157*64, + 1, + 1, + 7, + 0, +}; + +uint16 chip_list_s2[] = { + 148, + 155, + 156+0X000, + 157+0X000, + 160, + 166+0X8000, + 173, + 111, + 117, + 134, + 150, + 227, + 0, +}; + +uint32 exit_table[0]; + +uint16 sml_loaderb_r_to_l[] = { + 23+158*64, + 0+158*64, + 24+158*64, + 0, +}; + +Compact dead_loader = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 2, // screen + 115, // place + transporter_table, // getToTable + 0XD2, // xcood + 0XF0, // ycood + 156*64+6, // frame + 4426, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65532, // mouseRel_x + 65488, // mouseRel_y + 20, // mouseSize_x + 48, // mouseSize_y + TRANSPORTER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + DEAD_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 top_lift_2_up[] = { + 149*64, + 284, + 196, + 17, + 284, + 196, + 16, + 284, + 196, + 15, + 284, + 196, + 14, + 284, + 196, + 13, + 284, + 196, + 12, + 284, + 196, + 11, + 284, + 196, + 10, + 284, + 196, + 9, + 284, + 196, + 8, + 284, + 196, + 7, + 284, + 196, + 6, + 284, + 196, + 5, + 284, + 196, + 4, + 284, + 196, + 3, + 284, + 196, + 2, + 284, + 196, + 1, + 284, + 196, + 0, + 0, + 0, +}; + +uint16 loaderb_l_to_u[] = { + 16+156*64, + 0, +}; + +uint16 loaderb_down[] = { + 1, + 0+157*64, + 0, + 1, + 1, + 1+157*64, + 0, + 1, + 1, + 2+157*64, + 0, + 1, + 0, +}; + +uint16 loader_r_to_u[] = { + 15+156*64, + 0, +}; + +uint16 top_lift_2_down[] = { + 149*64, + 284, + 196, + 0, + 284, + 196, + 1, + 284, + 196, + 2, + 284, + 196, + 3, + 284, + 196, + 4, + 284, + 196, + 5, + 284, + 196, + 6, + 284, + 196, + 7, + 284, + 196, + 8, + 284, + 196, + 9, + 284, + 196, + 10, + 284, + 196, + 11, + 284, + 196, + 12, + 284, + 196, + 13, + 284, + 196, + 14, + 284, + 196, + 15, + 284, + 196, + 16, + 284, + 196, + 17, + 0, +}; + +Compact left_exit_rm2 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 2, // screen + 0, // place + left_table2, // getToTable + 128, // xcood + 164, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 20, // mouseSize_x + 150, // mouseSize_y + EL2_ACTION, // actionScript +}; + +uint16 loader_up[] = { + 1, + 0+156*64, + 0, + 65535, + 1, + 1+156*64, + 0, + 65535, + 1, + 2+156*64, + 0, + 65535, + 0, +}; + +uint16 loader_st_left[] = { + 156*64, + 1, + 1, + 6, + 0, +}; + +uint16 loader_d_to_l[] = { + 17+156*64, + 0, +}; + +uint16 loader_r_to_l[] = { + 15+156*64, + 0+156*64, + 16+156*64, + 0, +}; + +uint16 loaderb_u_to_d[] = { + 17+156*64, + 3+157*64, + 12+157*64, + 0, +}; + +uint16 loaderb_d_to_u[] = { + 11+157*64, + 7+157*64, + 15+156*64, + 0, +}; + +uint16 sml_loader_left[] = { + 1, + 6+158*64, + 65535, + 0, + 1, + 7+158*64, + 65535, + 0, + 1, + 8+158*64, + 65535, + 0, + 1, + 9+158*64, + 65535, + 0, + 1, + 10+158*64, + 65535, + 0, + 1, + 11+158*64, + 65535, + 0, + 1, + 12+158*64, + 65535, + 0, + 1, + 13+158*64, + 65535, + 0, + 0, +}; + +uint16 sml_loader_right[] = { + 1, + 14+158*64, + 1, + 0, + 1, + 15+158*64, + 1, + 0, + 1, + 16+158*64, + 1, + 0, + 1, + 17+158*64, + 1, + 0, + 1, + 18+158*64, + 1, + 0, + 1, + 19+158*64, + 1, + 0, + 1, + 20+158*64, + 1, + 0, + 1, + 21+158*64, + 1, + 0, + 0, +}; + +uint16 sml_loader_st_left[] = { + 158*64, + 1, + 1, + 6, + 0, +}; + +uint16 sml_loader_d_to_u[] = { + 22+158*64, + 14+158*64, + 23+158*64, + 0, +}; + +uint16 sml_loader_l_to_d[] = { + 25+158*64, + 0, +}; + +uint16 sml_loader_l_to_r[] = { + 25+158*64, + 3+158*64, + 22+158*64, + 0, +}; + +uint16 sml_loaderb_down[] = { + 1, + 0+159*64, + 0, + 1, + 1, + 1+159*64, + 0, + 1, + 1, + 2+159*64, + 0, + 1, + 0, +}; + +uint16 sml_loaderb_left[] = { + 1, + 3+159*64, + 65535, + 0, + 1, + 4+159*64, + 65535, + 0, + 1, + 5+159*64, + 65535, + 0, + 1, + 6+159*64, + 65535, + 0, + 1, + 7+159*64, + 65535, + 0, + 1, + 8+159*64, + 65535, + 0, + 1, + 9+159*64, + 65535, + 0, + 1, + 10+159*64, + 65535, + 0, + 0, +}; + +uint16 sml_loaderb_st_left[] = { + 159*64, + 1, + 1, + 3, + 0, +}; + +uint16 sml_loaderb_u_to_r[] = { + 23+158*64, + 0, +}; + +uint16 sml_loaderb_d_to_r[] = { + 19+159*64, + 0, +}; + +uint16 sml_loaderb_l_to_d[] = { + 20+159*64, + 0, +}; + +UnknownStuff loader_unk = { + { // unknownStuff_1_1 + 3, + 8, + 16, + 24 + }, + { // unknownStuff_1_2 + loaderb_up, + loaderb_down, + loaderb_left, + loaderb_right, + loaderb_st_up, + loaderb_st_down, + loaderb_st_left, + loaderb_st_right, + 0, + 0, + loaderb_u_to_d, + loaderb_u_to_l, + loaderb_u_to_r, + 0, + loaderb_d_to_u, + 0, + loaderb_d_to_l, + loaderb_d_to_r, + 0, + loaderb_l_to_u, + loaderb_l_to_d, + 0, + loaderb_l_to_r, + 0, + loaderb_r_to_u, + loaderb_r_to_d, + loaderb_r_to_l, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + }, + { // unknownStuff_2_1 + 0, + 0, + 8, + 8 + }, + { // unknownStuff_2_2 + sml_loader_up, + sml_loader_down, + sml_loader_left, + sml_loader_right, + sml_loader_st_up, + sml_loader_st_down, + sml_loader_st_left, + sml_loader_st_right, + 0, + 0, + sml_loader_u_to_d, + sml_loader_u_to_l, + sml_loader_u_to_r, + 0, + sml_loader_d_to_u, + 0, + sml_loader_d_to_l, + sml_loader_d_to_r, + 0, + sml_loader_l_to_u, + sml_loader_l_to_d, + 0, + sml_loader_l_to_r, + 0, + sml_loader_r_to_u, + sml_loader_r_to_d, + sml_loader_r_to_l, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + }, + { // unknownStuff_3_1 + 0, + 0, + 8, + 8 + }, + { // unknownStuff_3_2 + sml_loaderb_up, + sml_loaderb_down, + sml_loaderb_left, + sml_loaderb_right, + sml_loaderb_st_up, + sml_loaderb_st_down, + sml_loaderb_st_left, + sml_loaderb_st_right, + 0, + 0, + sml_loaderb_u_to_d, + sml_loaderb_u_to_l, + sml_loaderb_u_to_r, + 0, + sml_loaderb_d_to_u, + 0, + sml_loaderb_d_to_l, + sml_loaderb_d_to_r, + 0, + sml_loaderb_l_to_u, + sml_loaderb_l_to_d, + 0, + sml_loaderb_l_to_r, + 0, + sml_loaderb_r_to_u, + sml_loaderb_r_to_d, + sml_loaderb_r_to_l, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + }, +}; + +uint16 *loader_turnTable[5][5] = { + { // turnTableup + 0, + loader_u_to_d, + loader_u_to_l, + loader_u_to_r, + 0 + }, + { // turnTableDown + loader_d_to_u, + 0, + loader_d_to_l, + loader_d_to_r, + 0 + }, + { // turnTableLeft + loader_l_to_u, + loader_l_to_d, + 0, + loader_l_to_r, + 0 + }, + { // turnTableRight + loader_r_to_u, + loader_r_to_d, + loader_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact loader_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 2, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_LOADER, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + loader_auto, // animScratch + 0*NEXT_MEGA_SET, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + loader_up, // animUp + loader_down, // animDown + loader_left, // animLeft + loader_right, // animRight + loader_st_up, // standUp + loader_st_down, // standDown + loader_st_left, // standLeft + loader_st_right, // standRight + 0, // standTalk +}; + +Compact loader = { + 1, // logic + 0, // status + 0, // sync + 2, // screen + 115, // place + 0, // getToTable + 0XD2, // xcood + 0XF0, // ycood + 156*64+6, // frame + 4426, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65532, // mouseRel_x + 65488, // mouseRel_y + 20, // mouseSize_x + 48, // mouseSize_y + TRANS_ALIVE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LOADER_START, // baseSub + 0, // baseSub_off + &loader_ext, + &loader_turnTable, + &loader_unk, +}; + +Compact junk2 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 2, // screen + 0, // place + 0, // getToTable + 332, // xcood + 289, // ycood + 0, // frame + 4546, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 355-332, // mouseSize_x + 315-289, // mouseSize_y + JUNK2_ACTION, // actionScript +}; + +uint16 fast_list_sc2[] = { + 12, + 51, + 52, + 53, + 54, + 135+0X8000, + 153+0X8000, + 200+0X8000, + 174, + 201+0X8000, + 112, + 113, + 114, + 163, + 164, + 165, + 149, + 0, +}; + +Compact light_one = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 2, // screen + 0, // place + 0, // getToTable + 216, // xcood + 188, // ycood + 163*64, // frame + 4186, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 12, // mouseSize_x + 8, // mouseSize_y + LIGHT1_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LIGHT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc2_logic[] = { + ID_FOSTER, + ID_JOEY, + JOBS, + ID_CUPBOARD, + ID_KNOB, + ID_LAZER, + ID_TOP_LIFT, + 4344, + ID_TOP_BARREL, + ID_LOADER, + ID_UPLOAD, + ID_DEAD_LOADER, + ID_LIGHT1, + ID_PANEL, + ID_ALARM, + ID_ROBOT_SHELL, + ID_PRESS, + 0XFFFF, + ID_MENU_LOGIC, +}; + +Compact top_lift_2 = { + L_SCRIPT, // logic + ST_SORT+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 2, // screen + 0, // place + 0, // getToTable + 284, // xcood + 196, // ycood + 149*64, // frame + 19+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + TOP_LIFT_2_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact top_lift = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 2, // screen + 0, // place + top_lift_table, // getToTable + 244, // xcood + 250, // ycood + 148*64, // frame + 19+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 48, // mouseSize_x + 21, // mouseSize_y + TOP_LIFT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + TOP_LIFT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 top_lift_down[] = { + 148*64, + 244, + 250, + 0, + 244, + 250, + 1, + 244, + 250, + 2, + 244, + 250, + 3, + 244, + 250, + 4, + 244, + 250, + 5, + 244, + 250, + 6, + 0, +}; + +Compact top_barrel = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 2, // screen + 0, // place + 0, // getToTable + 262, // xcood + 240, // ycood + 155*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + TOP_BARREL_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/30comp.h b/sky/compacts/30comp.h new file mode 100644 index 00000000000..f78de9bb806 --- /dev/null +++ b/sky/compacts/30comp.h @@ -0,0 +1,6538 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY30COMP_H +#define SKY30COMP_H + + +#include "31comp.h" +#include "38comp.h" +#include "33comp.h" +#include "32comp.h" +#include "34comp.h" +#include "39comp.h" +#include "40comp.h" +#include "41comp.h" +#include "36comp.h" +#include "37comp.h" +#include "44comp.h" +#include "45comp.h" +#include "46comp.h" +#include "47comp.h" +#include "48comp.h" +#include "65comp.h" +#include "42comp.h" + + +namespace SkyCompact { + +uint16 sc32_vinc_talk[] = { + 57*64, + 57*64, + 218, + 188, + 0, + 218, + 188, + 1, + 218, + 188, + 1, + 218, + 188, + 2, + 218, + 188, + 3, + 218, + 188, + 2, + 218, + 188, + 0, + 218, + 188, + 1, + 218, + 188, + 1, + 218, + 188, + 0, + 218, + 188, + 2, + 218, + 188, + 2, + 218, + 188, + 0, + 218, + 188, + 0, + 218, + 188, + 0, + 218, + 188, + 0, + 218, + 188, + 3, + 218, + 188, + 3, + 218, + 188, + 2, + 218, + 188, + 2, + 218, + 188, + 1, + 218, + 188, + 1, + 218, + 188, + 2, + 218, + 188, + 2, + 218, + 188, + 0, + 218, + 188, + 1, + 218, + 188, + 3, + 218, + 188, + 3, + 218, + 188, + 2, + 218, + 188, + 2, + 218, + 188, + 1, + 218, + 188, + 0, + 218, + 188, + 0, + 218, + 188, + 1, + 218, + 188, + 1, + 218, + 188, + 2, + 218, + 188, + 3, + 218, + 188, + 2, + 218, + 188, + 0, + 218, + 188, + 1, + 218, + 188, + 1, + 218, + 188, + 0, + 218, + 188, + 2, + 218, + 188, + 2, + 218, + 188, + 0, + 218, + 188, + 0, + 218, + 188, + 0, + 218, + 188, + 0, + 218, + 188, + 3, + 218, + 188, + 3, + 218, + 188, + 2, + 218, + 188, + 2, + 218, + 188, + 1, + 218, + 188, + 1, + 218, + 188, + 2, + 218, + 188, + 2, + 218, + 188, + 0, + 218, + 188, + 1, + 218, + 188, + 3, + 218, + 188, + 3, + 218, + 188, + 2, + 218, + 188, + 2, + 218, + 188, + 1, + 218, + 188, + 0, + 0, +}; + +uint16 sc30_palette[] = { + 0, + 1792, + 1286, + 2313, + 2311, + 2825, + 2317, + 2823, + 2316, + 2827, + 3086, + 2064, + 3342, + 3340, + 4365, + 3852, + 3599, + 2575, + 3346, + 5643, + 2315, + 4366, + 2572, + 8206, + 4879, + 4104, + 5136, + 3863, + 4107, + 3859, + 4370, + 4370, + 2837, + 4624, + 5142, + 3347, + 4374, + 6417, + 3601, + 6163, + 5129, + 5395, + 5394, + 4882, + 3607, + 4892, + 6668, + 4117, + 5397, + 6169, + 3351, + 5654, + 5398, + 4122, + 4897, + 7181, + 5142, + 6422, + 6168, + 3612, + 5912, + 5659, + 5149, + 6417, + 8490, + 4119, + 6430, + 6166, + 6939, + 6684, + 6426, + 4383, + 6436, + 4882, + 11547, + 6945, + 7444, + 5662, + 7445, + 10282, + 4377, + 7198, + 8734, + 6171, + 7706, + 7966, + 6685, + 6950, + 5653, + 11806, + 8734, + 7445, + 7457, + 6954, + 8724, + 7199, + 7968, + 6176, + 11810, + 7721, + 9752, + 6943, + 8735, + 8227, + 5926, + 9251, + 8985, + 7970, + 9242, + 8241, + 7207, + 8491, + 10266, + 7458, + 8239, + 8727, + 8741, + 8995, + 11302, + 6181, + 9258, + 8992, + 7721, + 9769, + 11548, + 7459, + 10269, + 10290, + 9254, + 9775, + 11035, + 8488, + 10536, + 12071, + 7974, + 10028, + 10533, + 7979, + 10290, + 11037, + 9259, + 11048, + 12589, + 9001, + 10798, + 13863, + 7465, + 11059, + 13344, + 9260, + 11569, + 11560, + 10543, + 11824, + 13868, + 8238, + 12334, + 13359, + 9776, + 12339, + 14890, + 8750, + 12599, + 14115, + 10545, + 13103, + 13106, + 12082, + 12602, + 13606, + 11316, + 13624, + 13864, + 12341, + 14136, + 13356, + 13878, + 13884, + 14122, + 13112, + 14654, + 14632, + 12090, + 14653, + 15405, + 12604, + 15423, + 15659, + 13629, + 15677, + 16187, + 16191, + 5682, + 12822, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 50, + 12820, + 5120, + 0, + 14336, + 13364, + 11569, + 9517, + 8738, + 6689, + 6681, + 4369, + 2579, + 1803, + 770, + 519, + 14851, + 9263, + 10037, + 12828, + 5151, + 5932, + 9741, + 1807, + 2593, + 11779, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 9519, + 10277, + 12849, + 9780, + 12069, + 6174, + 5927, + 7951, + 2581, + 3096, + 3077, + 12090, + 13092, + 6693, + 7473, + 10003, + 2834, + 2593, + 6917, + 259, + 9276, + 13867, + 9501, + 5936, + 10784, + 6673, + 3108, + 5142, + 4104, + 2866, + 10251, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 12863, + 5120, + 50, + 12820, + 5120, + 50, + 13844, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint32 sec4_compacts[0]; + +uint16 sc36_col_talk2[] = { + 63*64, + 63*64, + 219, + 226, + 0, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 2, + 219, + 226, + 2, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 0, + 219, + 226, + 0, + 219, + 226, + 4, + 219, + 226, + 4, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 2, + 219, + 226, + 2, + 219, + 226, + 4, + 219, + 226, + 4, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 2, + 219, + 226, + 2, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 4, + 219, + 226, + 4, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 2, + 219, + 226, + 2, + 219, + 226, + 4, + 219, + 226, + 4, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 2, + 219, + 226, + 2, + 219, + 226, + 0, + 219, + 226, + 0, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 0, + 0, +}; + +uint16 sc42_judge_point[] = { + 164*64, + 164*64, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 2, + 269, + 186, + 3, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 5, + 269, + 186, + 5, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 5, + 269, + 186, + 5, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 6, + 269, + 186, + 3, + 269, + 186, + 2, + 269, + 186, + 7, + 269, + 186, + 8, + 269, + 186, + 8, + 269, + 186, + 9, + 269, + 186, + 9, + 269, + 186, + 10, + 269, + 186, + 10, + 269, + 186, + 8, + 269, + 186, + 8, + 269, + 186, + 10, + 269, + 186, + 10, + 269, + 186, + 8, + 269, + 186, + 8, + 269, + 186, + 9, + 269, + 186, + 9, + 269, + 186, + 11, + 269, + 186, + 11, + 269, + 186, + 8, + 269, + 186, + 8, + 269, + 186, + 12, + 269, + 186, + 12, + 269, + 186, + 11, + 269, + 186, + 11, + 269, + 186, + 8, + 269, + 186, + 8, + 269, + 186, + 9, + 269, + 186, + 9, + 269, + 186, + 8, + 269, + 186, + 8, + 269, + 186, + 8, + 269, + 186, + 8, + 269, + 186, + 10, + 269, + 186, + 10, + 269, + 186, + 8, + 269, + 186, + 8, + 269, + 186, + 9, + 269, + 186, + 9, + 269, + 186, + 8, + 269, + 186, + 8, + 269, + 186, + 9, + 269, + 186, + 9, + 269, + 186, + 8, + 269, + 186, + 8, + 0, +}; + +uint16 sc30_floor_table[] = { + ID_SC30_FLOOR, + RETURN_OK, + ID_SC30_EXIT_31, + GT_SC30_EXIT_31, + 0, + SC30_EXIT_31_WALK_ON, + ID_SC30_EXIT_33, + GT_SC30_EXIT_33, + 1, + SC30_EXIT_33_WALK_ON, + ID_SC30_EXIT_36, + GT_SC30_EXIT_36, + 3, + SC30_EXIT_36_WALK_ON, + ID_SC30_COURT_DOOR, + GT_SC30_COURT_DOOR, + 4, + SC30_COURT_DOOR_WALK_ON, + ID_SC30_NOTICE, + GT_SC30_NOTICE, + ID_SC30_STATUE_1, + GT_SC30_STATUE_1, + ID_SC30_STATUE_2, + GT_SC30_STATUE_2, + ID_SC30_HENRI, + GT_SC30_HENRI, + ID_STD_LEFT_TALK, + GT_SC30_LEFT_TALK, + ID_STD_RIGHT_TALK, + GT_SC30_RIGHT_TALK, + ID_JOEY_PARK, + GT_DANI_WAIT, + 65535, +}; + +Compact sc30_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 30, // screen + 0, // place + sc30_floor_table, // getToTable + 184, // xcood + 240, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-184, // mouseSize_x + 327-240, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 reset_33_30[] = { + C_SCREEN, + 30, + C_PLACE, + ID_SC30_FLOOR, + C_XCOOD, + OFF_RIGHT, + C_YCOOD, + 312, + 65535, +}; + +uint16 sc30_hen_step_b[] = { + 89*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +uint16 sc42_pros_talk[] = { + 152*64, + 152*64, + 197, + 277, + 0, + 197, + 277, + 0, + 197, + 277, + 1, + 197, + 277, + 1, + 197, + 277, + 2, + 197, + 277, + 2, + 197, + 277, + 1, + 197, + 277, + 1, + 197, + 277, + 2, + 197, + 277, + 2, + 197, + 277, + 3, + 197, + 277, + 3, + 197, + 277, + 3, + 197, + 277, + 0, + 197, + 277, + 0, + 197, + 277, + 2, + 197, + 277, + 4, + 197, + 277, + 4, + 197, + 277, + 2, + 197, + 277, + 1, + 197, + 277, + 1, + 197, + 277, + 2, + 197, + 277, + 2, + 197, + 277, + 3, + 197, + 277, + 3, + 197, + 277, + 1, + 197, + 277, + 0, + 197, + 277, + 0, + 197, + 277, + 3, + 197, + 277, + 3, + 197, + 277, + 1, + 197, + 277, + 1, + 197, + 277, + 2, + 197, + 277, + 2, + 197, + 277, + 2, + 197, + 277, + 2, + 197, + 277, + 4, + 197, + 277, + 4, + 197, + 277, + 2, + 197, + 277, + 2, + 197, + 277, + 1, + 197, + 277, + 1, + 197, + 277, + 2, + 197, + 277, + 2, + 197, + 277, + 4, + 197, + 277, + 4, + 197, + 277, + 2, + 197, + 277, + 2, + 197, + 277, + 1, + 197, + 277, + 1, + 197, + 277, + 1, + 197, + 277, + 1, + 197, + 277, + 3, + 197, + 277, + 3, + 197, + 277, + 2, + 197, + 277, + 4, + 197, + 277, + 2, + 197, + 277, + 1, + 197, + 277, + 3, + 197, + 277, + 3, + 197, + 277, + 2, + 197, + 277, + 2, + 197, + 277, + 2, + 197, + 277, + 2, + 0, +}; + +uint16 sc36_col_talk1[] = { + 62*64, + 62*64, + 219, + 226, + 0, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 2, + 219, + 226, + 2, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 4, + 219, + 226, + 1, + 219, + 226, + 2, + 219, + 226, + 2, + 219, + 226, + 2, + 219, + 226, + 2, + 219, + 226, + 0, + 219, + 226, + 0, + 219, + 226, + 2, + 219, + 226, + 2, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 5, + 219, + 226, + 5, + 219, + 226, + 4, + 219, + 226, + 4, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 0, + 219, + 226, + 0, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 2, + 219, + 226, + 2, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 0, + 219, + 226, + 0, + 219, + 226, + 2, + 219, + 226, + 2, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 4, + 219, + 226, + 1, + 219, + 226, + 1, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 3, + 0, +}; + +uint16 sc30_fast_list[] = { + 12+DISK_12, + 51+DISK_12, + 52+DISK_12, + 53+DISK_12, + 54+DISK_12, + 135+DISK_12, + IT_SC30_HENRI_BLINK+DISK_12, + 0, +}; + +uint16 sc30_chip_list[] = { + IT_SC30_LAYER_0+DISK_12, + IT_SC30_LAYER_1+DISK_12, + IT_SC30_LAYER_2+DISK_12, + IT_SC30_GRID_1+DISK_12, + IT_SC30_GRID_2+DISK_12, + IT_DANIELLE+DISK_12, + IT_DANI_CONV+DISK_12, + IT_SPUNKY+DISK_12, + IT_SNIFF_LEFT+DISK_12, + IT_PISS_LEFT+DISK_12, + IT_SC30_HENRI_TALK+DISK_12, + IT_SC30_HENRI_TIE+DISK_12, + IT_SC30_HENRI_STEP+DISK_12, + IT_SC30_COURT_DOOR+DISK_12, + IT_SC30_PUSH_DOOR+DISK_12, + 0, +}; + +uint16 sc30_logic_list[] = { + ID_FOSTER, + ID_DANIELLE, + ID_SPUNKY, + ID_DOG_BARK_THING, + ID_SC30_HENRI, + ID_SC30_COURT_DOOR, + ID_SC32_LIFT, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc30_mouse_list[] = { + ID_SC30_HENRI, + ID_SPUNKY, + ID_DANIELLE, + ID_SC30_NOTICE, + ID_SC30_STATUE_1, + ID_SC30_STATUE_2, + ID_SC30_EXIT_31, + ID_SC30_EXIT_33, + ID_SC30_EXIT_36, + ID_SC30_COURT_DOOR, + ID_SC30_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint32 sc30_walk_grid[0]; + +Compact sc30_exit_31 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 30, // screen + 0, // place + 0, // getToTable + 420, // xcood + 190, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-420, // mouseSize_x + 256-190, // mouseSize_y + SC30_EXIT_31_ACTION, // actionScript +}; + +Compact sc30_exit_33 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 30, // screen + 0, // place + 0, // getToTable + 420, // xcood + 270, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-420, // mouseSize_x + 327-270, // mouseSize_y + SC30_EXIT_33_ACTION, // actionScript +}; + +uint16 reset_31_30[] = { + C_SCREEN, + 30, + C_PLACE, + ID_SC30_FLOOR, + C_XCOOD, + OFF_RIGHT, + C_YCOOD, + 248, + 65535, +}; + +Compact sc30_court_door = { + L_SCRIPT, // logic + ST_MOUSE+ST_BACKGROUND, // status + 0, // sync + 30, // screen + 0, // place + 0, // getToTable + 167, // xcood + 210, // ycood + 3+134*64, // frame + 181, // cursorText + SC30_COURT_DOOR_MOUSE_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65532, // mouseRel_y + 179-166, // mouseSize_x + 265-206, // mouseSize_y + SC30_COURT_DOOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC30_COURT_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc30_notice = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 30, // screen + 0, // place + 0, // getToTable + 169, // xcood + 218, // ycood + 0, // frame + 52, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 174-169, // mouseSize_x + 227-218, // mouseSize_y + SC30_NOTICE_ACTION, // actionScript +}; + +Compact sc30_statue_1 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 30, // screen + 0, // place + 0, // getToTable + 206, // xcood + 215, // ycood + 0, // frame + 16620, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 220-206, // mouseSize_x + 244-215, // mouseSize_y + SC30_STATUE_1_ACTION, // actionScript +}; + +Compact sc30_statue_2 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 30, // screen + 0, // place + 0, // getToTable + 330, // xcood + 220, // ycood + 0, // frame + 16620, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 360-330, // mouseSize_x + 249-220, // mouseSize_y + SC30_STATUE_2_ACTION, // actionScript +}; + +Compact sc30_exit_36 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 30, // screen + 0, // place + 0, // getToTable + 280, // xcood + 231, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 288-280, // mouseSize_x + 290-231, // mouseSize_y + SC30_EXIT_36_ACTION, // actionScript +}; + +ExtCompact sc30_henri_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_HENRI30, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc30_henri = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 30, // screen + 0, // place + 0, // getToTable + 284, // xcood + 228, // ycood + 3+89*64, // frame + 16615, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 5, // mouseRel_x + 0, // mouseRel_y + 311-289, // mouseSize_x + 281-228, // mouseSize_y + SC30_HENRI_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC30_HENRI_LOGIC, // baseSub + 0, // baseSub_off + &sc30_henri_ext, +}; + +uint16 sc30_henri_talk[] = { + 87*64, + 87*64, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 1, + 284, + 228, + 1, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 2, + 284, + 228, + 2, + 284, + 228, + 3, + 284, + 228, + 3, + 284, + 228, + 1, + 284, + 228, + 1, + 284, + 228, + 1, + 284, + 228, + 1, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 3, + 284, + 228, + 3, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 2, + 284, + 228, + 2, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 1, + 284, + 228, + 1, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 4, + 284, + 228, + 4, + 284, + 228, + 3, + 284, + 228, + 3, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 4, + 284, + 228, + 4, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 3, + 284, + 228, + 3, + 284, + 228, + 1, + 284, + 228, + 1, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 2, + 284, + 228, + 2, + 284, + 228, + 3, + 284, + 228, + 3, + 284, + 228, + 4, + 284, + 228, + 4, + 284, + 228, + 2, + 284, + 228, + 2, + 284, + 228, + 3, + 284, + 228, + 3, + 284, + 228, + 1, + 284, + 228, + 1, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 4, + 284, + 228, + 4, + 284, + 228, + 1, + 284, + 228, + 1, + 0, +}; + +uint16 sc30_henri_tie[] = { + 88*64, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 1, + 284, + 228, + 1, + 284, + 228, + 2, + 284, + 228, + 2, + 284, + 228, + 3, + 284, + 228, + 3, + 284, + 228, + 4, + 284, + 228, + 4, + 284, + 228, + 5, + 284, + 228, + 5, + 284, + 228, + 6, + 284, + 228, + 6, + 284, + 228, + 3, + 284, + 228, + 3, + 284, + 228, + 2, + 284, + 228, + 2, + 284, + 228, + 1, + 284, + 228, + 1, + 284, + 228, + 0, + 284, + 228, + 0, + 284, + 228, + 7, + 284, + 228, + 7, + 0, +}; + +uint16 sc30_hen_step_f[] = { + 89*64, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc30_hen_blink[] = { + 90*64, + 284, + 228, + 0, + 284, + 228, + 1, + 284, + 228, + 1, + 284, + 228, + 0, + 1, + 1, + 3+89*64, + 0, +}; + +uint16 sc30_push_door[] = { + 91*64, + 162, + 208, + 0, + 162, + 208, + 1, + 162, + 208, + 2, + 162, + 208, + 3, + 162, + 208, + 4, + 162, + 208, + 4, + 162, + 208, + 4, + 162, + 208, + 4, + 162, + 208, + 3, + 162, + 208, + 2, + 162, + 208, + 1, + 162, + 208, + 5, + 0, +}; + +uint16 reset_36_30[] = { + C_SCREEN, + 30, + C_PLACE, + ID_SC30_FLOOR, + C_XCOOD, + 264, + C_YCOOD, + 288, + C_FRAME, + 46+12*64, + C_DIR, + RIGHT, + 65535, +}; + +uint16 sc30_joey_list[] = { + 184, + 415, + 240, + 327, + 1, + 232, + 343, + 272, + 327, + 0, + 0, +}; + +uint16 dani_conv[] = { + 85*64, + 85*64, + 272, + 189, + 0, + 272, + 189, + 1, + 272, + 189, + 1, + 272, + 189, + 2, + 272, + 189, + 3, + 272, + 189, + 3, + 272, + 189, + 1, + 272, + 189, + 1, + 272, + 189, + 2, + 272, + 189, + 2, + 272, + 189, + 0, + 272, + 189, + 0, + 272, + 189, + 1, + 272, + 189, + 1, + 272, + 189, + 2, + 272, + 189, + 2, + 272, + 189, + 0, + 272, + 189, + 3, + 272, + 189, + 3, + 272, + 189, + 1, + 272, + 189, + 4, + 272, + 189, + 4, + 272, + 189, + 5, + 272, + 189, + 5, + 272, + 189, + 6, + 272, + 189, + 6, + 272, + 189, + 0, + 272, + 189, + 0, + 272, + 189, + 2, + 272, + 189, + 2, + 272, + 189, + 1, + 272, + 189, + 1, + 272, + 189, + 2, + 272, + 189, + 6, + 272, + 189, + 6, + 272, + 189, + 1, + 272, + 189, + 1, + 272, + 189, + 6, + 272, + 189, + 1, + 272, + 189, + 0, + 272, + 189, + 2, + 272, + 189, + 1, + 272, + 189, + 4, + 272, + 189, + 4, + 272, + 189, + 3, + 272, + 189, + 3, + 272, + 189, + 6, + 272, + 189, + 6, + 272, + 189, + 0, + 272, + 189, + 0, + 272, + 189, + 2, + 272, + 189, + 2, + 272, + 189, + 1, + 272, + 189, + 1, + 272, + 189, + 3, + 272, + 189, + 3, + 272, + 189, + 0, + 272, + 189, + 0, + 272, + 189, + 6, + 272, + 189, + 6, + 272, + 189, + 1, + 272, + 189, + 1, + 272, + 189, + 0, + 272, + 189, + 0, + 0, +}; + +uint16 sc38_dani_sattlk[] = { + 108*64, + 108*64, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 1, + 294, + 244, + 1, + 294, + 244, + 1, + 294, + 244, + 1, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 2, + 294, + 244, + 2, + 294, + 244, + 3, + 294, + 244, + 3, + 294, + 244, + 1, + 294, + 244, + 1, + 294, + 244, + 2, + 294, + 244, + 2, + 294, + 244, + 3, + 294, + 244, + 3, + 294, + 244, + 1, + 294, + 244, + 1, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 3, + 294, + 244, + 3, + 294, + 244, + 4, + 294, + 244, + 4, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 1, + 294, + 244, + 1, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 2, + 294, + 244, + 2, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 2, + 294, + 244, + 2, + 294, + 244, + 3, + 294, + 244, + 3, + 294, + 244, + 4, + 294, + 244, + 4, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 2, + 294, + 244, + 2, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 1, + 294, + 244, + 1, + 294, + 244, + 3, + 294, + 244, + 3, + 294, + 244, + 0, + 294, + 244, + 0, + 294, + 244, + 2, + 294, + 244, + 2, + 294, + 244, + 2, + 294, + 244, + 2, + 294, + 244, + 4, + 294, + 244, + 4, + 0, +}; + +uint16 sc31_guard_talk[] = { + 101*64, + 101*64, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 1, + 328, + 176, + 1, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 3, + 328, + 176, + 3, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 4, + 328, + 176, + 4, + 328, + 176, + 3, + 328, + 176, + 3, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 1, + 328, + 176, + 1, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 3, + 328, + 176, + 3, + 328, + 176, + 5, + 328, + 176, + 5, + 328, + 176, + 3, + 328, + 176, + 3, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 4, + 328, + 176, + 4, + 328, + 176, + 1, + 328, + 176, + 1, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 4, + 328, + 176, + 4, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 3, + 328, + 176, + 3, + 328, + 176, + 5, + 328, + 176, + 5, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 1, + 328, + 176, + 1, + 328, + 176, + 4, + 328, + 176, + 4, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 3, + 328, + 176, + 3, + 328, + 176, + 5, + 328, + 176, + 5, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 4, + 328, + 176, + 4, + 0, +}; + +uint16 sc38_phone_talk[] = { + 131*64, + 131*64, + 160, + 256, + 0, + 160, + 256, + 0, + 160, + 256, + 1, + 160, + 256, + 1, + 160, + 256, + 2, + 160, + 256, + 2, + 160, + 256, + 0, + 160, + 256, + 0, + 160, + 256, + 3, + 160, + 256, + 3, + 160, + 256, + 4, + 160, + 256, + 4, + 160, + 256, + 5, + 160, + 256, + 5, + 160, + 256, + 6, + 160, + 256, + 6, + 160, + 256, + 0, + 160, + 256, + 0, + 160, + 256, + 1, + 160, + 256, + 1, + 160, + 256, + 2, + 160, + 256, + 2, + 160, + 256, + 0, + 160, + 256, + 0, + 160, + 256, + 5, + 160, + 256, + 5, + 160, + 256, + 3, + 160, + 256, + 3, + 160, + 256, + 4, + 160, + 256, + 4, + 160, + 256, + 5, + 160, + 256, + 5, + 160, + 256, + 6, + 160, + 256, + 6, + 160, + 256, + 0, + 160, + 256, + 0, + 160, + 256, + 1, + 160, + 256, + 1, + 160, + 256, + 2, + 160, + 256, + 2, + 160, + 256, + 0, + 160, + 256, + 0, + 160, + 256, + 3, + 160, + 256, + 3, + 160, + 256, + 5, + 160, + 256, + 5, + 160, + 256, + 6, + 160, + 256, + 6, + 160, + 256, + 6, + 160, + 256, + 6, + 160, + 256, + 0, + 160, + 256, + 0, + 160, + 256, + 1, + 160, + 256, + 1, + 160, + 256, + 0, + 160, + 256, + 0, + 160, + 256, + 3, + 160, + 256, + 3, + 160, + 256, + 4, + 160, + 256, + 4, + 160, + 256, + 5, + 160, + 256, + 5, + 160, + 256, + 6, + 160, + 256, + 6, + 0, +}; + +uint16 sc32_garden_talk[] = { + 60*64, + 60*64, + 269, + 169, + 0, + 269, + 169, + 0, + 269, + 169, + 1, + 269, + 169, + 1, + 269, + 169, + 0, + 269, + 169, + 0, + 269, + 169, + 2, + 269, + 169, + 2, + 269, + 169, + 3, + 269, + 169, + 3, + 269, + 169, + 4, + 269, + 169, + 4, + 269, + 169, + 5, + 269, + 169, + 5, + 269, + 169, + 0, + 269, + 169, + 6, + 269, + 169, + 6, + 269, + 169, + 6, + 269, + 169, + 7, + 269, + 169, + 7, + 269, + 169, + 8, + 269, + 169, + 8, + 269, + 169, + 9, + 269, + 169, + 9, + 269, + 169, + 10, + 269, + 169, + 10, + 269, + 169, + 0, + 269, + 169, + 0, + 269, + 169, + 11, + 269, + 169, + 11, + 269, + 169, + 12, + 269, + 169, + 12, + 269, + 169, + 3, + 269, + 169, + 3, + 269, + 169, + 4, + 269, + 169, + 4, + 269, + 169, + 5, + 269, + 169, + 5, + 269, + 169, + 0, + 269, + 169, + 6, + 269, + 169, + 6, + 269, + 169, + 7, + 269, + 169, + 7, + 269, + 169, + 8, + 269, + 169, + 8, + 269, + 169, + 9, + 269, + 169, + 9, + 269, + 169, + 10, + 269, + 169, + 10, + 269, + 169, + 0, + 269, + 169, + 12, + 269, + 169, + 12, + 269, + 169, + 13, + 269, + 169, + 13, + 269, + 169, + 0, + 269, + 169, + 0, + 269, + 169, + 0, + 269, + 169, + 0, + 269, + 169, + 2, + 269, + 169, + 2, + 269, + 169, + 3, + 269, + 169, + 3, + 269, + 169, + 4, + 269, + 169, + 0, + 0, +}; + +uint16 sc31_guard_talk2[] = { + 131*64, + 131*64, + 328, + 242, + 0, + 328, + 242, + 0, + 328, + 242, + 1, + 328, + 242, + 1, + 328, + 242, + 2, + 328, + 242, + 2, + 328, + 242, + 3, + 328, + 242, + 3, + 328, + 242, + 2, + 328, + 242, + 2, + 328, + 242, + 4, + 328, + 242, + 4, + 328, + 242, + 0, + 328, + 242, + 0, + 328, + 242, + 1, + 328, + 242, + 1, + 328, + 242, + 4, + 328, + 242, + 4, + 328, + 242, + 5, + 328, + 242, + 2, + 328, + 242, + 2, + 328, + 242, + 2, + 328, + 242, + 3, + 328, + 242, + 3, + 328, + 242, + 6, + 328, + 242, + 6, + 328, + 242, + 3, + 328, + 242, + 3, + 328, + 242, + 2, + 328, + 242, + 2, + 328, + 242, + 1, + 328, + 242, + 1, + 328, + 242, + 0, + 328, + 242, + 0, + 328, + 242, + 1, + 328, + 242, + 1, + 328, + 242, + 2, + 328, + 242, + 2, + 328, + 242, + 3, + 328, + 242, + 3, + 328, + 242, + 2, + 328, + 242, + 2, + 328, + 242, + 4, + 328, + 242, + 4, + 328, + 242, + 0, + 328, + 242, + 0, + 328, + 242, + 1, + 328, + 242, + 1, + 328, + 242, + 4, + 328, + 242, + 4, + 328, + 242, + 5, + 328, + 242, + 2, + 328, + 242, + 2, + 328, + 242, + 2, + 328, + 242, + 3, + 328, + 242, + 3, + 328, + 242, + 6, + 328, + 242, + 6, + 328, + 242, + 3, + 328, + 242, + 3, + 328, + 242, + 2, + 328, + 242, + 2, + 328, + 242, + 1, + 328, + 242, + 1, + 0, +}; + +uint16 barman_talk[] = { + 61*64, + 61*64, + 391, + 240, + 0, + 391, + 240, + 1, + 391, + 240, + 2, + 391, + 240, + 2, + 391, + 240, + 3, + 391, + 240, + 3, + 391, + 240, + 4, + 391, + 240, + 1, + 391, + 240, + 0, + 391, + 240, + 0, + 391, + 240, + 4, + 391, + 240, + 4, + 391, + 240, + 1, + 391, + 240, + 1, + 391, + 240, + 3, + 391, + 240, + 3, + 391, + 240, + 4, + 391, + 240, + 4, + 391, + 240, + 3, + 391, + 240, + 3, + 391, + 240, + 0, + 391, + 240, + 0, + 391, + 240, + 4, + 391, + 240, + 3, + 391, + 240, + 0, + 391, + 240, + 0, + 391, + 240, + 4, + 391, + 240, + 4, + 391, + 240, + 1, + 391, + 240, + 1, + 391, + 240, + 0, + 391, + 240, + 0, + 391, + 240, + 3, + 391, + 240, + 3, + 391, + 240, + 2, + 391, + 240, + 2, + 391, + 240, + 0, + 391, + 240, + 0, + 391, + 240, + 3, + 391, + 240, + 3, + 391, + 240, + 4, + 391, + 240, + 4, + 391, + 240, + 2, + 391, + 240, + 2, + 391, + 240, + 0, + 391, + 240, + 0, + 391, + 240, + 3, + 391, + 240, + 3, + 391, + 240, + 0, + 391, + 240, + 0, + 391, + 240, + 1, + 391, + 240, + 1, + 391, + 240, + 2, + 391, + 240, + 2, + 391, + 240, + 0, + 391, + 240, + 0, + 391, + 240, + 4, + 391, + 240, + 4, + 391, + 240, + 2, + 391, + 240, + 2, + 391, + 240, + 1, + 391, + 240, + 1, + 391, + 240, + 0, + 391, + 240, + 0, + 0, +}; + +uint16 sc36_gal_talk[] = { + 64*64, + 64*64, + 202, + 238, + 0, + 202, + 238, + 1, + 202, + 238, + 1, + 202, + 238, + 2, + 202, + 238, + 2, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 3, + 202, + 238, + 3, + 202, + 238, + 2, + 202, + 238, + 2, + 202, + 238, + 4, + 202, + 238, + 4, + 202, + 238, + 4, + 202, + 238, + 2, + 202, + 238, + 2, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 1, + 202, + 238, + 1, + 202, + 238, + 2, + 202, + 238, + 2, + 202, + 238, + 2, + 202, + 238, + 2, + 202, + 238, + 2, + 202, + 238, + 2, + 202, + 238, + 2, + 202, + 238, + 2, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 1, + 202, + 238, + 1, + 202, + 238, + 4, + 202, + 238, + 4, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 3, + 202, + 238, + 3, + 202, + 238, + 1, + 202, + 238, + 1, + 202, + 238, + 2, + 202, + 238, + 2, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 2, + 202, + 238, + 2, + 202, + 238, + 4, + 202, + 238, + 4, + 202, + 238, + 0, + 0, +}; + +uint16 sc36_juke_talk[] = { + 86*64, + 86*64, + 233, + 222, + 0, + 233, + 222, + 1, + 233, + 222, + 2, + 233, + 222, + 3, + 233, + 222, + 4, + 233, + 222, + 5, + 233, + 222, + 0, + 233, + 222, + 3, + 233, + 222, + 4, + 233, + 222, + 0, + 233, + 222, + 6, + 233, + 222, + 0, + 233, + 222, + 3, + 233, + 222, + 6, + 233, + 222, + 5, + 233, + 222, + 7, + 233, + 222, + 6, + 233, + 222, + 0, + 233, + 222, + 7, + 233, + 222, + 4, + 233, + 222, + 2, + 233, + 222, + 5, + 233, + 222, + 3, + 233, + 222, + 7, + 233, + 222, + 4, + 233, + 222, + 2, + 233, + 222, + 0, + 233, + 222, + 3, + 233, + 222, + 7, + 233, + 222, + 1, + 233, + 222, + 6, + 233, + 222, + 5, + 233, + 222, + 0, + 233, + 222, + 3, + 233, + 222, + 1, + 233, + 222, + 6, + 233, + 222, + 5, + 233, + 222, + 7, + 233, + 222, + 4, + 233, + 222, + 6, + 233, + 222, + 2, + 233, + 222, + 5, + 233, + 222, + 0, + 233, + 222, + 3, + 233, + 222, + 7, + 233, + 222, + 4, + 233, + 222, + 5, + 233, + 222, + 3, + 233, + 222, + 7, + 233, + 222, + 1, + 233, + 222, + 6, + 233, + 222, + 5, + 233, + 222, + 0, + 233, + 222, + 1, + 233, + 222, + 6, + 233, + 222, + 5, + 233, + 222, + 3, + 233, + 222, + 1, + 233, + 222, + 4, + 233, + 222, + 6, + 233, + 222, + 2, + 233, + 222, + 6, + 233, + 222, + 5, + 233, + 222, + 3, + 0, +}; + +uint16 sc36_babs_talk[] = { + 107*64, + 107*64, + 216, + 206, + 0, + 216, + 206, + 1, + 216, + 206, + 1, + 216, + 206, + 1, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 2, + 216, + 206, + 2, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 3, + 216, + 206, + 3, + 216, + 206, + 4, + 216, + 206, + 4, + 216, + 206, + 3, + 216, + 206, + 3, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 3, + 216, + 206, + 4, + 216, + 206, + 3, + 216, + 206, + 3, + 216, + 206, + 0, + 216, + 206, + 1, + 216, + 206, + 1, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 2, + 216, + 206, + 2, + 216, + 206, + 1, + 216, + 206, + 0, + 216, + 206, + 1, + 216, + 206, + 1, + 216, + 206, + 3, + 216, + 206, + 4, + 216, + 206, + 2, + 216, + 206, + 2, + 216, + 206, + 1, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 1, + 216, + 206, + 1, + 216, + 206, + 0, + 216, + 206, + 2, + 216, + 206, + 2, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 1, + 216, + 206, + 1, + 216, + 206, + 2, + 216, + 206, + 2, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 1, + 216, + 206, + 2, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 0, + 216, + 206, + 0, + 0, +}; + +uint16 reset_42_30[] = { + C_SCREEN, + 30, + C_PLACE, + ID_SC30_FLOOR, + C_XCOOD, + 144, + C_YCOOD, + 256, + 65535, +}; + +uint16 reset_court_open[] = { + C_STATUS, + ST_LOGIC+ST_MOUSE+ST_RECREATE, + C_CURSOR_TEXT, + 1+T7, + 65535, +}; + +uint16 sc30_court_close[] = { + 134*64, + 167, + 210, + 0, + 167, + 210, + 1, + 167, + 210, + 2, + 167, + 210, + 3, + 0, +}; + +uint16 sc42_judge_talk[] = { + 150*64, + 150*64, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 2, + 269, + 186, + 2, + 269, + 186, + 3, + 269, + 186, + 3, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 2, + 269, + 186, + 2, + 269, + 186, + 3, + 269, + 186, + 3, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 5, + 269, + 186, + 5, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 5, + 269, + 186, + 5, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 3, + 269, + 186, + 3, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 2, + 269, + 186, + 2, + 269, + 186, + 3, + 269, + 186, + 3, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 5, + 269, + 186, + 5, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 2, + 269, + 186, + 2, + 269, + 186, + 3, + 269, + 186, + 3, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 2, + 269, + 186, + 2, + 269, + 186, + 3, + 269, + 186, + 3, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 5, + 269, + 186, + 5, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 5, + 269, + 186, + 5, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 3, + 269, + 186, + 3, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 2, + 269, + 186, + 2, + 269, + 186, + 3, + 269, + 186, + 3, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 5, + 269, + 186, + 5, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 1, + 0, +}; + +uint16 sc42_jobs_talk[] = { + 153*64, + 153*64, + 340, + 200, + 0, + 340, + 200, + 1, + 340, + 200, + 2, + 340, + 200, + 2, + 340, + 200, + 3, + 340, + 200, + 3, + 340, + 200, + 0, + 340, + 200, + 2, + 340, + 200, + 2, + 340, + 200, + 0, + 340, + 200, + 4, + 340, + 200, + 1, + 340, + 200, + 1, + 340, + 200, + 0, + 340, + 200, + 3, + 340, + 200, + 4, + 340, + 200, + 4, + 340, + 200, + 1, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 2, + 340, + 200, + 1, + 340, + 200, + 1, + 340, + 200, + 3, + 340, + 200, + 4, + 340, + 200, + 2, + 340, + 200, + 1, + 340, + 200, + 1, + 340, + 200, + 0, + 340, + 200, + 2, + 340, + 200, + 2, + 340, + 200, + 1, + 340, + 200, + 3, + 340, + 200, + 4, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 4, + 340, + 200, + 4, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 4, + 340, + 200, + 4, + 340, + 200, + 2, + 340, + 200, + 2, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 1, + 340, + 200, + 1, + 340, + 200, + 3, + 340, + 200, + 3, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 1, + 340, + 200, + 1, + 340, + 200, + 0, + 340, + 200, + 0, + 0, +}; + +uint16 sc42_blunt_talk[] = { + 156*64, + 156*64, + 232, + 224, + 0, + 232, + 224, + 1, + 232, + 224, + 1, + 232, + 224, + 2, + 232, + 224, + 2, + 232, + 224, + 3, + 232, + 224, + 3, + 232, + 224, + 4, + 232, + 224, + 4, + 232, + 224, + 5, + 232, + 224, + 5, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 1, + 232, + 224, + 1, + 232, + 224, + 2, + 232, + 224, + 2, + 232, + 224, + 3, + 232, + 224, + 3, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 4, + 232, + 224, + 4, + 232, + 224, + 5, + 232, + 224, + 5, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 6, + 232, + 224, + 6, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 2, + 232, + 224, + 2, + 232, + 224, + 3, + 232, + 224, + 3, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 4, + 232, + 224, + 4, + 232, + 224, + 5, + 232, + 224, + 5, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 2, + 232, + 224, + 2, + 232, + 224, + 7, + 232, + 224, + 7, + 232, + 224, + 3, + 232, + 224, + 3, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 232, + 224, + 0, + 0, +}; + +uint16 sc42_fos_talk_l[] = { + 159*64, + 159*64, + 324, + 279, + 0, + 324, + 279, + 0, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 0, + 324, + 279, + 0, + 324, + 279, + 2, + 324, + 279, + 2, + 324, + 279, + 2, + 324, + 279, + 2, + 324, + 279, + 3, + 324, + 279, + 2, + 324, + 279, + 4, + 324, + 279, + 5, + 324, + 279, + 4, + 324, + 279, + 4, + 324, + 279, + 4, + 324, + 279, + 4, + 324, + 279, + 6, + 324, + 279, + 2, + 324, + 279, + 7, + 324, + 279, + 7, + 324, + 279, + 2, + 324, + 279, + 2, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 2, + 324, + 279, + 0, + 324, + 279, + 8, + 324, + 279, + 8, + 324, + 279, + 0, + 324, + 279, + 0, + 324, + 279, + 0, + 324, + 279, + 0, + 324, + 279, + 8, + 324, + 279, + 8, + 324, + 279, + 0, + 324, + 279, + 0, + 324, + 279, + 2, + 324, + 279, + 2, + 324, + 279, + 0, + 324, + 279, + 0, + 324, + 279, + 0, + 324, + 279, + 0, + 324, + 279, + 6, + 324, + 279, + 6, + 324, + 279, + 6, + 324, + 279, + 6, + 324, + 279, + 4, + 324, + 279, + 4, + 324, + 279, + 5, + 324, + 279, + 4, + 324, + 279, + 9, + 324, + 279, + 10, + 324, + 279, + 6, + 324, + 279, + 7, + 324, + 279, + 2, + 324, + 279, + 3, + 324, + 279, + 2, + 324, + 279, + 2, + 324, + 279, + 2, + 324, + 279, + 2, + 324, + 279, + 2, + 324, + 279, + 2, + 0, +}; + +uint16 sc42_fos_talk_r[] = { + 160*64, + 160*64, + 324, + 279, + 0, + 324, + 279, + 0, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 2, + 324, + 279, + 2, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 2, + 324, + 279, + 2, + 324, + 279, + 4, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 5, + 324, + 279, + 5, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 5, + 324, + 279, + 5, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 2, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 1, + 324, + 279, + 6, + 324, + 279, + 6, + 324, + 279, + 7, + 324, + 279, + 5, + 324, + 279, + 3, + 324, + 279, + 6, + 324, + 279, + 6, + 324, + 279, + 3, + 324, + 279, + 3, + 324, + 279, + 1, + 324, + 279, + 2, + 324, + 279, + 2, + 0, +}; + +uint16 sc42_dani_talk[] = { + 162*64, + 162*64, + 280, + 209, + 0, + 280, + 209, + 0, + 280, + 209, + 1, + 280, + 209, + 1, + 280, + 209, + 2, + 280, + 209, + 2, + 280, + 209, + 3, + 280, + 209, + 3, + 280, + 209, + 2, + 280, + 209, + 2, + 280, + 209, + 4, + 280, + 209, + 4, + 280, + 209, + 3, + 280, + 209, + 3, + 280, + 209, + 5, + 280, + 209, + 6, + 280, + 209, + 7, + 280, + 209, + 7, + 280, + 209, + 0, + 280, + 209, + 0, + 280, + 209, + 1, + 280, + 209, + 1, + 280, + 209, + 2, + 280, + 209, + 2, + 280, + 209, + 0, + 280, + 209, + 0, + 280, + 209, + 8, + 280, + 209, + 8, + 280, + 209, + 1, + 280, + 209, + 1, + 280, + 209, + 2, + 280, + 209, + 2, + 280, + 209, + 3, + 280, + 209, + 3, + 280, + 209, + 0, + 280, + 209, + 0, + 280, + 209, + 7, + 280, + 209, + 7, + 280, + 209, + 0, + 280, + 209, + 0, + 280, + 209, + 1, + 280, + 209, + 1, + 280, + 209, + 4, + 280, + 209, + 4, + 280, + 209, + 0, + 280, + 209, + 0, + 280, + 209, + 7, + 280, + 209, + 7, + 280, + 209, + 8, + 280, + 209, + 8, + 280, + 209, + 1, + 280, + 209, + 1, + 280, + 209, + 4, + 280, + 209, + 4, + 280, + 209, + 3, + 280, + 209, + 3, + 280, + 209, + 7, + 280, + 209, + 7, + 280, + 209, + 0, + 280, + 209, + 5, + 280, + 209, + 9, + 280, + 209, + 2, + 280, + 209, + 0, + 280, + 209, + 0, + 0, +}; + +uint16 sc42_clerk_talk[] = { + 165*64, + 165*64, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 1, + 310, + 234, + 1, + 310, + 234, + 2, + 310, + 234, + 2, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 1, + 310, + 234, + 1, + 310, + 234, + 3, + 310, + 234, + 3, + 310, + 234, + 4, + 310, + 234, + 4, + 310, + 234, + 5, + 310, + 234, + 5, + 310, + 234, + 3, + 310, + 234, + 3, + 310, + 234, + 2, + 310, + 234, + 2, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 3, + 310, + 234, + 3, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 5, + 310, + 234, + 5, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 2, + 310, + 234, + 2, + 310, + 234, + 5, + 310, + 234, + 5, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 2, + 310, + 234, + 2, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 1, + 310, + 234, + 1, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 4, + 310, + 234, + 4, + 310, + 234, + 5, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 1, + 310, + 234, + 1, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 2, + 310, + 234, + 2, + 310, + 234, + 4, + 310, + 234, + 4, + 310, + 234, + 5, + 310, + 234, + 5, + 310, + 234, + 0, + 310, + 234, + 0, + 0, +}; + +uint16 sc42_jobs_point[] = { + 166*64, + 166*64, + 340, + 200, + 0, + 340, + 200, + 1, + 340, + 200, + 2, + 340, + 200, + 2, + 340, + 200, + 3, + 340, + 200, + 4, + 340, + 200, + 5, + 340, + 200, + 6, + 340, + 200, + 7, + 340, + 200, + 8, + 340, + 200, + 9, + 340, + 200, + 10, + 340, + 200, + 10, + 340, + 200, + 8, + 340, + 200, + 11, + 340, + 200, + 9, + 340, + 200, + 9, + 340, + 200, + 10, + 340, + 200, + 8, + 340, + 200, + 8, + 340, + 200, + 12, + 340, + 200, + 10, + 340, + 200, + 10, + 340, + 200, + 13, + 340, + 200, + 7, + 340, + 200, + 6, + 340, + 200, + 5, + 340, + 200, + 4, + 340, + 200, + 3, + 340, + 200, + 2, + 340, + 200, + 2, + 340, + 200, + 1, + 340, + 200, + 3, + 340, + 200, + 14, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 14, + 340, + 200, + 14, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 14, + 340, + 200, + 14, + 340, + 200, + 2, + 340, + 200, + 2, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 1, + 340, + 200, + 1, + 340, + 200, + 3, + 340, + 200, + 3, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 1, + 340, + 200, + 1, + 340, + 200, + 0, + 340, + 200, + 0, + 0, +}; + +uint16 sc42_jdg_to_jobs[] = { + 168*64, + 168*64, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 2, + 269, + 186, + 3, + 269, + 186, + 4, + 269, + 186, + 2, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 5, + 269, + 186, + 5, + 269, + 186, + 0, + 269, + 186, + 4, + 269, + 186, + 3, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 5, + 269, + 186, + 1, + 269, + 186, + 0, + 269, + 186, + 3, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 2, + 269, + 186, + 2, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 2, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 5, + 269, + 186, + 5, + 269, + 186, + 2, + 269, + 186, + 3, + 269, + 186, + 2, + 269, + 186, + 2, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 1, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 5, + 269, + 186, + 5, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 2, + 269, + 186, + 2, + 269, + 186, + 5, + 269, + 186, + 5, + 269, + 186, + 0, + 269, + 186, + 0, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 0, + 269, + 186, + 0, + 0, +}; + +void *data_4[] = { + 0, + sc30_fast_list, + sc30_chip_list, + sc30_logic_list, + sc30_mouse_list, + sc30_palette, + sc30_walk_grid, + reset_start_31, + &sc30_floor, + &sc30_exit_31, + &sc30_exit_33, + sc38_dani_anim_1, + sc31_chip_list, + sc31_logic_list, + sc31_mouse_list, + sc31_palette, + sc31_walk_grid, + reset_30_31, + &sc31_floor, + &sc31_exit_30, + sc33_fast_list, + sc33_chip_list, + sc33_logic_list, + sc33_mouse_list, + sc33_palette, + sc33_walk_grid, + reset_30_33, + &sc33_floor, + &sc33_exit_30, + reset_31_30, + reset_33_30, + &sc31_exit_32, + sc32_fast_list, + sc32_chip_list, + sc32_logic_list, + sc32_mouse_list, + sc32_palette, + sc32_walk_grid, + reset_31_32, + &sc32_floor, + &sc32_exit_31, + reset_32_31, + &sc32_exit_33, + reset_32_33, + &sc33_exit_32, + reset_33_32, + &sc33_shed_door, + sc34_fast_list, + sc34_chip_list, + sc34_logic_list, + sc34_mouse_list, + sc34_palette, + sc34_walk_grid, + reset_33_34, + &sc34_floor, + &sc34_door, + reset_34_33, + &danielle, + &sc32_lift, + sc38_fast_list, + sc38_chip_list, + sc38_logic_list, + sc38_mouse_list, + sc38_palette, + sc38_walk_grid, + reset_32_38, + &sc38_floor, + &sc38_lift, + reset_38_32, + &sc31_exit_39, + sc39_fast_list, + sc39_chip_list, + sc39_logic_list, + sc39_mouse_list, + sc39_palette, + sc39_walk_grid, + reset_31_39, + &sc39_floor, + &sc39_exit_31, + reset_39_31, + &sc39_exit_40, + &sc39_exit_41, + sc40_fast_list, + sc40_chip_list, + sc40_logic_list, + sc40_mouse_list, + sc40_palette, + sc40_walk_grid, + reset_39_40, + &sc40_floor, + &sc40_exit_39, + reset_40_39, + sc41_fast_list, + sc41_chip_list, + sc41_logic_list, + sc41_mouse_list, + sc41_palette, + sc41_walk_grid, + reset_39_41, + &sc41_floor, + &sc41_exit_39, + reset_41_39, + &spunky, + &sc30_court_door, + sc38_dani_anim_2, + &sc30_notice, + &sc30_statue_1, + &sc30_statue_2, + &sc30_exit_36, + &sc31_lift_slot, + &sc32_terminal, + &sc32_buzzer, + &sc32_plant_1, + &sc32_plant_2, + &sc32_plant_3, + &sc33_lock, + sc38_dani_anim_3, + &sc34_secateurs, + &sc34_tkt_machine, + &sc34_map, + &sc34_bricks, + &sc38_statue, + &sc38_monitor, + &sc38_video, + &sc38_sofa, + sniff_left, + sniff_right, + piss_left, + piss_right, + &sc31_lift, + sc31_lift_open, + sc31_lift_close, + &sc30_henri, + sc30_henri_talk, + sc30_henri_tie, + sc30_hen_step_f, + sc30_hen_step_b, + sc30_hen_blink, + sc30_push_door, + sc31_use_card, + sc32_use_card, + sc32_use_com, + sc33_use_card, + sc33_push_door1, + sc33_push_door2, + sc33_door_open, + sc36_fast_list, + sc36_chip_list, + sc36_logic_list, + sc36_mouse_list, + sc36_palette, + sc36_walk_grid, + reset_30_36, + &sc36_floor, + &sc36_exit_30, + reset_36_30, + sc32_lift_open, + sc32_lift_close, + sc38_lift_up, + sc38_lift_down, + sc34_get_secs, + sc34_stairs1, + sc34_stairs2, + sc30_joey_list, + sc31_joey_list, + sc32_joey_list, + sc33_joey_list, + sc31_pull_rope, + sc31_lower_rope, + sc31_drop_rope, + &sc31_end_of_rope, + &sc31_rope, + sc31_rope_pulled, + sc31_rope_lower, + sc31_rope_drop, + &sc31_bricks, + sc31_bricks_up, + sc31_bricks_down, + sc31_bricks_fall, + &sc31_plank, + sc31_plank_drop, + sc31_plank_raise, + sc31_plank_flick, + &sc40_cabinet, + &sc40_trolley, + &sc40_locker_1, + &sc40_locker_2, + &sc40_locker_3, + &sc40_locker_4, + &sc40_locker_5, + sc40_locker_open, + sc40_locker_shut, + &sc40_body_1, + &sc40_body_2, + &sc40_body_3, + &sc40_body_4, + &sc40_body_5, + sc40_open_door, + sc40_close_door, + &sc36_door, + sc37_fast_list, + sc37_chip_list, + sc37_logic_list, + sc37_mouse_list, + sc37_palette, + sc37_walk_grid, + reset_36_37, + &sc37_floor, + &sc37_door, + reset_37_36, + &sc36_sensor, + &sc37_sensor, + &sc36_low_floor, + &sc36_jukebox, + &sc36_band, + &sc32_vincent, + &sc32_gardener, + &sc31_guard, + sc32_vinc_anim, + dani_conv, + sc38_dani_sattlk, + sc38_dani_get_up, + sc32_vinc_talk, + sc31_guard_talk, + reset_dani_sit, + reset_dani_stand, + &sc38_hand_set, + &sc38_ringer, + sc38_ringer_anim, + sc38_get_phone, + sc38_phone_talk, + &sc38_dog_tray, + reset_spunky_38, + &sc37_grill, + &sc38_biscuits, + &sc37_flimsy_box, + &sc37_big_box, + &sc37_lid, + sc32_gardening1, + sc32_gardening2, + sc32_gardener_up, + sc32_gardener_dn, + sc32_gard_turn_d, + sc32_gard_turn_u, + sc32_garden_talk, + reset_dani_32, + reset_spunky_32, + sc38_use_video, + sc38_video_anim, + sc38_screen_1, + sc38_screen_2, + sc38_screen_3, + sc38_screen_4, + bark, + sc38_reach_food, + sc38_get_food, + sc44_fast_list, + sc44_chip_list, + sc44_logic_list, + sc44_mouse_list, + sc44_palette, + sc44_walk_grid, + reset_37_44, + reset_45_44, + &sc44_floor, + &sc44_exit_45, + sc45_fast_list, + sc45_chip_list, + sc45_logic_list, + sc45_mouse_list, + sc45_palette, + sc45_walk_grid, + reset_44_45, + reset_46_45, + reset_47_45, + &sc45_floor, + &sc45_exit_44, + &sc45_exit_46, + &sc45_exit_47, + sc46_fast_list, + sc46_chip_list, + sc46_logic_list, + sc46_mouse_list, + sc46_palette, + sc46_walk_grid, + reset_45_46, + &sc46_floor, + &sc46_exit_45, + sc47_fast_list, + sc47_chip_list, + sc47_logic_list, + sc47_mouse_list, + sc47_palette, + sc47_walk_grid, + reset_45_47, + reset_48_47, + &sc47_floor, + &sc47_exit_45, + &sc47_exit_48, + sc31_get_bricks, + sc31_climb_plank, + sc31_dog_fly, + sc36_band_anim, + sc31_get_plank, + sc31_put_bisc, + sc31_bisc_placed, + sc31_bisc_drop, + sc31_bisc_raise, + &sc31_biscuits, + sc31_guard_blink, + sc31_guard_move, + sc31_guard_reach, + sc31_guard_talk2, + sc31_dog_rise, + sc31_dog_swim, + rs_guard_chat, + rs_guard_avail, + &sc36_barman, + bar_blink, + bar_get_drink, + bar_drink, + bar_get_cloth, + bar_put_cloth, + bar_wipe, + bar_wipe2, + barman_talk, + sc48_fast_list, + sc48_chip_list, + sc48_logic_list, + sc48_mouse_list, + sc48_palette, + sc48_walk_grid, + reset_47_48, + reset_65_48, + &sc48_floor, + &sc48_exit_47, + &sc48_exit_65, + sc65_fast_list, + sc65_chip_list, + sc65_logic_list, + sc65_mouse_list, + sc65_palette, + sc65_walk_grid, + reset_48_65, + &sc65_floor, + &sc65_exit_48, + &sc65_exit_66, + &sc36_colston, + &sc36_col_feet, + sc36_col_deal, + sc36_col_think, + sc36_col_blink1, + sc36_col_blink2, + &sc36_gallagher, + &sc36_gal_legs, + sc36_gal_deal, + sc36_gal_look1, + sc36_gal_look2, + &sc36_cards, + sc36_col_talk1, + sc36_col_talk2, + sc36_gal_talk, + sc36_col_drink, + &sc36_glass, + sc36_fos_down1, + sc36_fos_down2, + sc36_fos_up1, + sc36_fos_up2, + sc36_press_plate, + sc36_use_jukebox, + sc36_jukebox_on, + sc36_jukebox_off, + sc36_juke_talk, + &sc36_juke_light, + sc36_juke_kicked, + sc36_reach_glass, + sc36_get_glass, + sc36_col_down1, + sc36_col_down2, + sc36_col_down3, + sc36_col_down4, + sc36_col_up1, + sc36_col_up2, + sc36_col_up3, + sc36_col_up4, + sc36_col_kick, + sc36_juke_stuck, + sc36_juke_break, + &sc36_babs, + sc36_babs_talk, + sc31_fast_list, + sc37_crbarbox, + sc37_getlid, + sc37_putlid, + sc37_uselid, + sc37_stepup, + sc37_footdrop, + sc37_stepdown, + sc37_usebar, + sc37_usesec, + sc37_climbout, + sc37_thumbsup, + sc37_lidup, + sc37_liddown, + sc37_lidused, + sc37_grillopen, + sc37_dooropen, + sc37_doorshut, + sc36_dooropen, + sc36_doorshut, + &sc37_holding_lid, + &sc44_grill, + &sc65_poster1, + &sc65_poster2, + &sc65_sign, + &sc37_wine_rack, + &sc44_rubble, + &sc46_rubble, + sc42_fast_list, + sc42_chip_list, + sc42_logic_list, + sc42_mouse_list, + sc42_palette, + sc42_walk_grid, + reset_30_42, + &sc39_walters, + sc31_get_board, + reset_42_30, + reset_colston, + reset_court_open, + sc30_court_close, + &sc48_socket, + &sc48_hole, + &sc48_eyes, + sc48_eyes_anim, + sc48_put_bulb, + sc48_light_pal, + &sc42_judge, + &sc42_clerk, + &sc42_prosecution, + &sc42_jobsworth, + sc42_clerk_type, + sc42_judge_talk, + sc42_pros_talk, + sc42_jobs_talk, + sc42_jobs_enter, + sc42_blunt_enter, + sc42_blunt_talk, + reset_guard_42, + reset_dani_42, + sc42_blunt_leave, + sc42_fos_enter, + sc42_fos_talk_l, + sc42_fos_talk_r, + sc42_fos_turn_lr, + sc42_fos_turn_rl, + sc42_dani_talk, + sc42_fos_leave, + sc42_judge_point, + sc42_clerk_talk, + sc42_jobs_point, + sc42_jdg_turn, + sc42_jdg_return, + sc42_jdg_to_jobs, + sc42_jdg_hammer, + &sc42_sign, + sc42_sign_anim, + &sc31_joey, + sc31_joey_fall, + sc44_drop_down, + sc36_juke_sing, + &dog_bark_thing, + &sc41_heat_1, + &sc41_heat_2, + &sc41_heat_3, + sc41_heat_1_anim, + sc41_heat_2_anim, + sc41_heat_3_anim, + sc38_scr_bark, + sc39_descend, + sc39_ascend, + sc40_descend, + sc40_ascend, + reset_jukebox, + reset_juke_light, + sc31_guard_chat, + &sc31_at_watcher, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/31comp.h b/sky/compacts/31comp.h new file mode 100644 index 00000000000..f530fa77168 --- /dev/null +++ b/sky/compacts/31comp.h @@ -0,0 +1,2778 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY31COMP_H +#define SKY31COMP_H + + + + +namespace SkyCompact { + +uint16 reset_start_31[] = { + C_SCREEN, + 31, + C_PLACE, + ID_SC31_FLOOR, + C_XCOOD, + 280, + C_YCOOD, + 224, + C_FRAME, + 40+12*64, + C_DIR, + DOWN, + 65535, +}; + +uint16 sc31_pull_rope[] = { + 31*64, + 225, + 226, + 0, + 225, + 226, + 1, + 225, + 226, + 1, + 225, + 226, + 2, + 225, + 226, + 3, + 225, + 226, + 4, + 225, + 226, + 5, + 225, + 226, + 5, + 225, + 226, + 5, + 225, + 226, + 5, + 225, + 226, + 5, + 225, + 226, + 5, + 225, + 226, + 6, + 225, + 226, + 7, + 225, + 226, + 8, + 225, + 226, + 9, + 225, + 226, + 9, + 225, + 226, + 9, + 225, + 226, + 9, + 225, + 226, + 10, + 225, + 226, + 11, + 225, + 226, + 5, + 225, + 226, + 5, + 225, + 226, + 5, + 225, + 226, + 5, + 225, + 226, + 5, + 225, + 226, + 12, + 225, + 226, + 13, + 225, + 226, + 8, + 225, + 226, + 9, + 0, +}; + +uint16 sc31_guard_move[] = { + 129*64, + 334, + 177, + 0, + 333, + 179, + 1, + 333, + 180, + 2, + 334, + 182, + 3, + 334, + 185, + 4, + 334, + 187, + 5, + 334, + 188, + 6, + 334, + 190, + 7, + 333, + 193, + 8, + 333, + 195, + 1, + 333, + 196, + 2, + 334, + 198, + 3, + 334, + 201, + 4, + 334, + 203, + 5, + 334, + 204, + 6, + 334, + 206, + 7, + 333, + 209, + 8, + 333, + 211, + 1, + 333, + 212, + 2, + 334, + 214, + 3, + 334, + 217, + 4, + 334, + 219, + 5, + 334, + 220, + 6, + 334, + 222, + 7, + 334, + 222, + 9, + 334, + 222, + 10, + 334, + 222, + 10, + 334, + 222, + 10, + 334, + 222, + 10, + 334, + 222, + 10, + 334, + 222, + 11, + 333, + 228, + 12, + 333, + 238, + 13, + 0, +}; + +Compact sc31_exit_39 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 347, // xcood + 170, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 375-347, // mouseSize_x + 232-170, // mouseSize_y + SC31_EXIT_39_ACTION, // actionScript +}; + +uint16 sc31_plank_flick[] = { + 44*64, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 0, + 1, + 1, + 6, + 1, + 1, + 0, + 1, + 1, + 7, + 1, + 1, + 0, + 1, + 1, + 6, + 1, + 1, + 0, + 1, + 1, + 7, + 1, + 1, + 0, + 0, +}; + +uint16 sc31_fast_list[] = { + 12+DISK_12, + 51+DISK_12, + 52+DISK_12, + 53+DISK_12, + 54+DISK_12, + 135+DISK_12, + IT_SC31_GRID_1+DISK_12, + IT_SC31_GUARD_TALK+DISK_12, + IT_SC31_DROP_ROPE+DISK_12, + 0, +}; + +uint16 sc31_dog_swim[] = { + 133*64, + 338, + 286, + 0, + 334, + 285, + 1, + 328, + 285, + 2, + 324, + 285, + 3, + 322, + 286, + 4, + 314, + 288, + 5, + 311, + 290, + 6, + 307, + 295, + 7, + 309, + 299, + 8, + 313, + 301, + 9, + 317, + 305, + 10, + 322, + 309, + 11, + 331, + 312, + 12, + 341, + 310, + 13, + 351, + 307, + 14, + 352, + 304, + 15, + 354, + 302, + 16, + 356, + 300, + 17, + 359, + 299, + 18, + 358, + 296, + 19, + 354, + 293, + 20, + 346, + 289, + 21, + 341, + 288, + 22, + 0, +}; + +uint16 sc31_bisc_drop[] = { + 105*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 0, +}; + +uint16 reset_39_31[] = { + C_SCREEN, + 31, + C_PLACE, + ID_SC31_FLOOR, + C_XCOOD, + 368, + C_YCOOD, + 224, + 65535, +}; + +uint16 sc31_climb_plank[] = { + 103*64, + 250, + 276, + 0, + 248, + 276, + 1, + 244, + 276, + 2, + 244, + 276, + 3, + 240, + 276, + 4, + 239, + 275, + 5, + 235, + 275, + 6, + 235, + 275, + 7, + 234, + 274, + 8, + 233, + 274, + 9, + 232, + 276, + 10, + 233, + 278, + 11, + 0, +}; + +uint16 sc31_bricks_up[] = { + 45*64, + 205, + 271, + 0, + 205, + 267, + 1, + 205, + 259, + 2, + 205, + 258, + 2, + 205, + 259, + 2, + 205, + 259, + 2, + 205, + 259, + 2, + 205, + 259, + 2, + 205, + 256, + 2, + 205, + 253, + 2, + 205, + 251, + 2, + 205, + 252, + 2, + 205, + 252, + 2, + 205, + 252, + 2, + 205, + 252, + 2, + 205, + 249, + 2, + 205, + 243, + 2, + 205, + 242, + 2, + 205, + 243, + 2, + 0, +}; + +Compact sc31_plank = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 201, // xcood + 268, // ycood + 44*64, // frame + 16605, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 27, // mouseRel_x + 9, // mouseRel_y + 258-228, // mouseSize_x + 285-277, // mouseSize_y + SC31_PLANK_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC31_PLANK_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc31_lift_close[] = { + 86*64, + 266, + 179, + 8, + 266, + 179, + 7, + 266, + 179, + 6, + 266, + 179, + 5, + 266, + 179, + 4, + 266, + 179, + 3, + 266, + 179, + 2, + 266, + 179, + 1, + 266, + 179, + 0, + 0, +}; + +uint16 sc31_get_bricks[] = { + 102*64, + 235, + 242, + 0, + 229, + 245, + 1, + 224, + 251, + 2, + 224, + 252, + 3, + 225, + 252, + 4, + 225, + 252, + 5, + 225, + 252, + 5, + 225, + 252, + 5, + 224, + 251, + 2, + 224, + 251, + 2, + 229, + 245, + 1, + 0, +}; + +uint16 sc31_rope_pulled[] = { + 62*64, + 218, + 228, + 0, + 218, + 228, + 1, + 218, + 228, + 2, + 218, + 228, + 3, + 218, + 228, + 2, + 218, + 228, + 2, + 218, + 228, + 2, + 218, + 228, + 2, + 218, + 228, + 4, + 218, + 228, + 5, + 218, + 228, + 6, + 218, + 228, + 7, + 218, + 228, + 7, + 218, + 228, + 7, + 218, + 228, + 7, + 218, + 228, + 8, + 218, + 228, + 9, + 218, + 228, + 10, + 218, + 228, + 9, + 0, +}; + +uint32 sc31_walk_grid[0]; + +Compact sc31_rope = { + L_SCRIPT, // logic + ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 218, // xcood + 228, // ycood + 62*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC31_ROPE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc31_palette[] = { + 0, + 1536, + 1542, + 2055, + 2570, + 1800, + 2823, + 2310, + 2314, + 2828, + 3850, + 1802, + 3341, + 3336, + 3596, + 3851, + 4619, + 2571, + 3596, + 2320, + 5390, + 3080, + 3359, + 1809, + 2840, + 4617, + 3342, + 3855, + 2065, + 8974, + 4106, + 4379, + 2578, + 4108, + 5410, + 3345, + 4371, + 4113, + 5394, + 5137, + 3342, + 6675, + 4363, + 4645, + 2326, + 5133, + 7711, + 2575, + 5137, + 3099, + 10003, + 4635, + 5902, + 4371, + 6163, + 5901, + 5397, + 5654, + 5398, + 2587, + 5646, + 5160, + 6423, + 5658, + 7697, + 3861, + 6678, + 4368, + 9240, + 6165, + 6429, + 5145, + 5157, + 7437, + 5143, + 6171, + 6424, + 3357, + 6416, + 5931, + 6426, + 5921, + 10002, + 4119, + 7964, + 8464, + 5402, + 7187, + 7212, + 3105, + 6942, + 7193, + 7452, + 7449, + 10785, + 4122, + 7458, + 9241, + 5150, + 6951, + 5397, + 11808, + 7967, + 11037, + 5148, + 6958, + 9489, + 6432, + 7976, + 8470, + 6179, + 8479, + 12067, + 5405, + 8488, + 9501, + 7972, + 8242, + 12052, + 5921, + 9256, + 11298, + 6948, + 9513, + 8734, + 10022, + 9517, + 13088, + 5668, + 9010, + 10010, + 9767, + 10282, + 12065, + 6695, + 9779, + 11037, + 9513, + 10790, + 13867, + 6438, + 10544, + 11806, + 8745, + 10550, + 14621, + 6697, + 10802, + 11812, + 9772, + 11818, + 14635, + 7468, + 11573, + 12578, + 9519, + 11828, + 14376, + 9518, + 12089, + 12833, + 11057, + 12092, + 12062, + 12594, + 12854, + 16168, + 8495, + 12853, + 14894, + 9778, + 13118, + 14117, + 11062, + 13882, + 15400, + 8759, + 13882, + 15919, + 10806, + 14392, + 15156, + 11321, + 14654, + 15407, + 13882, + 15679, + 15152, + 14909, + 15934, + 15925, + 15678, + 5140, + 9490, + 8485, + 13107, + 11565, + 10029, + 16191, + 12085, + 10031, + 14135, + 11563, + 8493, + 12593, + 12574, + 5681, + 14137, + 14620, + 8503, + 11567, + 16152, + 12093, + 13111, + 14104, + 10549, + 11053, + 14113, + 11573, + 12595, + 10025, + 7205, + 14137, + 13615, + 6703, + 12595, + 12075, + 10029, + 15167, + 12591, + 8493, + 10027, + 14618, + 8499, + 10025, + 16161, + 12603, + 13111, + 16169, + 11065, + 10027, + 8988, + 7201, + 6170, + 15636, + 10551, + 12601, + 14110, + 12597, + 13625, + 14125, + 11059, + 12597, + 13097, + 10031, + 10541, + 16161, + 11577, + 11057, + 15646, + 11575, + 9515, + 15130, + 8497, + 16191, + 13568, + 9773, + 10289, + 10782, + 5408, + 6435, + 7182, + 2067, + 3349, + 3587, + 264, + 1032, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 0, + 14336, + 13364, + 11826, + 10542, + 9509, + 7202, + 7451, + 5140, + 3351, + 1805, + 1799, + 1799, + 13575, + 10285, + 10036, + 12832, + 6433, + 6187, + 9487, + 2064, + 2591, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 12548, + 13361, + 10281, + 8236, + 8734, + 12336, + 10288, + 13094, + 6687, + 6187, + 8719, + 2324, + 1819, + 2823, + 11573, + 13352, + 8231, + 8498, + 11033, + 3864, + 4133, + 7944, + 778, + 9276, + 13867, + 9500, + 6194, + 11297, + 7186, + 3620, + 6167, + 3848, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 12344, + 12840, + 7719, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact sc31_exit_30 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 128, // xcood + 162, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 140-128, // mouseSize_x + 290-162, // mouseSize_y + SC31_EXIT_30_ACTION, // actionScript +}; + +uint16 sc31_put_bisc[] = { + 109*64, + 224, + 240, + 0, + 224, + 240, + 1, + 224, + 240, + 2, + 224, + 240, + 3, + 224, + 240, + 4, + 224, + 240, + 5, + 224, + 240, + 6, + 224, + 240, + 6, + 224, + 240, + 6, + 224, + 240, + 6, + 224, + 240, + 5, + 224, + 240, + 4, + 224, + 240, + 3, + 224, + 240, + 2, + 224, + 240, + 7, + 224, + 240, + 8, + 224, + 240, + 8, + 224, + 240, + 8, + 224, + 240, + 8, + 224, + 240, + 9, + 224, + 240, + 0, + 0, +}; + +uint16 sc31_bricks_fall[] = { + 46*64, + 205, + 243, + 0, + 205, + 243, + 0, + 205, + 243, + 0, + 205, + 243, + 0, + 205, + 243, + 0, + 205, + 256, + 0, + 205, + 271, + 1, + 205, + 270, + 2, + 205, + 271, + 1, + 205, + 271, + 3, + 205, + 271, + 1, + 205, + 270, + 2, + 205, + 271, + 1, + 205, + 271, + 3, + 205, + 271, + 1, + 205, + 271, + 1, + 0, +}; + +uint16 sc31_plank_raise[] = { + 44*64, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc31_bisc_placed[] = { + 107*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 105*64, + 0, +}; + +uint16 sc31_joey_fall[] = { + 47*64, + 226, + 136, + 0, + 226, + 149, + 1, + 226, + 190, + 2, + 227, + 210, + 3, + 224, + 215, + 4, + 220, + 218, + 5, + 222, + 219, + 6, + 222, + 219, + 7, + 222, + 219, + 8, + 222, + 219, + 9, + 0, +}; + +uint16 sc31_plank_drop[] = { + 44*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 4, + 1, + 1, + 5, + 0, +}; + +uint16 sc31_lift_open[] = { + 86*64, + 266, + 179, + 0, + 266, + 179, + 1, + 266, + 179, + 2, + 266, + 179, + 3, + 266, + 179, + 4, + 266, + 179, + 5, + 266, + 179, + 6, + 266, + 179, + 7, + 266, + 179, + 8, + 0, +}; + +uint16 sc31_get_board[] = { + 66*64, + 248, + 208, + 0, + 248, + 208, + 1, + 248, + 208, + 2, + 248, + 208, + 2, + 248, + 208, + 2, + 248, + 208, + 2, + 248, + 208, + 2, + 248, + 208, + 1, + 248, + 208, + 0, + 0, +}; + +uint16 sc31_rope_lower[] = { + 63*64, + 218, + 228, + 0, + 218, + 228, + 0, + 218, + 228, + 1, + 218, + 228, + 2, + 218, + 228, + 3, + 218, + 228, + 4, + 218, + 228, + 5, + 218, + 228, + 5, + 218, + 228, + 6, + 218, + 228, + 7, + 0, +}; + +uint16 sc31_drop_rope[] = { + 43*64, + 225, + 225, + 0, + 225, + 225, + 1, + 225, + 225, + 1, + 225, + 225, + 1, + 225, + 225, + 2, + 225, + 225, + 3, + 225, + 225, + 4, + 225, + 225, + 5, + 225, + 225, + 6, + 225, + 225, + 7, + 225, + 225, + 8, + 225, + 225, + 8, + 225, + 225, + 8, + 225, + 225, + 8, + 225, + 225, + 8, + 225, + 225, + 8, + 225, + 225, + 8, + 225, + 225, + 8, + 225, + 225, + 8, + 225, + 225, + 8, + 225, + 225, + 8, + 225, + 225, + 9, + 225, + 225, + 9, + 225, + 225, + 9, + 225, + 225, + 10, + 225, + 225, + 10, + 225, + 225, + 11, + 0, +}; + +uint16 sc31_guard_reach[] = { + 130*64, + 328, + 242, + 0, + 328, + 242, + 1, + 328, + 242, + 2, + 328, + 242, + 3, + 328, + 242, + 3, + 328, + 242, + 3, + 328, + 242, + 2, + 328, + 242, + 1, + 328, + 242, + 0, + 1, + 1, + 131*64, + 0, +}; + +uint16 reset_32_31[] = { + C_SCREEN, + 31, + C_PLACE, + ID_SC31_FLOOR, + C_XCOOD, + OFF_RIGHT, + C_YCOOD, + 256, + 65535, +}; + +uint16 sc31_guard_blink[] = { + 110*64, + 328, + 176, + 0, + 328, + 176, + 1, + 328, + 176, + 0, + 1, + 1, + 101*64, + 0, +}; + +uint16 sc31_use_card[] = { + 92*64, + 272, + 184, + 0, + 272, + 184, + 1, + 272, + 184, + 2, + 272, + 184, + 3, + 272, + 184, + 4, + 272, + 184, + 5, + 272, + 184, + 1, + 272, + 184, + 0, + 0, +}; + +uint16 rs_guard_avail[] = { + C_CURSOR_TEXT, + 544, + C_MOUSE_CLICK, + ADVISOR_188, + C_ACTION_SCRIPT, + SC31_GUARD_ACTION, + C_MOUSE_REL_X, + 332-328, + C_MOUSE_REL_Y, + 244-242, + C_MOUSE_SIZE_X, + 353-332, + C_MOUSE_SIZE_Y, + 275-244, + 65535, +}; + +uint16 sc31_bricks_down[] = { + 45*64, + 205, + 243, + 2, + 205, + 243, + 2, + 205, + 249, + 2, + 205, + 252, + 2, + 205, + 253, + 2, + 205, + 256, + 2, + 205, + 259, + 2, + 205, + 259, + 2, + 205, + 267, + 1, + 205, + 271, + 0, + 0, +}; + +uint16 sc31_rope_drop[] = { + 64*64, + 218, + 228, + 0, + 218, + 228, + 0, + 218, + 228, + 0, + 218, + 228, + 0, + 218, + 228, + 0, + 218, + 228, + 1, + 218, + 228, + 2, + 0, +}; + +uint16 sc31_get_plank[] = { + 106*64, + 224, + 240, + 0, + 224, + 240, + 1, + 224, + 240, + 2, + 224, + 240, + 3, + 224, + 240, + 4, + 224, + 240, + 5, + 224, + 240, + 6, + 224, + 240, + 6, + 224, + 240, + 6, + 224, + 240, + 6, + 224, + 240, + 6, + 224, + 240, + 6, + 224, + 240, + 6, + 224, + 240, + 6, + 224, + 240, + 5, + 224, + 240, + 4, + 224, + 240, + 3, + 224, + 240, + 2, + 224, + 240, + 0, + 0, +}; + +uint16 sc31_floor_table[] = { + ID_SC31_FLOOR, + RETURN_OK, + ID_SC31_EXIT_30, + GT_SC31_EXIT_30, + 0, + SC31_EXIT_30_WALK_ON, + ID_SC31_EXIT_32, + GT_SC31_EXIT_32, + 1, + SC31_EXIT_32_WALK_ON, + ID_SC31_EXIT_39, + GT_SC31_EXIT_39, + 3, + SC31_EXIT_39_WALK_ON, + ID_SC31_GUARD, + GT_SC31_GUARD, + ID_SC31_LIFT, + GT_SC31_LIFT, + ID_SC31_LIFT_SLOT, + GT_SC31_LIFT_SLOT, + ID_SC31_END_OF_ROPE, + GT_SC31_END_OF_ROPE, + ID_SC31_BRICKS, + GT_SC31_BRICKS, + ID_SC31_PLANK, + GT_SC31_PLANK, + ID_STD_LEFT_TALK, + GT_SC31_LEFT_TALK, + ID_STD_RIGHT_TALK, + GT_SC31_RIGHT_TALK, + ID_JOEY_PARK, + GT_DANI_WAIT, + ID_DANIELLE, + GT_SC31_DANIELLE, + ID_SC31_JOEY, + GT_SC31_JOEY, + 65535, +}; + +Compact sc31_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 31, // screen + 0, // place + sc31_floor_table, // getToTable + 128, // xcood + 224, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-128, // mouseSize_x + 303-224, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact sc31_end_of_rope = { + 0, // logic + ST_MOUSE+ST_SORT+ST_RECREATE, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 227, // xcood + 226, // ycood + 61*64, // frame + 16604, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65534, // mouseRel_x + 3, // mouseRel_y + 228-225, // mouseSize_x + 270-229, // mouseSize_y + SC31_END_OF_ROPE_ACTION, // actionScript +}; + +uint16 sc31_dog_fly[] = { + 104*64, + 235, + 246, + 0, + 240, + 207, + 1, + 243, + 169, + 2, + 247, + 139, + 3, + 281, + 136, + 4, + 281, + 136, + 4, + 281, + 136, + 4, + 281, + 136, + 4, + 281, + 136, + 4, + 281, + 136, + 4, + 281, + 136, + 4, + 281, + 136, + 4, + 281, + 136, + 4, + 281, + 136, + 4, + 281, + 136, + 4, + 281, + 136, + 4, + 281, + 136, + 4, + 323, + 136, + 5, + 323, + 136, + 6, + 323, + 168, + 7, + 323, + 209, + 8, + 323, + 250, + 9, + 323, + 259, + 10, + 323, + 259, + 11, + 323, + 259, + 12, + 323, + 259, + 13, + 323, + 259, + 14, + 323, + 259, + 15, + 323, + 259, + 16, + 323, + 259, + 17, + 323, + 259, + 18, + 323, + 259, + 19, + 323, + 259, + 20, + 323, + 259, + 21, + 323, + 259, + 22, + 323, + 259, + 23, + 323, + 259, + 24, + 323, + 259, + 25, + 323, + 259, + 26, + 323, + 259, + 27, + 323, + 259, + 24, + 323, + 259, + 28, + 323, + 259, + 29, + 0, +}; + +Compact sc31_lift = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 266, // xcood + 179, // ycood + 67*64, // frame + 45+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 294-266, // mouseSize_x + 234-179, // mouseSize_y + SC31_LIFT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC31_LIFT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc31_chip_list[] = { + IT_SC31_LAYER_0+DISK_12, + IT_SC31_LAYER_1+DISK_12, + IT_DANIELLE+DISK_12, + IT_DANI_CONV+DISK_12, + IT_SPUNKY+DISK_12, + IT_BARK+DISK_12, + IT_SNIFF_RIGHT+DISK_12, + IT_PISS_RIGHT+DISK_12, + IT_SC31_CLIMB_PLANK+DISK_12, + IT_SC31_DOG_RISE+DISK_12, + IT_SC31_DOG_SWIM+DISK_12, + IT_SC31_LIFT+DISQ_12+0X8000, + 67+DISK_12, + IT_SC31_HAND+DISK_12, + IT_SC31_BISCUITS+DISK_12, + IT_SC31_HOLD_ROPE+DISK_12, + IT_SC31_PLANK+DISK_12, + IT_SC31_BRICK_UP+DISK_12, + IT_SC31_BRICK_FALL+DISK_12, + IT_SC31_END_OF_ROPE+DISK_12, + IT_SC31_ROPE_PULLED+DISK_12, + IT_SC31_ROPE_LOWER+DISK_12, + IT_SC31_ROPE_DROP+DISK_12, + IT_SC31_GUARD_BLINK+DISK_12, + IT_SC31_GUARD_REACH+DISK_12, + IT_SC31_GUARD_TALK2+DISK_12+0X8000, + 48+DISK_12, + 66+DISK_12+0X8000, + 0, +}; + +uint16 sc31_guard_chat[] = { + 101*64, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 1, + 328, + 176, + 1, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 3, + 328, + 176, + 3, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 4, + 328, + 176, + 4, + 328, + 176, + 3, + 328, + 176, + 3, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 1, + 328, + 176, + 1, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 3, + 328, + 176, + 3, + 328, + 176, + 5, + 328, + 176, + 5, + 328, + 176, + 3, + 328, + 176, + 3, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 4, + 328, + 176, + 4, + 328, + 176, + 1, + 328, + 176, + 1, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 4, + 328, + 176, + 4, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 3, + 328, + 176, + 3, + 328, + 176, + 5, + 328, + 176, + 5, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 1, + 328, + 176, + 1, + 328, + 176, + 4, + 328, + 176, + 4, + 328, + 176, + 2, + 328, + 176, + 2, + 328, + 176, + 3, + 328, + 176, + 3, + 328, + 176, + 5, + 328, + 176, + 5, + 328, + 176, + 0, + 328, + 176, + 0, + 328, + 176, + 4, + 328, + 176, + 4, + 0, +}; + +Compact sc31_biscuits = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 230, // xcood + 278, // ycood + 107*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC31_BISCUITS_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 reset_30_31[] = { + C_SCREEN, + 31, + C_PLACE, + ID_SC31_FLOOR, + C_XCOOD, + OFF_LEFT, + C_YCOOD, + 248, + 65535, +}; + +Compact sc31_bricks = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 205, // xcood + 271, // ycood + 45*64, // frame + 16607, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 1, // mouseRel_x + 0, // mouseRel_y + 227-204, // mouseSize_x + 284-271, // mouseSize_y + SC31_BRICKS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC31_BRICKS_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc31_lower_rope[] = { + 32*64, + 225, + 226, + 0, + 225, + 226, + 1, + 225, + 226, + 2, + 225, + 226, + 3, + 225, + 226, + 4, + 225, + 226, + 5, + 225, + 226, + 6, + 225, + 226, + 7, + 225, + 226, + 8, + 225, + 226, + 9, + 225, + 226, + 10, + 225, + 226, + 11, + 225, + 226, + 12, + 225, + 226, + 13, + 225, + 226, + 14, + 225, + 226, + 15, + 0, +}; + +uint16 sc31_bisc_raise[] = { + 105*64, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact sc31_at_watcher = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC31_AT_WATCHER_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc31_dog_rise[] = { + 132*64, + 359, + 303, + 0, + 360, + 301, + 1, + 360, + 299, + 2, + 362, + 298, + 3, + 361, + 295, + 3, + 356, + 292, + 4, + 348, + 288, + 5, + 343, + 287, + 6, + 341, + 286, + 7, + 0, +}; + +uint16 rs_guard_chat[] = { + C_MOUSE_CLICK, + MEGA_CLICK, + C_ACTION_SCRIPT, + SC31_GUARD_CHATTING_ACTION, + C_MODE, + C_BASE_MODE, + C_BASE_SUB, + SC31_GUARD_CHATTING_LOGIC, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 sc31_mouse_list[] = { + ID_SPUNKY, + ID_DANIELLE, + ID_SC31_GUARD, + ID_SC31_END_OF_ROPE, + ID_SC31_BRICKS, + ID_SC31_PLANK, + ID_SC31_LIFT, + ID_SC31_LIFT_SLOT, + ID_SC31_EXIT_30, + ID_SC31_EXIT_32, + ID_SC31_EXIT_39, + ID_SC31_JOEY, + ID_SC31_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc31_joey = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 466, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 250-222, // mouseSize_x + 247-219, // mouseSize_y + SC31_JOEY_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC31_JOEY_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc31_lift_slot = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 297, // xcood + 196, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 302-297, // mouseSize_x + 209-196, // mouseSize_y + SC31_LIFT_SLOT_ACTION, // actionScript +}; + +uint16 sc31_logic_list[] = { + ID_DANIELLE, + ID_SC31_GUARD, + ID_SC31_LIFT, + ID_SC31_END_OF_ROPE, + ID_SC31_ROPE, + ID_SC31_BRICKS, + ID_FOSTER, + ID_SC31_PLANK, + ID_SC31_BISCUITS, + ID_SPUNKY, + ID_DOG_BARK_THING, + ID_SC32_LIFT, + ID_SC31_JOEY, + 16870, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +ExtCompact sc31_guard_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_GUARD31, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc31_guard = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 328, // xcood + 176, // ycood + 101*64, // frame + 53, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 6, // mouseRel_x + 1, // mouseRel_y + 353-334, // mouseSize_x + 231-177, // mouseSize_y + SC31_GUARD_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC31_GUARD_LOGIC, // baseSub + 0, // baseSub_off + &sc31_guard_ext, +}; + +Compact sc31_exit_32 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 31, // screen + 0, // place + 0, // getToTable + 420, // xcood + 162, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-420, // mouseSize_x + 275-162, // mouseSize_y + SC31_EXIT_32_ACTION, // actionScript +}; + +uint16 sc31_joey_list[] = { + 144, + 431, + 240, + 279, + 1, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/32comp.h b/sky/compacts/32comp.h new file mode 100644 index 00000000000..a84105a23a2 --- /dev/null +++ b/sky/compacts/32comp.h @@ -0,0 +1,1751 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY32COMP_H +#define SKY32COMP_H + + + + +namespace SkyCompact { + +uint16 sc32_gardening1[] = { + 58*64, + 272, + 168, + 5, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 7, + 272, + 168, + 5, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 9, + 272, + 168, + 10, + 272, + 168, + 11, + 272, + 168, + 12, + 272, + 168, + 13, + 272, + 168, + 14, + 272, + 168, + 5, + 272, + 168, + 5, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 7, + 272, + 168, + 6, + 272, + 168, + 6, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 9, + 272, + 168, + 10, + 272, + 168, + 11, + 272, + 168, + 11, + 272, + 168, + 5, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 9, + 272, + 168, + 10, + 272, + 168, + 11, + 272, + 168, + 12, + 272, + 168, + 13, + 272, + 168, + 14, + 272, + 168, + 5, + 272, + 168, + 5, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 9, + 272, + 168, + 10, + 272, + 168, + 11, + 272, + 168, + 12, + 272, + 168, + 13, + 272, + 168, + 14, + 272, + 168, + 5, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 7, + 272, + 168, + 6, + 1, + 1, + 5, + 0, +}; + +uint16 reset_spunky_32[] = { + C_SCREEN, + 32, + C_PLACE, + ID_SC32_FLOOR, + C_XCOOD, + 240, + C_YCOOD, + 288, + C_FRAME, + 32+71*64, + C_MOUSE_CLICK, + MEGA_CLICK, + C_ACTION_SCRIPT, + MEGA_ACTION, + C_MODE, + C_BASE_MODE, + C_BASE_SUB, + SPUNKY_LOGIC, + C_BASE_SUB+2, + 0, + C_DIR, + DOWN, + 65535, +}; + +uint16 sc32_vinc_anim[] = { + 56*64, + 218, + 188, + 0, + 218, + 189, + 1, + 218, + 189, + 2, + 218, + 188, + 3, + 219, + 189, + 4, + 219, + 189, + 5, + 218, + 188, + 6, + 218, + 189, + 7, + 218, + 189, + 1, + 218, + 188, + 8, + 219, + 189, + 5, + 219, + 189, + 5, + 218, + 189, + 7, + 218, + 188, + 8, + 218, + 188, + 9, + 218, + 188, + 9, + 218, + 188, + 3, + 219, + 189, + 5, + 218, + 188, + 10, + 219, + 189, + 5, + 219, + 189, + 4, + 219, + 189, + 5, + 219, + 189, + 4, + 219, + 189, + 5, + 218, + 188, + 10, + 218, + 188, + 6, + 218, + 189, + 7, + 218, + 189, + 1, + 218, + 189, + 2, + 218, + 188, + 11, + 218, + 188, + 3, + 218, + 188, + 0, + 0, +}; + +uint16 reset_38_32[] = { + C_SCREEN, + 32, + C_PLACE, + ID_SC32_FLOOR, + C_XCOOD, + 400, + C_YCOOD, + 224, + C_FRAME, + 40+12*64, + C_DIR, + DOWN, + 65535, +}; + +Compact sc32_plant_2 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 32, // screen + 0, // place + 0, // getToTable + 336, // xcood + 196, // ycood + 0, // frame + 16624, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 349-336, // mouseSize_x + 225-196, // mouseSize_y + SC32_PLANT_2_ACTION, // actionScript +}; + +uint16 sc32_use_card[] = { + 93*64, + 360, + 240, + 0, + 360, + 240, + 1, + 360, + 240, + 2, + 360, + 240, + 2, + 360, + 240, + 2, + 360, + 240, + 2, + 360, + 240, + 2, + 360, + 240, + 1, + 360, + 240, + 0, + 0, +}; + +ExtCompact sc32_vincent_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_VINCENT32, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc32_vincent = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 32, // screen + 0, // place + 0, // getToTable + 218, // xcood + 188, // ycood + 56*64, // frame + 16457, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 238-218, // mouseSize_x + 225-188, // mouseSize_y + SC32_VINCENT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC32_VINCENT_LOGIC, // baseSub + 0, // baseSub_off + &sc32_vincent_ext, +}; + +uint32 sc32_walk_grid[0]; + +uint16 sc32_gard_turn_d[] = { + 59*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 0, +}; + +uint16 sc32_lift_open[] = { + 100*64, + 378, + 175, + 14, + 378, + 175, + 13, + 378, + 175, + 12, + 378, + 175, + 11, + 378, + 175, + 10, + 378, + 175, + 9, + 378, + 175, + 8, + 378, + 175, + 7, + 378, + 175, + 6, + 378, + 175, + 5, + 378, + 175, + 4, + 378, + 175, + 3, + 378, + 175, + 2, + 378, + 175, + 1, + 378, + 175, + 0, + 0, + 0, +}; + +uint16 sc32_lift_close[] = { + 100*64, + 378, + 175, + 0, + 378, + 175, + 1, + 378, + 175, + 2, + 378, + 175, + 3, + 378, + 175, + 4, + 378, + 175, + 5, + 378, + 175, + 6, + 378, + 175, + 7, + 378, + 175, + 8, + 378, + 175, + 9, + 378, + 175, + 10, + 378, + 175, + 11, + 378, + 175, + 12, + 378, + 175, + 13, + 378, + 175, + 14, + 0, +}; + +uint16 sc32_mouse_list[] = { + ID_SPUNKY, + ID_DANIELLE, + ID_SC32_VINCENT, + ID_SC32_GARDENER, + ID_SC32_TERMINAL, + ID_SC32_BUZZER, + ID_SC32_PLANT_1, + ID_SC32_PLANT_2, + ID_SC32_PLANT_3, + ID_SC32_EXIT_31, + ID_SC32_EXIT_33, + ID_SC32_LIFT, + ID_SC32_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc32_exit_31 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 32, // screen + 0, // place + 0, // getToTable + 128, // xcood + 162, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 140-128, // mouseSize_x + 245-162, // mouseSize_y + SC32_EXIT_31_ACTION, // actionScript +}; + +uint16 sc32_use_com[] = { + 94*64, + 200, + 232, + 0, + 200, + 232, + 1, + 200, + 232, + 2, + 200, + 232, + 3, + 200, + 232, + 3, + 200, + 232, + 3, + 200, + 232, + 3, + 200, + 232, + 4, + 200, + 232, + 0, + 0, +}; + +uint16 sc32_gardener_dn[] = { + 58*64, + 272, + 168, + 0, + 272, + 168, + 1, + 272, + 168, + 2, + 272, + 168, + 3, + 272, + 168, + 4, + 272, + 168, + 5, + 0, +}; + +ExtCompact sc32_buzzer_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_BUZZER32, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc32_buzzer = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC, // status + 0, // sync + 32, // screen + 0, // place + 0, // getToTable + 359, // xcood + 175, // ycood + 68*64, // frame + 16623, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65534, // mouseRel_x + 65534, // mouseRel_y + 365-357, // mouseSize_x + 187-173, // mouseSize_y + SC32_BUZZER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC32_BUZZER_LOGIC, // baseSub + 0, // baseSub_off + &sc32_buzzer_ext, +}; + +uint16 sc32_floor_table[] = { + ID_SC32_FLOOR, + RETURN_OK, + ID_SC32_EXIT_31, + GT_SC32_EXIT_31, + 0, + SC32_EXIT_31_WALK_ON, + ID_SC32_EXIT_33, + GT_SC32_EXIT_33, + 1, + SC32_EXIT_33_WALK_ON, + ID_SC32_LIFT, + GT_SC32_LIFT, + ID_SC32_TERMINAL, + GT_SC32_TERMINAL, + ID_SC32_BUZZER, + GT_SC32_BUZZER, + ID_SC32_PLANT_1, + GT_SC32_PLANT_1, + ID_SC32_PLANT_2, + GT_SC32_PLANT_2, + ID_SC32_PLANT_3, + GT_SC32_PLANT_3, + ID_SC32_VINCENT, + GT_SC32_VINCENT, + ID_SC32_GARDENER, + GT_SC32_GARDENER, + ID_STD_LEFT_TALK, + GT_SC32_LEFT_TALK, + ID_STD_RIGHT_TALK, + GT_SC32_RIGHT_TALK, + ID_JOEY_PARK, + GT_DANI_WAIT, + ID_DANIELLE, + GT_SC32_DANIELLE_AT_LIFT, + 65535, +}; + +Compact sc32_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 32, // screen + 0, // place + sc32_floor_table, // getToTable + 128, // xcood + 216, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-128, // mouseSize_x + 327-216, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc32_chip_list[] = { + IT_SC32_LAYER_0+DISK_12, + IT_SC32_LAYER_1+DISK_12, + IT_SC32_LAYER_2+DISK_12, + IT_DANIELLE+DISK_12, + IT_DANI_CONV+DISK_12, + IT_SPUNKY+DISK_12, + IT_SNIFF_RIGHT+DISK_12, + IT_PISS_RIGHT+DISK_12, + IT_SC32_LIFT+DISK_12, + IT_SC32_USE_CARD+DISK_12+0X8000, + IT_SC32_USE_COM+DISK_12+0X8000, + IT_SC32_VINCENT+DISK_12, + IT_SC32_VINC_TALK+DISK_12, + IT_SC32_GARDENER+DISK_12, + IT_SC32_GARD_TURN+DISK_12+0X8000, + IT_SC32_GARDEN_TALK+DISK_12+0X8000, + 68+DISK_12, + 0, +}; + +uint16 sc32_palette[] = { + 0, + 1536, + 1798, + 2568, + 1798, + 2569, + 3337, + 2825, + 3083, + 3080, + 3092, + 2317, + 4108, + 2056, + 7692, + 3342, + 4878, + 2060, + 4110, + 6160, + 2317, + 4877, + 5132, + 2831, + 3594, + 4131, + 2323, + 4115, + 3855, + 5138, + 4363, + 7200, + 2574, + 4883, + 5906, + 2579, + 4880, + 4377, + 3095, + 4634, + 3085, + 9748, + 6165, + 4875, + 5653, + 4383, + 5899, + 4884, + 4131, + 3338, + 10516, + 5650, + 6172, + 3863, + 5654, + 5398, + 6424, + 5903, + 8484, + 3604, + 6172, + 6160, + 4634, + 5903, + 6444, + 3355, + 6421, + 6430, + 7192, + 6175, + 6163, + 6427, + 6942, + 6925, + 5658, + 6429, + 6938, + 4381, + 6674, + 10795, + 3093, + 7191, + 10018, + 3863, + 6946, + 9493, + 4635, + 7455, + 10777, + 4122, + 7709, + 10270, + 5404, + 6446, + 9231, + 6174, + 7974, + 8208, + 8478, + 7714, + 5660, + 12064, + 7468, + 7443, + 8738, + 7216, + 9746, + 5410, + 8480, + 7206, + 10019, + 8234, + 9238, + 7202, + 8487, + 8985, + 8481, + 7982, + 12567, + 5152, + 9256, + 8476, + 10277, + 9764, + 10273, + 8740, + 8751, + 9754, + 9766, + 8755, + 11544, + 7206, + 10026, + 9247, + 11049, + 9522, + 11547, + 8743, + 9526, + 12312, + 7975, + 11048, + 13354, + 7720, + 10796, + 13608, + 6697, + 10799, + 12837, + 8746, + 10552, + 10525, + 11822, + 11317, + 12063, + 10285, + 11319, + 14883, + 8236, + 12077, + 14639, + 7214, + 12084, + 11562, + 13105, + 12087, + 15143, + 7985, + 12857, + 12324, + 12852, + 12605, + 14627, + 10548, + 13117, + 12839, + 13878, + 13881, + 15406, + 10807, + 14393, + 16182, + 11066, + 14910, + 15409, + 13627, + 15418, + 16185, + 12350, + 15676, + 16189, + 14910, + 0, + 63, + 0, + 514, + 1282, + 1285, + 2056, + 3080, + 3084, + 3855, + 4623, + 4626, + 5397, + 6165, + 6168, + 7196, + 7964, + 7967, + 8738, + 9506, + 9509, + 10280, + 11304, + 11308, + 9238, + 6459, + 16169, + 12066, + 9791, + 16180, + 14639, + 16191, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 63, + 16130, + 512, + 0, + 14336, + 13364, + 11569, + 10029, + 9252, + 7203, + 7195, + 4883, + 2837, + 1804, + 770, + 519, + 14851, + 8495, + 10293, + 12056, + 4128, + 6439, + 8714, + 1299, + 2843, + 11264, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 11564, + 9781, + 12581, + 7202, + 7470, + 9494, + 4374, + 3610, + 4363, + 11835, + 13856, + 6438, + 7727, + 10258, + 2839, + 4129, + 6919, + 778, + 9533, + 13868, + 9501, + 5936, + 10527, + 6673, + 3107, + 6165, + 3591, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 512, + 63, + 16130, + 512, + 63, + 13826, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 reset_33_32[] = { + C_SCREEN, + 32, + C_PLACE, + ID_SC32_FLOOR, + C_XCOOD, + OFF_LEFT, + C_YCOOD, + 288, + 65535, +}; + +ExtCompact sc32_gardener_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_GARDENER32, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc32_gardener = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 32, // screen + 0, // place + 0, // getToTable + 272, // xcood + 168, // ycood + 5+58*64, // frame + 16616, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 1, // mouseRel_x + 18, // mouseRel_y + 292-273, // mouseSize_x + 220-186, // mouseSize_y + SC32_GARDENER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC32_GARDENER_LOGIC, // baseSub + 0, // baseSub_off + &sc32_gardener_ext, +}; + +uint16 sc32_fast_list[] = { + 12+DISK_12, + 51+DISK_12, + 52+DISK_12, + 53+DISK_12, + 54+DISK_12, + 135+DISK_12, + IT_SC32_GRID_1+DISK_12, + IT_SC32_GRID_2+DISK_12, + 0, +}; + +uint16 sc32_logic_list[] = { + ID_FOSTER, + ID_DANIELLE, + ID_SPUNKY, + ID_DOG_BARK_THING, + ID_SC32_VINCENT, + ID_SC32_GARDENER, + ID_SC32_LIFT, + ID_SC32_BUZZER, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 reset_dani_32[] = { + C_SCREEN, + 32, + C_PLACE, + ID_SC32_FLOOR, + C_XCOOD, + 232, + C_YCOOD, + 232, + C_FRAME, + 32+55*64, + C_MOUSE_CLICK, + MEGA_CLICK, + C_MOUSE_REL_X, + 65528, + C_MOUSE_REL_Y, + 65493, + C_MOUSE_SIZE_X, + 14, + C_MOUSE_SIZE_Y, + 50, + C_ACTION_SCRIPT, + MEGA_ACTION, + C_MODE, + C_BASE_MODE, + C_BASE_SUB, + DANIELLE_LOGIC, + C_BASE_SUB+2, + 0, + C_DIR, + DOWN, + C_MEGA_SET, + 0, + 65535, +}; + +Compact sc32_plant_3 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 32, // screen + 0, // place + 0, // getToTable + 398, // xcood + 216, // ycood + 0, // frame + 16624, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 411-398, // mouseSize_x + 243-216, // mouseSize_y + SC32_PLANT_3_ACTION, // actionScript +}; + +Compact sc32_terminal = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 32, // screen + 0, // place + 0, // getToTable + 303, // xcood + 181, // ycood + 0, // frame + 51, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 328-303, // mouseSize_x + 226-181, // mouseSize_y + SC32_TERMINAL_ACTION, // actionScript +}; + +uint16 sc32_gardener_up[] = { + 58*64, + 272, + 168, + 5, + 272, + 168, + 4, + 272, + 168, + 3, + 272, + 168, + 2, + 272, + 168, + 0, + 0, +}; + +Compact sc32_plant_1 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 32, // screen + 0, // place + 0, // getToTable + 263, // xcood + 188, // ycood + 0, // frame + 16624, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 292-263, // mouseSize_x + 217-188, // mouseSize_y + SC32_PLANT_1_ACTION, // actionScript +}; + +uint16 sc32_gard_turn_u[] = { + 59*64, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc32_joey_list[] = { + 144, + 431, + 224, + 327, + 1, + 376, + 431, + 224, + 239, + 0, + 128, + 287, + 248, + 279, + 0, + 0, +}; + +uint16 sc32_gardening2[] = { + 58*64, + 272, + 168, + 5, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 9, + 272, + 168, + 10, + 272, + 168, + 11, + 272, + 168, + 12, + 272, + 168, + 13, + 272, + 168, + 14, + 272, + 168, + 5, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 9, + 272, + 168, + 10, + 272, + 168, + 11, + 272, + 168, + 12, + 272, + 168, + 13, + 272, + 168, + 14, + 272, + 168, + 5, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 9, + 272, + 168, + 10, + 272, + 168, + 11, + 272, + 168, + 12, + 272, + 168, + 13, + 272, + 168, + 14, + 272, + 168, + 5, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 9, + 272, + 168, + 10, + 272, + 168, + 11, + 272, + 168, + 12, + 272, + 168, + 13, + 272, + 168, + 14, + 272, + 168, + 5, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 9, + 272, + 168, + 10, + 272, + 168, + 11, + 272, + 168, + 12, + 272, + 168, + 13, + 272, + 168, + 14, + 272, + 168, + 5, + 272, + 168, + 6, + 272, + 168, + 7, + 272, + 168, + 8, + 272, + 168, + 8, + 272, + 168, + 9, + 272, + 168, + 10, + 272, + 168, + 11, + 272, + 168, + 12, + 1, + 1, + 5, + 0, +}; + +uint16 reset_31_32[] = { + C_SCREEN, + 32, + C_PLACE, + ID_SC32_FLOOR, + C_XCOOD, + OFF_LEFT, + C_YCOOD, + 224, + 65535, +}; + +Compact sc32_lift = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 32, // screen + 0, // place + 0, // getToTable + 378, // xcood + 175, // ycood + 14+100*64, // frame + 45+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65534, // mouseRel_x + 65534, // mouseRel_y + 398-376, // mouseSize_x + 232-173, // mouseSize_y + SC32_LIFT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC32_LIFT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc32_exit_33 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 32, // screen + 0, // place + 0, // getToTable + 128, // xcood + 260, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 140-128, // mouseSize_x + 327-260, // mouseSize_y + SC32_EXIT_33_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/33comp.h b/sky/compacts/33comp.h new file mode 100644 index 00000000000..73f4e3d45f0 --- /dev/null +++ b/sky/compacts/33comp.h @@ -0,0 +1,784 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY33COMP_H +#define SKY33COMP_H + + + + +namespace SkyCompact { + +Compact sc33_lock = { + 0, // logic + 0, // status + 0, // sync + 33, // screen + 0, // place + 0, // getToTable + 357, // xcood + 244, // ycood + 0, // frame + 16640, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 360-357, // mouseSize_x + 251-244, // mouseSize_y + SC33_LOCK_ACTION, // actionScript +}; + +uint16 reset_32_33[] = { + C_SCREEN, + 33, + C_PLACE, + ID_SC33_FLOOR, + C_XCOOD, + 352, + C_YCOOD, + 240, + 65535, +}; + +uint16 sc33_palette[] = { + 0, + 1280, + 2311, + 1799, + 2053, + 2058, + 2824, + 3084, + 2827, + 3594, + 2056, + 5133, + 3342, + 3080, + 3852, + 3088, + 3082, + 2574, + 4108, + 2568, + 3855, + 4620, + 2570, + 5648, + 3854, + 4881, + 3086, + 4108, + 4376, + 4367, + 4106, + 4383, + 3601, + 5135, + 3084, + 5139, + 4106, + 5411, + 3601, + 4876, + 3612, + 6674, + 4124, + 3851, + 5653, + 4888, + 5132, + 4883, + 4883, + 5654, + 4372, + 4875, + 3622, + 7702, + 4890, + 4880, + 3864, + 5143, + 3605, + 9237, + 5390, + 7975, + 3347, + 5654, + 4374, + 7192, + 6675, + 6417, + 4631, + 5916, + 3855, + 10008, + 6161, + 3881, + 11032, + 5666, + 4879, + 7962, + 7192, + 4629, + 9242, + 6684, + 6418, + 6682, + 7956, + 4374, + 10523, + 6940, + 4630, + 11546, + 6432, + 8726, + 4378, + 6182, + 6673, + 6174, + 7195, + 5149, + 11037, + 7444, + 8495, + 6684, + 6949, + 6164, + 9503, + 6953, + 5650, + 11552, + 7715, + 7703, + 7455, + 7463, + 5655, + 12576, + 7467, + 11797, + 4637, + 8735, + 10528, + 6432, + 9239, + 10287, + 7457, + 8997, + 11546, + 5920, + 9243, + 6190, + 13093, + 8240, + 11284, + 6946, + 9508, + 10533, + 7205, + 10267, + 12082, + 6436, + 8754, + 9751, + 8743, + 9517, + 10782, + 8488, + 9267, + 7707, + 13609, + 10032, + 11548, + 9255, + 10793, + 13861, + 6438, + 10547, + 8990, + 13868, + 10295, + 12829, + 8746, + 11055, + 11048, + 10798, + 11062, + 13600, + 9260, + 11827, + 12585, + 11057, + 12088, + 13604, + 10033, + 13364, + 14380, + 10547, + 13109, + 12592, + 13365, + 13624, + 15149, + 10806, + 14131, + 14903, + 12088, + 14647, + 15412, + 12603, + 15417, + 15417, + 15420, + 15934, + 15923, + 15935, + 768, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 0, + 14336, + 13364, + 11569, + 10029, + 9252, + 7202, + 6939, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 11564, + 8239, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11831, + 13093, + 7206, + 7982, + 10261, + 3351, + 4130, + 7431, + 778, + 9277, + 14124, + 9757, + 5937, + 11040, + 6929, + 3109, + 6934, + 4103, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 63, + 63, + 16128, + 0, + 63, + 16128, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc33_door_open[] = { + 97*64, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +uint32 sc33_walk_grid[0]; + +uint16 reset_34_33[] = { + C_SCREEN, + 33, + C_PLACE, + ID_SC33_FLOOR, + C_XCOOD, + 384, + C_YCOOD, + 272, + 65535, +}; + +Compact sc33_shed_door = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 33, // screen + 0, // place + 0, // getToTable + 358, // xcood + 222, // ycood + 97*64, // frame + 181, // cursorText + SC33_SHED_DOOR_MOUSE_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65521, // mouseRel_x + 65526, // mouseRel_y + 366-343, // mouseSize_x + 275-212, // mouseSize_y + SC33_SHED_DOOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC33_SHED_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc33_push_door2[] = { + 96*64, + 328, + 224, + 0, + 328, + 224, + 1, + 328, + 224, + 2, + 328, + 224, + 3, + 328, + 224, + 4, + 328, + 224, + 5, + 328, + 224, + 5, + 328, + 224, + 5, + 328, + 224, + 6, + 328, + 224, + 0, + 0, +}; + +Compact sc33_exit_32 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 33, // screen + 0, // place + 0, // getToTable + 310, // xcood + 170, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 330-310, // mouseSize_x + 240-170, // mouseSize_y + SC33_EXIT_32_ACTION, // actionScript +}; + +uint16 sc33_logic_list[] = { + ID_FOSTER, + ID_DANIELLE, + ID_SPUNKY, + ID_DOG_BARK_THING, + ID_SC33_SHED_DOOR, + ID_SC32_LIFT, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc33_floor_table[] = { + ID_SC33_FLOOR, + RETURN_OK, + ID_SC33_EXIT_30, + GT_SC33_EXIT_30, + 0, + SC33_EXIT_30_WALK_ON, + ID_SC33_EXIT_32, + GT_SC33_EXIT_32, + 1, + SC33_EXIT_32_WALK_ON, + ID_SC33_SHED_DOOR, + GT_SC33_SHED_DOOR, + 3, + SC33_SHED_DOOR_WALK_ON, + ID_SC33_LOCK, + GT_SC33_LOCK, + ID_STD_LEFT_TALK, + GT_SC33_LEFT_TALK, + ID_STD_RIGHT_TALK, + GT_SC33_RIGHT_TALK, + ID_JOEY_PARK, + GT_DANI_WAIT, + 65535, +}; + +Compact sc33_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 33, // screen + 0, // place + sc33_floor_table, // getToTable + 128, // xcood + 224, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 358-128, // mouseSize_x + 319-224, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact sc33_exit_30 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 33, // screen + 0, // place + 0, // getToTable + 128, // xcood + 162, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 140-128, // mouseSize_x + 327-162, // mouseSize_y + SC33_EXIT_30_ACTION, // actionScript +}; + +uint16 sc33_joey_list[] = { + 144, + 319, + 232, + 319, + 1, + 0, +}; + +uint16 sc33_push_door1[] = { + 96*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc33_chip_list[] = { + IT_SC33_LAYER_0+DISK_12, + IT_SC33_LAYER_1+DISK_12, + IT_SC33_LAYER_2+DISK_12, + IT_DANIELLE+DISK_12, + IT_DANI_CONV+DISK_12, + IT_SPUNKY+DISK_12, + IT_SNIFF_LEFT+DISK_12, + IT_SC33_USE_CARD+DISK_12, + IT_SC33_PUSH_DOOR+DISK_12, + IT_SC33_SHED_DOOR+DISK_12, + 0, +}; + +uint16 sc33_fast_list[] = { + 12+DISK_12, + 51+DISK_12, + 52+DISK_12, + 53+DISK_12, + 54+DISK_12, + 135+DISK_12, + IT_SC33_GRID_1+DISK_12, + IT_SC33_GRID_2+DISK_12, + 0, +}; + +uint16 sc33_mouse_list[] = { + ID_SC33_LOCK, + ID_SC33_SHED_DOOR, + ID_SPUNKY, + ID_DANIELLE, + ID_SC33_EXIT_30, + ID_SC33_EXIT_32, + ID_SC33_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc33_use_card[] = { + 95*64, + 328, + 224, + 0, + 328, + 224, + 1, + 328, + 224, + 2, + 328, + 224, + 3, + 328, + 224, + 3, + 328, + 224, + 3, + 328, + 224, + 3, + 328, + 224, + 3, + 328, + 224, + 3, + 328, + 224, + 2, + 328, + 224, + 4, + 328, + 224, + 0, + 0, +}; + +uint16 reset_30_33[] = { + C_SCREEN, + 33, + C_PLACE, + ID_SC33_FLOOR, + C_XCOOD, + OFF_LEFT, + C_YCOOD, + 248, + 65535, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/34comp.h b/sky/compacts/34comp.h new file mode 100644 index 00000000000..050d44b685e --- /dev/null +++ b/sky/compacts/34comp.h @@ -0,0 +1,903 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY34COMP_H +#define SKY34COMP_H + + + + +namespace SkyCompact { + +uint16 sc34_fast_list[] = { + 12+DISK_14, + 51+DISK_14, + 52+DISK_14, + 53+DISK_14, + 54+DISK_14, + 135+DISK_14, + 0, +}; + +uint16 sc34_mouse_list[] = { + ID_SC34_SECATEURS, + ID_SC34_TKT_MACHINE, + ID_SC34_MAP, + ID_SC34_BRICKS, + ID_SC34_DOOR, + ID_SC34_FLOOR, + ID_SC32_LIFT, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc34_secateurs = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 34, // screen + 0, // place + 0, // getToTable + 259, // xcood + 229, // ycood + 104*64, // frame + 180, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 269-259, // mouseSize_x + 232-229, // mouseSize_y + SC34_SECATEURS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC34_SECATEURS_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint32 sc34_walk_grid[0]; + +uint16 sc34_logic_list[] = { + ID_FOSTER, + ID_DANIELLE, + ID_SPUNKY, + ID_SC34_SECATEURS, + ID_SC32_LIFT, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc34_get_secs[] = { + 105*64, + 248, + 208, + 0, + 248, + 208, + 1, + 248, + 208, + 2, + 248, + 208, + 2, + 248, + 208, + 2, + 248, + 208, + 2, + 248, + 208, + 2, + 248, + 208, + 1, + 248, + 208, + 0, + 0, +}; + +uint16 sc34_chip_list[] = { + IT_SC34_LAYER_0+DISK_14, + IT_SC34_LAYER_1+DISK_14, + IT_SC34_GRID_1+DISK_14, + IT_SC34_SECATEURS+DISK_14, + IT_SC34_GET_SECS+DISK_14, + IT_SC34_STAIRS1+DISK_14, + IT_SC34_STAIRS2+DISK_14, + 0, +}; + +uint16 reset_33_34[] = { + C_SCREEN, + 34, + C_PLACE, + ID_SC34_FLOOR, + C_XCOOD, + 168, + C_YCOOD, + 272, + 65535, +}; + +uint16 sc34_stairs2[] = { + 103*64, + 375, + 251, + 0, + 375, + 251, + 1, + 378, + 251, + 2, + 382, + 251, + 3, + 379, + 251, + 4, + 376, + 251, + 5, + 374, + 251, + 6, + 374, + 249, + 7, + 373, + 247, + 8, + 370, + 247, + 9, + 367, + 247, + 10, + 364, + 247, + 11, + 364, + 244, + 12, + 363, + 242, + 13, + 359, + 241, + 14, + 357, + 241, + 15, + 357, + 239, + 16, + 356, + 236, + 17, + 355, + 234, + 18, + 351, + 233, + 19, + 348, + 233, + 20, + 347, + 231, + 21, + 346, + 228, + 22, + 345, + 225, + 23, + 342, + 224, + 24, + 340, + 224, + 25, + 337, + 224, + 26, + 336, + 220, + 27, + 336, + 218, + 28, + 333, + 218, + 29, + 325, + 219, + 30, + 325, + 218, + 31, + 325, + 218, + 32, + 324, + 218, + 3, + 0, +}; + +uint16 sc34_floor_table[] = { + ID_SC34_FLOOR, + RETURN_OK, + ID_SC34_DOOR, + GT_SC34_DOOR, + 0, + SC34_DOOR_WALK_ON, + ID_SC34_SECATEURS, + GT_SC34_SECATEURS, + ID_SC34_TKT_MACHINE, + GT_SC34_TKT_MACHINE, + ID_SC34_MAP, + GT_SC34_MAP, + ID_SC34_BRICKS, + GT_SC34_BRICKS, + 65535, +}; + +Compact sc34_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 34, // screen + 0, // place + sc34_floor_table, // getToTable + 208, // xcood + 248, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 343-208, // mouseSize_x + 311-248, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact sc34_bricks = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 34, // screen + 0, // place + 0, // getToTable + 378, // xcood + 190, // ycood + 0, // frame + 16648, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 410-378, // mouseSize_x + 272-190, // mouseSize_y + SC34_BRICKS_ACTION, // actionScript +}; + +uint16 sc34_stairs1[] = { + 102*64, + 314, + 218, + 0, + 315, + 218, + 1, + 315, + 219, + 2, + 315, + 219, + 3, + 321, + 219, + 4, + 329, + 218, + 5, + 335, + 220, + 6, + 335, + 221, + 7, + 336, + 226, + 8, + 340, + 227, + 9, + 342, + 228, + 10, + 343, + 229, + 11, + 345, + 232, + 12, + 348, + 233, + 13, + 351, + 234, + 14, + 353, + 235, + 15, + 354, + 239, + 16, + 358, + 240, + 9, + 360, + 241, + 10, + 362, + 242, + 11, + 363, + 245, + 17, + 366, + 246, + 18, + 369, + 247, + 19, + 369, + 248, + 20, + 370, + 251, + 21, + 373, + 252, + 22, + 375, + 252, + 23, + 375, + 251, + 24, + 376, + 251, + 25, + 380, + 251, + 0, + 380, + 251, + 26, + 380, + 251, + 27, + 380, + 251, + 28, + 380, + 251, + 29, + 380, + 251, + 30, + 380, + 251, + 31, + 379, + 251, + 32, + 379, + 251, + 32, + 380, + 251, + 33, + 380, + 251, + 34, + 380, + 251, + 28, + 380, + 251, + 26, + 380, + 251, + 0, + 0, +}; + +Compact sc34_tkt_machine = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 34, // screen + 0, // place + 0, // getToTable + 217, // xcood + 195, // ycood + 0, // frame + 16646, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 270-217, // mouseSize_x + 226-195, // mouseSize_y + SC34_TKT_MACHINE_ACTION, // actionScript +}; + +Compact sc34_map = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 34, // screen + 0, // place + 0, // getToTable + 276, // xcood + 185, // ycood + 0, // frame + 16647, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 321-276, // mouseSize_x + 220-185, // mouseSize_y + SC34_MAP_ACTION, // actionScript +}; + +uint16 sc34_palette[] = { + 0, + 512, + 514, + 517, + 770, + 1283, + 1029, + 1286, + 773, + 1284, + 2056, + 1028, + 1287, + 1543, + 1543, + 1797, + 2571, + 1542, + 1800, + 4873, + 772, + 2311, + 2829, + 1801, + 2569, + 2826, + 2825, + 2318, + 3849, + 1546, + 2826, + 2829, + 4108, + 2830, + 5132, + 2058, + 3596, + 4364, + 2315, + 3342, + 4367, + 3085, + 3597, + 5906, + 2316, + 3603, + 3853, + 4112, + 4110, + 3861, + 4879, + 3858, + 5647, + 3342, + 4625, + 7182, + 2573, + 4367, + 4888, + 4625, + 4376, + 6925, + 3343, + 5136, + 4887, + 5395, + 5140, + 7955, + 2319, + 4633, + 4624, + 6676, + 4636, + 5646, + 5652, + 5651, + 6935, + 4628, + 6166, + 5649, + 5654, + 5656, + 5139, + 6679, + 5154, + 6414, + 5655, + 5910, + 8477, + 4373, + 6172, + 5912, + 5659, + 6174, + 6419, + 6681, + 5668, + 5904, + 7962, + 6684, + 6683, + 6429, + 6937, + 9506, + 4633, + 6691, + 7703, + 7452, + 6945, + 6939, + 7199, + 7708, + 10528, + 5148, + 8732, + 8218, + 7966, + 8735, + 8726, + 7198, + 8221, + 8483, + 8736, + 7720, + 7450, + 11039, + 8223, + 8742, + 7969, + 8990, + 6945, + 12832, + 9760, + 9499, + 8481, + 9251, + 8221, + 8997, + 8997, + 8740, + 8488, + 10018, + 9509, + 7976, + 9769, + 11037, + 8483, + 9511, + 9510, + 10534, + 11048, + 9499, + 10025, + 10020, + 11312, + 10024, + 11302, + 11046, + 9260, + 10791, + 10035, + 10798, + 11818, + 11308, + 12588, + 12077, + 12582, + 11051, + 11563, + 11575, + 13359, + 12592, + 10794, + 15151, + 12081, + 12081, + 14129, + 12596, + 12081, + 15154, + 13366, + 13619, + 13877, + 13619, + 13882, + 14646, + 14392, + 14907, + 14393, + 14906, + 15677, + 15419, + 0, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 0, + 63, + 16128, + 0, + 63, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact sc34_door = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 34, // screen + 0, // place + 0, // getToTable + 188, // xcood + 215, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 206-188, // mouseSize_x + 275-215, // mouseSize_y + SC34_DOOR_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/36comp.h b/sky/compacts/36comp.h new file mode 100644 index 00000000000..21eb80433e8 --- /dev/null +++ b/sky/compacts/36comp.h @@ -0,0 +1,4152 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY36COMP_H +#define SKY36COMP_H + + + + +namespace SkyCompact { + +uint16 sc36_get_glass[] = { + 96*64, + 242, + 226, + 0, + 242, + 226, + 1, + 242, + 226, + 2, + 242, + 226, + 3, + 242, + 226, + 4, + 242, + 226, + 4, + 242, + 226, + 4, + 242, + 226, + 4, + 250, + 226, + 5, + 255, + 226, + 6, + 254, + 226, + 7, + 256, + 226, + 8, + 258, + 226, + 9, + 259, + 226, + 10, + 0, +}; + +uint16 sc36_mouse_list[] = { + ID_SC36_BABS, + ID_SC36_BARMAN, + ID_SC36_GALLAGHER, + ID_SC36_COLSTON, + ID_SC36_JUKEBOX, + ID_SC36_BAND, + ID_SC36_GLASS, + ID_SC36_SENSOR, + ID_SC36_DOOR, + ID_SC36_EXIT_30, + ID_SC36_FLOOR, + ID_SC36_LOW_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 babs_d_to_u[] = { + 47+106*64, + 46+106*64, + 45+106*64, + 0, +}; + +uint16 bar_drink[] = { + 32*64, + 391, + 240, + 1, + 391, + 240, + 2, + 391, + 240, + 3, + 391, + 240, + 2, + 391, + 240, + 23, + 391, + 240, + 24, + 391, + 240, + 25, + 391, + 240, + 26, + 391, + 240, + 26, + 391, + 240, + 27, + 391, + 240, + 28, + 391, + 240, + 29, + 391, + 240, + 30, + 391, + 240, + 30, + 391, + 240, + 31, + 391, + 240, + 32, + 391, + 240, + 32, + 391, + 240, + 33, + 391, + 240, + 34, + 391, + 240, + 34, + 391, + 240, + 34, + 391, + 240, + 34, + 391, + 240, + 34, + 391, + 240, + 0, + 0, +}; + +uint16 babs_l_to_u[] = { + 43+106*64, + 0, +}; + +uint16 bar_put_cloth[] = { + 32*64, + 391, + 240, + 15, + 391, + 240, + 14, + 391, + 240, + 13, + 391, + 240, + 8, + 391, + 240, + 12, + 391, + 240, + 12, + 391, + 240, + 12, + 391, + 240, + 12, + 391, + 240, + 8, + 391, + 240, + 9, + 391, + 240, + 0, + 0, +}; + +uint16 babs_u_to_l[] = { + 43+106*64, + 0, +}; + +uint16 sc36_col_down2[] = { + 98*64, + 272, + 213, + 0, + 272, + 213, + 1, + 272, + 213, + 2, + 272, + 213, + 3, + 272, + 213, + 4, + 272, + 213, + 5, + 272, + 213, + 6, + 272, + 213, + 7, + 272, + 213, + 8, + 272, + 213, + 9, + 272, + 213, + 10, + 272, + 213, + 11, + 272, + 213, + 12, + 272, + 213, + 13, + 272, + 213, + 14, + 272, + 213, + 15, + 272, + 213, + 16, + 0, +}; + +uint16 babs_left[] = { + 4, + 20+106*64, + 65532, + 0, + 4, + 21+106*64, + 65532, + 0, + 4, + 22+106*64, + 65532, + 0, + 4, + 23+106*64, + 65532, + 0, + 4, + 24+106*64, + 65532, + 0, + 4, + 25+106*64, + 65532, + 0, + 4, + 26+106*64, + 65532, + 0, + 4, + 27+106*64, + 65532, + 0, + 4, + 28+106*64, + 65532, + 0, + 4, + 29+106*64, + 65532, + 0, + 0, +}; + +uint16 babs_u_to_t[] = { + 43+106*64, + 42+106*64, + 48+106*64, + 0, +}; + +uint16 sc36_col_up1[] = { + 101*64, + 249, + 211, + 0, + 247, + 211, + 1, + 246, + 211, + 2, + 247, + 211, + 3, + 249, + 211, + 4, + 249, + 211, + 5, + 251, + 211, + 6, + 250, + 211, + 7, + 252, + 211, + 8, + 256, + 212, + 9, + 259, + 211, + 10, + 258, + 211, + 11, + 260, + 211, + 12, + 265, + 211, + 5, + 267, + 211, + 6, + 266, + 211, + 7, + 268, + 211, + 8, + 272, + 212, + 9, + 275, + 211, + 10, + 274, + 211, + 11, + 276, + 211, + 12, + 281, + 211, + 5, + 283, + 211, + 6, + 282, + 211, + 7, + 284, + 211, + 8, + 288, + 212, + 9, + 288, + 212, + 3, + 287, + 212, + 13, + 288, + 213, + 14, + 287, + 214, + 15, + 287, + 215, + 16, + 287, + 216, + 17, + 287, + 217, + 18, + 287, + 218, + 19, + 287, + 219, + 20, + 287, + 220, + 13, + 288, + 221, + 14, + 287, + 222, + 15, + 287, + 223, + 16, + 287, + 224, + 17, + 287, + 225, + 18, + 287, + 226, + 19, + 287, + 227, + 20, + 287, + 228, + 13, + 288, + 229, + 14, + 287, + 230, + 15, + 287, + 231, + 16, + 287, + 232, + 21, + 287, + 233, + 22, + 0, +}; + +uint16 sc36_fos_down2[] = { + 93*64, + 298, + 228, + 0, + 298, + 228, + 1, + 298, + 228, + 2, + 298, + 228, + 3, + 298, + 228, + 4, + 298, + 228, + 5, + 298, + 228, + 6, + 298, + 228, + 7, + 298, + 228, + 8, + 298, + 228, + 9, + 298, + 228, + 10, + 298, + 228, + 11, + 298, + 228, + 12, + 298, + 228, + 13, + 298, + 228, + 14, + 298, + 228, + 15, + 298, + 228, + 16, + 298, + 228, + 17, + 298, + 228, + 18, + 298, + 228, + 19, + 298, + 228, + 20, + 298, + 228, + 21, + 298, + 228, + 22, + 298, + 228, + 23, + 298, + 228, + 24, + 298, + 228, + 25, + 298, + 228, + 26, + 298, + 228, + 27, + 298, + 228, + 28, + 298, + 228, + 29, + 298, + 228, + 30, + 298, + 228, + 31, + 298, + 228, + 32, + 298, + 228, + 33, + 0, +}; + +uint16 sc36_col_deal[] = { + 47*64, + 128, + 136, + 0, + 128, + 136, + 3, + 128, + 136, + 4, + 128, + 136, + 5, + 128, + 136, + 6, + 128, + 136, + 7, + 128, + 136, + 7, + 128, + 136, + 8, + 128, + 136, + 0, + 0, +}; + +uint16 sc36_palette[] = { + 0, + 512, + 1540, + 518, + 520, + 2564, + 1538, + 2566, + 2050, + 1540, + 1034, + 3590, + 526, + 1542, + 3078, + 20, + 5634, + 512, + 2566, + 4614, + 2050, + 2054, + 2574, + 3078, + 2054, + 1040, + 5640, + 2564, + 3602, + 3078, + 2058, + 2574, + 4104, + 2566, + 5650, + 1540, + 2566, + 2580, + 2572, + 3076, + 3612, + 3594, + 3078, + 2584, + 4620, + 3086, + 3602, + 5132, + 3594, + 1560, + 8462, + 3592, + 3614, + 3088, + 2582, + 1550, + 9998, + 4620, + 2576, + 6672, + 4108, + 4632, + 5134, + 3094, + 1554, + 10000, + 4104, + 4643, + 4112, + 4110, + 2074, + 10000, + 5132, + 3602, + 6162, + 4614, + 3115, + 8466, + 5646, + 5650, + 5648, + 5130, + 3623, + 7700, + 5134, + 4641, + 6164, + 5128, + 4655, + 7700, + 5654, + 6162, + 6162, + 5126, + 3127, + 11030, + 5648, + 5155, + 4122, + 4636, + 3608, + 11030, + 6674, + 4630, + 8982, + 6158, + 6183, + 7190, + 6154, + 3123, + 12056, + 4133, + 3608, + 12056, + 6166, + 5665, + 4126, + 6166, + 4645, + 10522, + 6674, + 8491, + 7190, + 7702, + 5144, + 10012, + 7184, + 3119, + 13086, + 7188, + 6187, + 7710, + 7706, + 7198, + 8988, + 5675, + 5660, + 12062, + 7700, + 7219, + 10014, + 8988, + 7196, + 8995, + 8472, + 5169, + 14625, + 6699, + 7201, + 11553, + 8984, + 6711, + 13093, + 9498, + 5687, + 15143, + 10017, + 8487, + 11557, + 9502, + 9523, + 10533, + 10019, + 8495, + 13607, + 10526, + 9527, + 10027, + 10533, + 10033, + 11051, + 11045, + 10037, + 12077, + 11559, + 9011, + 15661, + 11559, + 11063, + 12591, + 12075, + 10549, + 15151, + 12589, + 12085, + 12593, + 13101, + 13115, + 13109, + 13621, + 14641, + 13113, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 13312, + 15413, + 8996, + 4912, + 9236, + 2060, + 528, + 1539, + 12602, + 12585, + 6948, + 6696, + 7951, + 1808, + 2326, + 4097, + 5144, + 4104, + 11020, + 14126, + 7195, + 11303, + 2056, + 7188, + 24, + 2052, + 8220, + 3120, + 8204, + 2052, + 4120, + 8216, + 3076, + 1048, + 1032, + 2052, + 3084, + 3080, + 6156, + 6180, + 9244, + 8216, + 2088, + 7180, + 4108, + 1060, + 3080, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 0, + 14336, + 13364, + 10795, + 9261, + 9762, + 6174, + 5662, + 4880, + 2319, + 1802, + 770, + 519, + 14851, + 10545, + 10034, + 11037, + 4894, + 5668, + 7435, + 1295, + 2326, + 11265, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10781, + 5401, + 4898, + 6670, + 2062, + 530, + 1024, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint8 babs_auto[64]; + +uint16 babs_up[] = { + 2, + 0+106*64, + 0, + 65534, + 2, + 1+106*64, + 0, + 65534, + 2, + 2+106*64, + 0, + 65534, + 2, + 3+106*64, + 0, + 65534, + 2, + 4+106*64, + 0, + 65534, + 2, + 5+106*64, + 0, + 65534, + 2, + 6+106*64, + 0, + 65534, + 2, + 7+106*64, + 0, + 65534, + 2, + 8+106*64, + 0, + 65534, + 2, + 9+106*64, + 0, + 65534, + 0, +}; + +uint16 babs_down[] = { + 2, + 10+106*64, + 0, + 2, + 2, + 11+106*64, + 0, + 2, + 2, + 12+106*64, + 0, + 2, + 2, + 13+106*64, + 0, + 2, + 2, + 14+106*64, + 0, + 2, + 2, + 15+106*64, + 0, + 2, + 2, + 16+106*64, + 0, + 2, + 2, + 17+106*64, + 0, + 2, + 2, + 18+106*64, + 0, + 2, + 2, + 19+106*64, + 0, + 2, + 0, +}; + +uint16 babs_right[] = { + 4, + 30+106*64, + 4, + 0, + 4, + 31+106*64, + 4, + 0, + 4, + 32+106*64, + 4, + 0, + 4, + 33+106*64, + 4, + 0, + 4, + 34+106*64, + 4, + 0, + 4, + 35+106*64, + 4, + 0, + 4, + 36+106*64, + 4, + 0, + 4, + 37+106*64, + 4, + 0, + 4, + 38+106*64, + 4, + 0, + 4, + 39+106*64, + 4, + 0, + 0, +}; + +uint16 babs_st_up[] = { + 106*64, + 1, + 0, + 44, + 0, +}; + +uint16 babs_st_down[] = { + 106*64, + 1, + 0, + 40, + 0, +}; + +uint16 babs_st_left[] = { + 106*64, + 1, + 0, + 42, + 0, +}; + +uint16 babs_st_right[] = { + 106*64, + 1, + 0, + 46, + 0, +}; + +uint16 babs_st_talk[] = { + 107*64, + 1, + 0, + 0, + 0, +}; + +uint16 babs_u_to_d[] = { + 43+106*64, + 42+106*64, + 41+106*64, + 0, +}; + +uint16 babs_u_to_r[] = { + 45+106*64, + 0, +}; + +uint16 babs_d_to_l[] = { + 41+106*64, + 0, +}; + +uint16 babs_d_to_r[] = { + 47+106*64, + 0, +}; + +uint16 babs_d_to_t[] = { + 48+106*64, + 0, +}; + +uint16 babs_l_to_d[] = { + 41+106*64, + 0, +}; + +uint16 babs_l_to_r[] = { + 41+106*64, + 40+106*64, + 47+106*64, + 0, +}; + +uint16 babs_l_to_t[] = { + 48+106*64, + 0, +}; + +uint16 babs_r_to_u[] = { + 45+106*64, + 0, +}; + +uint16 babs_r_to_d[] = { + 47+106*64, + 0, +}; + +uint16 babs_r_to_l[] = { + 45+106*64, + 44+106*64, + 43+106*64, + 0, +}; + +uint16 babs_r_to_t[] = { + 47+106*64, + 40+106*64, + 48+106*64, + 0, +}; + +uint16 babs_t_to_u[] = { + 48+106*64, + 42+106*64, + 43+106*64, + 0, +}; + +uint16 babs_t_to_d[] = { + 48+106*64, + 0, +}; + +uint16 babs_t_to_l[] = { + 48+106*64, + 0, +}; + +uint16 babs_t_to_r[] = { + 48+106*64, + 40+106*64, + 47+106*64, + 0, +}; + +uint16 *sc36_babs_turnTable[5][5] = { + { // turnTableup + 0, + babs_u_to_d, + babs_u_to_l, + babs_u_to_r, + babs_u_to_t + }, + { // turnTableDown + babs_d_to_u, + 0, + babs_d_to_l, + babs_d_to_r, + babs_d_to_t + }, + { // turnTableLeft + babs_l_to_u, + babs_l_to_d, + 0, + babs_l_to_r, + babs_l_to_t + }, + { // turnTableRight + babs_r_to_u, + babs_r_to_d, + babs_r_to_l, + 0, + babs_r_to_t + }, + { // turnTableTalk + babs_t_to_u, + babs_t_to_d, + babs_t_to_l, + babs_t_to_r, + 0 + }, +}; + +ExtCompact sc36_babs_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + TALK, // dir + STD_PLAYER_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_BABS36, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + babs_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + babs_up, // animUp + babs_down, // animDown + babs_left, // animLeft + babs_right, // animRight + babs_st_up, // standUp + babs_st_down, // standDown + babs_st_left, // standLeft + babs_st_right, // standRight + babs_st_talk, // standTalk +}; + +Compact sc36_babs = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_SORT+ST_RECREATE+ST_GRID_PLOT+ST_COLLISION, // status + 0, // sync + 36, // screen + ID_SC36_FLOOR, // place + 0, // getToTable + 344, // xcood + 264, // ycood + 107*64, // frame + 54, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65526, // mouseRel_x + 65491, // mouseRel_y + 17, // mouseSize_x + 50, // mouseSize_y + MEGA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC36_BABS_LOGIC, // baseSub + 0, // baseSub_off + &sc36_babs_ext, + &sc36_babs_turnTable, +}; + +uint16 sc36_col_down4[] = { + 100*64, + 288, + 233, + 0, + 287, + 233, + 1, + 288, + 232, + 2, + 288, + 231, + 3, + 288, + 229, + 4, + 287, + 229, + 5, + 287, + 228, + 6, + 288, + 227, + 7, + 288, + 225, + 8, + 287, + 225, + 9, + 288, + 224, + 10, + 288, + 223, + 3, + 288, + 221, + 4, + 287, + 221, + 5, + 287, + 220, + 6, + 288, + 219, + 7, + 288, + 217, + 8, + 287, + 217, + 9, + 288, + 216, + 10, + 288, + 215, + 3, + 288, + 213, + 4, + 287, + 213, + 5, + 287, + 212, + 6, + 288, + 211, + 11, + 290, + 211, + 12, + 287, + 211, + 13, + 283, + 211, + 14, + 283, + 211, + 15, + 282, + 212, + 16, + 279, + 211, + 17, + 275, + 211, + 18, + 275, + 211, + 19, + 274, + 211, + 12, + 271, + 211, + 13, + 267, + 211, + 14, + 267, + 211, + 15, + 266, + 212, + 16, + 263, + 211, + 17, + 259, + 211, + 18, + 259, + 211, + 19, + 258, + 211, + 12, + 255, + 211, + 13, + 251, + 211, + 14, + 251, + 211, + 15, + 250, + 212, + 16, + 247, + 211, + 17, + 249, + 211, + 20, + 249, + 211, + 20, + 0, +}; + +uint16 sc36_logic_list[] = { + ID_FOSTER, + ID_SC36_BABS, + ID_SC36_BARMAN, + ID_SC36_COLSTON, + ID_SC36_GALLAGHER, + ID_DANIELLE, + ID_SPUNKY, + ID_SC30_HENRI, + ID_SC36_COL_FEET, + ID_SC36_GAL_LEGS, + ID_SC36_CARDS, + ID_SC36_GLASS, + ID_SC36_BAND, + ID_SC36_JUKEBOX, + ID_SC36_JUKE_LIGHT, + ID_SC36_DOOR, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 reset_30_36[] = { + C_SCREEN, + 36, + C_PLACE, + ID_SC36_FLOOR, + C_XCOOD, + 168, + C_YCOOD, + 280, + C_FRAME, + 40+12*64, + C_DIR, + DOWN, + 65535, +}; + +uint16 sc36_doorshut[] = { + 144*64, + 375, + 183, + 5, + 375, + 183, + 4, + 375, + 183, + 3, + 375, + 183, + 2, + 375, + 183, + 1, + 375, + 183, + 0, + 0, +}; + +uint16 sc36_fos_up2[] = { + 95*64, + 296, + 208, + 0, + 296, + 208, + 1, + 296, + 208, + 2, + 296, + 208, + 3, + 296, + 208, + 4, + 296, + 208, + 5, + 296, + 208, + 6, + 296, + 208, + 7, + 296, + 208, + 8, + 296, + 208, + 9, + 296, + 208, + 10, + 296, + 208, + 11, + 296, + 208, + 12, + 296, + 208, + 13, + 296, + 208, + 14, + 296, + 208, + 15, + 296, + 208, + 16, + 296, + 208, + 17, + 296, + 208, + 18, + 296, + 208, + 19, + 296, + 208, + 20, + 296, + 208, + 21, + 296, + 208, + 22, + 0, +}; + +uint16 bar_get_cloth[] = { + 32*64, + 391, + 240, + 9, + 391, + 240, + 8, + 391, + 240, + 12, + 391, + 240, + 12, + 391, + 240, + 12, + 391, + 240, + 12, + 391, + 240, + 8, + 391, + 240, + 13, + 391, + 240, + 14, + 391, + 240, + 15, + 0, +}; + +Compact sc36_juke_light = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 233, // xcood + 212, // ycood + 68*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC36_JUKE_LIGHT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc36_low_floor_table[] = { + ID_SC36_FLOOR, + GT_SC36_FLOOR, + ID_SC36_LOW_FLOOR, + RETURN_OK, + ID_SC36_EXIT_30, + GT_SC36_FLOOR, + ID_SC36_DOOR, + GT_SC36_DOOR, + ID_SC36_SENSOR, + GT_SC36_SENSOR, + ID_SC36_BAND, + GT_SC36_BAND, + ID_SC36_JUKEBOX, + GT_SC36_JUKEBOX, + 0, + SC36_DOOR_WALK_ON, + ID_SC36_BARMAN, + GT_SC36_FLOOR, + ID_SC36_COLSTON, + GT_SC36_FLOOR, + ID_SC36_GALLAGHER, + GT_SC36_FLOOR, + ID_SC36_GLASS, + GT_SC36_FLOOR, + ID_STD_LEFT_TALK, + GT_SC36_FLOOR, + ID_STD_RIGHT_TALK, + GT_SC36_FLOOR, + ID_SC36_BABS, + GT_SC36_FLOOR, + 65535, +}; + +Compact sc36_low_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 36, // screen + 0, // place + sc36_low_floor_table, // getToTable + 248, // xcood + 200, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 383-248, // mouseSize_x + 255-200, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc36_floor_table[] = { + ID_SC36_FLOOR, + RETURN_OK, + ID_SC36_LOW_FLOOR, + GT_SC36_LOW_FLOOR, + ID_SC36_EXIT_30, + GT_SC36_EXIT_30, + 0, + SC36_EXIT_30_WALK_ON, + ID_SC36_DOOR, + GT_SC36_LOW_FLOOR, + ID_SC36_SENSOR, + GT_SC36_LOW_FLOOR, + ID_SC36_BAND, + GT_SC36_LOW_FLOOR, + ID_SC36_JUKEBOX, + GT_SC36_LOW_FLOOR, + ID_SC36_BARMAN, + GT_SC36_BARMAN, + ID_SC36_COLSTON, + GT_SC36_COLSTON, + ID_SC36_GALLAGHER, + GT_SC36_GALLAGHER, + ID_SC36_GLASS, + GT_SC36_GLASS, + ID_STD_LEFT_TALK, + GT_SC36_LEFT_TALK, + ID_STD_RIGHT_TALK, + GT_SC36_RIGHT_TALK, + 3, + MOVE_BABS, + ID_SC36_BABS, + GT_BABS_AMIGA, + 65535, +}; + +uint16 sc36_jukebox_on[] = { + 68*64, + 233, + 212, + 0, + 233, + 212, + 1, + 233, + 212, + 2, + 233, + 212, + 3, + 0, +}; + +Compact sc36_door = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 375, // xcood + 183, // ycood + 144*64, // frame + 181, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65535, // mouseRel_y + 378-374, // mouseSize_x + 214-182, // mouseSize_y + SC36_DOOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC36_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc36_col_down3[] = { + 99*64, + 283, + 234, + 0, + 283, + 234, + 1, + 283, + 234, + 2, + 283, + 234, + 3, + 283, + 234, + 4, + 283, + 234, + 5, + 283, + 234, + 6, + 283, + 234, + 7, + 283, + 234, + 8, + 283, + 234, + 9, + 283, + 234, + 10, + 283, + 234, + 11, + 283, + 234, + 12, + 283, + 234, + 13, + 283, + 234, + 14, + 283, + 234, + 15, + 283, + 234, + 16, + 283, + 234, + 17, + 283, + 234, + 18, + 283, + 234, + 19, + 283, + 234, + 20, + 283, + 234, + 21, + 283, + 234, + 22, + 283, + 234, + 23, + 283, + 234, + 24, + 283, + 234, + 25, + 283, + 234, + 26, + 283, + 234, + 27, + 283, + 234, + 28, + 283, + 234, + 29, + 0, +}; + +ExtCompact sc36_jukebox_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_JUKEBOX36, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc36_jukebox = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 233, // xcood + 222, // ycood + 86*64, // frame + 16649, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65532, // mouseRel_x + 65521, // mouseRel_y + 241-229, // mouseSize_x + 236-207, // mouseSize_y + SC36_JUKEBOX_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC36_JUKEBOX_LOGIC, // baseSub + 0, // baseSub_off + &sc36_jukebox_ext, +}; + +uint16 sc36_juke_kicked[] = { + 68*64, + 233, + 212, + 0, + 233, + 212, + 2, + 233, + 212, + 0, + 233, + 212, + 0, + 233, + 212, + 1, + 233, + 212, + 3, + 233, + 212, + 0, + 233, + 212, + 2, + 233, + 212, + 2, + 233, + 212, + 1, + 233, + 212, + 3, + 233, + 212, + 0, + 233, + 212, + 3, + 233, + 212, + 0, + 233, + 212, + 2, + 233, + 212, + 0, + 233, + 212, + 1, + 233, + 212, + 3, + 233, + 212, + 2, + 233, + 212, + 3, + 0, +}; + +uint16 sc36_fos_up1[] = { + 94*64, + 298, + 229, + 0, + 298, + 229, + 1, + 298, + 229, + 2, + 298, + 229, + 3, + 298, + 229, + 4, + 298, + 229, + 5, + 298, + 229, + 6, + 298, + 229, + 7, + 298, + 229, + 8, + 298, + 229, + 9, + 298, + 229, + 10, + 298, + 229, + 11, + 298, + 229, + 12, + 298, + 229, + 13, + 298, + 229, + 14, + 298, + 229, + 15, + 298, + 229, + 16, + 298, + 229, + 17, + 298, + 229, + 18, + 298, + 229, + 19, + 298, + 229, + 20, + 298, + 229, + 21, + 298, + 229, + 22, + 298, + 229, + 23, + 298, + 229, + 24, + 298, + 229, + 25, + 298, + 229, + 26, + 298, + 229, + 27, + 298, + 229, + 28, + 298, + 229, + 29, + 298, + 229, + 30, + 298, + 229, + 31, + 298, + 229, + 32, + 298, + 229, + 33, + 298, + 229, + 34, + 298, + 229, + 35, + 0, +}; + +uint16 sc36_use_jukebox[] = { + 67*64, + 240, + 210, + 0, + 240, + 210, + 1, + 240, + 210, + 2, + 240, + 210, + 3, + 240, + 210, + 4, + 240, + 210, + 4, + 240, + 210, + 4, + 240, + 210, + 4, + 240, + 210, + 5, + 240, + 210, + 6, + 240, + 210, + 0, + 0, +}; + +uint16 sc36_col_think[] = { + 47*64, + 219, + 226, + 0, + 219, + 226, + 3, + 219, + 226, + 4, + 219, + 226, + 5, + 219, + 226, + 9, + 219, + 226, + 10, + 219, + 226, + 10, + 219, + 226, + 10, + 219, + 226, + 10, + 219, + 226, + 10, + 219, + 226, + 10, + 219, + 226, + 10, + 219, + 226, + 10, + 219, + 226, + 10, + 219, + 226, + 10, + 219, + 226, + 10, + 219, + 226, + 10, + 219, + 226, + 10, + 219, + 226, + 9, + 219, + 226, + 9, + 219, + 226, + 9, + 219, + 226, + 9, + 219, + 226, + 9, + 219, + 226, + 9, + 219, + 226, + 9, + 219, + 226, + 9, + 219, + 226, + 9, + 219, + 226, + 9, + 219, + 226, + 9, + 219, + 226, + 10, + 219, + 226, + 11, + 219, + 226, + 12, + 219, + 226, + 13, + 219, + 226, + 14, + 219, + 226, + 15, + 219, + 226, + 12, + 219, + 226, + 13, + 219, + 226, + 14, + 219, + 226, + 15, + 219, + 226, + 12, + 219, + 226, + 12, + 219, + 226, + 13, + 219, + 226, + 14, + 219, + 226, + 15, + 219, + 226, + 12, + 219, + 226, + 13, + 219, + 226, + 14, + 219, + 226, + 15, + 219, + 226, + 12, + 219, + 226, + 0, + 0, +}; + +uint16 bar_wipe2[] = { + 32*64, + 391, + 240, + 16, + 391, + 240, + 17, + 391, + 240, + 18, + 391, + 240, + 19, + 391, + 240, + 20, + 391, + 240, + 21, + 391, + 240, + 20, + 391, + 240, + 19, + 391, + 240, + 20, + 391, + 240, + 21, + 391, + 240, + 22, + 391, + 240, + 16, + 391, + 240, + 17, + 391, + 240, + 18, + 391, + 240, + 19, + 391, + 240, + 20, + 391, + 240, + 19, + 391, + 240, + 18, + 391, + 240, + 17, + 391, + 240, + 16, + 391, + 240, + 22, + 391, + 240, + 21, + 391, + 240, + 22, + 391, + 240, + 16, + 391, + 240, + 17, + 391, + 240, + 18, + 391, + 240, + 19, + 391, + 240, + 20, + 391, + 240, + 21, + 391, + 240, + 22, + 391, + 240, + 16, + 391, + 240, + 17, + 391, + 240, + 18, + 391, + 240, + 19, + 391, + 240, + 20, + 391, + 240, + 19, + 391, + 240, + 18, + 391, + 240, + 17, + 391, + 240, + 18, + 391, + 240, + 19, + 391, + 240, + 20, + 391, + 240, + 21, + 391, + 240, + 22, + 391, + 240, + 16, + 0, +}; + +Compact sc36_gal_legs = { + 0, // logic + ST_SORT+ST_RECREATE, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 202, // xcood + 262, // ycood + 59*64, // frame +}; + +uint16 sc36_col_up2[] = { + 102*64, + 283, + 234, + 0, + 283, + 234, + 1, + 283, + 234, + 2, + 283, + 234, + 3, + 283, + 234, + 4, + 283, + 234, + 5, + 283, + 234, + 6, + 283, + 234, + 7, + 283, + 234, + 8, + 283, + 234, + 9, + 283, + 234, + 10, + 283, + 234, + 11, + 283, + 234, + 12, + 283, + 234, + 13, + 283, + 234, + 14, + 283, + 234, + 15, + 283, + 234, + 16, + 283, + 234, + 17, + 283, + 234, + 18, + 283, + 234, + 19, + 283, + 234, + 20, + 283, + 234, + 21, + 283, + 234, + 22, + 283, + 234, + 23, + 283, + 234, + 24, + 283, + 234, + 25, + 283, + 234, + 26, + 0, +}; + +Compact sc36_cards = { + L_SCRIPT, // logic + ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 224, // xcood + 252, // ycood + 60*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC36_CARDS_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc36_reach_glass[] = { + 96*64, + 242, + 226, + 0, + 242, + 226, + 1, + 242, + 226, + 2, + 242, + 226, + 3, + 242, + 226, + 4, + 242, + 226, + 4, + 242, + 226, + 4, + 242, + 226, + 4, + 242, + 226, + 2, + 242, + 226, + 1, + 242, + 226, + 0, + 0, +}; + +uint16 sc36_juke_break[] = { + 86*64, + 233, + 222, + 7, + 233, + 222, + 1, + 233, + 222, + 4, + 233, + 222, + 6, + 233, + 222, + 2, + 233, + 222, + 5, + 233, + 222, + 0, + 233, + 222, + 3, + 0, +}; + +uint16 sc36_fos_down1[] = { + 92*64, + 296, + 208, + 0, + 296, + 208, + 1, + 296, + 208, + 2, + 296, + 208, + 3, + 296, + 208, + 4, + 296, + 208, + 5, + 296, + 208, + 6, + 296, + 208, + 7, + 296, + 208, + 8, + 296, + 208, + 9, + 296, + 208, + 10, + 296, + 208, + 11, + 296, + 208, + 12, + 296, + 208, + 13, + 296, + 208, + 14, + 296, + 208, + 15, + 296, + 208, + 16, + 296, + 208, + 17, + 296, + 208, + 18, + 296, + 208, + 19, + 296, + 208, + 20, + 296, + 208, + 21, + 296, + 208, + 22, + 0, +}; + +uint16 reset_37_36[] = { + C_SCREEN, + 36, + C_PLACE, + ID_SC36_LOW_FLOOR, + C_XCOOD, + 392, + C_YCOOD, + 208, + C_FRAME, + 42+13*64, + 65535, +}; + +Compact sc36_glass = { + L_SCRIPT, // logic + ST_MOUSE+ST_SORT+ST_RECREATE, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 242, // xcood + 247, // ycood + 66*64, // frame + 200, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65535, // mouseRel_y + 246-241, // mouseSize_x + 253-246, // mouseSize_y + SC36_GLASS_ACTION, // actionScript +}; + +Compact sc36_col_feet = { + 0, // logic + ST_SORT+ST_RECREATE, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 219, // xcood + 265, // ycood + 48*64, // frame +}; + +uint16 sc36_col_blink2[] = { + 47*64, + 219, + 226, + 16, + 219, + 226, + 16, + 219, + 226, + 16, + 219, + 226, + 16, + 219, + 226, + 16, + 219, + 226, + 16, + 219, + 226, + 16, + 219, + 226, + 16, + 219, + 226, + 16, + 219, + 226, + 16, + 219, + 226, + 16, + 219, + 226, + 17, + 219, + 226, + 18, + 219, + 226, + 16, + 0, +}; + +uint16 sc36_jukebox_off[] = { + 68*64, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact sc36_band = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 271, // xcood + 161, // ycood + 31*64, // frame + 16653, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 5, // mouseRel_y + 322-271, // mouseSize_x + 187-166, // mouseSize_y + SC36_BAND_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC36_BAND_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc36_sensor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 371, // xcood + 191, // ycood + 0, // frame + 16651, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 373-371, // mouseSize_x + 197-191, // mouseSize_y + SC36_SENSOR_ACTION, // actionScript +}; + +uint16 sc36_col_drink[] = { + 69*64, + 219, + 226, + 0, + 219, + 226, + 1, + 219, + 226, + 2, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 4, + 219, + 226, + 5, + 219, + 226, + 6, + 219, + 226, + 7, + 219, + 226, + 7, + 219, + 226, + 7, + 219, + 226, + 7, + 219, + 226, + 7, + 219, + 226, + 6, + 219, + 226, + 5, + 219, + 226, + 4, + 219, + 226, + 3, + 219, + 226, + 3, + 219, + 226, + 2, + 219, + 226, + 1, + 219, + 226, + 8, + 0, +}; + +uint16 reset_juke_light[] = { + C_LOGIC, + L_SCRIPT, + C_FRAME, + 68*64, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 sc36_gal_look1[] = { + 58*64, + 202, + 238, + 6, + 202, + 238, + 7, + 202, + 238, + 8, + 202, + 238, + 8, + 202, + 238, + 8, + 202, + 238, + 8, + 202, + 238, + 8, + 202, + 238, + 8, + 202, + 238, + 8, + 202, + 238, + 8, + 202, + 238, + 8, + 202, + 238, + 8, + 202, + 238, + 7, + 202, + 238, + 6, + 0, +}; + +uint16 reset_colston[] = { + C_LOGIC, + L_SCRIPT, + C_STATUS, + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, + C_XCOOD, + 219, + C_YCOOD, + 226, + C_FRAME, + 47*64, + C_MODE, + C_BASE_MODE, + C_BASE_SUB, + SC36_COLSTON_LOGIC, + C_BASE_SUB+2, + 0, + C_REQUEST, + 0, + 65535, +}; + +uint16 sc36_chip_list[] = { + 13+DISK_13, + IT_SC36_LAYER_0+DISK_13, + IT_SC36_LAYER_1+DISK_13, + IT_SC36_LAYER_2+DISK_13, + IT_SC36_LAYER_3+DISK_13, + IT_SC36_GRID_1+DISK_13, + IT_SC36_GRID_2+DISK_13, + IT_SC36_GRID_3+DISK_13, + IT_SC36_DOOR+DISK_13, + IT_SC36_BABS+DISK_13, + IT_SC36_BABS_TALK+DISK_13, + IT_SC36_PRESS_PLATE+DISK_13, + IT_SC36_USE_JUKEBOX+DISK_13, + IT_SC36_JUKEBOX+DISK_13, + IT_SC36_JUKE_LIGHT+DISK_13, + IT_SC36_BAND+DISK_13, + IT_SC36_BARMAN+DISK_13, + IT_BARMAN_TALK+DISK_13, + IT_SC36_COLSTON+DISK_13, + IT_SC36_COL_FEET+DISK_13, + IT_SC36_COL_TALK1+DISK_13, + IT_SC36_COL_TALK2+DISK_13, + IT_SC36_COL_DRINK+DISK_13, + IT_SC36_COL_DOWN4+DISK_13, + IT_SC36_COL_UP1+DISK_13, + IT_SC36_COL_KICK+DISK_13, + IT_SC36_GALLAGHER+DISK_13, + IT_SC36_GAL_LEGS+DISK_13, + IT_SC36_GAL_TALK+DISK_13, + IT_SC36_CARDS+DISK_13, + IT_SC36_GLASS+DISK_13, + 0, +}; + +uint16 sc36_juke_stuck[] = { + 86*64, + 233, + 222, + 7, + 233, + 222, + 3, + 0, +}; + +uint16 sc36_col_blink1[] = { + 47*64, + 219, + 226, + 0, + 219, + 226, + 1, + 219, + 226, + 2, + 219, + 226, + 0, + 0, +}; + +uint32 babs[0]; + +uint16 bar_wipe[] = { + 32*64, + 391, + 240, + 16, + 391, + 240, + 17, + 391, + 240, + 18, + 391, + 240, + 19, + 391, + 240, + 20, + 391, + 240, + 21, + 391, + 240, + 22, + 0, +}; + +uint16 sc36_gal_look2[] = { + 58*64, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 202, + 238, + 0, + 0, +}; + +uint16 sc36_juke_sing[] = { + 86*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 0, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 0, + 1, + 1, + 6, + 1, + 1, + 0, + 1, + 1, + 3, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 0, + 1, + 1, + 7, + 1, + 1, + 4, + 1, + 1, + 2, + 1, + 1, + 5, + 1, + 1, + 3, + 1, + 1, + 7, + 1, + 1, + 4, + 0, +}; + +ExtCompact sc36_colston_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_COLSTON36, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc36_colston = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 219, // xcood + 226, // ycood + 47*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 240-219, // mouseSize_x + 252-226, // mouseSize_y + SC36_COLSTON_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC36_COLSTON_LOGIC, // baseSub + 0, // baseSub_off + &sc36_colston_ext, +}; + +uint16 sc36_col_down1[] = { + 97*64, + 220, + 226, + 0, + 219, + 227, + 1, + 221, + 223, + 2, + 222, + 219, + 3, + 222, + 217, + 4, + 222, + 217, + 4, + 222, + 217, + 4, + 223, + 217, + 5, + 225, + 217, + 6, + 224, + 217, + 7, + 233, + 218, + 8, + 236, + 217, + 9, + 241, + 217, + 10, + 240, + 217, + 11, + 243, + 218, + 12, + 252, + 218, + 13, + 257, + 217, + 14, + 256, + 217, + 15, + 260, + 218, + 16, + 268, + 217, + 17, + 273, + 217, + 18, + 272, + 217, + 19, + 275, + 218, + 20, + 279, + 217, + 21, + 277, + 216, + 22, + 276, + 215, + 23, + 277, + 213, + 24, + 277, + 211, + 25, + 277, + 208, + 26, + 277, + 207, + 27, + 277, + 210, + 28, + 0, +}; + +ExtCompact sc36_gallagher_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_GALLAGHER36, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc36_gallagher = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 202, // xcood + 238, // ycood + 58*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 0, // mouseRel_y + 217-201, // mouseSize_x + 268-238, // mouseSize_y + SC36_GALLAGHER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC36_GALLAGHER_LOGIC, // baseSub + 0, // baseSub_off + &sc36_gallagher_ext, +}; + +uint16 sc36_col_up3[] = { + 103*64, + 272, + 213, + 0, + 272, + 213, + 1, + 272, + 213, + 2, + 272, + 213, + 3, + 272, + 213, + 4, + 272, + 213, + 5, + 272, + 213, + 6, + 272, + 213, + 7, + 272, + 213, + 8, + 272, + 213, + 9, + 272, + 213, + 10, + 272, + 213, + 11, + 272, + 213, + 12, + 272, + 213, + 13, + 272, + 213, + 14, + 272, + 213, + 15, + 0, +}; + +uint16 sc36_band_anim[] = { + 31*64, + 276, + 164, + 0, + 276, + 164, + 1, + 276, + 164, + 2, + 276, + 164, + 3, + 276, + 164, + 4, + 276, + 164, + 5, + 276, + 164, + 6, + 276, + 164, + 7, + 276, + 164, + 8, + 276, + 164, + 9, + 276, + 164, + 10, + 276, + 164, + 11, + 276, + 164, + 12, + 276, + 164, + 13, + 276, + 164, + 14, + 276, + 164, + 15, + 276, + 164, + 16, + 276, + 164, + 17, + 276, + 164, + 18, + 276, + 164, + 19, + 0, +}; + +uint16 sc36_col_kick[] = { + 105*64, + 249, + 211, + 0, + 248, + 211, + 1, + 245, + 211, + 2, + 243, + 212, + 3, + 241, + 212, + 4, + 242, + 212, + 5, + 247, + 211, + 6, + 241, + 213, + 7, + 243, + 212, + 8, + 247, + 211, + 9, + 249, + 211, + 0, + 249, + 211, + 0, + 249, + 211, + 0, + 0, +}; + +Compact sc36_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 36, // screen + 0, // place + sc36_floor_table, // getToTable + 184, // xcood + 256, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-184, // mouseSize_x + 327-256, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint32 sc36_walk_grid[0]; + +uint16 sc36_dooropen[] = { + 144*64, + 375, + 183, + 0, + 375, + 183, + 1, + 375, + 183, + 2, + 375, + 183, + 3, + 375, + 183, + 4, + 375, + 183, + 5, + 0, +}; + +uint16 bar_get_drink[] = { + 32*64, + 391, + 240, + 0, + 391, + 240, + 1, + 391, + 240, + 1, + 391, + 240, + 2, + 391, + 240, + 3, + 391, + 240, + 3, + 391, + 240, + 3, + 391, + 240, + 4, + 391, + 240, + 5, + 391, + 240, + 6, + 391, + 240, + 6, + 391, + 240, + 6, + 391, + 240, + 7, + 391, + 240, + 7, + 391, + 240, + 7, + 391, + 240, + 7, + 391, + 240, + 7, + 391, + 240, + 7, + 391, + 240, + 7, + 391, + 240, + 6, + 391, + 240, + 5, + 391, + 240, + 4, + 391, + 240, + 8, + 391, + 240, + 8, + 391, + 240, + 8, + 391, + 240, + 8, + 391, + 240, + 9, + 391, + 240, + 0, + 0, +}; + +uint16 sc36_gal_deal[] = { + 58*64, + 202, + 238, + 0, + 202, + 238, + 1, + 202, + 238, + 2, + 202, + 238, + 3, + 202, + 238, + 4, + 202, + 238, + 4, + 202, + 238, + 5, + 202, + 238, + 6, + 202, + 238, + 6, + 0, +}; + +uint16 bar_blink[] = { + 32*64, + 391, + 240, + 10, + 391, + 240, + 11, + 391, + 240, + 0, + 0, +}; + +uint16 sc36_press_plate[] = { + 70*64, + 360, + 186, + 0, + 360, + 186, + 0, + 360, + 186, + 1, + 360, + 186, + 2, + 360, + 186, + 3, + 360, + 186, + 4, + 360, + 186, + 5, + 360, + 186, + 5, + 360, + 186, + 5, + 360, + 186, + 5, + 0, +}; + +uint16 reset_jukebox[] = { + C_LOGIC, + L_SCRIPT, + C_STATUS, + ST_MOUSE+ST_LOGIC+ST_RECREATE, + C_MODE, + C_BASE_MODE, + C_BASE_SUB, + SC36_JUKEBOX_LOGIC, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 sc36_fast_list[] = { + 12+DISK_13, + 51+DISK_13, + 52+DISK_13, + 53+DISK_13, + 54+DISK_13, + 135+DISK_13, + IT_SC36_GET_GLASS+DISK_13, + 0, +}; + +uint16 sc36_col_up4[] = { + 104*64, + 277, + 211, + 0, + 278, + 211, + 1, + 277, + 210, + 2, + 277, + 209, + 3, + 278, + 209, + 4, + 278, + 209, + 5, + 278, + 209, + 5, + 277, + 210, + 6, + 277, + 212, + 7, + 278, + 213, + 8, + 279, + 216, + 9, + 279, + 217, + 10, + 279, + 217, + 11, + 271, + 217, + 12, + 271, + 218, + 13, + 270, + 218, + 14, + 264, + 217, + 15, + 255, + 217, + 16, + 255, + 218, + 17, + 253, + 217, + 18, + 247, + 217, + 19, + 239, + 217, + 20, + 239, + 218, + 21, + 239, + 218, + 22, + 233, + 217, + 23, + 223, + 217, + 24, + 223, + 217, + 25, + 222, + 217, + 26, + 222, + 217, + 26, + 222, + 217, + 26, + 222, + 219, + 27, + 221, + 223, + 28, + 219, + 227, + 29, + 220, + 226, + 30, + 0, +}; + +ExtCompact sc36_barman_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_BARMAN36, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc36_barman = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 391, // xcood + 240, // ycood + 32*64, // frame + 16619, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 415-391, // mouseSize_x + 266-240, // mouseSize_y + SC36_BARMAN_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC36_BARMAN_LOGIC, // baseSub + 0, // baseSub_off + &sc36_barman_ext, +}; + +Compact sc36_exit_30 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 36, // screen + 0, // place + 0, // getToTable + 171, // xcood + 230, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 182-171, // mouseSize_x + 296-230, // mouseSize_y + SC36_EXIT_30_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/37comp.h b/sky/compacts/37comp.h new file mode 100644 index 00000000000..760d979a837 --- /dev/null +++ b/sky/compacts/37comp.h @@ -0,0 +1,1828 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY37COMP_H +#define SKY37COMP_H + + + + +namespace SkyCompact { + +uint16 sc37_mouse_list[] = { + ID_SC37_SENSOR, + ID_SC37_DOOR, + ID_SC37_GRILL, + ID_SC37_FLIMSY_BOX, + ID_SC37_LID, + ID_SC37_BIG_BOX, + ID_SC37_WINE_RACK, + ID_SC37_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc37_chip_list[] = { + IT_SC37_LAYER_0+DISK_13, + IT_SC37_LAYER_1+DISK_13, + IT_SC37_LAYER_2+DISK_13, + IT_SC37_GRID_1+DISK_13, + IT_SC37_GRID_2+DISK_13, + IT_SC37_CRBARBOX+DISK_13+0X8000, + IT_SC37_GETLID+DISK_13, + IT_SC37_USELID+DISK_13+0X8000, + IT_SC37_STEPUP+DISK_13, + IT_SC37_FOOTDROP+DISK_13, + IT_SC37_STEPDOWN+DISK_13, + IT_SC37_USEBAR+DISK_13+0X8000, + IT_SC37_USESEC+DISK_13+0X8000, + IT_SC37_CLIMBOUT+DISK_13+0X8000, + IT_SC37_THUMBSUP+DISK_13, + IT_SC37_BOXLID+DISK_13, + IT_SC37_LIDUP+DISK_13, + IT_SC37_LIDUSED+DISK_13, + IT_SC37_LOOSEBIT+DISK_13, + IT_SC37_GRILL+DISK_13, + IT_SC37_GRILLOPEN+DISK_13, + IT_SC37_DOOR+DISK_13, + 0, +}; + +uint16 sc37_grillopen[] = { + 142*64, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 0, + 307, + 192, + 1, + 307, + 192, + 2, + 307, + 192, + 3, + 307, + 192, + 4, + 0, +}; + +uint16 sc37_floor_table[] = { + ID_SC37_FLOOR, + RETURN_OK, + ID_SC37_DOOR, + GT_SC37_DOOR, + 0, + SC37_DOOR_WALK_ON, + ID_SC37_SENSOR, + GT_SC37_SENSOR, + ID_SC37_GRILL, + GT_SC37_GRILL, + ID_SC37_FLIMSY_BOX, + GT_SC37_FLIMSY_BOX, + ID_SC37_BIG_BOX, + GT_SC37_BIG_BOX, + ID_SC37_LID, + GT_SC37_LID, + ID_SC37_WINE_RACK, + GT_SC37_WINE_RACK, + 65535, +}; + +uint16 sc37_stepdown[] = { + 131*64, + 309, + 194, + 0, + 304, + 200, + 1, + 304, + 210, + 2, + 304, + 217, + 3, + 304, + 218, + 4, + 304, + 219, + 5, + 304, + 221, + 6, + 304, + 224, + 7, + 303, + 224, + 8, + 304, + 224, + 9, + 307, + 222, + 10, + 309, + 218, + 0, + 0, +}; + +Compact sc37_big_box = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 37, // screen + 0, // place + 0, // getToTable + 219, // xcood + 231, // ycood + 0, // frame + 16659, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 269-219, // mouseSize_x + 278-231, // mouseSize_y + SC37_BIG_BOX_ACTION, // actionScript +}; + +uint16 sc37_footdrop[] = { + 130*64, + 309, + 194, + 0, + 302, + 197, + 1, + 299, + 203, + 2, + 299, + 201, + 3, + 309, + 194, + 0, + 0, +}; + +uint16 sc37_putlid[] = { + 109*64, + 260, + 218, + 7, + 254, + 219, + 6, + 247, + 223, + 5, + 247, + 223, + 4, + 256, + 222, + 3, + 263, + 221, + 2, + 267, + 218, + 1, + 268, + 218, + 0, + 0, +}; + +Compact sc37_sensor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 37, // screen + 0, // place + 0, // getToTable + 185, // xcood + 238, // ycood + 0, // frame + 16651, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 190-185, // mouseSize_x + 248-238, // mouseSize_y + SC37_SENSOR_ACTION, // actionScript +}; + +uint16 sc37_lidused[] = { + 139*64, + 258, + 218, + 0, + 251, + 218, + 1, + 256, + 218, + 2, + 266, + 218, + 3, + 279, + 217, + 4, + 286, + 218, + 5, + 290, + 218, + 6, + 293, + 218, + 7, + 296, + 219, + 7, + 300, + 219, + 7, + 304, + 218, + 7, + 308, + 219, + 7, + 311, + 219, + 7, + 315, + 219, + 7, + 319, + 218, + 7, + 318, + 217, + 4, + 318, + 217, + 4, + 321, + 218, + 8, + 312, + 217, + 9, + 305, + 217, + 10, + 305, + 223, + 11, + 305, + 235, + 12, + 305, + 240, + 13, + 305, + 240, + 14, + 305, + 240, + 15, + 305, + 240, + 16, + 0, +}; + +uint16 sc37_getlid[] = { + 109*64, + 268, + 218, + 0, + 267, + 218, + 1, + 263, + 221, + 2, + 256, + 222, + 3, + 247, + 223, + 4, + 247, + 223, + 5, + 254, + 219, + 6, + 260, + 218, + 7, + 0, +}; + +uint16 sc37_flimsy_box_table[] = { + ID_SC37_FLOOR, + STEP_OFF_BOX, + ID_SC37_DOOR, + STEP_OFF_BOX, + ID_SC37_SENSOR, + STEP_OFF_BOX, + ID_SC37_GRILL, + GT_SC37_GRILL, + ID_SC37_FLIMSY_BOX, + RETURN_OK, + ID_SC37_BIG_BOX, + STEP_OFF_BOX, + ID_SC37_WINE_RACK, + STEP_OFF_BOX, + 65535, +}; + +uint16 sc37_thumbsup[] = { + 136*64, + 204, + 226, + 0, + 202, + 227, + 1, + 202, + 227, + 2, + 201, + 227, + 3, + 195, + 229, + 4, + 187, + 229, + 5, + 187, + 229, + 5, + 187, + 229, + 5, + 195, + 229, + 4, + 201, + 227, + 6, + 202, + 227, + 2, + 202, + 227, + 1, + 204, + 226, + 0, + 0, +}; + +Compact sc37_wine_rack = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 37, // screen + 0, // place + 0, // getToTable + 351, // xcood + 208, // ycood + 0, // frame + 17379, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 402-351, // mouseSize_x + 280-208, // mouseSize_y + SC37_WINE_RACK_ACTION, // actionScript +}; + +uint16 sc37_fast_list[] = { + 12+DISK_13, + 51+DISK_13, + 52+DISK_13, + 53+DISK_13, + 54+DISK_13, + 135+DISK_13, + 0, +}; + +uint16 sc37_holding_lid_table[] = { + ID_SC37_FLOOR, + PUT_LID_BACK, + ID_SC37_DOOR, + PUT_LID_BACK, + ID_SC37_SENSOR, + PUT_LID_BACK, + ID_SC37_GRILL, + PUT_LID_BACK, + ID_SC37_FLIMSY_BOX, + USE_LID_ON_FLIMSY_BOX, + ID_SC37_BIG_BOX, + PUT_LID_BACK, + ID_SC37_WINE_RACK, + PUT_LID_BACK, + 65535, +}; + +Compact sc37_holding_lid = { + 0, // logic + 0, // status + 0, // sync + 37, // screen + 0, // place + sc37_holding_lid_table, // getToTable +}; + +uint16 sc37_lidup[] = { + 138*64, + 231, + 234, + 0, + 250, + 222, + 1, + 256, + 218, + 2, + 0, +}; + +uint16 sc37_usesec[] = { + 133*64, + 304, + 192, + 0, + 304, + 192, + 1, + 304, + 192, + 2, + 304, + 192, + 3, + 304, + 192, + 4, + 304, + 192, + 5, + 304, + 192, + 5, + 304, + 192, + 6, + 304, + 192, + 7, + 304, + 192, + 8, + 304, + 192, + 9, + 304, + 192, + 10, + 304, + 192, + 11, + 304, + 192, + 12, + 304, + 192, + 13, + 304, + 192, + 14, + 304, + 192, + 15, + 304, + 192, + 15, + 304, + 192, + 16, + 304, + 192, + 17, + 304, + 192, + 17, + 304, + 192, + 18, + 304, + 192, + 19, + 304, + 192, + 19, + 304, + 192, + 20, + 304, + 192, + 21, + 304, + 192, + 21, + 304, + 192, + 22, + 304, + 192, + 23, + 304, + 192, + 23, + 304, + 192, + 24, + 304, + 192, + 25, + 304, + 192, + 25, + 304, + 192, + 26, + 304, + 192, + 27, + 304, + 192, + 28, + 304, + 192, + 29, + 304, + 192, + 30, + 304, + 192, + 30, + 304, + 192, + 31, + 304, + 192, + 32, + 304, + 192, + 33, + 304, + 192, + 34, + 304, + 192, + 35, + 304, + 192, + 36, + 304, + 192, + 37, + 304, + 192, + 38, + 304, + 192, + 39, + 304, + 192, + 40, + 304, + 192, + 41, + 304, + 192, + 42, + 304, + 192, + 0, + 0, +}; + +uint16 sc37_stepup[] = { + 129*64, + 309, + 218, + 0, + 305, + 223, + 1, + 303, + 224, + 2, + 303, + 224, + 3, + 303, + 224, + 4, + 303, + 222, + 5, + 303, + 220, + 6, + 301, + 218, + 7, + 302, + 213, + 8, + 302, + 212, + 9, + 302, + 208, + 10, + 306, + 200, + 11, + 309, + 194, + 12, + 309, + 194, + 12, + 0, +}; + +Compact sc37_lid = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 37, // screen + 0, // place + 0, // getToTable + 230, // xcood + 234, // ycood + 137*64, // frame + 201, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 1, // mouseRel_x + 65535, // mouseRel_y + 267-231, // mouseSize_x + 244-233, // mouseSize_y + SC37_LID_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC37_LID_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc37_palette[] = { + 0, + 768, + 514, + 770, + 1027, + 771, + 1029, + 770, + 773, + 1029, + 1028, + 1285, + 1541, + 1795, + 773, + 1286, + 1285, + 1542, + 1288, + 1541, + 1031, + 1543, + 2054, + 1031, + 2055, + 2565, + 1030, + 2055, + 2311, + 1543, + 2058, + 2053, + 1545, + 1803, + 2566, + 1800, + 2060, + 2053, + 2058, + 2060, + 2567, + 1546, + 2570, + 3080, + 1546, + 2318, + 3078, + 2058, + 2827, + 2567, + 2316, + 3084, + 3337, + 1803, + 2574, + 3080, + 1549, + 3339, + 4104, + 1802, + 3341, + 3592, + 2316, + 2831, + 3590, + 2571, + 3087, + 3080, + 2829, + 3089, + 4102, + 2315, + 3089, + 4104, + 1805, + 3342, + 3339, + 2574, + 3344, + 4618, + 1805, + 3599, + 3593, + 2063, + 3346, + 4361, + 2062, + 3600, + 3340, + 3343, + 3854, + 4619, + 2829, + 3856, + 5130, + 2573, + 4111, + 4876, + 2062, + 4113, + 3849, + 2577, + 4113, + 5387, + 2318, + 3858, + 4618, + 3087, + 4115, + 5385, + 2064, + 4368, + 5133, + 2575, + 4625, + 4873, + 2832, + 3860, + 4876, + 3344, + 4370, + 4108, + 2579, + 4372, + 5386, + 2832, + 4117, + 4621, + 3601, + 4372, + 4876, + 2834, + 4372, + 5646, + 2577, + 4119, + 4619, + 3091, + 4881, + 4878, + 3346, + 4376, + 4874, + 3858, + 4629, + 4879, + 3604, + 4631, + 5131, + 4116, + 5141, + 6414, + 2834, + 4886, + 5136, + 4374, + 5398, + 6671, + 3093, + 5655, + 6930, + 3350, + 5913, + 6161, + 4887, + 5661, + 6413, + 5144, + 5914, + 6931, + 5144, + 6683, + 7956, + 3865, + 8227, + 7183, + 6945, + 8486, + 9494, + 6438, + 10790, + 11294, + 6955, + 11309, + 12064, + 6702, + 11823, + 12834, + 8498, + 12593, + 13863, + 10293, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact sc37_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 37, // screen + 0, // place + sc37_floor_table, // getToTable + 192, // xcood + 256, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 399-192, // mouseSize_x + 319-256, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc37_climbout[] = { + 134*64, + 309, + 194, + 0, + 307, + 194, + 1, + 303, + 194, + 2, + 308, + 194, + 3, + 308, + 194, + 3, + 308, + 195, + 4, + 308, + 196, + 5, + 309, + 195, + 6, + 309, + 196, + 7, + 309, + 194, + 8, + 308, + 193, + 9, + 309, + 193, + 10, + 309, + 192, + 11, + 308, + 192, + 12, + 308, + 194, + 13, + 309, + 193, + 14, + 309, + 193, + 15, + 309, + 192, + 16, + 0, +}; + +Compact sc37_grill = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 37, // screen + 0, // place + 0, // getToTable + 307, // xcood + 192, // ycood + 141*64, // frame + 16661, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65535, // mouseRel_y + 335-306, // mouseSize_x + 208-191, // mouseSize_y + SC37_GRILL_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC37_GRILL_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc37_uselid[] = { + 110*64, + 262, + 218, + 0, + 254, + 218, + 1, + 255, + 218, + 2, + 263, + 218, + 3, + 272, + 217, + 4, + 273, + 217, + 5, + 273, + 217, + 6, + 274, + 217, + 7, + 277, + 218, + 8, + 286, + 218, + 9, + 292, + 217, + 10, + 292, + 218, + 11, + 293, + 218, + 12, + 298, + 218, + 13, + 306, + 217, + 14, + 310, + 217, + 15, + 310, + 217, + 16, + 310, + 217, + 17, + 309, + 217, + 18, + 304, + 217, + 19, + 304, + 219, + 20, + 304, + 219, + 21, + 304, + 221, + 22, + 304, + 219, + 23, + 309, + 218, + 24, + 0, +}; + +uint16 reset_36_37[] = { + C_SCREEN, + 37, + C_PLACE, + ID_SC37_FLOOR, + C_XCOOD, + 176, + C_YCOOD, + 272, + C_FRAME, + 46+12*64, + 65535, +}; + +uint16 sc37_doorshut[] = { + 143*64, + 196, + 221, + 6, + 196, + 221, + 5, + 196, + 221, + 4, + 196, + 221, + 3, + 196, + 221, + 2, + 196, + 221, + 1, + 196, + 221, + 0, + 0, +}; + +uint32 sc37_walk_grid[0]; + +Compact sc37_door = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 37, // screen + 0, // place + 0, // getToTable + 196, // xcood + 221, // ycood + 143*64, // frame + 181, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65532, // mouseRel_x + 65531, // mouseRel_y + 207-192, // mouseSize_x + 279-216, // mouseSize_y + SC37_DOOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC37_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc37_usebar[] = { + 132*64, + 309, + 194, + 0, + 308, + 194, + 1, + 306, + 195, + 2, + 306, + 195, + 3, + 306, + 195, + 4, + 306, + 195, + 4, + 306, + 195, + 5, + 306, + 195, + 6, + 306, + 195, + 6, + 306, + 195, + 7, + 306, + 195, + 7, + 307, + 195, + 8, + 309, + 194, + 9, + 309, + 194, + 10, + 308, + 194, + 11, + 307, + 194, + 12, + 303, + 194, + 13, + 306, + 194, + 14, + 306, + 194, + 15, + 304, + 195, + 16, + 304, + 195, + 16, + 309, + 195, + 17, + 310, + 195, + 18, + 311, + 195, + 19, + 312, + 195, + 20, + 312, + 195, + 20, + 312, + 195, + 21, + 312, + 195, + 22, + 312, + 195, + 23, + 312, + 195, + 24, + 312, + 193, + 25, + 312, + 195, + 26, + 312, + 195, + 27, + 312, + 193, + 28, + 312, + 195, + 29, + 312, + 195, + 30, + 312, + 194, + 31, + 312, + 195, + 32, + 312, + 195, + 32, + 312, + 195, + 33, + 306, + 195, + 34, + 306, + 195, + 34, + 305, + 195, + 35, + 305, + 195, + 36, + 305, + 195, + 37, + 305, + 195, + 38, + 305, + 195, + 39, + 305, + 195, + 40, + 306, + 194, + 41, + 309, + 194, + 0, + 0, +}; + +Compact sc37_flimsy_box = { + 0, // logic + ST_MOUSE+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 37, // screen + 0, // place + sc37_flimsy_box_table, // getToTable + 318, // xcood + 245, // ycood + 140*64, // frame + 16660, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65518, // mouseRel_x + 65529, // mouseRel_y + 333-300, // mouseSize_x + 264-238, // mouseSize_y + SC37_FLIMSY_BOX_ACTION, // actionScript +}; + +uint16 sc37_dooropen[] = { + 143*64, + 196, + 221, + 0, + 196, + 221, + 1, + 196, + 221, + 2, + 196, + 221, + 3, + 196, + 221, + 4, + 196, + 221, + 5, + 196, + 221, + 6, + 0, +}; + +uint16 sc37_liddown[] = { + 138*64, + 256, + 218, + 2, + 250, + 222, + 1, + 231, + 234, + 0, + 0, +}; + +uint16 sc37_logic_list[] = { + ID_FOSTER, + ID_SC37_FLIMSY_BOX, + ID_SC37_LID, + ID_SC37_GRILL, + ID_SC37_DOOR, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc37_crbarbox[] = { + 108*64, + 264, + 216, + 0, + 264, + 216, + 1, + 264, + 216, + 2, + 264, + 216, + 3, + 264, + 216, + 4, + 264, + 216, + 5, + 264, + 216, + 6, + 264, + 216, + 7, + 264, + 216, + 8, + 264, + 216, + 9, + 264, + 216, + 10, + 264, + 216, + 11, + 264, + 216, + 12, + 264, + 216, + 13, + 264, + 216, + 14, + 264, + 216, + 15, + 264, + 216, + 14, + 264, + 216, + 16, + 264, + 216, + 16, + 264, + 216, + 17, + 264, + 216, + 18, + 264, + 216, + 19, + 264, + 216, + 20, + 264, + 216, + 21, + 264, + 216, + 22, + 264, + 216, + 23, + 264, + 216, + 24, + 264, + 216, + 25, + 264, + 216, + 26, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/38comp.h b/sky/compacts/38comp.h new file mode 100644 index 00000000000..9dd3a24baf8 --- /dev/null +++ b/sky/compacts/38comp.h @@ -0,0 +1,3730 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY38COMP_H +#define SKY38COMP_H + + + + +namespace SkyCompact { + +uint16 spu_left[] = { + 2, + 16+71*64, + 65534, + 0, + 2, + 17+71*64, + 65534, + 0, + 2, + 18+71*64, + 65534, + 0, + 2, + 19+71*64, + 65534, + 0, + 2, + 20+71*64, + 65534, + 0, + 2, + 21+71*64, + 65534, + 0, + 2, + 22+71*64, + 65534, + 0, + 2, + 23+71*64, + 65534, + 0, + 0, +}; + +uint16 sc38_mouse_list[] = { + ID_SPUNKY, + ID_SC32_BUZZER, + ID_DANIELLE, + ID_SC38_SOFA, + ID_SC38_STATUE, + ID_SC38_VIDEO, + ID_SC38_MONITOR, + ID_SC38_BISCUITS, + ID_SC38_DOG_TRAY, + ID_SC38_LIFT, + ID_SC38_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sniff_left[] = { + 72*64, + 208, + 219, + 0, + 208, + 219, + 1, + 208, + 219, + 2, + 208, + 219, + 3, + 208, + 219, + 4, + 208, + 219, + 5, + 208, + 219, + 4, + 208, + 219, + 5, + 208, + 219, + 5, + 208, + 219, + 6, + 208, + 219, + 6, + 208, + 219, + 5, + 208, + 219, + 5, + 208, + 219, + 6, + 208, + 219, + 6, + 208, + 219, + 7, + 208, + 219, + 7, + 208, + 219, + 6, + 208, + 219, + 5, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 5, + 208, + 219, + 5, + 208, + 219, + 3, + 208, + 219, + 4, + 208, + 219, + 5, + 208, + 219, + 6, + 208, + 219, + 7, + 208, + 219, + 6, + 208, + 219, + 5, + 208, + 219, + 3, + 208, + 219, + 2, + 208, + 219, + 1, + 208, + 219, + 0, + 0, +}; + +uint16 sc38_palette[] = { + 0, + 1280, + 1798, + 1797, + 2051, + 1033, + 1804, + 5127, + 1284, + 2571, + 2313, + 2061, + 1809, + 3593, + 1292, + 2325, + 6150, + 2824, + 3090, + 3339, + 2831, + 1566, + 5382, + 3850, + 4113, + 3591, + 4114, + 2336, + 8714, + 1290, + 2843, + 4622, + 3090, + 3606, + 5907, + 3600, + 2342, + 4105, + 5396, + 3614, + 5131, + 4371, + 5398, + 6922, + 4623, + 5393, + 12058, + 1544, + 2858, + 9222, + 1808, + 3624, + 4874, + 8213, + 5911, + 11535, + 2827, + 4644, + 7693, + 5396, + 3626, + 5135, + 7193, + 3377, + 10759, + 1810, + 4390, + 6418, + 6679, + 5410, + 5905, + 8983, + 3887, + 11022, + 3603, + 6676, + 13354, + 2831, + 7192, + 7198, + 8217, + 5671, + 4627, + 12059, + 5677, + 10762, + 6421, + 5925, + 6171, + 10269, + 6689, + 13597, + 4114, + 7706, + 5667, + 11550, + 5425, + 5141, + 12831, + 7455, + 11042, + 7449, + 6446, + 11800, + 3867, + 5431, + 6676, + 12320, + 8475, + 7978, + 9761, + 6707, + 10261, + 8480, + 8984, + 8244, + 11809, + 6455, + 12825, + 6939, + 9501, + 8752, + 10532, + 7989, + 13332, + 6688, + 9756, + 13622, + 7966, + 9762, + 8494, + 13349, + 9015, + 6928, + 15144, + 9767, + 14378, + 5922, + 9521, + 13340, + 5926, + 9773, + 8230, + 14377, + 9271, + 8988, + 13098, + 10296, + 10772, + 10282, + 11039, + 13885, + 8232, + 10552, + 13338, + 9513, + 11555, + 12090, + 10794, + 11303, + 11318, + 11821, + 11323, + 13847, + 8749, + 11322, + 9502, + 16175, + 11828, + 12583, + 11311, + 12073, + 13883, + 12333, + 12337, + 14386, + 9521, + 12603, + 13600, + 11826, + 12851, + 14647, + 10803, + 12855, + 14899, + 12084, + 13622, + 14650, + 13623, + 14388, + 14654, + 15673, + 14906, + 15165, + 15931, + 15677, + 16190, + 16191, + 3592, + 4121, + 4112, + 6939, + 10011, + 10023, + 13107, + 16179, + 16191, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 1287, + 2822, + 2568, + 2830, + 4622, + 4622, + 4372, + 5910, + 6677, + 6169, + 7198, + 8733, + 8480, + 9254, + 10791, + 11049, + 11822, + 12848, + 13363, + 14646, + 14905, + 16191, + 63, + 0, + 0, + 14336, + 13364, + 11569, + 10541, + 9766, + 7716, + 7453, + 5140, + 3093, + 1805, + 770, + 519, + 14851, + 8751, + 10295, + 13596, + 5921, + 5931, + 9488, + 2576, + 3104, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 12607, + 14885, + 7209, + 8501, + 11797, + 3352, + 4135, + 8199, + 778, + 9791, + 14893, + 9759, + 5938, + 10783, + 6417, + 2332, + 3857, + 2308, + 2865, + 11531, + 1542, + 287, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 0, + 63, + 16128, + 0, + 63, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 spu_u_to_l[] = { + 35+71*64, + 0, +}; + +uint16 dan_d_to_r[] = { + 39+55*64, + 0, +}; + +uint16 sex_t_to_r[] = { + 32+106*64, + 39+106*64, + 0, +}; + +uint16 spu_u_to_d[] = { + 35+71*64, + 34+71*64, + 33+71*64, + 0, +}; + +Compact sc38_dog_tray = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 38, // screen + 0, // place + 0, // getToTable + 220, // xcood + 251, // ycood + 0, // frame + 17178, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 241-220, // mouseSize_x + 267-251, // mouseSize_y + SC38_DOG_TRAY_ACTION, // actionScript +}; + +uint16 sex_up[] = { + 2, + 0+106*64, + 0, + 65534, + 2, + 1+106*64, + 0, + 65534, + 2, + 2+106*64, + 0, + 65534, + 2, + 3+106*64, + 0, + 65534, + 2, + 4+106*64, + 0, + 65534, + 2, + 5+106*64, + 0, + 65534, + 2, + 6+106*64, + 0, + 65534, + 2, + 7+106*64, + 0, + 65534, + 0, +}; + +uint16 dan_u_to_r[] = { + 37+55*64, + 0, +}; + +uint16 sex_l_to_r[] = { + 33+106*64, + 32+106*64, + 39+106*64, + 0, +}; + +uint16 spu_t_to_l[] = { + 32+71*64, + 33+71*64, + 0, +}; + +uint16 dan_u_to_t[] = { + 37+55*64, + 38+55*64, + 0, +}; + +uint16 sc38_screen_2[] = { + 136*64, + 379, + 209, + 0, + 379, + 209, + 1, + 379, + 209, + 2, + 379, + 209, + 3, + 379, + 209, + 4, + 379, + 209, + 5, + 379, + 209, + 6, + 379, + 209, + 7, + 379, + 209, + 8, + 379, + 209, + 9, + 379, + 209, + 10, + 379, + 209, + 11, + 379, + 209, + 12, + 379, + 209, + 13, + 379, + 209, + 14, + 379, + 209, + 15, + 379, + 209, + 16, + 379, + 209, + 17, + 379, + 209, + 18, + 379, + 209, + 19, + 379, + 209, + 20, + 379, + 209, + 21, + 379, + 209, + 22, + 0, +}; + +uint16 dan_l_to_u[] = { + 35+55*64, + 0, +}; + +uint16 sc38_screen_3[] = { + 137*64, + 379, + 209, + 0, + 379, + 209, + 1, + 379, + 209, + 2, + 379, + 209, + 3, + 379, + 209, + 4, + 379, + 209, + 5, + 379, + 209, + 6, + 379, + 209, + 7, + 379, + 209, + 8, + 379, + 209, + 9, + 379, + 209, + 10, + 379, + 209, + 11, + 379, + 209, + 12, + 379, + 209, + 13, + 379, + 209, + 14, + 379, + 209, + 15, + 379, + 209, + 16, + 379, + 209, + 17, + 379, + 209, + 18, + 379, + 209, + 19, + 379, + 209, + 20, + 379, + 209, + 21, + 379, + 209, + 22, + 379, + 209, + 23, + 379, + 209, + 24, + 379, + 209, + 25, + 379, + 209, + 26, + 379, + 209, + 27, + 379, + 209, + 28, + 0, +}; + +uint16 dan_r_to_t[] = { + 39+55*64, + 32+55*64, + 0, +}; + +uint16 sex_u_to_t[] = { + 37+106*64, + 38+106*64, + 0, +}; + +uint16 sc38_dani_get_up[] = { + 109*64, + 294, + 244, + 0, + 295, + 244, + 1, + 298, + 245, + 2, + 301, + 241, + 3, + 305, + 238, + 4, + 307, + 238, + 5, + 308, + 238, + 6, + 311, + 238, + 7, + 319, + 239, + 8, + 319, + 238, + 9, + 317, + 242, + 10, + 317, + 243, + 11, + 317, + 243, + 12, + 0, +}; + +uint16 sex_r_to_d[] = { + 39+106*64, + 0, +}; + +uint16 dan_r_to_l[] = { + 37+55*64, + 36+55*64, + 35+55*64, + 0, +}; + +uint8 dan_auto[64]; + +uint16 sc38_logic_list[] = { + ID_FOSTER, + ID_DANIELLE, + ID_SPUNKY, + ID_DOG_BARK_THING, + ID_SC38_MONITOR, + ID_SC38_VIDEO, + ID_SC38_HAND_SET, + ID_SC38_LIFT, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 piss_left[] = { + 75*64, + 208, + 219, + 0, + 208, + 219, + 1, + 208, + 219, + 2, + 208, + 219, + 2, + 208, + 219, + 2, + 208, + 219, + 3, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 4, + 208, + 219, + 3, + 208, + 219, + 2, + 208, + 219, + 1, + 208, + 219, + 0, + 0, +}; + +uint16 sex_d_to_u[] = { + 39+106*64, + 38+106*64, + 37+106*64, + 0, +}; + +uint16 dan_l_to_d[] = { + 33+55*64, + 0, +}; + +uint16 sex_u_to_r[] = { + 37+106*64, + 0, +}; + +Compact sc38_hand_set = { + 0, // logic + ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 38, // screen + 0, // place + 0, // getToTable + 156, // xcood + 267, // ycood + 110*64, // frame +}; + +uint16 spu_u_to_r[] = { + 37+71*64, + 0, +}; + +uint16 dan_st_left[] = { + 55*64, + 1, + 0, + 34, + 0, +}; + +uint16 piss_right[] = { + 76*64, + 257, + 219, + 0, + 257, + 219, + 1, + 257, + 219, + 2, + 257, + 219, + 2, + 257, + 219, + 2, + 257, + 219, + 3, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 3, + 257, + 219, + 2, + 257, + 219, + 1, + 257, + 219, + 0, + 0, +}; + +uint16 sex_r_to_u[] = { + 37+106*64, + 0, +}; + +uint16 sex_left[] = { + 4, + 16+106*64, + 65532, + 0, + 4, + 17+106*64, + 65532, + 0, + 4, + 18+106*64, + 65532, + 0, + 4, + 19+106*64, + 65532, + 0, + 4, + 20+106*64, + 65532, + 0, + 4, + 21+106*64, + 65532, + 0, + 4, + 22+106*64, + 65532, + 0, + 4, + 23+106*64, + 65532, + 0, + 0, +}; + +uint16 sex_l_to_u[] = { + 35+106*64, + 0, +}; + +uint16 spu_l_to_t[] = { + 33+71*64, + 32+71*64, + 0, +}; + +uint16 sex_d_to_r[] = { + 39+106*64, + 0, +}; + +uint32 spu[0]; + +uint16 sc38_floor_table[] = { + ID_SC38_FLOOR, + RETURN_OK, + ID_SC38_LIFT, + GT_SC38_LIFT, + ID_SC38_SOFA, + GT_SC38_SOFA, + ID_SC38_STATUE, + GT_SC38_STATUE, + ID_SC38_VIDEO, + GT_SC38_VIDEO, + ID_SC38_MONITOR, + GT_SC38_MONITOR, + ID_SC38_BISCUITS, + GT_SC38_BISCUITS, + ID_SC38_DOG_TRAY, + GT_SC38_DOG_TRAY, + ID_SC38_HAND_SET, + GT_SC38_HAND_SET, + ID_DANIELLE, + GT_SC38_DANIELLE, + ID_STD_LEFT_TALK, + GT_SC38_LEFT_TALK, + ID_STD_RIGHT_TALK, + GT_SC38_RIGHT_TALK, + 65535, +}; + +uint16 sc38_get_food[] = { + 139*64, + 235, + 216, + 0, + 235, + 216, + 1, + 235, + 216, + 2, + 235, + 216, + 3, + 235, + 216, + 4, + 235, + 216, + 5, + 235, + 216, + 6, + 235, + 216, + 6, + 235, + 216, + 6, + 235, + 216, + 5, + 235, + 216, + 4, + 235, + 216, + 3, + 235, + 216, + 2, + 235, + 216, + 1, + 235, + 216, + 0, + 0, +}; + +uint16 sex_right[] = { + 4, + 24+106*64, + 4, + 0, + 4, + 25+106*64, + 4, + 0, + 4, + 26+106*64, + 4, + 0, + 4, + 27+106*64, + 4, + 0, + 4, + 28+106*64, + 4, + 0, + 4, + 29+106*64, + 4, + 0, + 4, + 30+106*64, + 4, + 0, + 4, + 31+106*64, + 4, + 0, + 0, +}; + +uint16 dan_st_talk[] = { + 85*64, + 1, + 0, + 0, + 0, +}; + +uint16 reset_32_38[] = { + C_SCREEN, + 38, + C_PLACE, + ID_SC38_FLOOR, + C_XCOOD, + 192, + C_YCOOD, + 288, + C_FRAME, + 46+12*64, + C_DIR, + RIGHT, + 65535, +}; + +Compact sc38_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 38, // screen + 0, // place + sc38_floor_table, // getToTable + 200, // xcood + 256, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-200, // mouseSize_x + 327-256, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sex_d_to_l[] = { + 33+106*64, + 0, +}; + +uint16 spu_r_to_u[] = { + 37+71*64, + 0, +}; + +uint16 reset_dani_sit[] = { + C_STATUS, + ST_LOGIC+ST_SORT+ST_RECREATE, + C_SCREEN, + 38, + C_PLACE, + ID_SC38_FLOOR, + C_XCOOD, + 294, + C_YCOOD, + 244, + C_FRAME, + 107*64, + 65535, +}; + +uint16 spu_u_to_t[] = { + 37+71*64, + 38+71*64, + 0, +}; + +uint16 spu_l_to_u[] = { + 35+71*64, + 0, +}; + +uint16 spu_d_to_u[] = { + 39+71*64, + 38+71*64, + 37+71*64, + 0, +}; + +uint16 sex_u_to_d[] = { + 35+106*64, + 34+106*64, + 33+106*64, + 0, +}; + +uint16 sc38_dani_anim_2[] = { + 107*64, + 294, + 244, + 0, + 294, + 245, + 1, + 294, + 245, + 2, + 294, + 245, + 3, + 294, + 245, + 4, + 294, + 244, + 5, + 294, + 244, + 6, + 294, + 244, + 7, + 294, + 244, + 8, + 294, + 244, + 9, + 294, + 244, + 10, + 294, + 244, + 11, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 13, + 294, + 244, + 13, + 294, + 244, + 15, + 294, + 244, + 8, + 294, + 244, + 16, + 294, + 244, + 16, + 294, + 244, + 17, + 294, + 244, + 17, + 294, + 244, + 18, + 294, + 244, + 17, + 294, + 244, + 19, + 294, + 244, + 17, + 294, + 244, + 18, + 294, + 244, + 17, + 294, + 244, + 19, + 294, + 244, + 19, + 294, + 244, + 17, + 294, + 244, + 17, + 294, + 244, + 18, + 294, + 244, + 18, + 294, + 244, + 17, + 294, + 244, + 17, + 294, + 244, + 16, + 294, + 244, + 16, + 294, + 244, + 8, + 294, + 244, + 8, + 294, + 244, + 7, + 294, + 244, + 7, + 294, + 244, + 6, + 294, + 244, + 5, + 294, + 245, + 4, + 294, + 245, + 3, + 294, + 245, + 2, + 294, + 245, + 1, + 0, +}; + +uint16 dan_t_to_r[] = { + 32+55*64, + 39+55*64, + 0, +}; + +uint16 dan_st_up[] = { + 55*64, + 1, + 0, + 36, + 0, +}; + +uint16 bark[] = { + 65*64, + 243, + 225, + 0, + 243, + 225, + 1, + 243, + 225, + 2, + 243, + 225, + 0, + 243, + 225, + 0, + 243, + 225, + 1, + 243, + 225, + 2, + 243, + 225, + 0, + 243, + 225, + 0, + 243, + 225, + 0, + 243, + 225, + 1, + 243, + 225, + 2, + 243, + 225, + 0, + 243, + 225, + 0, + 243, + 225, + 1, + 243, + 225, + 2, + 243, + 225, + 0, + 243, + 225, + 0, + 243, + 225, + 0, + 243, + 225, + 1, + 243, + 225, + 2, + 243, + 225, + 0, + 243, + 225, + 0, + 243, + 225, + 1, + 243, + 225, + 2, + 243, + 225, + 0, + 243, + 225, + 1, + 243, + 225, + 2, + 243, + 225, + 0, + 243, + 225, + 0, + 243, + 225, + 0, + 243, + 225, + 0, + 0, +}; + +uint16 dan_left[] = { + 4, + 16+55*64, + 65532, + 0, + 4, + 17+55*64, + 65532, + 0, + 4, + 18+55*64, + 65532, + 0, + 4, + 19+55*64, + 65532, + 0, + 4, + 20+55*64, + 65532, + 0, + 4, + 21+55*64, + 65532, + 0, + 4, + 22+55*64, + 65532, + 0, + 4, + 23+55*64, + 65532, + 0, + 0, +}; + +uint16 spu_r_to_d[] = { + 39+71*64, + 0, +}; + +uint16 spu_l_to_r[] = { + 33+71*64, + 32+71*64, + 39+71*64, + 0, +}; + +uint16 sex_r_to_t[] = { + 39+106*64, + 32+106*64, + 0, +}; + +uint16 sex_st_down[] = { + 106*64, + 1, + 0, + 32, + 0, +}; + +uint16 sc38_scr_bark[] = { + 140*64, + 202, + 253, + 0, + 202, + 253, + 1, + 202, + 253, + 2, + 202, + 253, + 0, + 202, + 253, + 3, + 202, + 253, + 1, + 202, + 253, + 2, + 202, + 253, + 0, + 202, + 253, + 0, + 202, + 253, + 3, + 202, + 253, + 1, + 202, + 253, + 2, + 202, + 253, + 0, + 202, + 253, + 0, + 202, + 253, + 1, + 202, + 253, + 2, + 202, + 253, + 0, + 202, + 253, + 0, + 202, + 253, + 0, + 202, + 253, + 1, + 202, + 253, + 2, + 202, + 253, + 0, + 202, + 253, + 3, + 202, + 253, + 1, + 202, + 253, + 2, + 202, + 253, + 0, + 202, + 253, + 1, + 202, + 253, + 2, + 202, + 253, + 0, + 202, + 253, + 0, + 202, + 253, + 0, + 202, + 253, + 0, + 0, +}; + +uint16 dan_st_right[] = { + 55*64, + 1, + 0, + 38, + 0, +}; + +uint16 spu_st_left[] = { + 71*64, + 1, + 0, + 34, + 0, +}; + +Compact sc38_sofa = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 38, // screen + 0, // place + 0, // getToTable + 272, // xcood + 242, // ycood + 0, // frame + 16679, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 308-272, // mouseSize_x + 301-242, // mouseSize_y + SC38_SOFA_ACTION, // actionScript +}; + +uint16 dan_d_to_l[] = { + 33+55*64, + 0, +}; + +uint16 spu_r_to_l[] = { + 37+71*64, + 36+71*64, + 35+71*64, + 0, +}; + +uint16 sc38_chip_list[] = { + IT_SC38_LAYER_0+DISK_14, + IT_SC38_SEXY_DANI+DISK_14+0X8000, + IT_SPUNKY+DISK_12, + IT_SNIFF_LEFT+DISK_12, + IT_BARK+DISK_12, + IT_SC38_FOSTER_LIFT+DISK_14, + IT_SC38_DANI_ANIMS+DISK_14+0X8000, + IT_SC38_DANI_SATTLK+DISK_14, + IT_SC38_DANI_GET_UP+DISK_14+0X8000, + IT_SC38_HAND_SET+DISK_14, + IT_SC38_GET_PHONE+DISK_14+0X8000, + IT_SC38_PHONE_TALK+DISK_14, + IT_SC38_GET_FOOD+DISK_14+0X8000, + IT_SC38_USE_VIDEO+DISK_14+0X8000, + IT_SC38_VIDEO_ANIM+DISK_14, + IT_SC38_SCREEN_1+0X8000+DISK_14, + IT_SC38_SCREEN_2+0X8000+DISK_14, + IT_SC38_SCREEN_3+0X8000+DISK_14, + IT_SC38_SCREEN_4+DISK_14, + 140+DISK_14, + 0, +}; + +uint16 sc38_fast_list[] = { + 12+DISK_14, + 51+DISK_14, + 52+DISK_14, + 53+DISK_14, + 54+DISK_14, + IT_SC38_LAYER_1+DISK_14, + IT_SC38_LAYER_2+DISK_14, + IT_SC38_GRID_1+DISK_14, + IT_SC38_GRID_2+DISK_14, + 0, +}; + +Compact sc38_video = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_RECREATE, // status + 0, // sync + 38, // screen + 0, // place + 0, // getToTable + 376, // xcood + 252, // ycood + 133*64, // frame + 16678, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 65532, // mouseRel_y + 401-376, // mouseSize_x + 264-248, // mouseSize_y + SC38_VIDEO_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC38_VIDEO_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact dog_bark_thing = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 38, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOG_BARK_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc38_screen_4[] = { + 138*64, + 379, + 209, + 0, + 379, + 209, + 1, + 379, + 209, + 2, + 379, + 209, + 3, + 379, + 209, + 4, + 379, + 209, + 5, + 379, + 209, + 6, + 379, + 209, + 7, + 379, + 209, + 8, + 379, + 209, + 9, + 379, + 209, + 10, + 379, + 209, + 11, + 379, + 209, + 12, + 379, + 209, + 13, + 379, + 209, + 14, + 379, + 209, + 15, + 379, + 209, + 16, + 379, + 209, + 17, + 379, + 209, + 18, + 379, + 209, + 19, + 0, +}; + +uint16 dan_l_to_r[] = { + 33+55*64, + 32+55*64, + 39+55*64, + 0, +}; + +uint16 sex_st_talk[] = { + 106*64, + 1, + 0, + 0, + 0, +}; + +uint16 sex_st_right[] = { + 106*64, + 1, + 0, + 38, + 0, +}; + +uint16 sc38_use_video[] = { + 132*64, + 354, + 210, + 0, + 354, + 210, + 1, + 354, + 210, + 2, + 354, + 210, + 3, + 354, + 210, + 4, + 354, + 210, + 5, + 354, + 210, + 6, + 354, + 210, + 7, + 0, +}; + +Compact sc38_monitor = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE, // status + 0, // sync + 38, // screen + 0, // place + 0, // getToTable + 379, // xcood + 209, // ycood + 134*64, // frame + 57, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 0, // mouseRel_y + 406-378, // mouseSize_x + 242-209, // mouseSize_y + SC38_MONITOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC38_MONITOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 spu_st_talk[] = { + 71*64, + 1, + 0, + 0, + 0, +}; + +uint16 sex_t_to_u[] = { + 38+106*64, + 37+106*64, + 0, +}; + +uint16 sex_r_to_l[] = { + 37+106*64, + 36+106*64, + 35+106*64, + 0, +}; + +uint16 sc38_dani_anim_1[] = { + 107*64, + 294, + 244, + 0, + 294, + 245, + 1, + 294, + 245, + 2, + 294, + 245, + 3, + 294, + 245, + 4, + 294, + 244, + 5, + 294, + 244, + 6, + 294, + 244, + 7, + 294, + 244, + 8, + 294, + 244, + 9, + 294, + 244, + 10, + 294, + 244, + 11, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 13, + 294, + 244, + 14, + 294, + 244, + 14, + 294, + 244, + 14, + 294, + 244, + 14, + 294, + 244, + 13, + 294, + 244, + 15, + 294, + 244, + 8, + 294, + 244, + 16, + 294, + 244, + 16, + 294, + 244, + 17, + 294, + 244, + 17, + 294, + 244, + 18, + 294, + 244, + 17, + 294, + 244, + 19, + 294, + 244, + 16, + 294, + 244, + 16, + 294, + 244, + 8, + 294, + 244, + 15, + 294, + 244, + 13, + 294, + 244, + 9, + 294, + 244, + 8, + 294, + 244, + 7, + 294, + 244, + 6, + 294, + 244, + 5, + 294, + 245, + 4, + 294, + 245, + 3, + 294, + 245, + 2, + 294, + 245, + 1, + 0, +}; + +uint16 sc38_get_phone[] = { + 130*64, + 156, + 259, + 0, + 156, + 259, + 1, + 156, + 259, + 2, + 156, + 259, + 3, + 157, + 259, + 4, + 157, + 259, + 4, + 158, + 259, + 5, + 164, + 259, + 6, + 165, + 259, + 7, + 0, +}; + +Compact sc38_lift = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 38, // screen + 0, // place + 0, // getToTable + 182, // xcood + 242, // ycood + 7+101*64, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 8, // mouseRel_x + 65528, // mouseRel_y + 201-190, // mouseSize_x + 300-234, // mouseSize_y + SC38_LIFT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC38_LIFT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc38_biscuits = { + 0, // logic + 0, // status + 0, // sync + 38, // screen + 0, // place + 0, // getToTable + 228, // xcood + 258, // ycood + 0, // frame + 198, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 237-228, // mouseSize_x + 261-258, // mouseSize_y + SC38_BISCUITS_ACTION, // actionScript +}; + +uint16 dan_r_to_u[] = { + 37+55*64, + 0, +}; + +uint16 spu_up[] = { + 1, + 0+71*64, + 0, + 65535, + 1, + 1+71*64, + 0, + 65535, + 1, + 2+71*64, + 0, + 65535, + 1, + 3+71*64, + 0, + 65535, + 1, + 4+71*64, + 0, + 65535, + 1, + 5+71*64, + 0, + 65535, + 1, + 6+71*64, + 0, + 65535, + 1, + 7+71*64, + 0, + 65535, + 0, +}; + +uint16 sc38_dani_anim_3[] = { + 107*64, + 294, + 244, + 0, + 294, + 245, + 1, + 294, + 245, + 2, + 294, + 245, + 3, + 294, + 245, + 4, + 294, + 244, + 5, + 294, + 244, + 6, + 294, + 244, + 7, + 294, + 244, + 8, + 294, + 244, + 9, + 294, + 244, + 10, + 294, + 244, + 11, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 13, + 294, + 244, + 14, + 294, + 244, + 14, + 294, + 244, + 14, + 294, + 244, + 14, + 294, + 244, + 14, + 294, + 244, + 13, + 294, + 244, + 10, + 294, + 244, + 11, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 13, + 294, + 244, + 13, + 294, + 244, + 10, + 294, + 244, + 11, + 294, + 244, + 12, + 294, + 244, + 12, + 294, + 244, + 11, + 294, + 244, + 10, + 294, + 244, + 9, + 294, + 244, + 8, + 294, + 244, + 7, + 294, + 244, + 6, + 294, + 244, + 5, + 294, + 245, + 4, + 294, + 245, + 3, + 294, + 245, + 2, + 294, + 245, + 1, + 294, + 244, + 0, + 0, +}; + +uint16 sc38_lift_up[] = { + 101*64, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + SEND_SYNC, + ID_FOSTER, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint8 spu_auto[64]; + +uint16 sniff_right[] = { + 74*64, + 257, + 219, + 0, + 257, + 219, + 1, + 257, + 219, + 2, + 257, + 219, + 3, + 257, + 219, + 4, + 257, + 219, + 5, + 257, + 219, + 4, + 257, + 219, + 5, + 257, + 219, + 5, + 257, + 219, + 6, + 257, + 219, + 6, + 257, + 219, + 5, + 257, + 219, + 5, + 257, + 219, + 6, + 257, + 219, + 6, + 257, + 219, + 7, + 257, + 219, + 7, + 257, + 219, + 6, + 257, + 219, + 5, + 257, + 219, + 4, + 257, + 219, + 4, + 257, + 219, + 5, + 257, + 219, + 5, + 257, + 219, + 3, + 257, + 219, + 4, + 257, + 219, + 5, + 257, + 219, + 6, + 257, + 219, + 7, + 257, + 219, + 6, + 257, + 219, + 5, + 257, + 219, + 3, + 257, + 219, + 2, + 257, + 219, + 1, + 257, + 219, + 0, + 0, +}; + +uint16 dan_st_down[] = { + 55*64, + 1, + 0, + 32, + 0, +}; + +uint16 sc38_ringer_anim[] = { + 129*64, + 161, + 261, + 0, + 161, + 261, + 1, + 161, + 261, + 2, + 161, + 261, + 3, + 161, + 261, + 4, + 161, + 261, + 5, + 161, + 261, + 4, + 161, + 261, + 3, + 161, + 261, + 2, + 161, + 261, + 6, + 161, + 261, + 0, + 161, + 261, + 0, + 161, + 261, + 0, + 161, + 261, + 0, + 161, + 261, + 0, + 161, + 261, + 0, + 0, +}; + +uint32 sc38_walk_grid[0]; + +uint32 dna[0]; + +uint16 spu_st_right[] = { + 71*64, + 1, + 0, + 38, + 0, +}; + +uint16 spu_l_to_d[] = { + 33+71*64, + 0, +}; + +uint16 sc38_reach_food[] = { + 139*64, + 235, + 216, + 0, + 235, + 216, + 1, + 235, + 216, + 2, + 235, + 216, + 3, + 235, + 216, + 4, + 235, + 216, + 5, + 235, + 216, + 6, + 235, + 216, + 7, + 235, + 216, + 8, + 235, + 216, + 0, + 0, +}; + +Compact sc38_ringer = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 38, // screen + 0, // place + 0, // getToTable + 161, // xcood + 261, // ycood + 129*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC38_RINGER_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 spu_t_to_u[] = { + 38+71*64, + 37+71*64, + 0, +}; + +Compact sc38_statue = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 38, // screen + 0, // place + 0, // getToTable + 354, // xcood + 199, // ycood + 0, // frame + 16620, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 366-354, // mouseSize_x + 254-199, // mouseSize_y + SC38_STATUE_ACTION, // actionScript +}; + +uint16 dan_d_to_u[] = { + 39+55*64, + 38+55*64, + 37+55*64, + 0, +}; + +uint16 spu_d_to_l[] = { + 33+71*64, + 0, +}; + +uint16 dan_u_to_l[] = { + 35+55*64, + 0, +}; + +uint16 reset_spunky_38[] = { + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_COLLISION, + C_SCREEN, + 38, + C_PLACE, + ID_SC38_FLOOR, + C_XCOOD, + 248, + C_YCOOD, + 256, + C_FRAME, + 34+71*64, + C_DIR, + LEFT, + C_MOUSE_CLICK, + ADVISOR_188, + 65535, +}; + +uint16 spu_right[] = { + 2, + 24+71*64, + 2, + 0, + 2, + 25+71*64, + 2, + 0, + 2, + 26+71*64, + 2, + 0, + 2, + 27+71*64, + 2, + 0, + 2, + 28+71*64, + 2, + 0, + 2, + 29+71*64, + 2, + 0, + 2, + 30+71*64, + 2, + 0, + 2, + 31+71*64, + 2, + 0, + 0, +}; + +uint16 sex_l_to_d[] = { + 33+106*64, + 0, +}; + +uint16 reset_dani_stand[] = { + C_STATUS, + ST_LOGIC+ST_SORT+ST_RECREATE+ST_GRID_PLOT+ST_COLLISION, + C_XCOOD, + 328, + C_YCOOD, + 288, + C_FRAME, + 32+106*64, + C_DIR, + DOWN, + C_MOUSE_CLICK, + ADVISOR_188, + C_MOUSE_REL_X, + 4, + C_MOUSE_REL_Y, + 2, + C_MOUSE_SIZE_X, + 20, + C_MOUSE_SIZE_Y, + 54, + C_ACTION_SCRIPT, + SC38_DANIELLE_ACTION, + C_MEGA_SET, + NEXT_MEGA_SET, + 65535, +}; + +uint16 dan_r_to_d[] = { + 39+55*64, + 0, +}; + +uint16 spu_st_down[] = { + 71*64, + 1, + 0, + 32, + 0, +}; + +uint16 dan_up[] = { + 2, + 0+55*64, + 0, + 65534, + 2, + 1+55*64, + 0, + 65534, + 2, + 2+55*64, + 0, + 65534, + 2, + 3+55*64, + 0, + 65534, + 2, + 4+55*64, + 0, + 65534, + 2, + 5+55*64, + 0, + 65534, + 2, + 6+55*64, + 0, + 65534, + 2, + 7+55*64, + 0, + 65534, + 0, +}; + +uint16 dan_u_to_d[] = { + 35+55*64, + 34+55*64, + 33+55*64, + 0, +}; + +uint16 dan_down[] = { + 2, + 8+55*64, + 0, + 2, + 2, + 9+55*64, + 0, + 2, + 2, + 10+55*64, + 0, + 2, + 2, + 11+55*64, + 0, + 2, + 2, + 12+55*64, + 0, + 2, + 2, + 13+55*64, + 0, + 2, + 2, + 14+55*64, + 0, + 2, + 2, + 15+55*64, + 0, + 2, + 0, +}; + +uint16 dan_right[] = { + 4, + 24+55*64, + 4, + 0, + 4, + 25+55*64, + 4, + 0, + 4, + 26+55*64, + 4, + 0, + 4, + 27+55*64, + 4, + 0, + 4, + 28+55*64, + 4, + 0, + 4, + 29+55*64, + 4, + 0, + 4, + 30+55*64, + 4, + 0, + 4, + 31+55*64, + 4, + 0, + 0, +}; + +uint16 dan_t_to_u[] = { + 38+55*64, + 37+55*64, + 0, +}; + +uint16 sex_down[] = { + 2, + 8+106*64, + 0, + 2, + 2, + 9+106*64, + 0, + 2, + 2, + 10+106*64, + 0, + 2, + 2, + 11+106*64, + 0, + 2, + 2, + 12+106*64, + 0, + 2, + 2, + 13+106*64, + 0, + 2, + 2, + 14+106*64, + 0, + 2, + 2, + 15+106*64, + 0, + 2, + 0, +}; + +uint16 sex_st_up[] = { + 106*64, + 1, + 0, + 36, + 0, +}; + +uint16 sex_st_left[] = { + 106*64, + 1, + 0, + 34, + 0, +}; + +uint16 sex_u_to_l[] = { + 35+106*64, + 0, +}; + +UnknownStuff danielle_unk = { + { // unknownStuff_1_1 + 3, + 8, + 16, + 24 + }, + { // unknownStuff_1_2 + sex_up, + sex_down, + sex_left, + sex_right, + sex_st_up, + sex_st_down, + sex_st_left, + sex_st_right, + sex_st_talk, + 0, + sex_u_to_d, + sex_u_to_l, + sex_u_to_r, + sex_u_to_t, + sex_d_to_u, + 0, + sex_d_to_l, + sex_d_to_r, + 0, + sex_l_to_u, + sex_l_to_d, + 0, + sex_l_to_r, + 0, + sex_r_to_u, + sex_r_to_d, + sex_r_to_l, + 0, + sex_r_to_t, + sex_t_to_u, + 0, + 0, + sex_t_to_r, + 0 + }, +}; + +uint16 *danielle_turnTable[5][5] = { + { // turnTableup + 0, + dan_u_to_d, + dan_u_to_l, + dan_u_to_r, + dan_u_to_t + }, + { // turnTableDown + dan_d_to_u, + 0, + dan_d_to_l, + dan_d_to_r, + 0 + }, + { // turnTableLeft + dan_l_to_u, + dan_l_to_d, + 0, + dan_l_to_r, + 0 + }, + { // turnTableRight + dan_r_to_u, + dan_r_to_d, + dan_r_to_l, + 0, + dan_r_to_t + }, + { // turnTableTalk + dan_t_to_u, + 0, + 0, + dan_t_to_r, + 0 + }, +}; + +ExtCompact danielle_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + RIGHT, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_DAN_COL, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + dan_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + dan_up, // animUp + dan_down, // animDown + dan_left, // animLeft + dan_right, // animRight + dan_st_up, // standUp + dan_st_down, // standDown + dan_st_left, // standLeft + dan_st_right, // standRight + dan_st_talk, // standTalk +}; + +Compact danielle = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_SORT+ST_RECREATE+ST_GRID_PLOT+ST_COLLISION, // status + 0, // sync + 31, // screen + ID_SC31_FLOOR, // place + 0, // getToTable + 352, // xcood + 248, // ycood + 38+55*64, // frame + 54, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65528, // mouseRel_x + 65493, // mouseRel_y + 14, // mouseSize_x + 50, // mouseSize_y + MEGA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DANIELLE_LOGIC, // baseSub + 0, // baseSub_off + &danielle_ext, + &danielle_turnTable, + &danielle_unk, +}; + +uint16 spu_d_to_r[] = { + 39+71*64, + 0, +}; + +uint16 spu_down[] = { + 1, + 8+71*64, + 0, + 1, + 1, + 9+71*64, + 0, + 1, + 1, + 10+71*64, + 0, + 1, + 1, + 11+71*64, + 0, + 1, + 1, + 12+71*64, + 0, + 1, + 1, + 13+71*64, + 0, + 1, + 1, + 14+71*64, + 0, + 1, + 1, + 15+71*64, + 0, + 1, + 0, +}; + +uint16 spu_st_up[] = { + 71*64, + 1, + 0, + 36, + 0, +}; + +uint16 *spunky_turnTable[5][5] = { + { // turnTableup + 0, + spu_u_to_d, + spu_u_to_l, + spu_u_to_r, + spu_u_to_t + }, + { // turnTableDown + spu_d_to_u, + 0, + spu_d_to_l, + spu_d_to_r, + 0 + }, + { // turnTableLeft + spu_l_to_u, + spu_l_to_d, + 0, + spu_l_to_r, + spu_l_to_t + }, + { // turnTableRight + spu_r_to_u, + spu_r_to_d, + spu_r_to_l, + 0, + 0 + }, + { // turnTableTalk + spu_t_to_u, + 0, + spu_t_to_l, + 0, + 0 + }, +}; + +ExtCompact spunky_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + RIGHT, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + 7, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + spu_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + spu_up, // animUp + spu_down, // animDown + spu_left, // animLeft + spu_right, // animRight + spu_st_up, // standUp + spu_st_down, // standDown + spu_st_left, // standLeft + spu_st_right, // standRight + spu_st_talk, // standTalk +}; + +Compact spunky = { + L_SCRIPT, // logic + ST_LOGIC+ST_SORT+ST_RECREATE+ST_GRID_PLOT+ST_COLLISION, // status + 0, // sync + 31, // screen + ID_SC31_FLOOR, // place + 0, // getToTable + 312, // xcood + 240, // ycood + 38+71*64, // frame + 16614, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65528, // mouseRel_x + 65493, // mouseRel_y + 14, // mouseSize_x + 50, // mouseSize_y + MEGA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SPUNKY_LOGIC, // baseSub + 0, // baseSub_off + &spunky_ext, + &spunky_turnTable, +}; + +uint16 sc38_video_anim[] = { + 133*64, + 376, + 252, + 0, + 376, + 252, + 1, + 376, + 252, + 2, + 376, + 252, + 3, + 376, + 252, + 4, + 376, + 252, + 5, + 376, + 252, + 6, + 0, +}; + +uint16 sc38_screen_1[] = { + 134*64, + 379, + 209, + 0, + 379, + 209, + 1, + 379, + 209, + 2, + 379, + 209, + 3, + 379, + 209, + 4, + 379, + 209, + 5, + 379, + 209, + 6, + 379, + 209, + 7, + 379, + 209, + 8, + 379, + 209, + 9, + 379, + 209, + 10, + 379, + 209, + 11, + 379, + 209, + 12, + 379, + 209, + 13, + 379, + 209, + 14, + 379, + 209, + 15, + 379, + 209, + 16, + 379, + 209, + 17, + 379, + 209, + 18, + 379, + 209, + 19, + 379, + 209, + 20, + 379, + 209, + 21, + 379, + 209, + 22, + 379, + 209, + 23, + 379, + 209, + 24, + 379, + 209, + 25, + 379, + 209, + 26, + 379, + 209, + 27, + 379, + 209, + 28, + 379, + 209, + 29, + 379, + 209, + 30, + 379, + 209, + 31, + 379, + 209, + 32, + 379, + 209, + 33, + 379, + 209, + 34, + 379, + 209, + 35, + 379, + 209, + 36, + 379, + 209, + 37, + 379, + 209, + 38, + 379, + 209, + 28, + 379, + 209, + 29, + 379, + 209, + 30, + 379, + 209, + 31, + 379, + 209, + 32, + 379, + 209, + 33, + 379, + 209, + 34, + 379, + 209, + 35, + 379, + 209, + 36, + 379, + 209, + 37, + 379, + 209, + 38, + 379, + 209, + 39, + 379, + 209, + 40, + 379, + 209, + 41, + 379, + 209, + 42, + 379, + 209, + 43, + 379, + 209, + 44, + 379, + 209, + 45, + 0, +}; + +uint16 sc38_lift_down[] = { + 101*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + SEND_SYNC, + ID_FOSTER, + 1, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/39comp.h b/sky/compacts/39comp.h new file mode 100644 index 00000000000..c908092a603 --- /dev/null +++ b/sky/compacts/39comp.h @@ -0,0 +1,724 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY39COMP_H +#define SKY39COMP_H + + + + +namespace SkyCompact { + +Compact sc39_exit_31 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 39, // screen + 0, // place + 0, // getToTable + 164, // xcood + 225, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 190-164, // mouseSize_x + 305-225, // mouseSize_y + SC39_EXIT_31_ACTION, // actionScript +}; + +uint16 sc39_floor_table[] = { + ID_SC39_FLOOR, + RETURN_OK, + ID_SC39_EXIT_31, + GT_SC39_EXIT_31, + 0, + SC39_EXIT_31_WALK_ON, + ID_SC39_EXIT_40, + GT_SC39_EXIT_40, + ID_SC39_EXIT_41, + GT_SC39_EXIT_41, + 1, + SC39_EXIT_41_WALK_ON, + ID_SC39_WALTERS, + GT_SC39_WALTERS, + 65535, +}; + +Compact sc39_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 39, // screen + 0, // place + sc39_floor_table, // getToTable + 176, // xcood + 256, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-176, // mouseSize_x + 327-256, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact sc39_walters = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 39, // screen + 0, // place + 0, // getToTable + 376, // xcood + 228, // ycood + 0, // frame + 16723, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 445-376, // mouseSize_x + 320-228, // mouseSize_y + SC39_WALTERS_ACTION, // actionScript +}; + +uint16 reset_41_39[] = { + C_SCREEN, + 39, + C_PLACE, + ID_SC39_FLOOR, + C_XCOOD, + 424, + C_YCOOD, + 256, + C_MEGA_SET, + NEXT_MEGA_SET, + C_FRAME, + 42+12*64, + C_DIR, + LEFT, + 65535, +}; + +Compact sc39_exit_40 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 39, // screen + 0, // place + 0, // getToTable + 289, // xcood + 204, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_UP_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 316-289, // mouseSize_x + 252-204, // mouseSize_y + SC39_EXIT_40_ACTION, // actionScript +}; + +uint16 sc39_ascend[] = { + 24*64, + 289, + 207, + 0, + 289, + 207, + 0, + 289, + 205, + 1, + 289, + 205, + 1, + 289, + 202, + 2, + 289, + 202, + 2, + 289, + 201, + 3, + 289, + 201, + 3, + 289, + 200, + 4, + 289, + 200, + 4, + 289, + 200, + 5, + 289, + 200, + 5, + 289, + 200, + 6, + 289, + 200, + 6, + 290, + 201, + 7, + 290, + 201, + 7, + 291, + 202, + 8, + 291, + 202, + 8, + 293, + 202, + 9, + 0, +}; + +uint16 sc39_logic_list[] = { + ID_FOSTER, + ID_DANIELLE, + ID_SPUNKY, + ID_DOG_BARK_THING, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc39_chip_list[] = { + IT_SC39_LAYER_0+DISK_14, + IT_SC39_LAYER_1+DISK_14, + IT_SC39_LAYER_2+DISK_14, + IT_SC39_GRID_1+DISK_14, + IT_SC39_GRID_2+DISK_14, + 23+DISK_14, + 24+DISK_14, + 0, +}; + +uint16 reset_31_39[] = { + C_SCREEN, + 39, + C_PLACE, + ID_SC39_FLOOR, + C_XCOOD, + 144, + C_YCOOD, + 296, + 65535, +}; + +uint16 sc39_mouse_list[] = { + ID_SC39_WALTERS, + ID_SC39_EXIT_31, + ID_SC39_EXIT_40, + ID_SC39_EXIT_41, + ID_SC39_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc39_exit_41 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 39, // screen + 0, // place + 0, // getToTable + 384, // xcood + 200, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 400-384, // mouseSize_x + 227-200, // mouseSize_y + SC39_EXIT_41_ACTION, // actionScript +}; + +uint32 sc39_walk_grid[0]; + +uint16 sc39_descend[] = { + 23*64, + 293, + 202, + 0, + 291, + 201, + 1, + 290, + 200, + 2, + 289, + 199, + 3, + 289, + 199, + 4, + 289, + 200, + 5, + 289, + 203, + 6, + 289, + 205, + 7, + 289, + 207, + 8, + 289, + 210, + 9, + 0, +}; + +uint16 sc39_fast_list[] = { + 12+DISK_14, + 52+DISK_14, + 135+DISK_14, + 0, +}; + +uint16 reset_40_39[] = { + C_SCREEN, + 39, + C_PLACE, + ID_SC39_FLOOR, + C_XCOOD, + 289, + C_YCOOD, + 207, + C_FRAME, + 24*64, + C_DIR, + DOWN, + 65535, +}; + +uint16 sc39_palette[] = { + 0, + 512, + 512, + 2, + 1028, + 1026, + 522, + 1540, + 1540, + 1030, + 2570, + 1542, + 1546, + 3594, + 1542, + 2058, + 3082, + 2056, + 1552, + 4614, + 1542, + 2064, + 4104, + 2568, + 2572, + 3598, + 3594, + 2578, + 5130, + 2058, + 3086, + 5134, + 2570, + 3090, + 7182, + 1544, + 3094, + 3592, + 5134, + 3094, + 4620, + 4110, + 4110, + 5654, + 3598, + 3100, + 5642, + 4110, + 4116, + 5136, + 5136, + 4118, + 7184, + 3086, + 4122, + 4622, + 6674, + 4124, + 5646, + 5138, + 4126, + 6668, + 4626, + 4634, + 8468, + 3600, + 4636, + 7184, + 4626, + 5144, + 5654, + 6676, + 5144, + 8472, + 4114, + 4643, + 7694, + 4628, + 5658, + 8470, + 4628, + 5656, + 9502, + 3604, + 5660, + 9498, + 4628, + 5665, + 7700, + 6680, + 6177, + 9494, + 5142, + 5671, + 7698, + 7192, + 6686, + 10014, + 5144, + 6691, + 9496, + 5658, + 6691, + 11034, + 4632, + 6695, + 9494, + 6682, + 6693, + 8988, + 7196, + 6699, + 8468, + 8478, + 7209, + 10008, + 7196, + 7213, + 11028, + 6172, + 7719, + 11038, + 6174, + 7215, + 8982, + 8993, + 7721, + 10526, + 8478, + 8485, + 11555, + 6686, + 8489, + 12062, + 7198, + 7731, + 11544, + 7713, + 9001, + 12067, + 7713, + 9003, + 14627, + 6686, + 9009, + 13086, + 7715, + 9519, + 11553, + 10021, + 10025, + 12073, + 10021, + 10029, + 13095, + 8997, + 9019, + 13084, + 8999, + 10541, + 12589, + 11049, + 10043, + 13601, + 10025, + 11565, + 11055, + 13101, + 11059, + 15151, + 10025, + 11573, + 14635, + 11051, + 12083, + 15665, + 11053, + 12595, + 15671, + 11567, + 12599, + 15667, + 12081, + 13117, + 14643, + 14133, + 13629, + 14135, + 15671, + 14143, + 16183, + 15161, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/3compact.h b/sky/compacts/3compact.h new file mode 100644 index 00000000000..aca93d4cf7d --- /dev/null +++ b/sky/compacts/3compact.h @@ -0,0 +1,1772 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY3COMPACT_H +#define SKY3COMPACT_H + + + + +namespace SkyCompact { + +uint16 rs_low_lift2[] = { + C_XCOOD, + 292, + C_YCOOD, + 210, + C_FRAME, + 203*64, + C_BASE_SUB+2, + 0, + C_LOGIC, + L_SCRIPT, + C_STATUS, + ST_SORT+ST_LOGIC+ST_RECREATE+ST_NO_VMASK, + 65535, +}; + +Compact low_lift_2 = { + L_SCRIPT, // logic + ST_SORT+ST_LOGIC+ST_RECREATE+ST_NO_VMASK, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 292, // xcood + 210, // ycood + 203*64, // frame + 19+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 57, // mouseRel_y + 48, // mouseSize_x + 21, // mouseSize_y + TOP_LIFT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LOW_LIFT2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_low_lift3[] = { + C_XCOOD, + 275, + C_YCOOD, + 286, + C_FRAME, + 204*64, + C_BASE_SUB+2, + 0, + C_LOGIC, + L_SCRIPT, + C_STATUS, + ST_SORT+ST_LOGIC+ST_RECREATE+ST_NO_VMASK, + 65535, +}; + +uint16 liftc3_down[] = { + 204*64, + 298, + 141, + 22, + 298, + 141, + 21, + 294, + 141, + 20, + 289, + 141, + 19, + 285, + 141, + 18, + 280, + 141, + 17, + 275, + 141, + 16, + 275, + 146, + 16, + 275, + 151, + 15, + 275, + 156, + 15, + 275, + 161, + 14, + 275, + 166, + 14, + 275, + 171, + 13, + 275, + 176, + 13, + 275, + 181, + 12, + 275, + 186, + 12, + 275, + 191, + 11, + 275, + 196, + 11, + 275, + 201, + 10, + 275, + 206, + 10, + 275, + 211, + 9, + 275, + 216, + 9, + 275, + 221, + 8, + 275, + 226, + 8, + 275, + 231, + 7, + 275, + 236, + 7, + 275, + 241, + 6, + 275, + 246, + 6, + 275, + 251, + 5, + 275, + 256, + 5, + 275, + 261, + 4, + 275, + 266, + 4, + 275, + 271, + 3, + 275, + 276, + 2, + 275, + 281, + 1, + 275, + 286, + 0, + 0, + 0, +}; + +uint16 joey_list_s3[] = { + 296, + 360, + 248, + 321, + 1, + 0, +}; + +uint16 liftc1_down[] = { + 202*64, + 250, + 141, + 15, + 250, + 146, + 14, + 250, + 151, + 14, + 250, + 155, + 13, + 250, + 160, + 13, + 250, + 164, + 12, + 250, + 169, + 12, + 250, + 173, + 11, + 250, + 178, + 11, + 250, + 182, + 10, + 250, + 187, + 10, + 250, + 191, + 9, + 250, + 196, + 9, + 250, + 200, + 8, + 250, + 205, + 8, + 250, + 209, + 7, + 250, + 214, + 7, + 250, + 218, + 6, + 250, + 223, + 6, + 250, + 227, + 5, + 250, + 232, + 5, + 250, + 236, + 4, + 250, + 241, + 4, + 250, + 245, + 3, + 250, + 250, + 3, + 250, + 254, + 2, + 250, + 259, + 2, + 250, + 263, + 1, + 250, + 268, + 0, + 0, + 0, +}; + +uint16 shades_l_to_r[] = { + 41-8+217*64, + 40-8+217*64, + 47-8+217*64, + 0, +}; + +uint16 shades_st_talk[] = { + 43*64, + 1, + 1, + 0, + 0, +}; + +uint16 shades_st_right[] = { + 217*64, + 1, + 1, + 38, + 0, +}; + +Compact eye_bolt = { + L_SCRIPT, // logic + ST_RECREATE+ST_LOGIC+ST_NO_VMASK, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + EYE_BOLT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact lights1 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 10, // xcood + 10, // ycood + 212*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LIGHTS1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_low_barrel[] = { + C_XCOOD, + 10, + C_YCOOD, + 10, + C_FRAME, + 202*64, + C_STATUS, + ST_LOGIC+ST_RECREATE+ST_NO_VMASK, + C_LOGIC, + L_SCRIPT, + C_BASE_SUB+2, + 0, + 65535, +}; + +Compact convey = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + CONVEY_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 search_seq[] = { + 169*64, + 289, + 231, + 0, + 289, + 231, + 1, + 289, + 231, + 2, + 289, + 231, + 3, + 289, + 231, + 4, + 289, + 231, + 5, + 289, + 231, + 4, + 289, + 231, + 6, + 289, + 231, + 7, + 289, + 231, + 8, + 289, + 231, + 8, + 289, + 231, + 8, + 289, + 231, + 8, + 289, + 231, + 8, + 289, + 231, + 8, + 289, + 231, + 8, + 289, + 231, + 7, + 289, + 231, + 6, + 289, + 231, + 4, + 289, + 231, + 1, + 289, + 231, + 0, + 0, +}; + +ExtCompact eye_ball_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt +}; + +Compact eye_ball = { + L_SCRIPT, // logic + ST_FOREGROUND+ST_RECREATE+ST_LOGIC+ST_NO_VMASK+ST_MOUSE, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 201, // xcood + 165, // ycood + 213*64, // frame + 4218, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 25, // mouseSize_x + 70, // mouseSize_y + EYE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + EYE_BALL_LOGIC, // baseSub + 0, // baseSub_off + &eye_ball_ext, +}; + +uint32 sh[0]; + +uint16 liftc3_up[] = { + 204*64, + 275, + 286, + 0, + 275, + 281, + 1, + 275, + 276, + 2, + 275, + 271, + 3, + 275, + 266, + 4, + 275, + 261, + 4, + 275, + 256, + 5, + 275, + 251, + 5, + 275, + 246, + 6, + 275, + 241, + 6, + 275, + 236, + 7, + 275, + 231, + 7, + 275, + 226, + 8, + 275, + 221, + 8, + 275, + 216, + 9, + 275, + 211, + 9, + 275, + 206, + 10, + 275, + 201, + 10, + 275, + 196, + 11, + 275, + 191, + 11, + 275, + 186, + 12, + 275, + 181, + 12, + 275, + 176, + 13, + 275, + 171, + 13, + 275, + 166, + 14, + 275, + 161, + 14, + 275, + 156, + 15, + 275, + 151, + 15, + 275, + 146, + 16, + 275, + 141, + 16, + 280, + 141, + 17, + 285, + 141, + 18, + 289, + 141, + 19, + 294, + 141, + 20, + 298, + 141, + 21, + 298, + 141, + 22, + 0, +}; + +uint16 shades_l_to_u[] = { + 43-8+217*64, + 0, +}; + +uint16 shades_u_to_d[] = { + 43-8+217*64, + 42-8+217*64, + 41-8+217*64, + 0, +}; + +uint16 s3_mouse[] = { + ID_FURNACE_DOOR, + ID_STEVE_SPY, + ID_JOEY, + ID_SLOT, + ID_SMOULDER, + ID_EYE_BALL, + ID_FURNACE, + ID_S3_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 shades_d_to_u[] = { + 47-8+217*64, + 46-8+217*64, + 45-8+217*64, + 0, +}; + +ExtCompact smoulder_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 0, // spWidth_xx + 0, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet + 7, // gridWidth +}; + +Compact smoulder = { + L_SCRIPT, // logic + ST_RECREATE+ST_LOGIC, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 373+24, // xcood + 289, // ycood + 0, // frame + 4220, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65512, // mouseRel_x + 65532, // mouseRel_y + 60, // mouseSize_x + 10, // mouseSize_y + SMOULDER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SMOULDER_LOGIC, // baseSub + 0, // baseSub_off + &smoulder_ext, +}; + +Compact low_lift_3 = { + L_SCRIPT, // logic + ST_SORT+ST_LOGIC+ST_RECREATE+ST_NO_VMASK, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 275, // xcood + 286, // ycood + 204*64, // frame + 19+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 57, // mouseRel_y + 48, // mouseSize_x + 21, // mouseSize_y + TOP_LIFT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LOW_LIFT3_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 shades_u_to_r[] = { + 45-8+217*64, + 0, +}; + +Compact furnace = { + L_SCRIPT, // logic + ST_SORT+ST_LOGIC+ST_MOUSE+ST_RECREATE, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 226, // xcood + 240, // ycood + 211*64, // frame + 4221, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 10, // mouseSize_x + 40, // mouseSize_y + FURNACE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FURNACE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 liftc1_up[] = { + 202*64, + 250, + 268, + 0, + 250, + 263, + 1, + 250, + 259, + 2, + 250, + 254, + 2, + 250, + 250, + 3, + 250, + 245, + 3, + 250, + 241, + 4, + 250, + 236, + 4, + 250, + 232, + 5, + 250, + 227, + 5, + 250, + 223, + 6, + 250, + 218, + 6, + 250, + 214, + 7, + 250, + 209, + 7, + 250, + 205, + 8, + 250, + 200, + 8, + 250, + 196, + 9, + 250, + 191, + 9, + 250, + 187, + 10, + 250, + 182, + 10, + 250, + 178, + 11, + 250, + 173, + 11, + 250, + 169, + 12, + 250, + 164, + 12, + 250, + 160, + 13, + 250, + 155, + 13, + 250, + 151, + 14, + 250, + 146, + 14, + 250, + 141, + 15, + 0, +}; + +uint16 shades_r_to_d[] = { + 47-8+217*64, + 0, +}; + +uint16 s3_logic[] = { + ID_STEVE_SPY, + ID_FOSTER, + ID_LOW_LIFT, + 4350, + 4351, + ID_CONVEY, + ID_FURNACE, + ID_LOW_BARREL, + ID_JOEY_FLY, + ID_JOEY, + ID_LIGHTS1, + ID_FURNACE_DOOR, + ID_EYE_BALL, + ID_SHADES, + ID_EYE_BOLT, + ID_SMOULDER, + 105, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 shades_st_up[] = { + 217*64, + 1, + 1, + 36, + 0, +}; + +uint16 smoulder_seq[] = { + 225*64, + 373, + 269, + 0, + 373, + 269, + 1, + 373, + 269, + 1, + 373, + 269, + 2, + 373, + 269, + 2, + 373, + 269, + 3, + 373, + 269, + 3, + 373, + 269, + 4, + 373, + 269, + 4, + 373, + 269, + 0, + 0, +}; + +uint8 shades_auto[64]; + +uint16 shades_up[] = { + 2, + 0+217*64, + 0, + 65534, + 2, + 1+217*64, + 0, + 65534, + 2, + 2+217*64, + 0, + 65534, + 2, + 3+217*64, + 0, + 65534, + 2, + 4+217*64, + 0, + 65534, + 2, + 5+217*64, + 0, + 65534, + 2, + 6+217*64, + 0, + 65534, + 2, + 7+217*64, + 0, + 65534, + 0, +}; + +uint16 shades_down[] = { + 2, + 8+217*64, + 0, + 2, + 2, + 9+217*64, + 0, + 2, + 2, + 10+217*64, + 0, + 2, + 2, + 11+217*64, + 0, + 2, + 2, + 12+217*64, + 0, + 2, + 2, + 13+217*64, + 0, + 2, + 2, + 14+217*64, + 0, + 2, + 2, + 15+217*64, + 0, + 2, + 0, +}; + +uint16 shades_left[] = { + 4, + 16+217*64, + 65532, + 0, + 4, + 17+217*64, + 65532, + 0, + 4, + 18+217*64, + 65532, + 0, + 4, + 19+217*64, + 65532, + 0, + 4, + 20+217*64, + 65532, + 0, + 4, + 21+217*64, + 65532, + 0, + 4, + 22+217*64, + 65532, + 0, + 4, + 23+217*64, + 65532, + 0, + 0, +}; + +uint16 shades_right[] = { + 4, + 24+217*64, + 4, + 0, + 4, + 25+217*64, + 4, + 0, + 4, + 26+217*64, + 4, + 0, + 4, + 27+217*64, + 4, + 0, + 4, + 28+217*64, + 4, + 0, + 4, + 29+217*64, + 4, + 0, + 4, + 30+217*64, + 4, + 0, + 4, + 31+217*64, + 4, + 0, + 0, +}; + +uint16 shades_st_down[] = { + 217*64, + 1, + 1, + 32, + 0, +}; + +uint16 shades_st_left[] = { + 217*64, + 1, + 1, + 34, + 0, +}; + +uint16 shades_u_to_l[] = { + 43-8+217*64, + 0, +}; + +uint16 shades_d_to_l[] = { + 41-8+217*64, + 0, +}; + +uint16 shades_d_to_r[] = { + 47-8+217*64, + 0, +}; + +uint16 shades_l_to_d[] = { + 41-8+217*64, + 0, +}; + +uint16 shades_r_to_u[] = { + 45-8+217*64, + 0, +}; + +uint16 shades_r_to_l[] = { + 45-8+217*64, + 44-8+217*64, + 43-8+217*64, + 0, +}; + +uint16 *shades_turnTable[5][5] = { + { // turnTableup + 0, + shades_u_to_d, + shades_u_to_l, + shades_u_to_r, + 0 + }, + { // turnTableDown + shades_d_to_u, + 0, + shades_d_to_l, + shades_d_to_r, + 0 + }, + { // turnTableLeft + shades_l_to_u, + shades_l_to_d, + 0, + shades_l_to_r, + 0 + }, + { // turnTableRight + shades_r_to_u, + shades_r_to_d, + shades_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact shades_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_SHADES, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + shades_auto, // animScratch + 0, // megaSet + 0, // gridWidth + 0, // colOffset + 8, // colWidth + 8, // lastChr + shades_up, // animUp + shades_down, // animDown + shades_left, // animLeft + shades_right, // animRight + shades_st_up, // standUp + shades_st_down, // standDown + shades_st_left, // standLeft + shades_st_right, // standRight + shades_st_talk, // standTalk +}; + +Compact shades = { + L_SCRIPT, // logic + ST_GRID_PLOT+ST_LOGIC, // status + 0, // sync + 3, // screen + ID_S3_FLOOR, // place + 0, // getToTable + 424, // xcood + 280, // ycood + 217*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + MEGA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + SHADES_LOGIC, // baseSub + 0, // baseSub_off + &shades_ext, + &shades_turnTable, +}; + +uint16 liftc2_down[] = { + 203*64, + 292, + 141, + 21, + 292, + 141, + 20, + 292, + 141, + 19, + 292, + 141, + 18, + 292, + 141, + 17, + 292, + 141, + 16, + 292, + 141, + 15, + 292, + 141, + 14, + 292, + 141, + 13, + 292, + 141, + 12, + 292, + 141, + 11, + 292, + 141, + 10, + 292, + 141, + 9, + 292, + 141, + 8, + 292, + 146, + 8, + 292, + 151, + 7, + 292, + 156, + 7, + 292, + 160, + 6, + 292, + 165, + 6, + 292, + 169, + 5, + 292, + 174, + 5, + 292, + 178, + 4, + 292, + 183, + 4, + 292, + 187, + 3, + 292, + 192, + 3, + 292, + 196, + 2, + 292, + 201, + 2, + 292, + 205, + 1, + 292, + 210, + 0, + 0, + 0, +}; + +uint16 rs_start_joey_fly[] = { + C_STATUS, + ST_SORT+ST_LOGIC+ST_RECREATE, + 65535, +}; + +Compact steve_watch = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 244, // xcood + 196, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 1, // mouseSize_x + 1, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + STEVE_SPY_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 liftc2_up[] = { + 203*64, + 292, + 210, + 0, + 292, + 205, + 1, + 292, + 201, + 2, + 292, + 196, + 2, + 292, + 192, + 3, + 292, + 187, + 3, + 292, + 183, + 4, + 292, + 178, + 4, + 292, + 174, + 5, + 292, + 169, + 5, + 292, + 165, + 6, + 292, + 160, + 6, + 292, + 156, + 7, + 292, + 151, + 7, + 292, + 146, + 8, + 292, + 141, + 8, + 292, + 141, + 9, + 292, + 141, + 10, + 292, + 141, + 11, + 292, + 141, + 12, + 292, + 141, + 13, + 292, + 141, + 14, + 292, + 141, + 15, + 292, + 141, + 16, + 292, + 141, + 17, + 292, + 141, + 18, + 292, + 141, + 19, + 292, + 141, + 20, + 292, + 141, + 21, + 0, +}; + +Compact furnace_door = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_RECREATE+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 0X18E, // xcood + 0XDE, // ycood + 215*64, // frame + 181, // cursorText + FURNACE_EXIT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 16, // mouseSize_x + 60, // mouseSize_y + FURNACE_D_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FURNACE_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact slot = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 385, // xcood + 233, // ycood + 0, // frame + 4219, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 15, // mouseSize_y + SLOT_ACTION, // actionScript +}; + +uint16 chip_list_sc3[] = { + 173, + 111, + 227, + 202+DISK_1, + 203+DISK_1, + 204+DISK_1, + 205+DISK_1, + 206+DISK_1, + 207+DISK_1, + 208+DISK_1, + 212+DISK_1, + 216+DISK_1+0X8000, + 215+DISK_1, + 209+0X8000+DISK_1, + 210+0X8000+DISK_1, + 217+DISK_1, + 214+DISK_1, + 225+DISK_1, + 218+DISK_1+0X8000, + 169+DISK_1+0X8000, + 0, +}; + +Compact low_lift = { + L_SCRIPT, // logic + ST_SORT+ST_LOGIC+ST_RECREATE+ST_NO_VMASK, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 250, // xcood + 268, // ycood + 202*64, // frame + 19+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 57, // mouseRel_y + 48, // mouseSize_x + 21, // mouseSize_y + TOP_LIFT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LOW_LIFT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact joey_fly = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 209*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FLY_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_low_lift[] = { + C_XCOOD, + 250, + C_YCOOD, + 268, + C_FRAME, + 202*64, + C_BASE_SUB+2, + 0, + C_LOGIC, + L_SCRIPT, + C_STATUS, + ST_SORT+ST_LOGIC+ST_RECREATE+ST_NO_VMASK, + 65535, +}; + +uint16 r3_floor_table[] = { + ID_S3_FLOOR, + RETURN_OK, + ID_FURNACE_DOOR, + GET_TO_FURNACE_DOOR, + ID_SLOT, + GET_TO_SLOT, + ID_SMOULDER, + GET_TO_BODY, + ID_EYE_BALL, + GET_TO_EYE, + ID_FURNACE, + GET_TO_FURNACE, + ID_JOEY_PARK, + GET_TO_JP2, + 65535, +}; + +Compact s3_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 3, // screen + 0, // place + r3_floor_table, // getToTable + 176, // xcood + 240, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 256, // mouseSize_x + 79, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 rs_joey_to_furnace[] = { + C_XCOOD, + 344, + C_YCOOD, + 264, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION+ST_MOUSE, + C_PLACE, + ID_S3_FLOOR, + C_SCREEN, + 3, + C_MODE, + 0, + C_BASE_SUB, + JOEY_LOGIC, + C_BASE_SUB+2, + 0, + C_DIR, + RIGHT, + C_FRAME, + 173*64+12, + 65535, +}; + +Compact low_barrel = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE+ST_NO_VMASK, // status + 0, // sync + 3, // screen + 0, // place + 0, // getToTable + 10, // xcood + 10, // ycood + 202*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LOW_BARREL_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/40comp.h b/sky/compacts/40comp.h new file mode 100644 index 00000000000..8cfafc05bbc --- /dev/null +++ b/sky/compacts/40comp.h @@ -0,0 +1,1121 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY40COMP_H +#define SKY40COMP_H + + + + +namespace SkyCompact { + +Compact sc40_body_2 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 263, // xcood + 222, // ycood + 0, // frame + 16689, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 280-263, // mouseSize_x + 248-222, // mouseSize_y + SC40_BODY_2_ACTION, // actionScript +}; + +uint16 sc40_locker_shut[] = { + 14*64, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 reset_39_40[] = { + C_SCREEN, + 40, + C_PLACE, + ID_SC40_FLOOR, + C_XCOOD, + 197, + C_YCOOD, + 196, + C_FRAME, + 25*64, + C_DIR, + RIGHT, + 65535, +}; + +Compact sc40_body_3 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 286, // xcood + 220, // ycood + 0, // frame + 16689, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 305-286, // mouseSize_x + 249-220, // mouseSize_y + SC40_BODY_3_ACTION, // actionScript +}; + +Compact sc40_cabinet = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 336, // xcood + 280, // ycood + 0, // frame + 16682, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 357-336, // mouseSize_x + 312-280, // mouseSize_y + SC40_CABINET_ACTION, // actionScript +}; + +uint32 sc40_walk_grid[0]; + +uint16 sc40_palette[] = { + 0, + 768, + 515, + 1283, + 1539, + 1285, + 1544, + 1797, + 1544, + 2056, + 2056, + 1803, + 2570, + 3336, + 2057, + 2826, + 3082, + 2318, + 3087, + 2826, + 2830, + 3090, + 3338, + 2320, + 4109, + 6157, + 2315, + 4622, + 3597, + 2579, + 4114, + 6671, + 3084, + 4625, + 3851, + 3858, + 5392, + 7436, + 2829, + 5393, + 5135, + 3093, + 3613, + 5902, + 3348, + 5652, + 5391, + 4885, + 3872, + 8975, + 3086, + 4890, + 5903, + 3608, + 6166, + 4881, + 4122, + 4131, + 5903, + 5144, + 4390, + 6670, + 3865, + 6170, + 5395, + 4636, + 4900, + 8209, + 4630, + 7190, + 6422, + 5658, + 6940, + 5649, + 4127, + 6684, + 6933, + 7449, + 5415, + 6673, + 4382, + 7959, + 6163, + 5663, + 7454, + 7187, + 7196, + 7452, + 10007, + 4377, + 7457, + 6676, + 6432, + 8729, + 7956, + 4384, + 7711, + 8471, + 5408, + 7714, + 6680, + 6179, + 8480, + 7960, + 8478, + 9500, + 9238, + 5409, + 8228, + 7706, + 7203, + 9756, + 8473, + 8481, + 9504, + 7706, + 5416, + 9757, + 9500, + 6179, + 8486, + 9757, + 5412, + 9505, + 8477, + 6184, + 9255, + 9243, + 7717, + 10274, + 10011, + 6182, + 9509, + 9505, + 7208, + 11040, + 8733, + 6443, + 10530, + 10271, + 6951, + 9768, + 8994, + 7211, + 10534, + 9506, + 6701, + 11299, + 10529, + 8489, + 10542, + 9751, + 7469, + 10795, + 10524, + 7724, + 11813, + 11043, + 9258, + 12072, + 10779, + 8493, + 12328, + 10270, + 9007, + 11308, + 10535, + 9266, + 11568, + 11305, + 7732, + 12842, + 12328, + 9519, + 13611, + 11815, + 8246, + 13871, + 11811, + 10550, + 12852, + 12587, + 9017, + 14385, + 12585, + 11833, + 14899, + 13099, + 11836, + 15670, + 14384, + 12863, + 0, + 2560, + 2571, + 3595, + 3595, + 3346, + 4623, + 4367, + 3861, + 5652, + 5903, + 5144, + 8218, + 7705, + 7203, + 10273, + 8728, + 6952, + 10530, + 9503, + 6701, + 11558, + 10269, + 7728, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc40_descend[] = { + 25*64, + 197, + 196, + 0, + 197, + 199, + 1, + 200, + 200, + 2, + 203, + 201, + 3, + 203, + 202, + 4, + 203, + 206, + 5, + 207, + 207, + 6, + 209, + 208, + 7, + 209, + 209, + 0, + 209, + 212, + 1, + 212, + 213, + 2, + 215, + 214, + 3, + 215, + 215, + 8, + 215, + 218, + 9, + 219, + 219, + 10, + 221, + 219, + 11, + 221, + 218, + 12, + 222, + 218, + 13, + 226, + 218, + 14, + 0, +}; + +Compact sc40_locker_1 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 231, // xcood + 208, // ycood + 14*64, // frame + 16681, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 5, // mouseRel_x + 0, // mouseRel_y + 20, // mouseSize_x + 251-208, // mouseSize_y + SC40_LOCKER_1_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC40_LOCKER_1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc40_floor_table[] = { + ID_SC40_FLOOR, + RETURN_OK, + ID_SC40_EXIT_39, + GT_SC40_EXIT_39, + ID_SC40_CABINET, + GT_SC40_CABINET, + ID_SC40_TROLLEY, + GT_SC40_TROLLEY, + ID_SC40_LOCKER_1, + GT_SC40_LOCKER_1, + ID_SC40_LOCKER_2, + GT_SC40_LOCKER_2, + ID_SC40_LOCKER_3, + GT_SC40_LOCKER_3, + ID_SC40_LOCKER_4, + GT_SC40_LOCKER_4, + ID_SC40_LOCKER_5, + GT_SC40_LOCKER_5, + ID_SC40_BODY_1, + GT_SC40_BODY_1, + ID_SC40_BODY_2, + GT_SC40_BODY_2, + ID_SC40_BODY_3, + GT_SC40_BODY_3, + ID_SC40_BODY_4, + GT_SC40_BODY_4, + ID_SC40_BODY_5, + GT_SC40_BODY_5, + 65535, +}; + +Compact sc40_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 40, // screen + 0, // place + sc40_floor_table, // getToTable + 168, // xcood + 256, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 415-168, // mouseSize_x + 327-256, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc40_chip_list[] = { + IT_SC40_LAYER_0+DISK_14, + IT_SC40_LAYER_1+DISK_14, + IT_SC40_LAYER_2+DISK_14, + IT_SC40_GRID_1+DISK_14, + IT_SC40_GRID_2+DISK_14, + IT_SC40_LOCKER+DISK_14, + IT_SC40_OPEN_DOOR+DISK_14, + IT_SC40_CLOSE_DOOR+DISK_14, + 25+DISK_14, + 26+DISK_14, + 0, +}; + +Compact sc40_body_5 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 342, // xcood + 240, // ycood + 0, // frame + 16950, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 353-342, // mouseSize_x + 249-240, // mouseSize_y + SC40_BODY_5_ACTION, // actionScript +}; + +Compact sc40_locker_4 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 306, // xcood + 208, // ycood + 14*64, // frame + 16681, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 5, // mouseRel_x + 0, // mouseRel_y + 20, // mouseSize_x + 251-208, // mouseSize_y + SC40_LOCKER_4_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC40_LOCKER_4_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc40_close_door[] = { + 16*64, + 232, + 208, + 0, + 232, + 208, + 0, + 232, + 208, + 1, + 232, + 208, + 1, + 232, + 208, + 2, + 232, + 208, + 2, + 232, + 208, + 3, + 232, + 208, + 3, + 232, + 208, + 3, + 232, + 208, + 3, + 0, +}; + +uint16 sc40_locker_open[] = { + 14*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +Compact sc40_locker_2 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 256, // xcood + 208, // ycood + 14*64, // frame + 16681, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 5, // mouseRel_x + 0, // mouseRel_y + 20, // mouseSize_x + 251-208, // mouseSize_y + SC40_LOCKER_2_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC40_LOCKER_2_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc40_locker_3 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 281, // xcood + 208, // ycood + 14*64, // frame + 16681, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 5, // mouseRel_x + 0, // mouseRel_y + 20, // mouseSize_x + 251-208, // mouseSize_y + SC40_LOCKER_3_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC40_LOCKER_3_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc40_fast_list[] = { + 12+DISK_14, + 51+DISK_14, + 52+DISK_14, + 53+DISK_14, + 54+DISK_14, + 135+DISK_14, + 0, +}; + +Compact sc40_exit_39 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 211, // xcood + 214, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 222-211, // mouseSize_x + 268-214, // mouseSize_y + SC40_EXIT_39_ACTION, // actionScript +}; + +Compact sc40_body_1 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 236, // xcood + 208, // ycood + 0, // frame + 16689, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 250-236, // mouseSize_x + 245-208, // mouseSize_y + SC40_BODY_1_ACTION, // actionScript +}; + +uint16 sc40_open_door[] = { + 15*64, + 240, + 208, + 0, + 240, + 208, + 0, + 240, + 208, + 0, + 240, + 208, + 0, + 240, + 208, + 1, + 240, + 208, + 1, + 240, + 208, + 2, + 240, + 208, + 2, + 240, + 208, + 3, + 240, + 208, + 3, + 0, +}; + +Compact sc40_trolley = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 264, // xcood + 264, // ycood + 0, // frame + 16683, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 336-264, // mouseSize_x + 280-264, // mouseSize_y + SC40_TROLLEY_ACTION, // actionScript +}; + +Compact sc40_locker_5 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 331, // xcood + 208, // ycood + 14*64, // frame + 16681, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 5, // mouseRel_x + 0, // mouseRel_y + 20, // mouseSize_x + 251-208, // mouseSize_y + SC40_LOCKER_5_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC40_LOCKER_5_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc40_mouse_list[] = { + ID_SC40_CABINET, + ID_SC40_TROLLEY, + ID_SC40_LOCKER_1, + ID_SC40_LOCKER_2, + ID_SC40_LOCKER_3, + ID_SC40_LOCKER_4, + ID_SC40_LOCKER_5, + ID_SC40_BODY_1, + ID_SC40_BODY_2, + ID_SC40_BODY_3, + ID_SC40_BODY_4, + ID_SC40_BODY_5, + ID_SC40_EXIT_39, + ID_SC40_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc40_logic_list[] = { + ID_FOSTER, + ID_DANIELLE, + ID_SPUNKY, + ID_SC40_LOCKER_1, + ID_SC40_LOCKER_2, + ID_SC40_LOCKER_3, + ID_SC40_LOCKER_4, + ID_SC40_LOCKER_5, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +Compact sc40_body_4 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 40, // screen + 0, // place + 0, // getToTable + 311, // xcood + 219, // ycood + 0, // frame + 16689, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 328-311, // mouseSize_x + 249-219, // mouseSize_y + SC40_BODY_4_ACTION, // actionScript +}; + +uint16 sc40_ascend[] = { + 26*64, + 217, + 218, + 0, + 214, + 218, + 1, + 212, + 218, + 2, + 212, + 216, + 3, + 211, + 214, + 4, + 208, + 214, + 5, + 206, + 214, + 6, + 204, + 214, + 7, + 204, + 211, + 8, + 203, + 209, + 9, + 200, + 208, + 10, + 198, + 208, + 11, + 198, + 207, + 12, + 198, + 204, + 13, + 198, + 202, + 14, + 195, + 201, + 15, + 193, + 201, + 16, + 193, + 199, + 17, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/41comp.h b/sky/compacts/41comp.h new file mode 100644 index 00000000000..27bfa474fc5 --- /dev/null +++ b/sky/compacts/41comp.h @@ -0,0 +1,724 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY41COMP_H +#define SKY41COMP_H + + + + +namespace SkyCompact { + +uint16 sc41_mouse_list[] = { + ID_SC41_EXIT_39, + ID_SC41_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc41_heat_2_anim[] = { + 72*64, + 265, + 244, + 0, + 265, + 244, + 1, + 265, + 244, + 2, + 265, + 244, + 3, + 265, + 244, + 4, + 265, + 244, + 5, + 265, + 244, + 6, + 265, + 244, + 7, + 265, + 244, + 8, + 265, + 244, + 9, + 0, +}; + +Compact sc41_heat_1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 41, // screen + 0, // place + 0, // getToTable + 211, // xcood + 294, // ycood + 71*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC41_HEAT_1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 reset_39_41[] = { + C_SCREEN, + 41, + C_PLACE, + ID_SC41_FLOOR, + C_XCOOD, + 336, + C_YCOOD, + 176, + C_MEGA_SET, + 0, + C_FRAME, + 40+13*64, + C_DIR, + DOWN, + 65535, +}; + +uint16 sc41_heat_1_anim[] = { + 71*64, + 211, + 294, + 0, + 211, + 294, + 1, + 211, + 294, + 2, + 211, + 294, + 3, + 211, + 294, + 4, + 211, + 294, + 5, + 211, + 294, + 6, + 211, + 294, + 7, + 211, + 294, + 8, + 211, + 294, + 9, + 0, +}; + +uint32 sc41_walk_grid[0]; + +uint16 sc41_fast_list[] = { + 13+DISK_14, + 0, +}; + +Compact sc41_heat_2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 41, // screen + 0, // place + 0, // getToTable + 265, // xcood + 244, // ycood + 72*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC41_HEAT_2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc41_chip_list[] = { + IT_SC41_LAYER_0+DISK_14, + IT_SC41_LAYER_1+DISK_14, + IT_SC41_LAYER_2+DISK_14, + IT_SC41_GRID_1+DISK_14, + IT_SC41_GRID_2+DISK_14, + 71+DISK_14, + 72+DISK_14, + 74+DISK_14, + 0, +}; + +Compact sc41_heat_3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 41, // screen + 0, // place + 0, // getToTable + 390, // xcood + 294, // ycood + 74*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC41_HEAT_3_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc41_exit_39 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 41, // screen + 0, // place + 0, // getToTable + 325, // xcood + 190, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_UP_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 342-325, // mouseSize_x + 205-190, // mouseSize_y + SC41_EXIT_39_ACTION, // actionScript +}; + +uint16 sc41_floor_table[] = { + ID_SC41_FLOOR, + RETURN_OK, + ID_SC41_EXIT_39, + GT_SC41_EXIT_39, + 0, + SC41_EXIT_39_WALK_ON, + 65535, +}; + +Compact sc41_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 41, // screen + 0, // place + sc41_floor_table, // getToTable + 328, // xcood + 208, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 343-328, // mouseSize_x + 223-208, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc41_heat_3_anim[] = { + 74*64, + 390, + 294, + 0, + 390, + 294, + 1, + 390, + 294, + 2, + 390, + 294, + 3, + 390, + 294, + 4, + 390, + 294, + 5, + 390, + 294, + 6, + 390, + 294, + 7, + 390, + 294, + 8, + 390, + 294, + 9, + 0, +}; + +uint16 sc41_logic_list[] = { + ID_FOSTER, + ID_DANIELLE, + ID_SPUNKY, + ID_SC41_HEAT_1, + ID_SC41_HEAT_2, + ID_SC41_HEAT_3, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc41_palette[] = { + 0, + 512, + 514, + 772, + 1539, + 1028, + 1540, + 2056, + 1030, + 1544, + 2566, + 1542, + 1546, + 2054, + 2056, + 1548, + 4102, + 1028, + 1040, + 2054, + 2568, + 1548, + 3080, + 1544, + 2060, + 3592, + 1544, + 1554, + 3590, + 2056, + 2574, + 5130, + 1544, + 2068, + 4104, + 2570, + 3084, + 4620, + 2058, + 2580, + 5638, + 2056, + 3086, + 4620, + 2572, + 3598, + 6158, + 2570, + 3094, + 7690, + 1544, + 3096, + 5128, + 3086, + 3098, + 7176, + 3082, + 3098, + 5642, + 3086, + 4116, + 5134, + 4112, + 2593, + 7176, + 2062, + 4118, + 8462, + 3082, + 3612, + 6154, + 3600, + 3614, + 6666, + 3600, + 3107, + 6664, + 3090, + 4124, + 6672, + 4114, + 4636, + 7694, + 3090, + 3619, + 6158, + 4628, + 3619, + 10000, + 2062, + 3623, + 8970, + 3088, + 5146, + 8978, + 3600, + 4643, + 7692, + 4628, + 5153, + 7184, + 5142, + 4139, + 8972, + 4628, + 4141, + 10506, + 3090, + 6172, + 11030, + 2578, + 5159, + 12046, + 3088, + 5669, + 10000, + 3606, + 5669, + 8468, + 5656, + 5163, + 12560, + 3090, + 6689, + 10006, + 4632, + 6183, + 8980, + 5658, + 5169, + 12046, + 3606, + 6189, + 9486, + 6170, + 5679, + 8466, + 7196, + 6189, + 12562, + 4118, + 6697, + 8984, + 7708, + 6191, + 10004, + 6172, + 6699, + 10006, + 6684, + 6195, + 12048, + 5658, + 7719, + 12570, + 5146, + 6705, + 13590, + 4634, + 7215, + 9496, + 7713, + 7217, + 11546, + 7198, + 7727, + 13594, + 5148, + 8489, + 13086, + 5662, + 8491, + 11548, + 7201, + 8999, + 13089, + 6177, + 8501, + 12058, + 8483, + 9009, + 13598, + 7203, + 10027, + 12581, + 8485, + 9523, + 13601, + 8999, + 10039, + 13603, + 10027, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/42comp.h b/sky/compacts/42comp.h new file mode 100644 index 00000000000..e4b229d689a --- /dev/null +++ b/sky/compacts/42comp.h @@ -0,0 +1,1696 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY42COMP_H +#define SKY42COMP_H + + + + +namespace SkyCompact { + +uint16 sc42_jdg_hammer[] = { + 169*64, + 269, + 186, + 0, + 269, + 186, + 1, + 269, + 186, + 2, + 269, + 186, + 3, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 5, + 269, + 186, + 6, + 269, + 186, + 7, + 269, + 186, + 8, + 269, + 186, + 9, + 269, + 186, + 8, + 269, + 186, + 7, + 269, + 186, + 9, + 269, + 186, + 8, + 269, + 186, + 7, + 269, + 186, + 9, + 269, + 186, + 10, + 269, + 186, + 11, + 269, + 186, + 11, + 269, + 186, + 8, + 269, + 186, + 5, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 4, + 269, + 186, + 12, + 269, + 186, + 2, + 269, + 186, + 1, + 269, + 186, + 0, + 0, +}; + +uint16 reset_30_42[] = { + C_SCREEN, + 42, + C_XCOOD, + 424, + C_YCOOD, + 304, + 65535, +}; + +uint16 sc42_mouse_list[] = { + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc42_sign = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 42, // screen + 0, // place + 0, // getToTable + 254, // xcood + 137, // ycood + 170*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC42_SIGN_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc42_fos_enter[] = { + 158*64, + 389, + 258, + 0, + 389, + 260, + 1, + 389, + 262, + 2, + 389, + 265, + 3, + 389, + 267, + 4, + 389, + 269, + 5, + 389, + 270, + 6, + 389, + 272, + 7, + 389, + 274, + 8, + 389, + 274, + 9, + 389, + 274, + 10, + 392, + 274, + 11, + 393, + 274, + 12, + 387, + 274, + 13, + 382, + 274, + 14, + 381, + 274, + 15, + 378, + 274, + 16, + 373, + 274, + 17, + 367, + 274, + 18, + 361, + 274, + 19, + 360, + 274, + 20, + 358, + 274, + 21, + 353, + 274, + 12, + 347, + 274, + 22, + 342, + 274, + 23, + 336, + 274, + 24, + 333, + 274, + 25, + 328, + 274, + 26, + 324, + 274, + 27, + 0, +}; + +uint16 sc42_clerk_type[] = { + 151*64, + 310, + 234, + 0, + 310, + 234, + 1, + 310, + 234, + 2, + 310, + 234, + 3, + 310, + 234, + 4, + 310, + 234, + 0, + 310, + 234, + 1, + 310, + 234, + 2, + 310, + 234, + 5, + 310, + 234, + 3, + 310, + 234, + 0, + 310, + 234, + 5, + 310, + 234, + 5, + 310, + 234, + 6, + 310, + 234, + 2, + 310, + 234, + 3, + 310, + 234, + 0, + 310, + 234, + 7, + 310, + 234, + 3, + 310, + 234, + 5, + 310, + 234, + 3, + 310, + 234, + 0, + 310, + 234, + 5, + 310, + 234, + 5, + 310, + 234, + 0, + 310, + 234, + 6, + 310, + 234, + 2, + 310, + 234, + 3, + 310, + 234, + 2, + 310, + 234, + 7, + 310, + 234, + 3, + 310, + 234, + 0, + 310, + 234, + 2, + 310, + 234, + 3, + 310, + 234, + 5, + 310, + 234, + 6, + 310, + 234, + 2, + 310, + 234, + 0, + 310, + 234, + 3, + 310, + 234, + 5, + 310, + 234, + 0, + 310, + 234, + 2, + 310, + 234, + 3, + 310, + 234, + 0, + 310, + 234, + 2, + 310, + 234, + 3, + 310, + 234, + 0, + 310, + 234, + 5, + 310, + 234, + 5, + 310, + 234, + 6, + 310, + 234, + 2, + 310, + 234, + 3, + 310, + 234, + 0, + 310, + 234, + 0, + 310, + 234, + 7, + 310, + 234, + 5, + 310, + 234, + 0, + 310, + 234, + 1, + 310, + 234, + 2, + 310, + 234, + 3, + 310, + 234, + 4, + 310, + 234, + 3, + 310, + 234, + 0, + 310, + 234, + 1, + 0, +}; + +ExtCompact sc42_judge_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_JUDGE42, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc42_judge = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 42, // screen + 0, // place + 0, // getToTable + 269, // xcood + 186, // ycood + 150*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC42_JUDGE_LOGIC, // baseSub + 0, // baseSub_off + &sc42_judge_ext, +}; + +uint16 sc42_logic_list[] = { + ID_FOSTER, + ID_DANIELLE, + ID_SC42_JUDGE, + ID_SC42_CLERK, + ID_SC42_PROSECUTION, + ID_SC42_JOBSWORTH, + ID_SC31_GUARD, + ID_SC42_SIGN, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint32 sc42_walk_grid[0]; + +uint16 sc42_jdg_turn[] = { + 167*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 0, +}; + +uint16 sc42_fast_list[] = { + 12+DISK_14, + 21+DISK_14, + 22+DISK_14, + 169+DISK_14, + 170+DISK_14+0X8000, + 0, +}; + +ExtCompact sc42_prosecution_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_PROS42, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc42_prosecution = { + L_SCRIPT, // logic + ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 42, // screen + 0, // place + 0, // getToTable + 196, // xcood + 277, // ycood + 152*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC42_PROSECUTION_LOGIC, // baseSub + 0, // baseSub_off + &sc42_prosecution_ext, +}; + +uint16 sc42_fos_turn_lr[] = { + 161*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 0, +}; + +uint16 sc42_chip_list[] = { + 20+DISK_14, + IT_DANIELLE+DISK_12, + 150+DISK_14, + 151+DISK_14, + 152+DISK_14, + 153+DISK_14, + 154+DISK_14+0X8000, + 155+DISK_14+0X8000, + 156+DISK_14, + 157+DISK_14+0X8000, + 158+DISK_14+0X8000, + 159+DISK_14, + 160+DISK_14, + 161+DISK_14, + 162+DISK_14, + 163+DISK_14+0X8000, + 164+DISK_14+0X8000, + 165+DISK_14, + 166+DISK_14, + 167+DISK_14, + 168+DISK_14, + 0, +}; + +ExtCompact sc42_clerk_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_CLERK42, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc42_clerk = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 42, // screen + 0, // place + 0, // getToTable + 310, // xcood + 234, // ycood + 151*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC42_CLERK_LOGIC, // baseSub + 0, // baseSub_off + &sc42_clerk_ext, +}; + +uint16 reset_guard_42[] = { + C_STATUS, + ST_LOGIC+ST_RECREATE, + C_SCREEN, + 42, + C_MODE, + C_BASE_MODE, + C_BASE_SUB, + SC42_BLUNT_LOGIC, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 sc42_jdg_return[] = { + 167*64, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc42_fos_turn_rl[] = { + 161*64, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +ExtCompact sc42_jobsworth_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_JOBS42, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc42_jobsworth = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 42, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC42_JOBSWORTH_LOGIC, // baseSub + 0, // baseSub_off + &sc42_jobsworth_ext, +}; + +uint16 reset_dani_42[] = { + C_STATUS, + ST_LOGIC+ST_RECREATE+ST_GRID_PLOT+ST_COLLISION, + C_SCREEN, + 42, + C_XCOOD, + 128, + C_YCOOD, + 296, + C_FRAME, + 38+55*64, + C_DIR, + RIGHT, + C_MODE, + C_BASE_MODE, + C_BASE_SUB, + SC42_DANI_LOGIC, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 sc42_sign_anim[] = { + 170*64, + 254, + 137, + 0, + 254, + 137, + 1, + 254, + 137, + 2, + 254, + 137, + 3, + 254, + 137, + 4, + 254, + 137, + 5, + 254, + 137, + 6, + 254, + 137, + 7, + 0, +}; + +uint16 sc42_blunt_enter[] = { + 155*64, + 129, + 240, + 0, + 134, + 240, + 1, + 134, + 241, + 2, + 136, + 241, + 3, + 145, + 240, + 4, + 150, + 240, + 5, + 150, + 241, + 6, + 152, + 241, + 7, + 161, + 240, + 0, + 166, + 240, + 1, + 166, + 241, + 2, + 168, + 241, + 3, + 177, + 240, + 4, + 182, + 240, + 5, + 182, + 241, + 6, + 184, + 241, + 7, + 193, + 240, + 0, + 198, + 240, + 1, + 199, + 241, + 8, + 197, + 241, + 9, + 198, + 239, + 10, + 198, + 236, + 11, + 198, + 234, + 12, + 198, + 233, + 13, + 198, + 231, + 14, + 198, + 228, + 15, + 197, + 226, + 16, + 199, + 225, + 8, + 201, + 224, + 4, + 206, + 224, + 5, + 206, + 225, + 6, + 208, + 225, + 7, + 217, + 224, + 0, + 222, + 224, + 1, + 222, + 225, + 2, + 224, + 225, + 3, + 233, + 224, + 4, + 238, + 224, + 5, + 236, + 225, + 17, + 238, + 225, + 18, + 0, +}; + +uint16 sc42_blunt_leave[] = { + 157*64, + 238, + 225, + 0, + 240, + 225, + 1, + 237, + 225, + 2, + 236, + 224, + 3, + 229, + 224, + 4, + 222, + 225, + 5, + 221, + 225, + 6, + 220, + 224, + 7, + 213, + 224, + 8, + 206, + 225, + 9, + 205, + 225, + 2, + 204, + 224, + 3, + 201, + 225, + 1, + 198, + 226, + 10, + 198, + 227, + 11, + 198, + 229, + 12, + 197, + 232, + 13, + 197, + 234, + 14, + 197, + 235, + 15, + 198, + 237, + 16, + 198, + 240, + 17, + 198, + 242, + 10, + 200, + 241, + 1, + 200, + 241, + 7, + 193, + 241, + 8, + 186, + 242, + 9, + 185, + 242, + 2, + 184, + 241, + 3, + 177, + 241, + 4, + 170, + 242, + 5, + 169, + 242, + 6, + 168, + 241, + 7, + 161, + 241, + 8, + 154, + 242, + 9, + 153, + 242, + 2, + 152, + 241, + 3, + 145, + 241, + 4, + 138, + 242, + 5, + 137, + 242, + 6, + 136, + 241, + 7, + 129, + 241, + 8, + 0, +}; + +uint16 sc42_jobs_enter[] = { + 154*64, + 340, + 200, + 0, + 340, + 200, + 0, + 340, + 200, + 1, + 340, + 200, + 1, + 340, + 200, + 2, + 340, + 200, + 2, + 340, + 200, + 3, + 340, + 200, + 3, + 340, + 200, + 4, + 340, + 200, + 4, + 340, + 200, + 5, + 340, + 200, + 5, + 340, + 200, + 6, + 340, + 200, + 6, + 340, + 200, + 7, + 340, + 200, + 8, + 340, + 200, + 9, + 340, + 200, + 9, + 340, + 200, + 10, + 340, + 200, + 10, + 340, + 200, + 11, + 340, + 200, + 11, + 340, + 200, + 12, + 340, + 200, + 12, + 340, + 200, + 13, + 340, + 200, + 13, + 0, +}; + +uint16 sc42_palette[] = { + 0, + 1024, + 0, + 8, + 1536, + 1024, + 10, + 2048, + 1024, + 522, + 2052, + 2562, + 526, + 2560, + 2052, + 1038, + 2050, + 3588, + 1544, + 3594, + 1028, + 1546, + 3078, + 1030, + 1042, + 4098, + 518, + 1552, + 2052, + 5126, + 1546, + 3088, + 2056, + 2066, + 5634, + 518, + 2574, + 3078, + 2570, + 2066, + 3078, + 4616, + 2576, + 4614, + 2568, + 2070, + 7172, + 1028, + 2570, + 3094, + 3084, + 2578, + 7688, + 1028, + 2582, + 3588, + 3596, + 3084, + 5140, + 1548, + 3084, + 5142, + 2060, + 3598, + 4112, + 3086, + 3094, + 7174, + 2056, + 3596, + 8472, + 1542, + 4112, + 6672, + 1550, + 3610, + 5640, + 2576, + 4114, + 3602, + 6672, + 2085, + 8454, + 2058, + 4118, + 4620, + 4114, + 4624, + 4628, + 4626, + 4122, + 4104, + 5140, + 4126, + 9990, + 1546, + 4624, + 6684, + 4112, + 5140, + 7702, + 2066, + 5136, + 6686, + 3092, + 5652, + 9490, + 2574, + 5144, + 8466, + 3600, + 5150, + 5128, + 6166, + 5150, + 6668, + 3606, + 5650, + 5662, + 5656, + 6166, + 7192, + 5142, + 6168, + 8982, + 2582, + 6174, + 5648, + 8472, + 6680, + 6166, + 6170, + 5157, + 5648, + 8984, + 7192, + 6682, + 6684, + 5671, + 7698, + 6170, + 7194, + 8988, + 5656, + 7198, + 10006, + 3098, + 7192, + 8997, + 6682, + 7205, + 6676, + 9502, + 7205, + 7706, + 6689, + 7723, + 7692, + 7201, + 7715, + 7198, + 9505, + 8485, + 10006, + 7198, + 8995, + 10012, + 7201, + 8990, + 11049, + 5667, + 9505, + 10533, + 7715, + 10021, + 10529, + 8485, + 10019, + 10029, + 9513, + 10533, + 11565, + 9511, + 11055, + 11047, + 11565, + 12081, + 12585, + 11055, + 13109, + 14637, + 12599, + 63, + 0, + 0, + 0, + 16191, + 0, + 16128, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 12079, + 8754, + 11807, + 6172, + 5926, + 7695, + 2576, + 2325, + 2307, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5420, + 8989, + 5646, + 2330, + 4623, + 2565, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 0, + 63, + 16128, + 0, + 63, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc42_fos_leave[] = { + 163*64, + 324, + 275, + 0, + 328, + 275, + 1, + 333, + 275, + 2, + 336, + 275, + 3, + 336, + 275, + 4, + 339, + 275, + 5, + 345, + 275, + 6, + 348, + 275, + 7, + 348, + 275, + 8, + 350, + 275, + 9, + 359, + 275, + 10, + 365, + 275, + 11, + 365, + 275, + 12, + 365, + 275, + 13, + 370, + 275, + 14, + 378, + 275, + 15, + 384, + 275, + 16, + 386, + 275, + 17, + 391, + 275, + 18, + 389, + 275, + 19, + 389, + 275, + 20, + 389, + 275, + 21, + 389, + 272, + 22, + 389, + 270, + 23, + 389, + 269, + 24, + 389, + 267, + 25, + 389, + 265, + 26, + 389, + 262, + 27, + 389, + 260, + 28, + 389, + 258, + 29, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/44comp.h b/sky/compacts/44comp.h new file mode 100644 index 00000000000..68e612e9e19 --- /dev/null +++ b/sky/compacts/44comp.h @@ -0,0 +1,610 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY44COMP_H +#define SKY44COMP_H + + + + +namespace SkyCompact { + +uint16 sc44_chip_list[] = { + IT_SC44_LAYER_0+DISK_13, + 145+DISK_13, + 0, +}; + +uint32 sc44_walk_grid[0]; + +Compact sc44_rubble = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 44, // screen + 0, // place + 0, // getToTable + 128, // xcood + 223, // ycood + 0, // frame + 17383, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 250-128, // mouseSize_x + 310-223, // mouseSize_y + SC44_RUBBLE_ACTION, // actionScript +}; + +uint16 reset_45_44[] = { + C_SCREEN, + 44, + C_PLACE, + ID_SC44_FLOOR, + C_XCOOD, + OFF_RIGHT, + C_YCOOD, + 280, + 65535, +}; + +Compact sc44_grill = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 44, // screen + 0, // place + 0, // getToTable + 319, // xcood + 179, // ycood + 0, // frame + 17382, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 341-319, // mouseSize_x + 198-179, // mouseSize_y + SC44_GRILL_ACTION, // actionScript +}; + +uint16 sc44_floor_table[] = { + ID_SC44_FLOOR, + RETURN_OK, + ID_SC44_RUBBLE, + GT_SC44_RUBBLE, + ID_SC44_GRILL, + GT_SC44_GRILL, + ID_SC44_EXIT_45, + GT_SC44_EXIT_45, + 0, + SC44_EXIT_45_WALK_ON, + 65535, +}; + +uint16 sc44_drop_down[] = { + 145*64, + 316, + 186, + 0, + 317, + 187, + 1, + 317, + 189, + 2, + 317, + 188, + 3, + 316, + 196, + 4, + 317, + 197, + 5, + 317, + 197, + 6, + 315, + 228, + 7, + 313, + 229, + 8, + 316, + 226, + 9, + 0, +}; + +Compact sc44_exit_45 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 44, // screen + 0, // place + 0, // getToTable + 420, // xcood + 161, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-420, // mouseSize_x + 327-161, // mouseSize_y + SC44_EXIT_45_ACTION, // actionScript +}; + +uint16 sc44_fast_list[] = { + 12+DISK_13, + 51+DISK_13, + 52+DISK_13, + 53+DISK_13, + 54+DISK_13, + 0, +}; + +uint16 sc44_palette[] = { + 0, + 768, + 771, + 772, + 1283, + 515, + 1028, + 1540, + 1028, + 1285, + 1283, + 1285, + 1032, + 2052, + 1540, + 1287, + 1539, + 1030, + 1287, + 2309, + 773, + 1541, + 1799, + 1797, + 1289, + 2821, + 1028, + 1544, + 2052, + 1542, + 1544, + 3080, + 773, + 1798, + 1542, + 2055, + 1292, + 2565, + 1030, + 1801, + 2565, + 1542, + 1294, + 1795, + 1800, + 1801, + 1799, + 2312, + 1549, + 2564, + 1544, + 1804, + 2307, + 2312, + 1549, + 2822, + 1287, + 2312, + 2824, + 1799, + 2061, + 3076, + 1544, + 1806, + 3843, + 1030, + 2059, + 2569, + 2057, + 1553, + 3588, + 1287, + 1808, + 2307, + 2825, + 2568, + 3082, + 2057, + 2063, + 4100, + 1287, + 2063, + 4358, + 1032, + 2318, + 2565, + 2570, + 1810, + 4355, + 1544, + 1810, + 4101, + 1289, + 2318, + 2824, + 2059, + 2573, + 3079, + 2570, + 1812, + 4099, + 1801, + 3082, + 4874, + 1032, + 2826, + 4620, + 1289, + 2575, + 3590, + 2570, + 2829, + 5385, + 1032, + 3084, + 4362, + 1546, + 2828, + 3852, + 2059, + 3086, + 5898, + 1032, + 3085, + 4109, + 2316, + 3340, + 5644, + 1289, + 2833, + 3848, + 2827, + 3087, + 3597, + 3085, + 3597, + 4877, + 2060, + 3342, + 4110, + 2829, + 2585, + 4868, + 1549, + 3597, + 4623, + 2573, + 3345, + 3853, + 3342, + 2587, + 3332, + 4112, + 3854, + 3854, + 3854, + 2589, + 4100, + 3599, + 3602, + 4620, + 3598, + 3856, + 3856, + 3856, + 2844, + 7429, + 1036, + 4114, + 4365, + 3856, + 4113, + 4113, + 4113, + 3861, + 4619, + 4625, + 4625, + 4881, + 4370, + 4124, + 8458, + 1550, + 4884, + 5906, + 4114, + 4886, + 5649, + 5141, + 4896, + 5900, + 5398, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 8511, + 10017, + 8481, + 8487, + 10017, + 8481, + 13863, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc44_logic_list[] = { + ID_FOSTER, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +Compact sc44_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 44, // screen + 0, // place + sc44_floor_table, // getToTable + 208, // xcood + 272, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-208, // mouseSize_x + 327-272, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc44_mouse_list[] = { + ID_SC44_GRILL, + ID_SC44_RUBBLE, + ID_SC44_EXIT_45, + ID_SC44_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 reset_37_44[] = { + C_SCREEN, + 44, + C_PLACE, + ID_SC44_FLOOR, + C_XCOOD, + 316, + C_YCOOD, + 186, + C_FRAME, + 145*64, + 65535, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/45comp.h b/sky/compacts/45comp.h new file mode 100644 index 00000000000..ff021c29a31 --- /dev/null +++ b/sky/compacts/45comp.h @@ -0,0 +1,590 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY45COMP_H +#define SKY45COMP_H + + + + +namespace SkyCompact { + +uint16 reset_44_45[] = { + C_SCREEN, + 45, + C_PLACE, + ID_SC45_FLOOR, + C_XCOOD, + OFF_LEFT, + C_YCOOD, + 280, + 65535, +}; + +uint16 sc45_logic_list[] = { + ID_FOSTER, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc45_floor_table[] = { + ID_SC45_FLOOR, + RETURN_OK, + ID_SC45_EXIT_44, + GT_SC45_EXIT_44, + 0, + SC45_EXIT_44_WALK_ON, + ID_SC45_EXIT_46, + GT_SC45_EXIT_46, + 1, + SC45_EXIT_46_WALK_ON, + ID_SC45_EXIT_47, + GT_SC45_EXIT_47, + 3, + SC45_EXIT_47_WALK_ON, + 65535, +}; + +Compact sc45_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 45, // screen + 0, // place + sc45_floor_table, // getToTable + 128, // xcood + 264, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 457-128, // mouseSize_x + 327-264, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact sc45_exit_47 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 45, // screen + 0, // place + 0, // getToTable + 328, // xcood + 181, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 378-328, // mouseSize_x + 261-181, // mouseSize_y + SC45_EXIT_47_ACTION, // actionScript +}; + +uint16 reset_46_45[] = { + C_SCREEN, + 45, + C_PLACE, + ID_SC45_FLOOR, + C_XCOOD, + OFF_RIGHT, + C_YCOOD, + 280, + 65535, +}; + +Compact sc45_exit_46 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 45, // screen + 0, // place + 0, // getToTable + 420, // xcood + 161, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-420, // mouseSize_x + 327-161, // mouseSize_y + SC45_EXIT_46_ACTION, // actionScript +}; + +uint16 sc45_palette[] = { + 0, + 768, + 771, + 1028, + 2052, + 514, + 773, + 1539, + 1028, + 1284, + 1798, + 771, + 1032, + 2307, + 771, + 1287, + 1539, + 1541, + 1541, + 1285, + 1798, + 1033, + 2562, + 1028, + 1289, + 2563, + 773, + 1543, + 1543, + 1543, + 1290, + 2819, + 773, + 1800, + 1542, + 2055, + 1545, + 2823, + 1285, + 1293, + 1795, + 1800, + 1546, + 2052, + 2055, + 1548, + 1796, + 2312, + 2057, + 3079, + 1542, + 1550, + 3842, + 773, + 1547, + 2563, + 2055, + 1550, + 2308, + 2312, + 2312, + 2824, + 1288, + 2312, + 3338, + 775, + 2059, + 3335, + 1287, + 1550, + 4102, + 1030, + 2059, + 2569, + 2057, + 2058, + 3595, + 1032, + 1804, + 3082, + 1545, + 1807, + 3331, + 1800, + 2316, + 3848, + 1287, + 2064, + 2308, + 2314, + 1553, + 2310, + 3082, + 2316, + 4362, + 775, + 2824, + 4107, + 1544, + 2318, + 2822, + 2314, + 2318, + 4616, + 1032, + 1811, + 3331, + 2314, + 2571, + 2571, + 2571, + 2068, + 3588, + 2569, + 2573, + 5387, + 775, + 2828, + 3850, + 1802, + 3337, + 3596, + 2059, + 2573, + 5646, + 1032, + 3083, + 2827, + 3339, + 3085, + 4107, + 1547, + 2072, + 3588, + 2571, + 3340, + 3340, + 3340, + 2832, + 3081, + 3597, + 2831, + 3596, + 3085, + 3344, + 3595, + 3597, + 3597, + 3341, + 3854, + 3344, + 5390, + 1803, + 2586, + 3844, + 3342, + 3599, + 3599, + 3599, + 3856, + 3598, + 4112, + 3350, + 6664, + 1291, + 3603, + 7180, + 1035, + 3856, + 4112, + 3857, + 4113, + 3857, + 4369, + 4624, + 4626, + 4625, + 3358, + 6663, + 2831, + 4627, + 5651, + 4115, + 4884, + 5140, + 5397, + 5143, + 8977, + 1807, + 4894, + 6668, + 5144, + 63, + 15872, + 0, + 62, + 15616, + 0, + 61, + 15360, + 0, + 60, + 15104, + 0, + 59, + 14848, + 0, + 58, + 14592, + 0, + 57, + 14336, + 0, + 56, + 14080, + 0, + 55, + 13824, + 0, + 54, + 13568, + 0, + 53, + 13312, + 0, + 51, + 13056, + 0, + 50, + 12800, + 0, + 49, + 12544, + 0, + 48, + 12288, + 0, + 47, + 12032, + 0, + 46, + 11776, + 0, + 45, + 11520, + 0, + 44, + 11264, + 0, + 43, + 11008, + 0, + 42, + 10752, + 0, + 41, + 10496, + 0, + 40, + 10240, + 0, + 39, + 9984, + 0, + 38, + 9728, + 0, + 37, + 9472, + 0, + 36, + 9216, + 0, + 35, + 8960, + 0, + 34, + 8704, + 0, + 33, + 8448, + 0, + 32, + 8192, + 0, + 31, + 7936, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 1087, + 0, + 4, + 768, + 0, + 3, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc45_fast_list[] = { + 12+DISK_13, + 51+DISK_13, + 52+DISK_13, + 53+DISK_13, + 54+DISK_13, + 0, +}; + +uint32 sc45_walk_grid[0]; + +uint16 reset_47_45[] = { + C_SCREEN, + 45, + C_PLACE, + ID_SC45_FLOOR, + C_XCOOD, + 392, + C_YCOOD, + 248, + 65535, +}; + +Compact sc45_exit_44 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 45, // screen + 0, // place + 0, // getToTable + 128, // xcood + 161, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 140-128, // mouseSize_x + 327-161, // mouseSize_y + SC45_EXIT_44_ACTION, // actionScript +}; + +uint16 sc45_chip_list[] = { + IT_SC45_LAYER_0+DISK_13, + IT_SC45_LAYER_1+DISK_13, + IT_SC45_GRID_1+DISK_13, + 0, +}; + +uint16 sc45_mouse_list[] = { + ID_SC45_EXIT_44, + ID_SC45_EXIT_46, + ID_SC45_EXIT_47, + ID_SC45_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/46comp.h b/sky/compacts/46comp.h new file mode 100644 index 00000000000..b6b23796176 --- /dev/null +++ b/sky/compacts/46comp.h @@ -0,0 +1,536 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY46COMP_H +#define SKY46COMP_H + + + + +namespace SkyCompact { + +uint16 sc46_floor_table[] = { + ID_SC46_FLOOR, + RETURN_OK, + ID_SC46_RUBBLE, + GT_SC46_RUBBLE, + ID_SC46_EXIT_45, + GT_SC46_EXIT_45, + 0, + SC46_EXIT_45_WALK_ON, + 65535, +}; + +uint16 sc46_palette[] = { + 0, + 768, + 771, + 772, + 1283, + 515, + 1028, + 1540, + 1028, + 1285, + 1283, + 1285, + 1032, + 2052, + 1540, + 1287, + 1539, + 1030, + 1287, + 2309, + 773, + 1541, + 1799, + 1797, + 1289, + 2821, + 1028, + 1544, + 2052, + 1542, + 1544, + 3080, + 773, + 1798, + 1542, + 2055, + 1292, + 2565, + 1030, + 1801, + 2565, + 1542, + 1294, + 1795, + 1800, + 1801, + 1799, + 2312, + 1549, + 2564, + 1544, + 1804, + 2307, + 2312, + 1549, + 2822, + 1287, + 2312, + 2824, + 1799, + 2061, + 3076, + 1544, + 1806, + 3843, + 1030, + 2059, + 2569, + 2057, + 1553, + 3588, + 1287, + 1808, + 2307, + 2825, + 2568, + 3082, + 2057, + 2063, + 4100, + 1287, + 2063, + 4358, + 1032, + 2318, + 2565, + 2570, + 1810, + 4355, + 1544, + 1810, + 4101, + 1289, + 2318, + 2824, + 2059, + 2573, + 3079, + 2570, + 1812, + 4099, + 1801, + 3082, + 4874, + 1032, + 2826, + 4620, + 1289, + 2575, + 3590, + 2570, + 2829, + 5385, + 1032, + 3084, + 4362, + 1546, + 2828, + 3852, + 2059, + 3086, + 5898, + 1032, + 3085, + 4109, + 2316, + 3340, + 5644, + 1289, + 2833, + 3848, + 2827, + 3087, + 3597, + 3085, + 3597, + 4877, + 2060, + 3342, + 4110, + 2829, + 2585, + 4868, + 1549, + 3597, + 4623, + 2573, + 3345, + 3853, + 3342, + 2587, + 3332, + 4112, + 3854, + 3854, + 3854, + 2589, + 4100, + 3599, + 3602, + 4620, + 3598, + 3856, + 3856, + 3856, + 2844, + 7429, + 1036, + 4114, + 4365, + 3856, + 4113, + 4113, + 4113, + 3861, + 4619, + 4625, + 4625, + 4881, + 4370, + 4124, + 8458, + 1550, + 4884, + 5906, + 4114, + 4886, + 5649, + 5141, + 4896, + 5900, + 5398, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 8481, + 8487, + 10017, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 8511, + 10017, + 8481, + 8487, + 10017, + 8481, + 13863, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc46_chip_list[] = { + IT_SC46_LAYER_0+DISK_13, + 0, +}; + +Compact sc46_exit_45 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 46, // screen + 0, // place + 0, // getToTable + 128, // xcood + 161, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 140-128, // mouseSize_x + 327-161, // mouseSize_y + SC46_EXIT_45_ACTION, // actionScript +}; + +uint16 sc46_logic_list[] = { + ID_FOSTER, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc46_mouse_list[] = { + ID_SC46_RUBBLE, + ID_SC46_EXIT_45, + ID_SC46_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint32 sc46_walk_grid[0]; + +uint16 sc46_fast_list[] = { + 12+DISK_13, + 51+DISK_13, + 52+DISK_13, + 53+DISK_13, + 54+DISK_13, + 0, +}; + +Compact sc46_rubble = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 46, // screen + 0, // place + 0, // getToTable + 325, // xcood + 223, // ycood + 0, // frame + 17383, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-325, // mouseSize_x + 310-223, // mouseSize_y + SC46_RUBBLE_ACTION, // actionScript +}; + +uint16 reset_45_46[] = { + C_SCREEN, + 46, + C_PLACE, + ID_SC46_FLOOR, + C_XCOOD, + OFF_LEFT, + C_YCOOD, + 280, + 65535, +}; + +Compact sc46_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 46, // screen + 0, // place + sc46_floor_table, // getToTable + 128, // xcood + 272, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 375-128, // mouseSize_x + 327-272, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/47comp.h b/sky/compacts/47comp.h new file mode 100644 index 00000000000..f0424bd54e3 --- /dev/null +++ b/sky/compacts/47comp.h @@ -0,0 +1,550 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY47COMP_H +#define SKY47COMP_H + + + + +namespace SkyCompact { + +uint16 reset_48_47[] = { + C_SCREEN, + 47, + C_PLACE, + ID_SC47_FLOOR, + C_XCOOD, + OFF_RIGHT, + C_YCOOD, + 280, + 65535, +}; + +uint16 sc47_palette[] = { + 0, + 768, + 771, + 1028, + 1284, + 515, + 1030, + 1540, + 259, + 1284, + 1798, + 516, + 1032, + 1540, + 1541, + 1289, + 1283, + 1798, + 1289, + 2563, + 1028, + 1288, + 2566, + 516, + 1291, + 1539, + 1543, + 1543, + 2055, + 1287, + 1798, + 2824, + 1285, + 1545, + 3079, + 260, + 1293, + 3331, + 261, + 2055, + 3335, + 1285, + 1800, + 1800, + 2312, + 2057, + 3078, + 262, + 1548, + 3846, + 773, + 1802, + 2312, + 2312, + 2312, + 3592, + 773, + 1550, + 3076, + 1032, + 2312, + 3338, + 775, + 2060, + 3334, + 1287, + 1552, + 3588, + 1542, + 2059, + 2569, + 1801, + 2062, + 3844, + 775, + 2061, + 2312, + 2314, + 1807, + 2565, + 2569, + 1554, + 3332, + 1289, + 2064, + 3588, + 1544, + 2316, + 4362, + 775, + 2064, + 2822, + 2058, + 2066, + 3332, + 1802, + 1811, + 3587, + 2313, + 2068, + 2564, + 2571, + 2319, + 2823, + 2826, + 2573, + 3083, + 2315, + 2830, + 3080, + 3083, + 2070, + 2820, + 2828, + 2576, + 3336, + 2572, + 3087, + 3847, + 2571, + 3340, + 3340, + 3340, + 2830, + 3596, + 2829, + 2327, + 3846, + 3340, + 2329, + 3589, + 3597, + 3597, + 3853, + 3086, + 3093, + 5642, + 1804, + 2586, + 3844, + 3854, + 3854, + 7182, + 1034, + 3603, + 4362, + 3854, + 3856, + 3854, + 3344, + 2843, + 3845, + 3856, + 3856, + 4368, + 3856, + 4118, + 7693, + 1549, + 3612, + 8458, + 1293, + 3615, + 4869, + 4370, + 4631, + 4621, + 4627, + 4627, + 5139, + 4627, + 4884, + 7444, + 3603, + 4387, + 5642, + 5654, + 5151, + 5901, + 5398, + 5910, + 8982, + 4376, + 5672, + 8205, + 5659, + 6444, + 9999, + 4891, + 7472, + 12816, + 4640, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 0, + 63, + 16128, + 0, + 63, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 reset_45_47[] = { + C_SCREEN, + 47, + C_PLACE, + ID_SC47_FLOOR, + C_XCOOD, + OFF_LEFT, + C_YCOOD, + 280, + 65535, +}; + +uint16 sc47_mouse_list[] = { + ID_SC47_EXIT_45, + ID_SC47_EXIT_48, + ID_SC47_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc47_exit_48 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 47, // screen + 0, // place + 0, // getToTable + 420, // xcood + 161, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-420, // mouseSize_x + 327-161, // mouseSize_y + SC47_EXIT_48_ACTION, // actionScript +}; + +uint32 sc47_walk_grid[0]; + +uint16 sc47_fast_list[] = { + 12+DISK_13, + 51+DISK_13, + 52+DISK_13, + 53+DISK_13, + 54+DISK_13, + 0, +}; + +uint16 sc47_logic_list[] = { + ID_FOSTER, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +Compact sc47_exit_45 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 47, // screen + 0, // place + 0, // getToTable + 128, // xcood + 161, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 140-128, // mouseSize_x + 327-161, // mouseSize_y + SC47_EXIT_45_ACTION, // actionScript +}; + +uint16 sc47_chip_list[] = { + IT_SC47_LAYER_0+DISK_13, + 0, +}; + +uint16 sc47_floor_table[] = { + ID_SC47_FLOOR, + RETURN_OK, + ID_SC47_EXIT_45, + GT_SC47_EXIT_45, + 0, + SC47_EXIT_45_WALK_ON, + ID_SC47_EXIT_48, + GT_SC47_EXIT_48, + 1, + SC47_EXIT_48_WALK_ON, + 65535, +}; + +Compact sc47_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 47, // screen + 0, // place + sc47_floor_table, // getToTable + 128, // xcood + 272, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-128, // mouseSize_x + 327-272, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/48comp.h b/sky/compacts/48comp.h new file mode 100644 index 00000000000..23a390eb85d --- /dev/null +++ b/sky/compacts/48comp.h @@ -0,0 +1,1131 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY48COMP_H +#define SKY48COMP_H + + + + +namespace SkyCompact { + +Compact sc48_eyes = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 48, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC48_EYES_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc48_mouse_list[] = { + ID_SC48_SOCKET, + ID_SC48_HOLE, + ID_SC48_EXIT_47, + ID_SC48_EXIT_65, + ID_SC48_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc48_chip_list[] = { + IT_SC48_LAYER_0+DISK_13, + 71+DISK_13, + 72+DISK_13, + 74+DISK_13, + 75+DISK_13, + 0, +}; + +uint16 sc48_floor_table[] = { + ID_SC48_FLOOR, + RETURN_OK, + ID_SC48_EXIT_47, + GT_SC48_EXIT_47, + 0, + SC48_EXIT_47_WALK_ON, + ID_SC48_EXIT_65, + GT_SC48_EXIT_65, + 1, + SC48_EXIT_65_WALK_ON, + ID_SC48_SOCKET, + GT_SC48_SOCKET, + ID_SC48_HOLE, + GT_SC48_HOLE, + 65535, +}; + +Compact sc48_socket = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE, // status + 0, // sync + 48, // screen + 0, // place + 0, // getToTable + 312, // xcood + 246, // ycood + 71*64, // frame + 16552, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 5, // mouseRel_x + 1, // mouseRel_y + 319-317, // mouseSize_x + 248-247, // mouseSize_y + SC48_SOCKET_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC48_SOCKET_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc48_put_bulb[] = { + 72*64, + 304, + 224, + 0, + 304, + 224, + 1, + 304, + 224, + 2, + 304, + 224, + 3, + 304, + 224, + 3, + 304, + 224, + 3, + 304, + 224, + 3, + 304, + 224, + 3, + 304, + 224, + 2, + 304, + 224, + 1, + 304, + 224, + 0, + 0, +}; + +uint16 sc48_palette[] = { + 0, + 512, + 1026, + 1026, + 1028, + 1028, + 1030, + 1028, + 1030, + 1032, + 1538, + 1030, + 1542, + 2054, + 1030, + 2052, + 1030, + 2056, + 1544, + 2566, + 1030, + 2054, + 2566, + 1542, + 1548, + 2564, + 2054, + 2054, + 2570, + 1032, + 2056, + 2568, + 1544, + 1550, + 1540, + 2570, + 2058, + 4104, + 1030, + 2062, + 2050, + 2570, + 2570, + 2568, + 2570, + 2064, + 4100, + 1544, + 2062, + 2058, + 2572, + 2574, + 3078, + 2570, + 2066, + 3588, + 2058, + 2572, + 2572, + 2572, + 2068, + 3588, + 2570, + 2574, + 3084, + 3084, + 2070, + 3076, + 3596, + 2580, + 3588, + 2572, + 2072, + 3588, + 3596, + 3596, + 3084, + 3598, + 3598, + 6156, + 1034, + 3598, + 3086, + 3600, + 2586, + 4612, + 3596, + 3600, + 6670, + 1546, + 3602, + 4618, + 3086, + 3092, + 3598, + 3600, + 3602, + 3598, + 4112, + 3098, + 4614, + 3088, + 4112, + 5136, + 4110, + 3100, + 4614, + 3600, + 4114, + 4114, + 4114, + 4624, + 4626, + 4114, + 4626, + 5138, + 3602, + 4628, + 4112, + 4628, + 3617, + 5126, + 4626, + 5138, + 5138, + 5138, + 5140, + 6672, + 4624, + 5140, + 4628, + 4630, + 5650, + 6164, + 4116, + 5652, + 5652, + 5652, + 5652, + 5654, + 5142, + 5654, + 5654, + 5656, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 8244, + 11296, + 2056, + 1052, + 4868, + 514, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 8747, + 10276, + 8479, + 7461, + 8991, + 7194, + 6176, + 7706, + 6166, + 4891, + 6421, + 4881, + 3862, + 4881, + 3853, + 2833, + 3597, + 2825, + 1804, + 2313, + 1797, + 1031, + 16133, + 63, + 0, + 14336, + 13364, + 11569, + 8493, + 7710, + 5916, + 5654, + 3855, + 2063, + 1289, + 770, + 517, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 10243, + 0, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc48_fast_list[] = { + 12+DISK_13, + 51+DISK_13, + 52+DISK_13, + 53+DISK_13, + 54+DISK_13, + 0, +}; + +Compact sc48_hole = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC, // status + 0, // sync + 48, // screen + 0, // place + 0, // getToTable + 362, // xcood + 203, // ycood + 0, // frame + 17438, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 383-362, // mouseSize_x + 253-203, // mouseSize_y + SC48_HOLE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC48_HOLE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 reset_47_48[] = { + C_SCREEN, + 48, + C_PLACE, + ID_SC48_FLOOR, + C_XCOOD, + OFF_LEFT, + C_YCOOD, + 280, + 65535, +}; + +uint16 sc48_logic_list[] = { + ID_FOSTER, + ID_SC48_SOCKET, + ID_SC48_HOLE, + ID_SC48_EYES, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 reset_65_48[] = { + C_SCREEN, + 48, + C_PLACE, + ID_SC48_FLOOR, + C_XCOOD, + OFF_RIGHT, + C_YCOOD, + 280, + 65535, +}; + +uint16 sc48_eyes_anim[] = { + 74*64, + 358, + 201, + 0, + 358, + 201, + 1, + 358, + 201, + 2, + 358, + 201, + 3, + 358, + 201, + 3, + 358, + 201, + 4, + 358, + 201, + 5, + 358, + 201, + 6, + 358, + 201, + 5, + 358, + 201, + 4, + 358, + 201, + 7, + 358, + 201, + 8, + 358, + 201, + 9, + 358, + 201, + 10, + 358, + 201, + 11, + 0, +}; + +Compact sc48_exit_47 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 48, // screen + 0, // place + 0, // getToTable + 128, // xcood + 161, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 140-128, // mouseSize_x + 327-161, // mouseSize_y + SC48_EXIT_47_ACTION, // actionScript +}; + +Compact sc48_exit_65 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 48, // screen + 0, // place + 0, // getToTable + 420, // xcood + 161, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 448-420, // mouseSize_x + 327-161, // mouseSize_y + SC48_EXIT_65_ACTION, // actionScript +}; + +uint32 sc48_walk_grid[0]; + +Compact sc48_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 48, // screen + 0, // place + sc48_floor_table, // getToTable + 128, // xcood + 272, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-128, // mouseSize_x + 327-272, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc48_light_pal[] = { + 0, + 1280, + 1797, + 1797, + 1799, + 1799, + 1801, + 1799, + 1801, + 1803, + 2309, + 1801, + 2313, + 2825, + 1801, + 2823, + 1801, + 2827, + 2315, + 3337, + 1801, + 2825, + 3337, + 2313, + 2319, + 3335, + 2825, + 2825, + 3341, + 1803, + 2827, + 3339, + 2315, + 2321, + 2311, + 3341, + 2829, + 4875, + 1801, + 2833, + 2821, + 3341, + 3341, + 3339, + 3341, + 2835, + 4871, + 2315, + 2833, + 2829, + 3343, + 3345, + 3849, + 3341, + 2837, + 4359, + 2829, + 3343, + 3343, + 3343, + 2839, + 4359, + 3341, + 3345, + 3855, + 3855, + 2841, + 3847, + 4367, + 3351, + 4359, + 3343, + 2843, + 4359, + 4367, + 4367, + 3855, + 4369, + 4369, + 6927, + 1805, + 4369, + 3857, + 4371, + 3357, + 5383, + 4367, + 4371, + 7441, + 2317, + 4373, + 5389, + 3857, + 3863, + 4369, + 4371, + 4373, + 4369, + 4883, + 3869, + 5385, + 3859, + 4883, + 5907, + 4881, + 3871, + 5385, + 4371, + 4885, + 4885, + 4885, + 5395, + 5397, + 4885, + 5397, + 5909, + 4373, + 5399, + 4883, + 5399, + 4388, + 5897, + 5397, + 5909, + 5909, + 5909, + 5911, + 7443, + 5395, + 5911, + 5399, + 5401, + 6421, + 6935, + 4887, + 6423, + 6423, + 6423, + 6423, + 6425, + 5913, + 6425, + 6425, + 6427, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 9015, + 12067, + 2827, + 1823, + 5639, + 1285, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 9518, + 11047, + 9250, + 8232, + 9762, + 7965, + 6947, + 8477, + 6937, + 5662, + 7192, + 5652, + 4633, + 5652, + 4624, + 3604, + 4368, + 3596, + 2575, + 3084, + 2568, + 1802, + 16136, + 831, + 771, + 15107, + 14135, + 12340, + 9264, + 8481, + 6687, + 6425, + 4626, + 2834, + 1548, + 1027, + 774, + 14340, + 10288, + 10549, + 12576, + 5922, + 6697, + 8976, + 2579, + 3357, + 11014, + 771, + 8981, + 8212, + 7725, + 10265, + 4890, + 4637, + 5635, + 14087, + 14135, + 12334, + 9522, + 10277, + 10795, + 9013, + 11298, + 6945, + 6698, + 8469, + 4371, + 3096, + 3079, + 12344, + 13608, + 8233, + 8753, + 10519, + 4122, + 4899, + 7434, + 1549, + 10303, + 13871, + 10015, + 5933, + 9247, + 6161, + 2843, + 4626, + 3079, + 3636, + 10766, + 2056, + 1056, + 5636, + 771, + 12344, + 13608, + 8233, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 16191, + 16131, + 831, + 0, + 16128, + 16191, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/4compact.h b/sky/compacts/4compact.h new file mode 100644 index 00000000000..454b465a194 --- /dev/null +++ b/sky/compacts/4compact.h @@ -0,0 +1,1108 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY4COMPACT_H +#define SKY4COMPACT_H + + + + +namespace SkyCompact { + +uint16 jobs_u_to_l[] = { + 43-8+117*64, + 0, +}; + +uint16 m_jobs_left[] = { + 2, + 16+270*64, + 65534, + 0, + 2, + 17+270*64, + 65534, + 0, + 2, + 18+270*64, + 65534, + 0, + 2, + 19+270*64, + 65534, + 0, + 2, + 20+270*64, + 65534, + 0, + 2, + 21+270*64, + 65534, + 0, + 2, + 22+270*64, + 65534, + 0, + 2, + 23+270*64, + 65534, + 0, + 0, +}; + +uint16 jobs_l_to_u[] = { + 43-8+117*64, + 0, +}; + +uint16 m_jobs_u_to_d[] = { + 43-8+270*64, + 42-8+270*64, + 41-8+270*64, + 0, +}; + +Compact sarnie_s4 = { + 0, // logic + ST_BACKGROUND+ST_MOUSE, // status + 0, // sync + 4, // screen + 0, // place + 0, // getToTable + 252, // xcood + 219, // ycood + 61*64, // frame + 4+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 5, // mouseSize_y + SARNIE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +uint16 m_jobs_l_to_d[] = { + 41-8+270*64, + 0, +}; + +uint16 s4_talk_table[] = { + 4106, + RETURN_OK, + 4107, + RETURN_OK, + ID_S4_FLOOR, + STD_ADJOIN_FLOOR, + ID_S4_L_EXIT, + GET_TO_EL4, + ID_CUPBOARD, + GET_TO_CUPBOARD, + ID_SARNIE, + GET_TO_SHELVES, + ID_SPANNER, + GET_TO_SHELVES, + ID_KNOB, + GET_TO_KNOB, + ID_CHUCK, + GET_TO_CHUCK, + ID_MONITORS, + GET_TO_SCREENS, + ID_BUTTONS, + GET_TO_BUTTONS, + ID_POSTCARD, + GET_TO_POSTCARD, + ID_NOTICE4, + GET_TO_POSTCARD, + ID_TV_SCREENS, + GET_TO_MONITOR, + ID_LAZER, + GT_LAZER, + 65535, +}; + +uint32 l_talk_s4[0]; + +uint16 chip_list_sc4[] = { + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 143, + 144, + 145, + 146, + 151, + 152, + 173, + 111, + 141, + 150, + 142, + 117, + 134, + 0, +}; + +Compact r_talk_s4 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + s4_talk_table, // getToTable +}; + +Compact monitors_s4 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 4, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 151*64, // frame + 27+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 22, // mouseSize_x + 12, // mouseSize_y + TV_1_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + MONITOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 m_jobs_down[] = { + 1, + 8+270*64, + 0, + 1, + 1, + 9+270*64, + 0, + 1, + 1, + 10+270*64, + 0, + 1, + 1, + 11+270*64, + 0, + 1, + 1, + 12+270*64, + 0, + 1, + 1, + 13+270*64, + 0, + 1, + 1, + 14+270*64, + 0, + 1, + 1, + 15+270*64, + 0, + 1, + 0, +}; + +Compact jobsworth = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_MOUSE+ST_COLLISION, // status + 0, // sync + 0, // screen + ID_LOW_FLOOR, // place + 0, // getToTable + 416, // xcood + 272, // ycood + 73*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65532, // mouseRel_x + 65516, // mouseRel_y + 8, // mouseSize_x + 28, // mouseSize_y + MEGA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode +}; + +uint16 jobs_st_down[] = { + 117*64, + 1, + 1, + 32, + 0, +}; + +Compact notice4 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 4, // screen + 0, // place + 0, // getToTable + 152, // xcood + 232, // ycood + 0, // frame + 4196, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 8, // mouseSize_x + 8, // mouseSize_y + NOTICE4_ACTION, // actionScript +}; + +uint16 m_jobs_st_down[] = { + 270*64, + 1, + 1, + 32, + 0, +}; + +uint16 m_jobs_st_talk[] = { + 273*64, + 1, + 1, + 0, + 0, +}; + +uint8 jobs_auto[64]; + +uint16 m_jobs_up[] = { + 1, + 0+270*64, + 0, + 65535, + 1, + 1+270*64, + 0, + 65535, + 1, + 2+270*64, + 0, + 65535, + 1, + 3+270*64, + 0, + 65535, + 1, + 4+270*64, + 0, + 65535, + 1, + 5+270*64, + 0, + 65535, + 1, + 6+270*64, + 0, + 65535, + 1, + 7+270*64, + 0, + 65535, + 0, +}; + +uint16 m_jobs_right[] = { + 2, + 24+270*64, + 2, + 0, + 2, + 25+270*64, + 2, + 0, + 2, + 26+270*64, + 2, + 0, + 2, + 27+270*64, + 2, + 0, + 2, + 28+270*64, + 2, + 0, + 2, + 29+270*64, + 2, + 0, + 2, + 30+270*64, + 2, + 0, + 2, + 31+270*64, + 2, + 0, + 0, +}; + +uint16 m_jobs_st_up[] = { + 270*64, + 1, + 1, + 36, + 0, +}; + +uint16 m_jobs_st_left[] = { + 270*64, + 1, + 1, + 34, + 0, +}; + +uint16 m_jobs_st_right[] = { + 270*64, + 1, + 1, + 38, + 0, +}; + +uint16 m_jobs_u_to_l[] = { + 43-8+270*64, + 0, +}; + +uint16 m_jobs_u_to_r[] = { + 45-8+270*64, + 0, +}; + +uint16 m_jobs_d_to_u[] = { + 47-8+270*64, + 46-8+270*64, + 45-8+270*64, + 0, +}; + +uint16 m_jobs_d_to_l[] = { + 41-8+270*64, + 0, +}; + +uint16 m_jobs_d_to_r[] = { + 47-8+270*64, + 0, +}; + +uint16 m_jobs_l_to_u[] = { + 43-8+270*64, + 0, +}; + +uint16 m_jobs_l_to_r[] = { + 41-8+270*64, + 40-8+270*64, + 47-8+270*64, + 0, +}; + +uint16 m_jobs_r_to_u[] = { + 45-8+270*64, + 0, +}; + +uint16 m_jobs_r_to_d[] = { + 47-8+270*64, + 0, +}; + +uint16 m_jobs_r_to_l[] = { + 45-8+270*64, + 44-8+270*64, + 43-8+270*64, + 0, +}; + +uint16 jobs_up[] = { + 2, + 0+117*64, + 0, + 65534, + 2, + 1+117*64, + 0, + 65534, + 2, + 2+117*64, + 0, + 65534, + 2, + 3+117*64, + 0, + 65534, + 2, + 4+117*64, + 0, + 65534, + 2, + 5+117*64, + 0, + 65534, + 2, + 6+117*64, + 0, + 65534, + 2, + 7+117*64, + 0, + 65534, + 0, +}; + +uint16 jobs_down[] = { + 2, + 8+117*64, + 0, + 2, + 2, + 9+117*64, + 0, + 2, + 2, + 10+117*64, + 0, + 2, + 2, + 11+117*64, + 0, + 2, + 2, + 12+117*64, + 0, + 2, + 2, + 13+117*64, + 0, + 2, + 2, + 14+117*64, + 0, + 2, + 2, + 15+117*64, + 0, + 2, + 0, +}; + +uint16 jobs_left[] = { + 4, + 16+117*64, + 65532, + 0, + 4, + 17+117*64, + 65532, + 0, + 4, + 18+117*64, + 65532, + 0, + 4, + 19+117*64, + 65532, + 0, + 4, + 20+117*64, + 65532, + 0, + 4, + 21+117*64, + 65532, + 0, + 4, + 22+117*64, + 65532, + 0, + 4, + 23+117*64, + 65532, + 0, + 0, +}; + +uint16 jobs_right[] = { + 4, + 24+117*64, + 4, + 0, + 4, + 25+117*64, + 4, + 0, + 4, + 26+117*64, + 4, + 0, + 4, + 27+117*64, + 4, + 0, + 4, + 28+117*64, + 4, + 0, + 4, + 29+117*64, + 4, + 0, + 4, + 30+117*64, + 4, + 0, + 4, + 31+117*64, + 4, + 0, + 0, +}; + +uint16 jobs_st_up[] = { + 117*64, + 1, + 1, + 36, + 0, +}; + +uint16 jobs_st_left[] = { + 117*64, + 1, + 1, + 34, + 0, +}; + +uint16 jobs_st_right[] = { + 117*64, + 1, + 1, + 38, + 0, +}; + +uint16 jobs_st_talk[] = { + 134*64, + 1, + 1, + 0, + 0, +}; + +uint16 jobs_u_to_d[] = { + 43-8+117*64, + 42-8+117*64, + 41-8+117*64, + 0, +}; + +uint16 jobs_u_to_r[] = { + 45-8+117*64, + 0, +}; + +uint16 jobs_d_to_u[] = { + 47-8+117*64, + 46-8+117*64, + 45-8+117*64, + 0, +}; + +uint16 jobs_d_to_l[] = { + 41-8+117*64, + 0, +}; + +uint16 jobs_d_to_r[] = { + 47-8+117*64, + 0, +}; + +uint16 jobs_l_to_d[] = { + 41-8+117*64, + 0, +}; + +uint16 jobs_l_to_r[] = { + 41-8+117*64, + 40-8+117*64, + 47-8+117*64, + 0, +}; + +uint16 jobs_r_to_u[] = { + 45-8+117*64, + 0, +}; + +uint16 jobs_r_to_d[] = { + 47-8+117*64, + 0, +}; + +uint16 jobs_r_to_l[] = { + 45-8+117*64, + 44-8+117*64, + 43-8+117*64, + 0, +}; + +Compact buttons_s4 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 4, // screen + 0, // place + 0, // getToTable + 256, // xcood + 195, // ycood + 0, // frame + 15+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 8, // mouseSize_x + 15, // mouseSize_y + BUTTON_ACTION, // actionScript +}; + +uint16 sc4_mouse_open[] = { + JOBS, + ID_JOEY, + ID_POSTCARD, + ID_NOTICE4, + ID_LAZER, + ID_CHUCK, + ID_MONITORS, + ID_TV_SCREENS, + ID_S4_L_EXIT, + ID_S4_FLOOR, + ID_SARNIE, + ID_SPANNER, + ID_CUPBOARD, + ID_KNOB, + ID_BUTTONS, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact tv_screens_s4 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 4, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 56*64, // frame + 4200, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 18, // mouseRel_x + 0, // mouseRel_y + 10, // mouseSize_x + 7, // mouseSize_y + TV_2_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + TV_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc4_logic[] = { + ID_FOSTER, + JOBS, + ID_JOEY, + ID_TV_SCREENS, + ID_KNOB, + ID_CHUCK, + ID_LAZER, + ID_SARNIE, + ID_SPANNER, + ID_CUPBOARD, + ID_MONITORS, + ID_LOADER, + ID_TOP_LIFT, + 4344, + ID_TOP_BARREL, + ID_LIGHT1, + ID_PANEL, + 0XFFFF, + ID_MENU_LOGIC, +}; + +Compact postcard = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 4, // screen + 0, // place + 0, // getToTable + 167, // xcood + 224, // ycood + 0, // frame + 4197, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 5, // mouseSize_y + POSTCARD_ACTION, // actionScript +}; + +Compact knob_s4 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 4, // screen + 0, // place + 0, // getToTable + 302, // xcood + 187, // ycood + 58*64, // frame + 13+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 14, // mouseSize_y + KNOB_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + KNOB_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact lazer_s4 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 4, // screen + 0, // place + 0, // getToTable + 331, // xcood + 210, // ycood + 0, // frame + 4214, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 350-331, // mouseSize_x + 228-210, // mouseSize_y + LAZER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LAZER_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 fast_list_sc4[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 153, + 131, + 132, + 136, + 137, + 138, + 0, +}; + +Compact sc4_left_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 4, // screen + 0, // place + 0, // getToTable + 188, // xcood + 193, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 13, // mouseSize_x + 61, // mouseSize_y + EL4_ACTION, // actionScript +}; + +Compact spanner_s4 = { + 0, // logic + ST_BACKGROUND+ST_MOUSE, // status + 0, // sync + 4, // screen + 0, // place + 0, // getToTable + 254, // xcood + 224, // ycood + 62*64, // frame + 8, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 5, // mouseSize_y + SPANNER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +uint16 joey_list_s4[] = { + 224, + 320, + 232, + 296, + 1, + 224, + 304, + 256, + 272, + 0, + 0, +}; + +uint32 c43[0]; + +Compact chuck_s4 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 4, // screen + 0, // place + 0, // getToTable + 334, // xcood + 222, // ycood + 59*64, // frame + 4198, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 17, // mouseSize_x + 10, // mouseSize_y + CHUCK_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + CHUCK_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 r4_floor_table[] = { + ID_S4_FLOOR, + RETURN_OK, + ID_S4_L_EXIT, + GET_TO_EL4, + ID_CUPBOARD, + GET_TO_CUPBOARD, + ID_SARNIE, + GET_TO_SHELVES, + ID_SPANNER, + GET_TO_SHELVES, + ID_KNOB, + GET_TO_KNOB, + ID_CHUCK, + GET_TO_CHUCK, + ID_MONITORS, + GET_TO_SCREENS, + ID_BUTTONS, + GET_TO_BUTTONS, + 4106, + GET_TO_TALK41, + 4107, + GET_TO_TALK42, + 4136, + S4_WALK_ON, + ID_POSTCARD, + GET_TO_POSTCARD, + ID_NOTICE4, + GET_TO_POSTCARD, + ID_TV_SCREENS, + GET_TO_MONITOR, + ID_JOEY_PARK, + GET_TO_JP2, + ID_LAZER, + GT_LAZER, + 65535, +}; + +uint16 sc4_mouse[] = { + JOBS, + ID_JOEY, + ID_POSTCARD, + ID_NOTICE4, + ID_LAZER, + ID_CHUCK, + ID_MONITORS, + ID_TV_SCREENS, + ID_S4_L_EXIT, + ID_S4_FLOOR, + ID_CUPBOARD, + ID_KNOB, + ID_BUTTONS, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc4_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 4, // screen + 0, // place + r4_floor_table, // getToTable + 184, // xcood + 232, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 183, // mouseSize_x + 64, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact cupboard_s4 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE+ST_BACKGROUND+ST_MOUSE, // status + 0, // sync + 4, // screen + 0, // place + 0, // getToTable + 248, // xcood + 214, // ycood + 57*64, // frame + 3+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 20, // mouseSize_x + 20, // mouseSize_y + CUPBOARD_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + CUPBOARD_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/5compact.h b/sky/compacts/5compact.h new file mode 100644 index 00000000000..41f049bb4e0 --- /dev/null +++ b/sky/compacts/5compact.h @@ -0,0 +1,4688 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY5COMPACT_H +#define SKY5COMPACT_H + + +#include "14comp.h" +#include "9compact.h" +#include "18comp.h" +#include "12comp.h" +#include "13comp.h" +#include "15comp.h" +#include "16comp.h" +#include "17comp.h" + + +namespace SkyCompact { + +Compact copter = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 8, // screen + 0, // place + 0, // getToTable + 228, // xcood + 208, // ycood + 0, // frame + 8252, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 389-228, // mouseSize_x + 287-208, // mouseSize_y + COPTER_ACTION, // actionScript +}; + +uint16 rs_joey_29_7[] = { + C_XCOOD, + 256, + C_YCOOD, + 232, + C_SCREEN, + 7, + C_PLACE, + ID_S7_FLOOR, + C_LOGIC, + L_SCRIPT, + C_BASE_SUB, + JOEY_OUT_OF_LIFT7, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 rs_joey_to_6[] = { + C_XCOOD, + 208, + C_YCOOD, + 256, + C_PLACE, + ID_S6_FLOOR, + C_SCREEN, + 6, + C_MODE, + 0, + C_BASE_SUB, + JOEY_LOGIC, + C_BASE_SUB+2, + 0, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION+ST_MOUSE, + C_DIR, + RIGHT, + 65535, +}; + +Compact lift_notice = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 7, // screen + 0, // place + 0, // getToTable + 238, // xcood + 201, // ycood + 0, // frame + 8251, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 8, // mouseSize_y + LIFT_NOTICE_ACTION, // actionScript +}; + +uint16 mid_up_get[] = { + 153*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 jostair1_seq[] = { + 28*64, + 195, + 316, + 0, + 195, + 316, + 1, + 195, + 316, + 2, + 195, + 315, + 3, + 195, + 314, + 4, + 195, + 314, + 5, + 195, + 314, + 6, + 195, + 314, + 7, + 195, + 314, + 8, + 195, + 314, + 9, + 195, + 314, + 10, + 195, + 314, + 11, + 195, + 314, + 12, + 196, + 314, + 13, + 197, + 314, + 14, + 198, + 314, + 15, + 199, + 314, + 16, + 200, + 314, + 17, + 201, + 314, + 18, + 202, + 314, + 19, + 203, + 314, + 12, + 204, + 314, + 13, + 205, + 314, + 14, + 206, + 314, + 15, + 207, + 314, + 16, + 208, + 314, + 17, + 209, + 314, + 18, + 210, + 314, + 19, + 211, + 314, + 20, + 212, + 314, + 21, + 213, + 314, + 22, + 214, + 315, + 23, + 215, + 316, + 24, + 216, + 316, + 25, + 217, + 316, + 26, + 218, + 316, + 27, + 219, + 316, + 28, + 220, + 316, + 29, + 221, + 316, + 30, + 222, + 316, + 31, + 223, + 316, + 32, + 224, + 316, + 33, + 0, +}; + +uint16 grd_watch_seq[] = { + 115*64, + 306, + 228, + 0, + 306, + 228, + 0, + 306, + 228, + 1, + 306, + 228, + 1, + 306, + 228, + 2, + 306, + 228, + 2, + 306, + 228, + 3, + 306, + 228, + 3, + 306, + 228, + 4, + 306, + 228, + 4, + 306, + 228, + 5, + 306, + 228, + 5, + 306, + 228, + 6, + 306, + 228, + 6, + 306, + 228, + 7, + 306, + 228, + 7, + 306, + 228, + 7, + 306, + 228, + 7, + 306, + 228, + 5, + 306, + 228, + 5, + 306, + 228, + 4, + 306, + 228, + 4, + 306, + 228, + 3, + 306, + 228, + 3, + 306, + 228, + 2, + 306, + 228, + 2, + 306, + 228, + 1, + 306, + 228, + 1, + 306, + 228, + 0, + 306, + 228, + 0, + 306, + 228, + 0, + 306, + 228, + 0, + 0, +}; + +uint32 grid18[0]; + +uint16 s7_floor_table[] = { + ID_S7_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S7_WALK_ON, + 1, + S7_RIGHT_ON, + 3, + S12_WALK_ON, + ID_LEFT_EXIT_S7, + GET_TO_L_EXIT_S7, + ID_S7_RIGHT_EXIT, + GET_TO_R_EXIT_S7, + ID_FACTORY_ENTRY, + GET_TO_FACTORY, + ID_S7_CARD_SLOT, + GT_S7_SLOT, + ID_LIFT_NOTICE, + GT_LIFT_NOTICE, + ID_LIFT_S7, + GT_S7_LIFT, + ID_LINC_S7, + GT_S7_LINC, + ID_STD_LEFT_TALK, + GT_L_TALK_7, + ID_STD_RIGHT_TALK, + GT_R_TALK_7, + ID_CABLE_7, + GT_CABLE_7, + 65535, +}; + +uint16 lamb_card_seq[] = { + 147*64, + 338, + 183, + 0, + 338, + 183, + 1, + 338, + 183, + 2, + 338, + 183, + 3, + 338, + 183, + 4, + 338, + 183, + 5, + 338, + 183, + 6, + 338, + 183, + 1, + 338, + 183, + 0, + 0, +}; + +uint16 joey_list_s6[] = { + 176, + 384, + 272, + 287, + 1, + 0, +}; + +uint16 s6_chip_list[] = { + 173, + 111, + 136+DISK_2, + 137+DISK_2, + 28+DISK_2, + 29+DISK_2, + 30+DISK_2, + 74+DISK_2, + 92+DISK_2, + 26+DISK_2+0X8000, + 27+DISK_2+0X8000, + 20+DISK_2, + 21+DISK_2, + 22+DISK_2, + 0, +}; + +uint16 s6_pal[] = { + 0, + 512, + 0, + 516, + 1024, + 514, + 518, + 2050, + 516, + 1032, + 2564, + 1542, + 1548, + 2564, + 2056, + 1552, + 3588, + 1544, + 2064, + 3078, + 2570, + 2066, + 3076, + 3082, + 2070, + 4612, + 1546, + 2580, + 3590, + 3084, + 3088, + 4620, + 2060, + 2584, + 5636, + 2060, + 2588, + 4612, + 3598, + 3602, + 5136, + 3086, + 4114, + 7182, + 1548, + 4114, + 6672, + 2574, + 4116, + 8464, + 1548, + 3612, + 7176, + 2574, + 4122, + 8972, + 1550, + 4630, + 9490, + 1550, + 4632, + 7186, + 3602, + 4133, + 6662, + 4116, + 5146, + 5650, + 5142, + 4641, + 9484, + 3088, + 4641, + 7182, + 5140, + 4135, + 6156, + 5656, + 5658, + 8984, + 3604, + 5665, + 10514, + 2580, + 5163, + 6666, + 6170, + 5669, + 10002, + 4118, + 6179, + 8466, + 5658, + 5677, + 8462, + 6682, + 6185, + 8976, + 6170, + 6187, + 10002, + 5148, + 7207, + 11030, + 5146, + 7205, + 8476, + 7201, + 7215, + 10002, + 7198, + 8997, + 11030, + 5665, + 7727, + 10004, + 6179, + 8491, + 13082, + 5150, + 8493, + 10520, + 7715, + 9509, + 10529, + 8483, + 9515, + 12570, + 6179, + 10029, + 11548, + 8997, + 9525, + 12056, + 7719, + 11051, + 14625, + 5671, + 11057, + 13084, + 5677, + 11057, + 13601, + 7721, + 11569, + 15134, + 6185, + 11065, + 13084, + 9517, + 12085, + 14108, + 8493, + 12085, + 12577, + 10543, + 11581, + 13594, + 7729, + 13111, + 15640, + 5681, + 12597, + 15655, + 7729, + 12599, + 14635, + 9011, + 13117, + 15644, + 9523, + 14139, + 15646, + 10035, + 14143, + 15128, + 11571, + 14139, + 15655, + 11573, + 14143, + 16163, + 12087, + 14651, + 16177, + 10553, + 15167, + 16167, + 9533, + 15679, + 16177, + 14143, + 4126, + 6155, + 2317, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 63, + 0, + 0, + 0, + 0, + 0, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 rs_foster_8_7[] = { + C_XCOOD, + 456, + C_YCOOD, + 264, + C_SCREEN, + 7, + C_PLACE, + ID_S7_FLOOR, + C_DIR, + LEFT, + C_FRAME, + 12*64, + 65535, +}; + +Compact joey_fly_6 = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 6, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 209*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + JOEY_FLY_TO_6, // baseSub + 0, // baseSub_off +}; + +uint16 s7_chip_list[] = { + 173, + 111, + 133+DISK_2, + 136+DISK_2, + 137+DISK_2, + 131+DISK_2, + 132+DISK_2, + 145+DISK_2, + 31+DISK_2, + 32+DISK_2, + 43+DISK_2, + 147+DISK_2, + 148+DISK_2, + 0, +}; + +uint16 s8_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_WRECK_GUARD, + ID_CABLE_7, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 s7_lift_open[] = { + 134*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 12, + 0, +}; + +uint16 skorl_anim[] = { + 113*64, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 14, + 1, + 1, + 13, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 4, + 0, +}; + +uint16 card_slot_anim[] = { + 133*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 dwn_stair1_seq[] = { + 26*64, + 206, + 192, + 0, + 207, + 194, + 1, + 207, + 197, + 2, + 208, + 200, + 3, + 209, + 202, + 4, + 210, + 203, + 5, + 210, + 205, + 6, + 211, + 208, + 7, + 212, + 210, + 8, + 212, + 212, + 9, + 213, + 213, + 10, + 214, + 214, + 11, + 214, + 217, + 12, + 215, + 219, + 13, + 215, + 221, + 14, + 216, + 221, + 15, + 217, + 223, + 16, + 216, + 226, + 17, + 217, + 227, + 18, + 217, + 229, + 19, + 218, + 229, + 20, + 218, + 231, + 21, + 224, + 233, + 22, + 225, + 235, + 23, + 226, + 236, + 24, + 226, + 237, + 25, + 227, + 238, + 26, + 0, +}; + +Compact s7_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 7, // screen + 0, // place + s7_floor_table, // getToTable + 128, // xcood + 241, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 63, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 rs_foster_9_6[] = { + C_XCOOD, + 368, + C_YCOOD, + 232, + C_SCREEN, + 6, + C_PLACE, + ID_S6_FLOOR, + 65535, +}; + +uint16 s6_mouse[] = { + ID_JOEY, + ID_S6_STAIRS, + ID_LEFT_EXIT_S6, + ID_RIGHT_EXIT_S6, + ID_SECURITY_EXIT, + ID_MONITOR, + ID_S6_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 rs_foster_to_5[] = { + C_XCOOD, + 456, + C_SCREEN, + 5, + C_PLACE, + ID_S5_FLOOR, + 65535, +}; + +uint16 s8_chip_list[] = { + 130+DISK_2, + 13, + 114+DISK_2, + 0, +}; + +uint16 weld_7_seq[] = { + 149*64, + 369, + 148, + 0, + 369, + 148, + 1, + 369, + 148, + 2, + 369, + 148, + 3, + 369, + 148, + 4, + 369, + 148, + 5, + 369, + 148, + 6, + 369, + 148, + 7, + 0, +}; + +uint16 grd_blink_seq[] = { + 129*64, + 379, + 228, + 0, + 379, + 228, + 0, + 379, + 228, + 1, + 379, + 228, + 1, + 379, + 228, + 2, + 379, + 228, + 2, + 379, + 228, + 2, + 379, + 228, + 2, + 379, + 228, + 1, + 379, + 228, + 1, + 379, + 228, + 0, + 379, + 228, + 0, + 379, + 228, + 2, + 379, + 228, + 2, + 379, + 228, + 0, + 379, + 228, + 0, + 379, + 228, + 0, + 379, + 228, + 0, + 379, + 228, + 1, + 379, + 228, + 1, + 379, + 228, + 2, + 379, + 228, + 2, + 379, + 228, + 2, + 379, + 228, + 2, + 379, + 228, + 1, + 379, + 228, + 1, + 379, + 228, + 0, + 379, + 228, + 0, + 379, + 228, + 2, + 379, + 228, + 2, + 379, + 228, + 0, + 379, + 228, + 0, + 0, +}; + +Compact down_exit_s8 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 8, // screen + 0, // place + 0, // getToTable + 232, // xcood + 319, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_DOWN_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 338-232, // mouseSize_x + 42, // mouseSize_y + ED8_ACTION, // actionScript +}; + +uint16 jostair3_seq[] = { + 30*64, + 192, + 230, + 0, + 192, + 230, + 1, + 192, + 230, + 2, + 192, + 230, + 3, + 192, + 230, + 1, + 192, + 230, + 4, + 192, + 230, + 2, + 192, + 230, + 3, + 192, + 230, + 1, + 192, + 230, + 4, + 192, + 230, + 2, + 192, + 230, + 3, + 192, + 230, + 1, + 192, + 230, + 4, + 192, + 230, + 2, + 192, + 230, + 3, + 192, + 230, + 1, + 192, + 230, + 4, + 192, + 230, + 2, + 192, + 230, + 3, + 192, + 230, + 1, + 192, + 230, + 4, + 192, + 230, + 2, + 192, + 230, + 3, + 192, + 230, + 1, + 192, + 230, + 1, + 192, + 230, + 4, + 192, + 230, + 4, + 192, + 230, + 2, + 192, + 230, + 2, + 192, + 230, + 3, + 192, + 230, + 3, + 192, + 230, + 1, + 192, + 230, + 1, + 192, + 230, + 4, + 192, + 230, + 4, + 192, + 230, + 2, + 192, + 230, + 2, + 192, + 230, + 3, + 192, + 230, + 3, + 192, + 229, + 5, + 192, + 227, + 6, + 192, + 227, + 7, + 192, + 228, + 8, + 192, + 229, + 9, + 192, + 232, + 10, + 192, + 237, + 11, + 192, + 236, + 12, + 192, + 237, + 13, + 192, + 238, + 14, + 0, +}; + +uint16 s5_chip_list[] = { + 173, + 111, + 136+DISK_2, + 137+DISK_2, + 115+DISK_2, + 116+DISK_2, + 129+DISK_2, + 74+DISK_2, + 92+DISK_2, + 14+DISK_2, + 15+DISK_2, + 16+DISK_2, + 0, +}; + +Compact left_exit_s7 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 7, // screen + 0, // place + 0, // getToTable + 126, // xcood + 136, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 11, // mouseSize_x + 300, // mouseSize_y + EL7_ACTION, // actionScript +}; + +uint32 grid7[0]; + +uint16 rs_foster_18_5[] = { + C_XCOOD, + 168, + C_YCOOD, + 224, + C_SCREEN, + 5, + C_PLACE, + ID_S5_FLOOR, + 65535, +}; + +uint16 upstairs1_seq[] = { + 24*64, + 195, + 302, + 0, + 195, + 302, + 1, + 195, + 302, + 2, + 195, + 302, + 3, + 197, + 302, + 4, + 200, + 302, + 5, + 201, + 302, + 6, + 201, + 302, + 7, + 203, + 302, + 8, + 207, + 302, + 9, + 210, + 302, + 10, + 211, + 302, + 11, + 211, + 302, + 12, + 213, + 302, + 13, + 217, + 302, + 14, + 220, + 302, + 15, + 221, + 302, + 16, + 221, + 302, + 17, + 223, + 302, + 18, + 0, +}; + +uint16 rs_foster_6_7[] = { + C_XCOOD, + 120, + C_YCOOD, + 280, + C_SCREEN, + 7, + C_PLACE, + ID_S7_FLOOR, + 65535, +}; + +Compact s7_card_slot = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 7, // screen + 0, // place + 0, // getToTable + 273, // xcood + 200, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 10, // mouseSize_y + S7_SLOT_ACTION, // actionScript +}; + +uint16 rs_joey_fly[] = { + C_STATUS, + ST_BACKGROUND+ST_LOGIC+ST_RECREATE, + 65535, +}; + +uint16 s7_mouse[] = { + ID_JOEY, + ID_LEFT_EXIT_S7, + ID_S7_RIGHT_EXIT, + ID_FACTORY_ENTRY, + ID_S7_CARD_SLOT, + ID_LIFT_NOTICE, + ID_LIFT_S7, + ID_LINC_S7, + ID_LAMB, + ID_CABLE_7, + ID_S7_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 s7_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_LAMB, + ID_LIFT_S7, + ID_LIFT7_LIGHT, + ID_CABLE_7, + ID_S6_JOEY_FLY, + 0XFFFF, + ID_MENU_LOGIC, +}; + +ExtCompact wreck_guard_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + DOWN, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_WRECK, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact wreck_guard = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_RECREATE+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 8, // screen + 0, // place + 0, // getToTable + 304, // xcood + 288, // ycood + 130*64+32, // frame + 38+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65532, // mouseRel_x + 65516, // mouseRel_y + 8, // mouseSize_x + 28, // mouseSize_y + WRECK_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + WRECK_LOGIC, // baseSub + 0, // baseSub_off + &wreck_guard_ext, +}; + +uint16 rs_foster_5_6[] = { + C_XCOOD, + 120, + C_SCREEN, + 6, + C_PLACE, + ID_S6_FLOOR, + 65535, +}; + +uint16 rs_foster_7_8[] = { + C_XCOOD, + 292, + C_YCOOD, + 324, + C_SCREEN, + 8, + C_PLACE, + ID_S8_FLOOR, + C_DIR, + UP, + C_FRAME, + 44+13*64, + 65535, +}; + +uint16 upstairs2_seq[] = { + 25*64, + 227, + 239, + 0, + 226, + 237, + 1, + 226, + 236, + 2, + 225, + 235, + 3, + 225, + 234, + 4, + 218, + 232, + 5, + 218, + 230, + 6, + 217, + 228, + 7, + 217, + 228, + 8, + 216, + 226, + 9, + 216, + 225, + 10, + 216, + 222, + 11, + 215, + 220, + 12, + 215, + 220, + 13, + 214, + 218, + 14, + 214, + 216, + 15, + 213, + 213, + 16, + 212, + 211, + 17, + 212, + 210, + 18, + 211, + 209, + 19, + 210, + 207, + 20, + 210, + 204, + 21, + 209, + 201, + 22, + 208, + 200, + 23, + 207, + 198, + 24, + 207, + 196, + 25, + 206, + 199, + 26, + 206, + 200, + 27, + 206, + 198, + 28, + 0, +}; + +Compact security_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 5, // screen + 0, // place + 0, // getToTable + 343, // xcood + 171, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 235-171, // mouseSize_y + SECURITY_EXIT_ACTION, // actionScript +}; + +uint16 s6_logic[] = { + ID_FOSTER, + ID_SKORL_GUARD, + ID_S6_JOEY_FLY, + ID_JOEY, + ID_MONITOR, + ID_LAMB, + ID_LIFT_S7, + ID_LIFT7_LIGHT, + ID_CABLE_7, + 0XFFFF, + ID_MENU_LOGIC, +}; + +Compact right_exit_s5 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 5, // screen + 0, // place + 0, // getToTable + 447-11, // xcood + 136, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 11, // mouseSize_x + 300, // mouseSize_y + ER5_ACTION, // actionScript +}; + +Compact cable_7 = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 7, // screen + 0, // place + 0, // getToTable + 410, // xcood + 225, // ycood + 148*64, // frame + 49, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 4, // mouseSize_x + 260-225, // mouseSize_y + CABLE_7_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + CABLE_7_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_29_7[] = { + C_XCOOD, + 256, + C_YCOOD, + 224, + C_SCREEN, + 7, + C_PLACE, + ID_S7_FLOOR, + 65535, +}; + +uint16 s8_mouse[] = { + ID_DOWN_EXIT_S8, + ID_WRECK_GUARD, + ID_COPTER, + ID_S8_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 s8_pal[] = { + 0, + 3072, + 0, + 532, + 7170, + 3602, + 8226, + 7186, + 6682, + 8224, + 8222, + 3096, + 6688, + 7182, + 4630, + 8738, + 4626, + 518, + 4642, + 9994, + 7205, + 528, + 9472, + 1558, + 7712, + 8222, + 8224, + 7717, + 8728, + 5146, + 6174, + 7702, + 2576, + 5152, + 6666, + 2576, + 8745, + 7700, + 4630, + 7710, + 5658, + 1548, + 4114, + 11026, + 2588, + 7710, + 11026, + 3610, + 6680, + 11544, + 10031, + 8226, + 6684, + 3100, + 3082, + 7692, + 3090, + 6168, + 10008, + 7200, + 5152, + 9478, + 5658, + 6178, + 7188, + 6168, + 3084, + 1550, + 2056, + 6695, + 5138, + 5140, + 1558, + 8706, + 6170, + 4122, + 7176, + 7708, + 4624, + 6674, + 1040, + 6181, + 9992, + 2588, + 5669, + 11022, + 4638, + 2070, + 10500, + 2074, + 4628, + 530, + 0, + 5154, + 9998, + 1560, + 2066, + 8712, + 8224, + 5154, + 11532, + 11571, + 4114, + 1036, + 2566, + 11053, + 6690, + 3090, + 516, + 6656, + 1548, + 6174, + 9496, + 9509, + 4114, + 5642, + 2062, + 4634, + 8718, + 4116, + 7714, + 11550, + 10545, + 2064, + 9988, + 4636, + 4630, + 4626, + 5138, + 4645, + 8202, + 5142, + 3096, + 2570, + 2570, + 2570, + 3596, + 3596, + 5146, + 10002, + 10023, + 4128, + 10506, + 6178, + 10537, + 8233, + 4116, + 2584, + 3076, + 2, + 3614, + 7686, + 2574, + 1550, + 3586, + 1030, + 3594, + 3088, + 516, + 3088, + 4618, + 2570, + 4126, + 4104, + 1544, + 6181, + 4114, + 4112, + 11565, + 8226, + 2064, + 2582, + 8200, + 3088, + 1028, + 5638, + 5140, + 1544, + 6664, + 3088, + 5673, + 8720, + 8738, + 1026, + 6150, + 5142, + 5656, + 7190, + 1548, + 5654, + 5134, + 4112, + 5658, + 6168, + 1546, + 4632, + 11024, + 10537, + 1030, + 8196, + 6172, + 2062, + 7688, + 3088, + 4130, + 522, + 514, + 2066, + 7172, + 2062, + 1546, + 11014, + 7207, + 514, + 4, + 512, + 3088, + 2572, + 4, + 1046, + 2, + 1538, + 3098, + 3080, + 3082, + 5140, + 6678, + 6170, + 5150, + 11024, + 5669, + 2574, + 1544, + 514, + 1034, + 5634, + 3086, + 1032, + 6148, + 5140, + 4, + 10496, + 5148, + 2058, + 3592, + 4110, + 2056, + 9482, + 3604, + 2054, + 8202, + 2062, + 2074, + 11524, + 14131, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact security_exit_s6 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 6, // screen + 0, // place + 0, // getToTable + 346, // xcood + 167, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 10, // mouseSize_x + 230-167, // mouseSize_y + S6_DOOR_ACTION, // actionScript +}; + +uint32 grid5[0]; + +uint16 jostair2_seq[] = { + 29*64, + 217, + 238, + 0, + 215, + 237, + 1, + 215, + 235, + 2, + 213, + 233, + 3, + 213, + 231, + 4, + 212, + 230, + 5, + 211, + 228, + 6, + 210, + 226, + 7, + 209, + 224, + 8, + 208, + 223, + 9, + 207, + 221, + 10, + 206, + 218, + 11, + 206, + 216, + 12, + 204, + 214, + 13, + 204, + 212, + 14, + 202, + 209, + 15, + 202, + 207, + 16, + 199, + 204, + 17, + 199, + 203, + 18, + 197, + 200, + 19, + 197, + 197, + 20, + 194, + 195, + 21, + 194, + 192, + 22, + 191, + 189, + 23, + 191, + 186, + 22, + 189, + 185, + 23, + 189, + 184, + 22, + 189, + 185, + 24, + 191, + 186, + 25, + 191, + 187, + 24, + 189, + 187, + 26, + 190, + 188, + 27, + 191, + 188, + 26, + 192, + 187, + 27, + 192, + 186, + 26, + 192, + 185, + 27, + 192, + 185, + 26, + 192, + 186, + 27, + 192, + 186, + 26, + 192, + 186, + 27, + 192, + 186, + 26, + 192, + 187, + 27, + 192, + 189, + 26, + 192, + 190, + 27, + 192, + 192, + 26, + 192, + 195, + 27, + 192, + 197, + 26, + 192, + 200, + 27, + 192, + 202, + 26, + 192, + 205, + 27, + 192, + 207, + 26, + 192, + 210, + 27, + 192, + 212, + 26, + 192, + 215, + 27, + 192, + 217, + 26, + 192, + 219, + 28, + 192, + 221, + 26, + 192, + 223, + 28, + 192, + 224, + 26, + 192, + 225, + 28, + 192, + 226, + 26, + 192, + 227, + 28, + 192, + 228, + 26, + 192, + 229, + 28, + 0, +}; + +uint16 s6_floor_table[] = { + ID_S6_FLOOR, + RETURN_OK, + ID_S6_STAIRS, + GET_TO_STAIRS6, + ID_JOEY_PARK, + GET_TO_JP2, + ID_LEFT_EXIT_S6, + GET_TO_L_EXIT_S6, + ID_RIGHT_EXIT_S6, + GET_TO_R_EXIT_S6, + ID_SECURITY_EXIT, + GET_SECURITY_S6, + 0, + S6_WALK_ON, + 1, + S6_RWALK_ON, + 42, + S6_SEC_WALK_ON, + 65535, +}; + +Compact lift_s7 = { + L_SCRIPT, // logic + ST_SORT+ST_LOGIC+ST_RECREATE+ST_MOUSE, // status + 0, // sync + 7, // screen + 0, // place + 0, // getToTable + 0XF5, // xcood + 0XB5, // ycood + 134*64, // frame + 45+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 268-0XF5, // mouseSize_x + 236-0XB5, // mouseSize_y + LIFT_S7_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + S7_LIFT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 s5_mouse[] = { + ID_JOEY, + ID_MONITOR, + ID_RIGHT_EXIT_S5, + ID_LEFT_EXIT_S5, + ID_SKORL_GUARD, + S5_SECURITY_EXIT, + ID_S5_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 s5_logic[] = { + ID_FOSTER, + ID_SKORL_GUARD, + ID_JOEY, + ID_MONITOR, + ID_LAMB, + ID_LIFT_S7, + ID_LIFT7_LIGHT, + ID_S6_JOEY_FLY, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 dwn_stair2_seq[] = { + 27*64, + 223, + 302, + 0, + 220, + 302, + 1, + 220, + 302, + 2, + 220, + 302, + 3, + 218, + 302, + 4, + 213, + 302, + 5, + 210, + 302, + 6, + 210, + 302, + 7, + 210, + 302, + 8, + 208, + 302, + 9, + 203, + 302, + 10, + 200, + 302, + 11, + 200, + 302, + 12, + 200, + 302, + 13, + 198, + 302, + 14, + 195, + 302, + 15, + 195, + 302, + 16, + 195, + 302, + 17, + 195, + 302, + 18, + 0, +}; + +uint32 grid9[0]; + +uint16 s8_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 0, +}; + +Compact right_exit_s7 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 7, // screen + 0, // place + 0, // getToTable + 428, // xcood + 175, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 30, // mouseSize_x + 296-175, // mouseSize_y + ER7_ACTION, // actionScript +}; + +uint16 s5_floor_table[] = { + ID_S5_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 0, + S5_WALK_ON, + 1, + S5_STROLL_ON, + ID_RIGHT_EXIT_S5, + GET_TO_R_EXIT_S5, + ID_LEFT_EXIT_S5, + GET_TO_L_EXIT_S5, + ID_SKORL_GUARD, + GET_TO_SKORL, + S5_SECURITY_EXIT, + GET_TO_SECURITY_EXIT, + 65535, +}; + +Compact s5_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 5, // screen + 0, // place + s5_floor_table, // getToTable + 128, // xcood + 224, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 63, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 s8_floor_table[] = { + ID_S8_FLOOR, + RETURN_OK, + 0, + S8_WALK_ON, + ID_WRECK_GUARD, + GET_TO_WRECK, + ID_DOWN_EXIT_S8, + GET_TO_EXIT_S8, + 65535, +}; + +uint16 lamblook_seq[] = { + 145*64, + 266, + 224, + 0, + 266, + 224, + 0, + 266, + 224, + 0, + 266, + 224, + 1, + 266, + 224, + 2, + 266, + 224, + 2, + 266, + 224, + 2, + 266, + 224, + 1, + 266, + 224, + 3, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 1, + 266, + 224, + 2, + 266, + 224, + 2, + 266, + 224, + 2, + 266, + 224, + 2, + 266, + 224, + 5, + 266, + 224, + 5, + 266, + 224, + 5, + 266, + 224, + 5, + 266, + 224, + 5, + 266, + 224, + 5, + 266, + 224, + 5, + 266, + 224, + 5, + 266, + 224, + 2, + 266, + 224, + 1, + 266, + 224, + 0, + 266, + 224, + 0, + 266, + 224, + 0, + 266, + 224, + 0, + 266, + 224, + 0, + 266, + 224, + 0, + 266, + 224, + 0, + 266, + 224, + 3, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 4, + 266, + 224, + 3, + 0, +}; + +uint16 s5_pal[] = { + 0, + 512, + 0, + 516, + 1024, + 514, + 518, + 2050, + 516, + 1032, + 2564, + 1542, + 1548, + 2564, + 2056, + 1552, + 3588, + 1544, + 2064, + 3078, + 2570, + 2066, + 3076, + 3082, + 2070, + 4612, + 1546, + 2580, + 3590, + 3084, + 3088, + 4620, + 2060, + 2584, + 5636, + 2060, + 2588, + 4612, + 3598, + 3602, + 5136, + 3086, + 4114, + 7182, + 1548, + 4114, + 6672, + 2574, + 4116, + 8464, + 1548, + 3612, + 7176, + 2574, + 4122, + 8972, + 1550, + 4630, + 9490, + 1550, + 4632, + 7186, + 3602, + 4133, + 6662, + 4116, + 5146, + 5650, + 5142, + 4641, + 9484, + 3088, + 4641, + 7182, + 5140, + 4135, + 6156, + 5656, + 5658, + 8984, + 3604, + 5665, + 10514, + 2580, + 5163, + 6666, + 6170, + 5669, + 10002, + 4118, + 6179, + 8466, + 5658, + 5677, + 8462, + 6682, + 6185, + 8976, + 6170, + 6187, + 10002, + 5148, + 7207, + 11030, + 5146, + 7205, + 8476, + 7201, + 7215, + 10002, + 7198, + 8997, + 11030, + 5665, + 7727, + 10004, + 6179, + 8491, + 13082, + 5150, + 8493, + 10520, + 7715, + 9509, + 10529, + 8483, + 9515, + 12570, + 6179, + 10029, + 11548, + 8997, + 9525, + 12056, + 7719, + 11051, + 14625, + 5671, + 11057, + 13084, + 5677, + 11057, + 13601, + 7721, + 11569, + 15134, + 6185, + 11065, + 13084, + 9517, + 12085, + 14108, + 8493, + 12085, + 12577, + 10543, + 11581, + 13594, + 7729, + 13111, + 15640, + 5681, + 12597, + 15655, + 7729, + 12599, + 14635, + 9011, + 13117, + 15644, + 9523, + 14139, + 15646, + 10035, + 14143, + 15128, + 11571, + 14139, + 15655, + 11573, + 14143, + 16163, + 12087, + 14651, + 16177, + 10553, + 15167, + 16167, + 9533, + 15679, + 16177, + 14143, + 4126, + 6155, + 2317, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 63, + 0, + 0, + 0, + 0, + 0, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint32 z2[0]; + +uint32 grid6[0]; + +uint32 grid8[0]; + +Compact left_exit_s5 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 5, // screen + 0, // place + 0, // getToTable + 177, // xcood + 172, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 189-177, // mouseSize_x + 232-172, // mouseSize_y + LDOOR_5_ACTION, // actionScript +}; + +Compact right_exit_s6 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 6, // screen + 0, // place + 0, // getToTable + 447-11, // xcood + 136, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 11, // mouseSize_x + 300, // mouseSize_y + ER6_ACTION, // actionScript +}; + +Compact s6_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 6, // screen + 0, // place + s6_floor_table, // getToTable + 128, // xcood + 216, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 71, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 rs_foster_to_6[] = { + C_XCOOD, + 128, + C_YCOOD, + 128, + C_SCREEN, + 6, + C_PLACE, + ID_S6_FLOOR, + C_FRAME, + 12*64, + C_DIR, + 1, + 65535, +}; + +uint16 use_linc_anim[] = { + 151*64, + 269, + 223, + 0, + 269, + 223, + 1, + 269, + 223, + 2, + 269, + 223, + 2, + 269, + 223, + 2, + 269, + 223, + 2, + 269, + 223, + 2, + 269, + 223, + 1, + 269, + 223, + 0, + 0, +}; + +Compact stairs6 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 6, // screen + 0, // place + 0, // getToTable + 201, // xcood + 238, // ycood + 0, // frame + 37+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 238-201, // mouseSize_x + 246-238, // mouseSize_y + STAIR6_ACTION, // actionScript +}; + +uint16 rs_foster_6_3[] = { + C_XCOOD, + 424, + C_YCOOD, + 280, + C_SCREEN, + 3, + C_PLACE, + ID_S3_FLOOR, + C_DIR, + LEFT, + C_FRAME, + 12*64, + 65535, +}; + +Compact left_exit_s6 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 6, // screen + 0, // place + 0, // getToTable + 126, // xcood + 136, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 11, // mouseSize_x + 300, // mouseSize_y + EL6_ACTION, // actionScript +}; + +uint16 s7_pal[] = { + 0, + 512, + 0, + 516, + 1024, + 514, + 518, + 2050, + 516, + 1032, + 2564, + 1542, + 1548, + 2564, + 2056, + 1552, + 3588, + 1544, + 2064, + 3078, + 2570, + 2066, + 3076, + 3082, + 2070, + 4612, + 1546, + 2580, + 3590, + 3084, + 3088, + 4620, + 2060, + 2584, + 5636, + 2060, + 2588, + 4612, + 3598, + 3602, + 5136, + 3086, + 4114, + 7182, + 1548, + 4114, + 6672, + 2574, + 4116, + 8464, + 1548, + 3612, + 7176, + 2574, + 4122, + 8972, + 1550, + 4630, + 9490, + 1550, + 4632, + 7186, + 3602, + 4133, + 6662, + 4116, + 5146, + 5650, + 5142, + 4641, + 9484, + 3088, + 4641, + 7182, + 5140, + 4135, + 6156, + 5656, + 5658, + 8984, + 3604, + 5665, + 10514, + 2580, + 5163, + 6666, + 6170, + 5669, + 10002, + 4118, + 6179, + 8466, + 5658, + 5677, + 8462, + 6682, + 6185, + 8976, + 6170, + 6187, + 10002, + 5148, + 7207, + 11030, + 5146, + 7205, + 8476, + 7201, + 7215, + 10002, + 7198, + 8997, + 11030, + 5665, + 7727, + 10004, + 6179, + 8491, + 13082, + 5150, + 8493, + 10520, + 7715, + 9509, + 10529, + 8483, + 9515, + 12570, + 6179, + 10029, + 11548, + 8997, + 9525, + 12056, + 7719, + 11051, + 14625, + 5671, + 11057, + 13084, + 5677, + 11057, + 13601, + 7721, + 11569, + 15134, + 6185, + 11065, + 13084, + 9517, + 12085, + 14108, + 8493, + 12085, + 12577, + 10543, + 11581, + 13594, + 7729, + 13111, + 15640, + 5681, + 12597, + 15655, + 7729, + 12599, + 14635, + 9011, + 13117, + 15644, + 9523, + 14139, + 15646, + 10035, + 14143, + 15128, + 11571, + 14139, + 15655, + 11573, + 14143, + 16163, + 12087, + 14651, + 16177, + 10553, + 15167, + 16167, + 9533, + 15679, + 16177, + 14143, + 4126, + 6155, + 2317, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 63, + 0, + 0, + 0, + 0, + 0, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 rs_foster_7_6[] = { + C_XCOOD, + 456, + C_YCOOD, + 256, + C_SCREEN, + 6, + C_PLACE, + ID_S6_FLOOR, + 65535, +}; + +ExtCompact skorl_guard_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + DOWN, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_SKORL, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact skorl_guard = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_RECREATE+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 5, // screen + 0, // place + 0, // getToTable + 336, // xcood + 224, // ycood + 113*64+4, // frame + 38+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65520, // mouseRel_x + 65488, // mouseRel_y + 32, // mouseSize_x + 48, // mouseSize_y + SKORL_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + SKORL_LOGIC, // baseSub + 0, // baseSub_off + &skorl_guard_ext, +}; + +Compact s8_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 8, // screen + 0, // place + s8_floor_table, // getToTable + 224, // xcood + 311, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 336-224, // mouseSize_x + 32, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact factory_entry = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 7, // screen + 0, // place + 0, // getToTable + 356, // xcood + 177, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 240-177, // mouseSize_y + FACTORY_ENTRY_ACTION, // actionScript +}; + +uint16 s7_lift_close[] = { + 134*64, + 1, + 1, + 11, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 linc_table[] = { + ID_STD_RIGHT_TALK, + GT_R_TALK_7, + ID_S7_CARD_SLOT, + GT_S7_SLOT, + 65535, +}; + +Compact linc_s7 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 7, // screen + 0, // place + linc_table, // getToTable + 295, // xcood + 228, // ycood + 0, // frame + 51, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 316-295, // mouseSize_x + 267-228, // mouseSize_y + LINC_S7_ACTION, // actionScript +}; + +Compact lift7_light = { + L_SCRIPT, // logic + ST_RECREATE, // status + 0, // sync + 7, // screen + 0, // place + 0, // getToTable + 0XFF, // xcood + 0XAC, // ycood + 146*64, // frame +}; + +uint16 cable_cut_seq[] = { + 148*64, + 410, + 225, + 0, + 410, + 225, + 1, + 410, + 225, + 2, + 408, + 225, + 3, + 410, + 225, + 4, + 410, + 225, + 5, + 410, + 225, + 6, + 410, + 225, + 7, + 410, + 225, + 7, + 0, +}; + +uint16 rs_foster_0_5[] = { + C_XCOOD, + 360, + C_YCOOD, + 224, + C_SCREEN, + 5, + C_PLACE, + ID_S5_FLOOR, + C_FRAME, + 42+12*64, + C_MEGA_SET, + 1*NEXT_MEGA_SET, + 65535, +}; + +uint16 lamb_talk_right[] = { + 132*64, + 131*64+46, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 9, + 0, +}; + +void *data_2[] = { + s5_logic, + s5_mouse, + 0, + s5_chip_list, + s6_logic, + s6_mouse, + 0, + s6_chip_list, + &s6_floor, + upstairs1_seq, + upstairs2_seq, + rs_foster_to_6, + &cable_7, + &radman, + 0, + 0, + use_linc_anim, + &copter, + &stairs6, + &son, + dwn_stair2_seq, + rs_foster_6_3, + rs_joey_fly, + &joey_fly_6, + jostair1_seq, + jostair2_seq, + jostair3_seq, + rs_joey_to_6, + joey_list_s6, + &left_exit_s6, + rs_foster_to_5, + &s5_floor, + &right_exit_s5, + rs_foster_5_6, + &right_exit_s6, + s7_logic, + s7_mouse, + 0, + s7_chip_list, + &s7_floor, + s7_pal, + rs_foster_6_7, + &left_exit_s7, + rs_foster_7_6, + s5_pal, + s6_pal, + &left_exit_s5, + s18_logic, + s18_mouse, + s18_fast_list, + s18_chip_list, + &s18_floor, + s18_pal, + rs_foster_to_18, + &right_exit_s18, + rs_foster_18_5, + &security_exit_s6, + s9_logic, + s9_mouse, + 0, + s9_chip_list, + &s9_floor, + s9_pal, + rs_foster_to_9, + &left_exit_s9, + rs_foster_9_6, + joey_list_s18, + &steam, + steam1_seq, + steam2_seq, + steam3_seq, + steam4_seq, + &power_door, + door_blast_seq, + &power_motor, + power_stop_seq, + power_start_seq, + power_spin_seq, + &socket, + &power_switch, + &power_chair, + &left_skull, + &right_skull, + &power_bang, + power_bang_seq, + push_but_seq, + unpush_but_seq, + spanner_seq, + high_push_seq, + high_unpush_seq, + blowoff_seq, + 0, + sleep_seq, + monhit_seq, + joey_push_seq, + joey_unpush_seq, + steam_alert_seq, + rs_gordon_start, + &left_lever, + &right_lever, + &fans, + fans_seq, + 0, + &lobby_door, + lobby_up_seq, + lobby_down_seq, + &scanner, + &lobby_slot, + card_in_seq, + &dad, + dad_work_seq, + dad_work2_seq, + dad_work3_seq, + dwn_stair1_seq, + son_work_seq, + scan_seq, + scandie_seq, + &skorl_guard, + &security_exit, + skorl_anim, + s8_logic, + s8_mouse, + s8_fast_list, + s8_chip_list, + &s8_floor, + &right_exit_s7, + s8_pal, + rs_foster_7_8, + &down_exit_s8, + rs_foster_8_7, + grd_watch_seq, + grd_blink_seq, + &wreck_guard, + grid5, + grid6, + grid7, + grid8, + grid9, + grid18, + &factory_entry, + s12_chip_list, + s12_fast_list, + grid12, + s12_pal, + &s12_floor, + s12_mouse, + s12_logic, + rs_foster_7_12, + joey_list_12, + &factory_exit, + rs_foster_12_7, + rs_joey_start_12, + &fact1_right_exit, + s13_chip_list, + s13_fast_list, + grid13, + s13_pal, + &s13_floor, + s13_mouse, + s13_logic, + rs_foster_12_13, + &fact2_exit_left, + rs_foster_13_12, + &fact2_exit_right, + s14_chip_list, + s14_fast_list, + grid14, + s14_pal, + &s14_floor, + s14_mouse, + s14_logic, + rs_foster_13_14, + &fact3_exit_left, + rs_foster_14_13, + &fact2_store_exit, + s15_chip_list, + s15_fast_list, + grid15, + s15_pal, + &s15_flooor, + s15_mouse, + s15_logic, + rs_foster_13_15, + &store_exit, + rs_foster_15_13, + joey_list_15, + anita_work_seq, + &topbelt, + topbelt_seq, + &botbelt, + botbelt_seq, + &pipes, + pipes_seq, + &anita_spy, + anita_turn_seq, + anita_turn_back, + &welder, + welder_seq, + factory_spanner_seq, + 0, + anita_walk_seq, + &cogs, + cogs_seq, + &gears, + gears_seq, + &belts1, + belts1_seq, + &belts2, + belts2_seq, + &pipe1, + pipe1_seq, + &pipe2, + pipe2_seq, + &pipe3, + pipe3_seq, + &pipe4, + pipe4_seq, + fost_cog_seq, + &sensor, + sensor_seq, + &lite1, + lite1_seq, + &lite2, + lite2_seq, + 0, + foreman_work_seq, + &fact2_spy_and_window, + card_slot_anim, + &s7_card_slot, + &lift_notice, + &lift_s7, + s7_lift_open, + s7_lift_close, + &linc_s7, + &junction_box, + &whole_floor, + s15_fake_mouse, + swap1_seq, + swap2_seq, + swap3_seq, + cant_lift_seq, + s12_new_chip, + weld_seq, + &fact_console, + fact_console_seq, + fact_console_dead, + &flap, + flap_seq, + flip_seq, + &nu_floor, + &skey, + &wd40, + shelf_get_seq, + 0, + &floor_putty, + rs_storeman, + forfrisk_seq, + armsup_seq, + opencoat_seq, + fsearch_seq, + rs_foster, + rs_foreman, + closecoat, + rs_joey_15_13, + rs_anita_to_14, + joey_list_14, + 0, + &fact3_exit_right, + &locker3, + locker_open_seq, + locker_close_seq, + &locker2, + &locker1, + open_locker_seq, + close_locker_seq, + &machine, + &stump, + s16_chip_list, + s16_fast_list, + grid16, + s16_pal, + &s16_floor, + s16_mouse, + s16_logic, + rs_foster_14_16, + start_joey_14, + &entrance_exit, + rs_foster_16_14, + &reactor_console, + &reactor_door, + &rad_screen, + &console_14, + &coat, + change1_seq, + change2_seq, + change3_seq, + change4_seq, + change5_seq, + change6_seq, + nu_s13_chip, + change_back1, + change_back2, + change_back3, + change_back4, + change_back5, + change_back6, + rad_open_locker, + rad_close_locker, + &sensors, + nu_chip_18, + &reactor_lower, + s17_chip_list, + s17_fast_list, + grid17, + s17_pal, + &s17_floor, + s17_mouse, + s17_logic, + rs_foster_16_17, + &core_exit, + rs_foster_17_16, + &pulse, + pulse_seq, + &pulseb, + pulseb_seq, + &anita_card, + get_putty_seq, + lamblook_seq, + fost_con_look, + rad_con_look, + get_card_seq, + console_16_seq, + &console_12, + foster_die_seq, + foster2_die_seq, + foster_give_seq, + anita_give_seq, + &lift7_light, + rs_foster_29_7, + rs_joey_29_7, + lamb_card_seq, + weld_7_seq, + cable_cut_seq, + rs_foster_10_9, + &fake_floor_9, + rs_gordon_end, + rs_foster_0_5, + new_13_chip, + rs_lamb_start_fact, + 0, + lamb_talk_right, + &linc_s9, + &foreman, +}; + +uint32 table2[0]; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/65comp.h b/sky/compacts/65comp.h new file mode 100644 index 00000000000..2aa878e4b6b --- /dev/null +++ b/sky/compacts/65comp.h @@ -0,0 +1,610 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY65COMP_H +#define SKY65COMP_H + + + + +namespace SkyCompact { + +uint32 sc65_walk_grid[0]; + +Compact sc65_exit_48 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 65, // screen + 0, // place + 0, // getToTable + 128, // xcood + 161, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 140-128, // mouseSize_x + 327-161, // mouseSize_y + SC65_EXIT_48_ACTION, // actionScript +}; + +uint16 sc65_floor_table[] = { + ID_SC65_FLOOR, + RETURN_OK, + ID_SC65_POSTER1, + GT_SC65_POSTER1, + ID_SC65_POSTER2, + GT_SC65_POSTER2, + ID_SC65_SIGN, + GT_SC65_SIGN, + ID_SC65_EXIT_48, + GT_SC65_EXIT_48, + 0, + SC65_EXIT_48_WALK_ON, + ID_SC65_EXIT_66, + GT_SC65_EXIT_66, + 65535, +}; + +Compact sc65_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 65, // screen + 0, // place + sc65_floor_table, // getToTable + 128, // xcood + 272, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 375-128, // mouseSize_x + 327-272, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 reset_48_65[] = { + C_SCREEN, + 65, + C_PLACE, + ID_SC65_FLOOR, + C_XCOOD, + OFF_LEFT, + C_YCOOD, + 288, + 65535, +}; + +uint16 sc65_chip_list[] = { + IT_SC65_LAYER_0+DISK_13, + IT_SC65_LAYER_1+DISK_13, + IT_SC65_GRID_1+DISK_13, + 0, +}; + +Compact sc65_exit_66 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 65, // screen + 0, // place + 0, // getToTable + 376, // xcood + 240, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 386-376, // mouseSize_x + 306-240, // mouseSize_y + LINK_65_66, // actionScript +}; + +uint16 sc65_mouse_list[] = { + ID_SC65_POSTER1, + ID_SC65_POSTER2, + ID_SC65_SIGN, + ID_SC65_EXIT_48, + ID_SC65_EXIT_66, + ID_SC65_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc65_fast_list[] = { + 12+DISK_13, + 51+DISK_13, + 52+DISK_13, + 53+DISK_13, + 54+DISK_13, + 0, +}; + +Compact sc65_poster2 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 65, // screen + 0, // place + 0, // getToTable + 227, // xcood + 175, // ycood + 0, // frame + 17386, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 246-227, // mouseSize_x + 201-175, // mouseSize_y + SC65_POSTER2_ACTION, // actionScript +}; + +Compact sc65_poster1 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 65, // screen + 0, // place + 0, // getToTable + 204, // xcood + 175, // ycood + 0, // frame + 17386, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 224-204, // mouseSize_x + 201-175, // mouseSize_y + SC65_POSTER1_ACTION, // actionScript +}; + +Compact sc65_sign = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 65, // screen + 0, // place + 0, // getToTable + 310, // xcood + 177, // ycood + 0, // frame + 16677, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 347-310, // mouseSize_x + 201-177, // mouseSize_y + SC65_SIGN_ACTION, // actionScript +}; + +uint16 sc65_logic_list[] = { + ID_FOSTER, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc65_palette[] = { + 0, + 1280, + 1028, + 1540, + 1540, + 1541, + 1288, + 1540, + 1030, + 1544, + 1542, + 1543, + 2056, + 2565, + 1542, + 1799, + 3080, + 1030, + 2058, + 2053, + 1801, + 2058, + 2056, + 2314, + 2061, + 3846, + 1031, + 2571, + 3078, + 2314, + 2570, + 2571, + 2316, + 2320, + 4614, + 1033, + 3084, + 4618, + 1545, + 2830, + 3335, + 3083, + 3339, + 3852, + 2571, + 3596, + 4361, + 2059, + 2835, + 3334, + 3597, + 3343, + 3852, + 2318, + 3090, + 3339, + 3087, + 3092, + 5641, + 1547, + 3602, + 4105, + 3854, + 4110, + 3855, + 2577, + 3602, + 4109, + 3344, + 3604, + 4619, + 2832, + 3353, + 5127, + 4110, + 4116, + 4621, + 3856, + 4367, + 4114, + 3858, + 4880, + 5644, + 2576, + 4118, + 6412, + 2319, + 4625, + 6161, + 3088, + 4625, + 4628, + 3604, + 4630, + 4876, + 4370, + 5137, + 6418, + 3602, + 5652, + 7693, + 2065, + 5139, + 5908, + 3604, + 5651, + 6416, + 4116, + 5142, + 6933, + 3348, + 5653, + 5395, + 3864, + 5652, + 8214, + 2067, + 5654, + 5653, + 5654, + 6170, + 7434, + 3350, + 5403, + 5908, + 4377, + 6169, + 6935, + 5144, + 5665, + 6670, + 4378, + 6679, + 7959, + 4376, + 5924, + 6410, + 6426, + 7194, + 8468, + 3354, + 7196, + 9753, + 3864, + 6688, + 8726, + 6169, + 6950, + 9483, + 4378, + 7198, + 9243, + 2334, + 6442, + 8718, + 4893, + 7708, + 9246, + 6428, + 7715, + 7958, + 6943, + 7976, + 10766, + 2847, + 7721, + 8980, + 7711, + 8483, + 8481, + 8739, + 8487, + 11293, + 4386, + 9001, + 9493, + 8483, + 9514, + 11037, + 6182, + 10022, + 12325, + 2858, + 10542, + 12563, + 4903, + 10543, + 12830, + 5931, + 10794, + 11818, + 9002, + 12055, + 4159, + 16172, + 10760, + 63, + 16167, + 8960, + 57, + 13087, + 6912, + 45, + 10007, + 13878, + 11839, + 16175, + 10023, + 7999, + 16160, + 6167, + 4159, + 16144, + 2312, + 63, + 16129, + 0, + 63, + 15104, + 0, + 56, + 13568, + 0, + 50, + 12032, + 0, + 44, + 10496, + 0, + 38, + 8704, + 0, + 31, + 7168, + 0, + 25, + 5632, + 0, + 19, + 4096, + 13884, + 14655, + 16174, + 10038, + 13375, + 16159, + 5938, + 12095, + 16144, + 2093, + 10815, + 16128, + 38, + 8249, + 13056, + 29, + 6189, + 9984, + 20, + 4385, + 7168, + 13, + 2582, + 4096, + 13887, + 16191, + 16174, + 10047, + 16191, + 16159, + 5951, + 16191, + 16144, + 2111, + 16191, + 16128, + 56, + 12857, + 13056, + 45, + 10029, + 9984, + 33, + 6945, + 7168, + 22, + 4118, + 4096, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 2623, + 11569, + 10762, + 2609, + 12575, + 5130, + 13873, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/66comp.h b/sky/compacts/66comp.h new file mode 100644 index 00000000000..881e9a17107 --- /dev/null +++ b/sky/compacts/66comp.h @@ -0,0 +1,6686 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY66COMP_H +#define SKY66COMP_H + + +#include "67comp.h" +#include "71comp.h" +#include "68comp.h" +#include "72comp.h" +#include "69comp.h" +#include "70comp.h" +#include "73comp.h" +#include "74comp.h" +#include "75comp.h" +#include "76comp.h" +#include "77comp.h" +#include "78comp.h" +#include "79comp.h" +#include "80comp.h" +#include "81comp.h" +#include "82comp.h" + + +namespace SkyCompact { + +uint16 sc66_hi_beam_an1[] = { + 98*64, + 205, + 144, + 0, + 205, + 144, + 1, + 205, + 144, + 2, + 0, +}; + +uint16 sc66_door_close[] = { + 105*64, + 161, + 148, + 0, + 161, + 148, + 1, + 161, + 148, + 2, + 161, + 148, + 3, + 161, + 148, + 4, + 0, +}; + +uint16 sc75_dead_tlk[] = { + 162*64, + 162*64, + 167, + 238, + 0, + 167, + 238, + 0, + 167, + 238, + 1, + 167, + 238, + 1, + 167, + 238, + 2, + 167, + 238, + 2, + 167, + 238, + 0, + 167, + 238, + 0, + 167, + 238, + 3, + 167, + 238, + 3, + 167, + 238, + 0, + 167, + 238, + 0, + 167, + 238, + 1, + 167, + 238, + 1, + 167, + 238, + 2, + 167, + 238, + 2, + 167, + 238, + 3, + 167, + 238, + 3, + 167, + 238, + 3, + 167, + 238, + 3, + 167, + 238, + 1, + 167, + 238, + 1, + 167, + 238, + 1, + 167, + 238, + 1, + 0, +}; + +Compact sc66_rock3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 66, // screen + 0, // place + 0, // getToTable + 198, // xcood + 152, // ycood + 102*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC66_ROCK3_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc66_lo_beam = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 66, // screen + 0, // place + 0, // getToTable + 203, // xcood + 196, // ycood + 22*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC66_LO_BEAM_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc66_stones_anim[] = { + 103*64, + 199, + 144, + 0, + 199, + 144, + 0, + 199, + 144, + 0, + 199, + 144, + 0, + 187, + 144, + 1, + 187, + 152, + 2, + 187, + 165, + 3, + 187, + 187, + 4, + 188, + 217, + 5, + 188, + 224, + 6, + 0, +}; + +uint16 walter_conv[] = { + 129*64, + 129*64, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 1, + 249, + 214, + 1, + 249, + 214, + 2, + 249, + 214, + 2, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 2, + 249, + 214, + 3, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 3, + 249, + 214, + 0, + 249, + 214, + 4, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 4, + 249, + 214, + 4, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 5, + 249, + 214, + 0, + 249, + 214, + 2, + 249, + 214, + 2, + 249, + 214, + 3, + 249, + 214, + 3, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 4, + 249, + 214, + 4, + 249, + 214, + 0, + 249, + 214, + 5, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 5, + 249, + 214, + 0, + 249, + 214, + 2, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 5, + 249, + 214, + 5, + 249, + 214, + 0, + 249, + 214, + 3, + 249, + 214, + 4, + 249, + 214, + 4, + 249, + 214, + 5, + 249, + 214, + 4, + 249, + 214, + 2, + 249, + 214, + 2, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 1, + 249, + 214, + 1, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 3, + 249, + 214, + 3, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 0, + 249, + 214, + 0, + 0, +}; + +uint16 sc66_logic_list[] = { + ID_FOSTER, + ID_SC66_HI_BEAM, + ID_SC66_LO_BEAM, + ID_SC66_ROCK1, + ID_SC66_ROCK2, + ID_SC66_ROCK3, + ID_SC66_STONES, + ID_SC66_DOOR, + ID_SC66_HOLE, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +Compact sc66_stones = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 66, // screen + 0, // place + 0, // getToTable + 199, // xcood + 144, // ycood + 103*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC66_STONES_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc66_rock1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 66, // screen + 0, // place + 0, // getToTable + 175, // xcood + 139, // ycood + 100*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC66_ROCK1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc81_ken_talk1[] = { + 191*64, + 191*64, + 259, + 197, + 0, + 259, + 197, + 1, + 259, + 197, + 2, + 259, + 197, + 2, + 259, + 197, + 3, + 259, + 197, + 3, + 259, + 197, + 2, + 259, + 197, + 2, + 259, + 197, + 3, + 259, + 197, + 3, + 259, + 197, + 3, + 259, + 197, + 3, + 259, + 197, + 4, + 259, + 197, + 4, + 259, + 197, + 5, + 259, + 197, + 5, + 259, + 197, + 2, + 259, + 197, + 2, + 259, + 197, + 6, + 259, + 197, + 6, + 259, + 197, + 7, + 259, + 197, + 2, + 259, + 197, + 8, + 259, + 197, + 8, + 259, + 197, + 3, + 259, + 197, + 1, + 259, + 197, + 9, + 259, + 197, + 9, + 259, + 197, + 10, + 259, + 197, + 10, + 259, + 197, + 9, + 259, + 197, + 11, + 259, + 197, + 12, + 259, + 197, + 12, + 259, + 197, + 13, + 259, + 197, + 13, + 259, + 197, + 14, + 259, + 197, + 14, + 259, + 197, + 0, + 259, + 197, + 0, + 259, + 197, + 15, + 259, + 197, + 15, + 259, + 197, + 11, + 259, + 197, + 11, + 259, + 197, + 13, + 259, + 197, + 13, + 259, + 197, + 14, + 259, + 197, + 14, + 259, + 197, + 0, + 259, + 197, + 0, + 259, + 197, + 15, + 259, + 197, + 15, + 259, + 197, + 11, + 259, + 197, + 11, + 259, + 197, + 16, + 259, + 197, + 16, + 259, + 197, + 13, + 259, + 197, + 13, + 259, + 197, + 0, + 259, + 197, + 0, + 259, + 197, + 11, + 259, + 197, + 11, + 259, + 197, + 16, + 259, + 197, + 16, + 0, +}; + +Compact sc66_rock2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 66, // screen + 0, // place + 0, // getToTable + 185, // xcood + 149, // ycood + 101*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC66_ROCK2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc66_hi_beam_an2[] = { + 99*64, + 198, + 156, + 0, + 183, + 185, + 1, + 183, + 217, + 2, + 183, + 208, + 3, + 0, +}; + +uint16 stuck_talk[] = { + 102*64, + 102*64, + 361, + 224, + 0, + 361, + 224, + 0, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 2, + 361, + 224, + 2, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 3, + 361, + 224, + 3, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 0, + 361, + 224, + 0, + 361, + 224, + 3, + 361, + 224, + 2, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 2, + 361, + 224, + 2, + 361, + 224, + 3, + 361, + 224, + 3, + 361, + 224, + 0, + 361, + 224, + 0, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 2, + 361, + 224, + 2, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 3, + 361, + 224, + 3, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 0, + 361, + 224, + 0, + 361, + 224, + 3, + 361, + 224, + 2, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 2, + 361, + 224, + 2, + 361, + 224, + 3, + 361, + 224, + 3, + 361, + 224, + 0, + 361, + 224, + 0, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 2, + 361, + 224, + 2, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 3, + 361, + 224, + 3, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 0, + 361, + 224, + 0, + 361, + 224, + 3, + 361, + 224, + 2, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 2, + 361, + 224, + 2, + 361, + 224, + 3, + 361, + 224, + 3, + 0, +}; + +uint16 sc66_chip_list[] = { + IT_SC66_FOS_WALK_IN+DISK_5, + IT_SC66_FOS_CRUSHED+DISK_5, + IT_SC66_DOOR+DISK_5, + IT_SC66_HI_BEAM_AN1+DISK_5, + IT_SC66_HI_BEAM_AN2+DISK_5, + IT_SC66_LO_BEAM_ANM+DISK_5, + IT_SC66_ROCK1+DISK_5, + IT_SC66_ROCK2+DISK_5, + IT_SC66_ROCK3+DISK_5, + IT_SC66_STONES+DISK_5, + 106+DISK_5, + 107+DISK_5, + 0, +}; + +uint16 medi_talk_up[] = { + 0+180*64, + 0+32*64, + 1, + 1, + 3, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 2, + 0, +}; + +uint16 sc82_ken_sat_tlk[] = { + 215*64, + 215*64, + 262, + 209, + 0, + 262, + 209, + 1, + 262, + 209, + 1, + 262, + 209, + 2, + 262, + 209, + 2, + 262, + 209, + 1, + 262, + 209, + 1, + 262, + 209, + 3, + 262, + 209, + 3, + 262, + 209, + 1, + 262, + 209, + 1, + 262, + 209, + 0, + 262, + 209, + 0, + 262, + 209, + 3, + 262, + 209, + 2, + 262, + 209, + 1, + 262, + 209, + 1, + 262, + 209, + 2, + 262, + 209, + 2, + 262, + 209, + 3, + 262, + 209, + 3, + 262, + 209, + 0, + 262, + 209, + 0, + 262, + 209, + 1, + 262, + 209, + 1, + 262, + 209, + 2, + 262, + 209, + 2, + 262, + 209, + 1, + 262, + 209, + 1, + 262, + 209, + 3, + 262, + 209, + 3, + 262, + 209, + 1, + 262, + 209, + 1, + 262, + 209, + 0, + 262, + 209, + 0, + 262, + 209, + 3, + 262, + 209, + 2, + 262, + 209, + 1, + 262, + 209, + 1, + 262, + 209, + 2, + 262, + 209, + 2, + 262, + 209, + 3, + 262, + 209, + 3, + 262, + 209, + 0, + 262, + 209, + 0, + 262, + 209, + 1, + 262, + 209, + 1, + 262, + 209, + 2, + 262, + 209, + 2, + 262, + 209, + 1, + 262, + 209, + 1, + 262, + 209, + 3, + 262, + 209, + 3, + 262, + 209, + 1, + 262, + 209, + 1, + 262, + 209, + 0, + 262, + 209, + 0, + 262, + 209, + 3, + 262, + 209, + 2, + 262, + 209, + 1, + 262, + 209, + 1, + 262, + 209, + 2, + 262, + 209, + 2, + 262, + 209, + 3, + 262, + 209, + 3, + 262, + 209, + 0, + 0, +}; + +uint16 sc81_ken_talk2[] = { + 193*64, + 193*64, + 221, + 240, + 0, + 221, + 240, + 1, + 221, + 240, + 1, + 221, + 240, + 0, + 221, + 240, + 0, + 221, + 240, + 2, + 221, + 240, + 2, + 221, + 240, + 3, + 221, + 240, + 1, + 221, + 240, + 0, + 221, + 240, + 0, + 221, + 240, + 3, + 221, + 240, + 3, + 221, + 240, + 2, + 221, + 240, + 2, + 221, + 240, + 1, + 221, + 240, + 1, + 221, + 240, + 3, + 221, + 240, + 3, + 221, + 240, + 2, + 221, + 240, + 1, + 221, + 240, + 0, + 221, + 240, + 0, + 221, + 240, + 1, + 221, + 240, + 1, + 221, + 240, + 0, + 221, + 240, + 0, + 221, + 240, + 2, + 221, + 240, + 2, + 221, + 240, + 3, + 221, + 240, + 1, + 221, + 240, + 0, + 221, + 240, + 0, + 221, + 240, + 3, + 221, + 240, + 3, + 221, + 240, + 2, + 221, + 240, + 2, + 221, + 240, + 1, + 221, + 240, + 1, + 221, + 240, + 3, + 221, + 240, + 3, + 221, + 240, + 2, + 221, + 240, + 1, + 221, + 240, + 0, + 0, +}; + +uint16 android_babble[] = { + 72*64, + 67*64, + 271, + 204, + 0, + 271, + 204, + 0, + 271, + 204, + 1, + 271, + 204, + 1, + 271, + 204, + 2, + 271, + 204, + 2, + 271, + 204, + 1, + 271, + 204, + 1, + 271, + 204, + 2, + 271, + 204, + 2, + 271, + 204, + 1, + 271, + 204, + 1, + 271, + 204, + 0, + 271, + 204, + 0, + 271, + 204, + 1, + 271, + 204, + 1, + 271, + 204, + 0, + 271, + 204, + 0, + 271, + 204, + 2, + 271, + 204, + 2, + 271, + 204, + 0, + 271, + 204, + 0, + 271, + 204, + 1, + 271, + 204, + 1, + 0, +}; + +uint16 sc66_rock2_anim[] = { + 101*64, + 185, + 149, + 0, + 185, + 149, + 0, + 185, + 149, + 0, + 181, + 149, + 1, + 181, + 169, + 2, + 181, + 204, + 2, + 171, + 188, + 3, + 164, + 184, + 4, + 154, + 187, + 5, + 0, +}; + +uint16 sc82_jobs_talk[] = { + 211*64, + 211*64, + 312, + 200, + 0, + 312, + 200, + 0, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 0, + 312, + 200, + 0, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 0, + 312, + 200, + 0, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 0, + 312, + 200, + 0, + 312, + 200, + 0, + 312, + 200, + 0, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 0, + 312, + 200, + 0, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 0, + 312, + 200, + 0, + 0, +}; + +uint16 ken_talk_left[] = { + 71*64, + 42+61*64, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 9, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 8, + 0, +}; + +uint16 sc75_freeze_tlk[] = { + 159*64, + 159*64, + 181, + 240, + 0, + 181, + 240, + 0, + 181, + 240, + 1, + 181, + 240, + 1, + 181, + 240, + 2, + 181, + 240, + 2, + 181, + 240, + 0, + 181, + 240, + 0, + 181, + 240, + 3, + 181, + 240, + 3, + 181, + 240, + 0, + 181, + 240, + 0, + 181, + 240, + 1, + 181, + 240, + 1, + 181, + 240, + 2, + 181, + 240, + 2, + 181, + 240, + 3, + 181, + 240, + 3, + 181, + 240, + 3, + 181, + 240, + 3, + 181, + 240, + 1, + 181, + 240, + 1, + 181, + 240, + 1, + 181, + 240, + 1, + 0, +}; + +uint16 fost_pipe_talk[] = { + 105*64, + 105*64, + 311, + 164, + 0, + 311, + 164, + 1, + 311, + 164, + 2, + 311, + 164, + 2, + 311, + 164, + 1, + 311, + 164, + 1, + 311, + 164, + 2, + 311, + 164, + 2, + 311, + 164, + 3, + 311, + 164, + 3, + 311, + 164, + 1, + 311, + 164, + 1, + 311, + 164, + 2, + 311, + 164, + 2, + 311, + 164, + 4, + 311, + 164, + 4, + 311, + 164, + 1, + 311, + 164, + 1, + 311, + 164, + 4, + 311, + 164, + 4, + 311, + 164, + 3, + 311, + 164, + 3, + 311, + 164, + 4, + 311, + 164, + 4, + 311, + 164, + 0, + 311, + 164, + 1, + 311, + 164, + 2, + 311, + 164, + 2, + 311, + 164, + 1, + 311, + 164, + 1, + 311, + 164, + 2, + 311, + 164, + 2, + 311, + 164, + 3, + 311, + 164, + 3, + 311, + 164, + 1, + 311, + 164, + 1, + 311, + 164, + 2, + 311, + 164, + 2, + 311, + 164, + 4, + 311, + 164, + 4, + 311, + 164, + 1, + 311, + 164, + 1, + 311, + 164, + 4, + 311, + 164, + 4, + 311, + 164, + 3, + 311, + 164, + 3, + 311, + 164, + 4, + 311, + 164, + 4, + 0, +}; + +uint16 ken_talk_up[] = { + 71*64, + 44+61*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 1, + 0, +}; + +uint16 sc66_mouse_list[] = { + ID_SC66_HOLE, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc66_hi_beam = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 66, // screen + 0, // place + 0, // getToTable + 205, // xcood + 144, // ycood + 98*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC66_HI_BEAM_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 gall_talk_up[] = { + 91*64, + 36+90*64, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 0, +}; + +uint16 walter_talk_up[] = { + 130*64, + 36+159*64, + 341, + 214, + 0, + 341, + 214, + 1, + 341, + 214, + 0, + 341, + 214, + 2, + 341, + 214, + 2, + 341, + 214, + 0, + 341, + 214, + 0, + 341, + 214, + 0, + 341, + 214, + 1, + 341, + 214, + 0, + 341, + 214, + 2, + 341, + 214, + 0, + 341, + 214, + 1, + 341, + 214, + 1, + 341, + 214, + 2, + 341, + 214, + 2, + 341, + 214, + 2, + 341, + 214, + 0, + 341, + 214, + 0, + 341, + 214, + 2, + 341, + 214, + 2, + 341, + 214, + 1, + 341, + 214, + 0, + 341, + 214, + 1, + 341, + 214, + 0, + 341, + 214, + 2, + 341, + 214, + 2, + 341, + 214, + 0, + 341, + 214, + 0, + 341, + 214, + 0, + 341, + 214, + 1, + 341, + 214, + 0, + 341, + 214, + 2, + 341, + 214, + 0, + 341, + 214, + 1, + 341, + 214, + 1, + 341, + 214, + 2, + 341, + 214, + 2, + 341, + 214, + 2, + 341, + 214, + 0, + 341, + 214, + 0, + 341, + 214, + 2, + 341, + 214, + 2, + 341, + 214, + 1, + 0, +}; + +uint16 medi_talk_right[] = { + 180*64, + 24+32*64, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 15, + 1, + 1, + 13, + 1, + 1, + 12, + 1, + 1, + 14, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 15, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 12, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 15, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 15, + 1, + 1, + 13, + 1, + 1, + 12, + 1, + 1, + 14, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 15, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 12, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 15, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 15, + 1, + 1, + 13, + 1, + 1, + 12, + 1, + 1, + 14, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 15, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 12, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 15, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 15, + 0, +}; + +uint16 sc66_rock3_anim[] = { + 102*64, + 198, + 152, + 0, + 198, + 152, + 0, + 198, + 152, + 0, + 198, + 152, + 0, + 198, + 152, + 0, + 194, + 152, + 1, + 194, + 172, + 2, + 194, + 207, + 2, + 202, + 193, + 3, + 209, + 192, + 4, + 219, + 194, + 5, + 226, + 207, + 6, + 225, + 237, + 7, + 232, + 237, + 8, + 237, + 238, + 9, + 242, + 246, + 10, + 247, + 249, + 11, + 250, + 251, + 12, + 0, +}; + +uint16 gall_talk_left[] = { + 91*64, + 34+90*64, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 3, + 1, + 1, + 3, + 0, +}; + +uint16 medi_talk_down[] = { + 180*64, + 8+32*64, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 7, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 7, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 7, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 7, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 7, + 0, +}; + +uint16 sc66_lo_beam_anm[] = { + 22*64, + 203, + 196, + 0, + 203, + 196, + 1, + 0, +}; + +uint16 sc81_dad_tlk[] = { + 173*64, + 173*64, + 264, + 212, + 0, + 264, + 212, + 0, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 2, + 264, + 212, + 2, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 4, + 264, + 212, + 4, + 264, + 212, + 0, + 264, + 212, + 0, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 0, + 264, + 212, + 0, + 264, + 212, + 2, + 264, + 212, + 2, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 4, + 264, + 212, + 4, + 264, + 212, + 2, + 264, + 212, + 2, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 4, + 264, + 212, + 4, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 4, + 264, + 212, + 4, + 264, + 212, + 0, + 264, + 212, + 0, + 264, + 212, + 4, + 264, + 212, + 4, + 264, + 212, + 0, + 264, + 212, + 0, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 2, + 264, + 212, + 2, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 4, + 264, + 212, + 4, + 264, + 212, + 0, + 264, + 212, + 0, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 2, + 264, + 212, + 2, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 2, + 264, + 212, + 2, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 4, + 264, + 212, + 4, + 0, +}; + +uint16 reset_66[] = { + C_SCREEN, + 66, + 65535, +}; + +uint16 sc66_fos_crushed[] = { + 104*64, + 177, + 170, + 0, + 175, + 171, + 1, + 168, + 189, + 2, + 0, +}; + +uint16 fost_conv_left[] = { + 133*64, + 133*64, + 290, + 194, + 0, + 290, + 194, + 0, + 290, + 194, + 1, + 290, + 194, + 1, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 0, + 290, + 194, + 0, + 290, + 194, + 3, + 290, + 194, + 3, + 290, + 194, + 1, + 290, + 194, + 1, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 0, + 290, + 194, + 0, + 290, + 194, + 1, + 290, + 194, + 1, + 290, + 194, + 0, + 290, + 194, + 0, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 1, + 290, + 194, + 1, + 290, + 194, + 0, + 290, + 194, + 0, + 290, + 194, + 3, + 290, + 194, + 3, + 290, + 194, + 3, + 290, + 194, + 3, + 290, + 194, + 1, + 290, + 194, + 1, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 0, + 290, + 194, + 0, + 290, + 194, + 1, + 290, + 194, + 1, + 290, + 194, + 0, + 290, + 194, + 0, + 290, + 194, + 1, + 290, + 194, + 1, + 290, + 194, + 1, + 290, + 194, + 1, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 3, + 290, + 194, + 3, + 290, + 194, + 3, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 2, + 290, + 194, + 1, + 290, + 194, + 1, + 290, + 194, + 3, + 290, + 194, + 3, + 0, +}; + +uint32 sec5_compacts[0]; + +uint16 sc81_fos_sat_tlk[] = { + 205*64, + 205*64, + 264, + 212, + 0, + 264, + 212, + 0, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 2, + 264, + 212, + 2, + 264, + 212, + 0, + 264, + 212, + 0, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 0, + 264, + 212, + 0, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 4, + 264, + 212, + 4, + 264, + 212, + 1, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 1, + 0, +}; + +uint16 walter_talk_dwn[] = { + 131*64, + 32+159*64, + 297, + 214, + 0, + 297, + 214, + 0, + 297, + 214, + 1, + 297, + 214, + 2, + 297, + 214, + 2, + 297, + 214, + 0, + 297, + 214, + 2, + 297, + 214, + 3, + 297, + 214, + 3, + 297, + 214, + 2, + 297, + 214, + 0, + 297, + 214, + 0, + 297, + 214, + 3, + 297, + 214, + 3, + 297, + 214, + 2, + 297, + 214, + 0, + 297, + 214, + 1, + 297, + 214, + 1, + 297, + 214, + 2, + 297, + 214, + 0, + 297, + 214, + 2, + 297, + 214, + 1, + 297, + 214, + 0, + 297, + 214, + 0, + 297, + 214, + 1, + 297, + 214, + 2, + 297, + 214, + 2, + 297, + 214, + 0, + 297, + 214, + 2, + 297, + 214, + 3, + 297, + 214, + 3, + 297, + 214, + 2, + 297, + 214, + 0, + 297, + 214, + 0, + 297, + 214, + 3, + 297, + 214, + 3, + 297, + 214, + 2, + 297, + 214, + 0, + 297, + 214, + 1, + 297, + 214, + 1, + 297, + 214, + 2, + 297, + 214, + 0, + 297, + 214, + 2, + 297, + 214, + 1, + 0, +}; + +uint16 sc66_fos_walk_in[] = { + 21*64, + 161, + 153, + 0, + 161, + 154, + 1, + 161, + 154, + 2, + 162, + 154, + 3, + 162, + 154, + 4, + 162, + 154, + 5, + 162, + 154, + 6, + 164, + 154, + 7, + 165, + 155, + 8, + 166, + 156, + 9, + 167, + 156, + 10, + 167, + 156, + 11, + 168, + 158, + 12, + 170, + 160, + 13, + 170, + 161, + 14, + 171, + 162, + 15, + 172, + 162, + 16, + 173, + 162, + 17, + 174, + 165, + 18, + 178, + 169, + 19, + 179, + 169, + 20, + 178, + 169, + 21, + 179, + 169, + 22, + 179, + 169, + 23, + 178, + 169, + 24, + 177, + 170, + 25, + 177, + 170, + 25, + 177, + 170, + 25, + 177, + 170, + 26, + 0, +}; + +uint16 medi_talk_left[] = { + 180*64, + 16+32*64, + 1, + 1, + 11, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 11, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 8, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 11, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 8, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 11, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 10, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 8, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 10, + 1, + 1, + 11, + 0, +}; + +uint16 ken_talk_down[] = { + 71*64, + 40+61*64, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 5, + 0, +}; + +uint16 sc81_dad_tlk2[] = { + 178*64, + 178*64, + 278, + 256, + 0, + 278, + 256, + 0, + 278, + 256, + 1, + 278, + 256, + 1, + 278, + 256, + 2, + 278, + 256, + 2, + 278, + 256, + 3, + 278, + 256, + 3, + 278, + 256, + 4, + 278, + 256, + 5, + 278, + 256, + 6, + 278, + 256, + 7, + 278, + 256, + 0, + 278, + 256, + 0, + 278, + 256, + 2, + 278, + 256, + 2, + 278, + 256, + 7, + 278, + 256, + 7, + 278, + 256, + 0, + 278, + 256, + 0, + 278, + 256, + 8, + 278, + 256, + 8, + 278, + 256, + 7, + 278, + 256, + 7, + 278, + 256, + 1, + 278, + 256, + 1, + 278, + 256, + 2, + 278, + 256, + 2, + 278, + 256, + 0, + 278, + 256, + 0, + 278, + 256, + 8, + 278, + 256, + 8, + 278, + 256, + 7, + 278, + 256, + 3, + 278, + 256, + 3, + 278, + 256, + 1, + 278, + 256, + 9, + 278, + 256, + 10, + 278, + 256, + 11, + 278, + 256, + 0, + 278, + 256, + 0, + 278, + 256, + 8, + 278, + 256, + 8, + 278, + 256, + 2, + 278, + 256, + 2, + 278, + 256, + 0, + 278, + 256, + 0, + 278, + 256, + 8, + 278, + 256, + 8, + 278, + 256, + 7, + 278, + 256, + 7, + 278, + 256, + 0, + 278, + 256, + 0, + 278, + 256, + 2, + 278, + 256, + 2, + 278, + 256, + 3, + 278, + 256, + 3, + 278, + 256, + 1, + 278, + 256, + 1, + 278, + 256, + 2, + 278, + 256, + 2, + 278, + 256, + 0, + 278, + 256, + 0, + 278, + 256, + 1, + 0, +}; + +uint16 ken_talk_right[] = { + 71*64, + 46+61*64, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 14, + 1, + 1, + 14, + 1, + 1, + 13, + 1, + 1, + 13, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 14, + 1, + 1, + 14, + 1, + 1, + 13, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 13, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 14, + 1, + 1, + 14, + 1, + 1, + 13, + 1, + 1, + 13, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 14, + 1, + 1, + 14, + 1, + 1, + 13, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 13, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 14, + 1, + 1, + 14, + 1, + 1, + 13, + 1, + 1, + 13, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 14, + 1, + 1, + 14, + 1, + 1, + 13, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 11, + 1, + 1, + 13, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 12, + 0, +}; + +uint16 walter_talk_lft[] = { + 132*64, + 34+159*64, + 380, + 214, + 0, + 380, + 214, + 1, + 380, + 214, + 1, + 380, + 214, + 2, + 380, + 214, + 0, + 380, + 214, + 3, + 380, + 214, + 3, + 380, + 214, + 1, + 380, + 214, + 1, + 380, + 214, + 0, + 380, + 214, + 2, + 380, + 214, + 3, + 380, + 214, + 2, + 380, + 214, + 3, + 380, + 214, + 1, + 380, + 214, + 0, + 380, + 214, + 0, + 380, + 214, + 1, + 380, + 214, + 1, + 380, + 214, + 0, + 380, + 214, + 1, + 380, + 214, + 1, + 380, + 214, + 0, + 380, + 214, + 1, + 380, + 214, + 1, + 380, + 214, + 2, + 380, + 214, + 0, + 380, + 214, + 3, + 380, + 214, + 3, + 380, + 214, + 1, + 380, + 214, + 1, + 380, + 214, + 0, + 380, + 214, + 2, + 380, + 214, + 3, + 380, + 214, + 2, + 380, + 214, + 3, + 380, + 214, + 1, + 380, + 214, + 0, + 380, + 214, + 0, + 380, + 214, + 1, + 380, + 214, + 1, + 380, + 214, + 0, + 380, + 214, + 1, + 380, + 214, + 1, + 0, +}; + +uint16 sc81_ken_sat_tlk[] = { + 198*64, + 198*64, + 264, + 212, + 0, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 2, + 264, + 212, + 2, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 0, + 264, + 212, + 0, + 264, + 212, + 3, + 264, + 212, + 2, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 2, + 264, + 212, + 2, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 0, + 264, + 212, + 0, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 2, + 264, + 212, + 2, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 0, + 264, + 212, + 0, + 264, + 212, + 3, + 264, + 212, + 2, + 264, + 212, + 1, + 264, + 212, + 1, + 264, + 212, + 2, + 264, + 212, + 2, + 264, + 212, + 3, + 264, + 212, + 3, + 264, + 212, + 0, + 0, +}; + +uint16 sc82_jobs_talk2[] = { + 212*64, + 212*64, + 312, + 200, + 0, + 312, + 200, + 0, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 0, + 312, + 200, + 0, + 312, + 200, + 4, + 312, + 200, + 4, + 312, + 200, + 5, + 312, + 200, + 5, + 312, + 200, + 6, + 312, + 200, + 6, + 312, + 200, + 7, + 312, + 200, + 7, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 8, + 312, + 200, + 8, + 312, + 200, + 9, + 312, + 200, + 9, + 312, + 200, + 10, + 312, + 200, + 10, + 312, + 200, + 9, + 312, + 200, + 9, + 312, + 200, + 8, + 312, + 200, + 8, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 0, + 312, + 200, + 0, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 1, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 2, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 3, + 312, + 200, + 0, + 312, + 200, + 0, + 0, +}; + +Compact sc66_hole = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC, // status + 0, // sync + 66, // screen + 0, // place + 0, // getToTable + 385, // xcood + 282, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 400-385, // mouseSize_x + 322-282, // mouseSize_y + SC66_HOLE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC66_TIMER_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc66_rock1_anim[] = { + 100*64, + 175, + 139, + 0, + 175, + 150, + 1, + 174, + 173, + 2, + 174, + 204, + 3, + 175, + 205, + 4, + 177, + 206, + 5, + 177, + 206, + 6, + 0, +}; + +uint16 sc66_fast_list[] = { + 135+DISK_5, + IT_SC66_LAYER_0+DISK_5, + 0, +}; + +uint16 sc66_palette[] = { + 0, + 10752, + 6433, + 6436, + 7697, + 2833, + 2323, + 7, + 0, + 8240, + 11026, + 2585, + 5157, + 8202, + 14, + 2330, + 5120, + 35, + 6154, + 10752, + 10794, + 7453, + 11293, + 2056, + 2579, + 2560, + 0, + 12593, + 6193, + 780, + 1809, + 7168, + 10, + 3872, + 9217, + 1042, + 4124, + 6151, + 6, + 5150, + 8969, + 2838, + 780, + 11520, + 2331, + 1293, + 4864, + 2, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 14392, + 14336, + 56, + 0, + 10752, + 6433, + 9777, + 10781, + 6433, + 6436, + 7697, + 2833, + 2323, + 7, + 0, + 0, + 13312, + 4898, + 8240, + 11026, + 2585, + 5157, + 8202, + 14, + 2330, + 11264, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 14084, + 10798, + 10802, + 10532, + 6178, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 14399, + 56, + 14392, + 14336, + 56, + 14392, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact sc66_door = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 66, // screen + 0, // place + 0, // getToTable + 161, // xcood + 148, // ycood + 105*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC66_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +void *data_5[] = { + 0, + sc66_fast_list, + sc66_chip_list, + sc66_logic_list, + sc66_mouse_list, + sc66_palette, + reset_66, + &sc66_hole, + sc67_fast_list, + sc67_chip_list, + sc67_logic_list, + sc67_mouse_list, + sc67_palette, + &sc67_pulse1, + &sc67_pulse2, + &sc67_pulse3, + &sc67_pulse4, + sc67_pulse1_anim, + sc67_pulse2_anim, + sc67_pulse3_anim, + sc67_pulse4_anim, + &sc67_floor, + grid67, + &sc67_brickwork, + &sc67_rock, + sc67_rock_anim, + &sc67_door, + &sc67_clot, + sc67_door_open, + sc67_door_close, + &sc67_vein, + &medi, + sc68_fast_list, + sc68_chip_list, + sc68_logic_list, + sc68_mouse_list, + sc68_palette, + reset_67_68, + &sc68_door, + &sc68_floor, + grid68, + sc67_crawl, + sc67_dustoff, + reset_66_67, + sc67_getbrick, + sc67_plast_fall, + &sc67_plaster, + &sc67_brick, + sc67_brick_fall, + reset_68_67, + &sc68_grill, + &sc68_sensor, + &sc68_stairs, + sc68_door_close, + &sc68_pulse1, + &sc68_pulse2, + &sc68_pulse3, + &sc68_pulse4, + &sc68_pulse5, + &sc68_pulse6, + sc68_pulse1_anim, + sc68_pulse2_anim, + sc68_pulse3_anim, + sc68_pulse4_anim, + sc68_pulse5_anim, + sc68_pulse6_anim, + sc72_fast_list, + sc72_chip_list, + sc72_logic_list, + sc72_mouse_list, + sc72_palette, + &sc72_fake_floor, + sc69_fast_list, + sc69_chip_list, + sc69_logic_list, + sc69_mouse_list, + sc69_palette, + &sc69_floor, + &sc68_exit, + reset_68_69, + &sc69_exit, + reset_69_68, + &sc69_grill, + grid69, + sc71_fast_list, + sc71_chip_list, + sc71_logic_list, + sc71_mouse_list, + sc71_palette, + &sc71_fake_floor, + &sc69_door, + reset_69_71, + &sc71_floor, + &sc71_door69, + reset_71_69, + grid71, + &sc71_monitor, + &sc71_recharger, + &sc71_controls, + &sc71_door72, + &sc72_floor, + reset_71_72, + reset_72_71, + &sc72_door, + &sc72_tank, + &sc72_chamber1, + &sc72_chamber2, + &sc72_grill, + &sc72_tap, + sc70_fast_list, + sc70_chip_list, + sc70_logic_list, + sc70_mouse_list, + sc70_palette, + reset_68_70, + &sc70_floor, + grid72, + grid70, + &sc70_door, + reset_70_68, + &sc70_iris, + &sc70_bar, + &sc70_control, + &sc70_grill, + &sc72_exit, + sc73_fast_list, + sc73_chip_list, + sc73_logic_list, + sc73_mouse_list, + sc73_palette, + reset_72_73, + &sc73_floor, + grid73, + &sc73_exit, + reset_73_72, + &sc73_chamber4, + &sc73_chamber5, + &sc73_big_door, + &sc73_sensor, + &sc73_door, + sc74_fast_list, + sc74_chip_list, + sc74_logic_list, + sc74_mouse_list, + sc74_palette, + reset_73_74, + &sc74_floor, + grid74, + &sc74_door, + reset_74_73, + &sc74_monitor1, + &sc74_left_tv, + &sc74_right_tv, + &sc74_interface, + &sc74_terminal, + &sc69_pulse1, + &sc69_pulse2, + &sc69_pulse3, + &sc69_pulse4, + &sc69_pulse5, + &sc69_pulse6, + sc69_pulse1_anim, + sc69_pulse2_anim, + sc69_pulse3_anim, + sc69_pulse4_anim, + sc69_pulse5_anim, + sc69_pulse6_anim, + sc70_consol_anim, + &sc70_pit, + sc70_pit_anim, + sc67_pick_brick, + sc67_pick_plast, + sc67_stick_in, + sc67_pull_out, + sc67_brick_hit, + sc67_plast_hit, + sc68_sensor_anim, + sc73_sensor_anim, + sc73_cham4_anim, + &sc74_int_slot, + &sc75_tongs, + sc67_lpocket, + sc67_rpocket, + sc67_rub_head, + sc75_fast_list, + sc75_chip_list, + sc75_logic_list, + sc75_mouse_list, + sc75_palette, + reset_73_75, + &sc75_floor, + grid75, + &sc75_big_door, + reset_75_73, + &sc71_locked_door, + &sc71_medi_slot, + &sc73_locked_door, + sc67_try_stick, + &sc67_crowbar, + sc67_bar_fall, + sc67_puss_leak, + sc67_medifix, + &sc67_mend, + sc67_mending, + sc68_descend, + sc68_ascend, + sc720_chip_list, + sc710_chip_list, + sc76_fast_list, + sc76_chip_list, + sc76_logic_list, + sc76_mouse_list, + sc76_palette, + reset_75_76, + &sc76_floor, + grid76, + &sc75_door, + &sc76_door75, + reset_76_75, + &sc75_nitro_tank, + &sc75_live_tank, + sc75_crash_anim, + sc74_usecard, + &sc75_console, + sc74_usecard2, + &sc76_android_1, + &sc76_android_2, + &sc76_android_3, + 0, + 0, + rs_tongs_timer, + &sc76_console_1, + &sc76_console_2, + &sc76_console_3, + &sc76_cabinet_1, + &sc76_cabinet_2, + &sc76_cabinet_3, + sc77_fast_list, + sc77_chip_list, + sc77_logic_list, + sc77_mouse_list, + sc77_palette, + reset_76_77, + &sc77_floor, + grid77, + &sc76_door77, + &sc77_door76, + reset_77_76, + &sc77_big_door, + &sc77_tank_1, + &sc77_tank_2, + &sc77_hand_1, + &sc77_hand_2, + sc78_fast_list, + sc78_chip_list, + sc78_logic_list, + sc78_mouse_list, + sc78_palette, + reset_77_78, + &sc78_ledge, + grid78, + &sc78_big_door, + reset_78_77, + &sc78_exit, + sc79_fast_list, + sc79_chip_list, + sc79_logic_list, + sc79_mouse_list, + sc79_palette, + reset_78_79, + &sc79_pipe, + grid79, + &sc79_exit, + reset_79_78, + &witness, + sc73_cham5_anim, + sc70_step_up, + sc70_step_down, + sc70_bar_anim, + sc70_pull_bar, + sc77_door_open, + &sc72_chamber3, + 0, + 0, + 0, + &sc72_computer, + &sc71_light1, + sc71_light1_anim, + sc71_light2_anim, + &sc71_chlite, + sc71_chlite_anim, + sc71_mon_anim, + sc71_medi_charge, + sc71_use_board, + sc71_medi_get_up, + &sc71_panel2, + sc71_panel_anim, + sc71_panel2_anim, + sc70_enter_anim, + sc70_exit_anim, + &sc72_cham1_light, + sc72_cham1_flash, + &sc72_cham2_light, + sc72_cham2_flash, + sc68_joey_list, + sc72_tank_anim, + sc72_comp_flash, + &sc72_computer2, + sc72_comp2_flash, + sc72_cham1_anim, + sc72_cham2_anim, + sc72_cham3_anim, + &sc72_rot_light, + sc72_rotating, + sc72_walter_kill, + sc72_foster_die, + sc72_joey_tap, + sc72_drip_anim, + &sc72_spill, + sc72_spill_anim, + sc72_walter_die, + sc74_mon1_anim, + &sc74_monitor2, + sc74_mon2_anim, + &sc74_monitor3, + sc74_mon3_anim, + &sc74_monitor4, + sc74_mon4_anim, + sc74_ltv_anim, + sc74_rtv_anim, + &sc74_lights, + sc74_lights_anim, + &gallagher, + sc69_joey_list, + sc71_joey_list, + sc72_joey_list, + sc73_joey_list, + &sc73_chamber3, + sc73_cham3_anim, + &sc73_cham4_light, + sc73_cham4_flash, + &sc73_cham5_light, + sc73_cham5_flash, + &sc74_pod, + sc74_pod_down, + sc74_pod_up, + sc74_fost_sit, + sc74_get_up, + sc75_nitro_anim, + sc75_mon_anim, + &sc75_light1, + sc75_light1_anim, + &sc75_light2, + sc75_light2_anim, + &sc76_light1, + sc76_light1_anim, + &sc76_light2, + sc76_light2_anim, + &sc76_light3, + sc76_light3_anim, + &sc76_light4, + sc76_light4_anim, + &sc76_light5, + sc76_light5_anim, + &sc76_light6, + sc76_light6_anim, + sc73_joey_lunge, + sc73_joey_fight1, + sc73_gall_fight1, + sc73_joey_fight2, + sc73_gall_fight2, + &sc73_bits, + sc73_bits_anim, + &sc73_bits2, + sc73_bits2_anim, + &sc73_spray, + sc73_spray_anim, + sc75_get_tongs, + sc75_usecard, + sc73_get_board, + sc73_search, + sc75_rpocket, + sc74_rpocket, + sc75_get_tiss, + sc75_freeze_it, + sc75_freeze_it2, + sc75_freeze_ded, + sc75_freeze_ded2, + rs_tongs_empty, + rs_tongs_live, + rs_tongs_frozen, + rs_tongs_dead, + sc75_tank_anim, + &sc79_support, + &sc78_support, + sc75_hand_tank, + sc80_fast_list, + sc80_chip_list, + sc80_logic_list, + sc80_mouse_list, + sc80_palette, + sc78_jump_down, + reset_79_80, + sc78_climb_up, + &sc80_spout, + &sc80_orifice, + &sc80_exit, + &sc79_rope, + &sc80_rope, + reset_80_79, + sc76_cab1_open, + sc76_cab1_close, + sc76_cab2_open, + sc76_cab2_close, + sc76_cab3_open, + sc76_cab3_close, + &sc76_board_1, + &sc76_board_2, + &sc76_board_3, + sc76_open_cab, + sc76_shut_cab, + sc76_low_get, + &sc76_light7, + sc76_light7_anim, + &sc76_light8, + sc76_light8_anim, + &sc76_light9, + sc76_light9_anim, + sc76_hatch_3, + sc76_hatch_1, + sc76_hatch_2, + &ken, + sc75_joey_list, + sc76_joey_list, + sc77_joey_list, + &sc78_pipe, + sc76_punch, + sc76_fostfall, + sc77_fpushl_1, + sc77_fpushl_2, + sc77_fpushr_1, + sc77_fpushr_2, + sc77_kpushr_1, + sc77_kpushr_2, + sc77_stretch, + &sc80_goo, + sc80_goo_anim, + &sc80_bubble1, + sc80_bub1_anim, + &sc80_bubble2, + &sc80_bubble3, + &sc80_bubble4, + &sc80_bubble5, + &sc80_bubble6, + &sc80_bubble7, + &sc80_bubble8, + &sc80_bubble9, + &sc80_bubble10, + &sc80_bubble11, + &sc80_bubble12, + &sc79_ladder, + sc79_crouch_down, + sc79_crouch_up, + sc79_climb_down, + sc79_climb_up, + sc80_climb_down, + sc80_climb_up, + sc80_clamber, + sc80_get_rope, + sc80_swing, + &sc80_ladder, + sc79_tie_rope, + sc79_toss_rope, + sc79_rope_anim, + sc80_exit_open, + &sc79_knot, + sc80_drop, + &sc80_sample, + sc80_sample_fall, + sc801_palette, + sc802_palette, + sc803_palette, + sc804_palette, + sc791_palette, + sc781_palette, + sc80_pipe_shrug, + &sc66_hi_beam, + sc66_hi_beam_an1, + sc66_hi_beam_an2, + &sc66_lo_beam, + sc66_lo_beam_anm, + &sc66_rock1, + sc66_rock1_anim, + &sc66_rock2, + sc66_rock2_anim, + &sc66_rock3, + sc66_rock3_anim, + &sc66_door, + sc66_door_close, + &sc66_stones, + sc66_stones_anim, + sc66_fos_crushed, + sc66_fos_walk_in, + walter_talk_up, + walter_talk_dwn, + walter_talk_lft, + walter_conv, + medi_talk_up, + medi_talk_down, + medi_talk_left, + medi_talk_right, + fost_conv_left, + gall_talk_up, + gall_talk_left, + sc75_freeze_tlk, + sc75_dead_tlk, + ken_talk_up, + ken_talk_down, + ken_talk_left, + ken_talk_right, + android_babble, + stuck_talk, + fost_pipe_talk, + sc81_fast_list, + sc81_chip_list, + sc81_logic_list, + sc81_mouse_list, + sc81_palette, + reset_80_81, + 0, + grid81, + &sc81_door, + &sc81_chair, + &sc81_helmet, + &sc81_father, + &sc81_father_sat, + &sc81_foster_sat, + &sc81_ken_sat, + sc81_dad_tlk, + sc81_dad_tlk2, + sc81_dad_helm_up, + sc81_dad_breath1, + sc81_dad_breath2, + sc81_dad_fall1, + sc81_dad_fall2, + &sc81_tent1, + &sc81_tent2, + &sc81_tent3, + &sc81_tent4, + &sc81_tent5, + &sc81_tent6, + sc81_tentwig1, + sc81_tentwig2, + sc81_tentwig3, + sc81_tentwig4, + sc81_tentwig5, + sc81_tentwig6, + &sc81_big_tent1, + &sc81_big_tent2, + &sc81_big_tent3, + sc81_tentdrop1, + sc81_tentdrop2, + sc81_tentdrop3, + reset_ken_81, + sc81_ken_jump_in, + sc81_ken_talk1, + sc81_ken_walk1, + sc81_ken_talk2, + sc81_ken_walk2, + sc81_ken_sit, + 0, + sc81_ken_helm_dn, + sc81_ken_sat_tlk, + sc81_foster_sit, + 0, + sc81_fos_helm_dn, + sc81_fos_squirm, + sc81_father_die, + sc81_door_close, + sc81_fos_sat_tlk, + sc82_fast_list, + sc82_chip_list, + sc82_logic_list, + sc82_mouse_list, + sc82_palette, + reset_linc_74, + reset_foster_82, + reset_ken_82, + grid82, + &sc82_jobsworth, + sc82_push_button, + sc82_jobs_turn, + sc82_jobs_talk, + sc82_jobs_talk2, + sc82_jobs_take, + sc82_foster_give, + sc82_ken_sat_tlk, + sc82_jobs_return, + 0, + 0, + 0, + 0, + 0, + sc74_slot_flash, + sc83_palette, + sc83_draw_list, + reset_foster_spec, + reset_dad_spec, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/67comp.h b/sky/compacts/67comp.h new file mode 100644 index 00000000000..d9f7174da74 --- /dev/null +++ b/sky/compacts/67comp.h @@ -0,0 +1,2050 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY67COMP_H +#define SKY67COMP_H + + + + +namespace SkyCompact { + +uint16 sc67_logic_list[] = { + ID_FOSTER, + ID_MEDI, + ID_SC67_DOOR, + ID_SC68_DOOR, + ID_SC67_PULSE1, + ID_SC67_PULSE2, + ID_SC67_PULSE3, + ID_SC67_PULSE4, + ID_SC67_ROCK, + ID_SC67_BRICK, + ID_SC67_PLASTER, + ID_SC67_CLOT, + ID_SC67_CROWBAR, + ID_SC67_MEND, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +Compact sc67_vein = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 351, // xcood + 204, // ycood + 0, // frame + 20501, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 361-351, // mouseSize_x + 234-204, // mouseSize_y + SC67_VEIN_ACTION, // actionScript +}; + +uint16 sc67_mouse_list[] = { + ID_MEDI, + ID_SC67_PLASTER, + ID_SC67_BRICK, + ID_SC67_BRICKWORK, + ID_SC67_CLOT, + ID_SC67_VEIN, + ID_SC67_CROWBAR, + ID_SC67_DOOR, + ID_SC67_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc67_rub_head[] = { + 143*64, + 253, + 173, + 0, + 253, + 173, + 1, + 253, + 173, + 2, + 253, + 173, + 3, + 253, + 173, + 4, + 253, + 173, + 4, + 253, + 173, + 5, + 253, + 173, + 5, + 253, + 173, + 4, + 253, + 173, + 4, + 253, + 173, + 5, + 253, + 173, + 5, + 253, + 173, + 4, + 253, + 173, + 4, + 253, + 173, + 4, + 253, + 173, + 3, + 253, + 173, + 6, + 0, +}; + +uint16 sc67_try_stick[] = { + 131*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc67_plast_hit[] = { + 134*64, + 322, + 220, + 0, + 322, + 220, + 1, + 322, + 220, + 2, + 322, + 220, + 3, + 322, + 220, + 4, + 322, + 220, + 5, + 322, + 220, + 6, + 322, + 220, + 6, + 322, + 220, + 7, + 322, + 220, + 8, + 322, + 220, + 9, + 322, + 220, + 10, + 322, + 220, + 11, + 322, + 220, + 12, + 322, + 220, + 13, + 322, + 220, + 14, + 0, +}; + +Compact sc67_door = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 378, // xcood + 213, // ycood + 30*64, // frame + 181, // cursorText + SC67_DOOR_MOUSE_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65531, // mouseRel_x + 65530, // mouseRel_y + 25, // mouseSize_x + 86, // mouseSize_y + SC67_DOOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC67_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc67_mend = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 328, // xcood + 243, // ycood + 151*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC67_MEND_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc67_mending[] = { + 151*64, + 328, + 243, + 0, + 328, + 243, + 1, + 328, + 243, + 2, + 328, + 243, + 3, + 328, + 243, + 4, + 328, + 243, + 5, + 328, + 243, + 6, + 328, + 243, + 7, + 328, + 243, + 8, + 328, + 243, + 9, + 328, + 243, + 10, + 328, + 243, + 11, + 328, + 243, + 12, + 0, +}; + +Compact sc67_plaster = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 319, // xcood + 209, // ycood + 56*64, // frame + 20506, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 4, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 5, // mouseSize_y + SC67_PLASTER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC67_PLASTER_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc67_door_open[] = { + 30*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +uint16 sc67_dustoff[] = { + 47*64, + 241, + 177, + 0, + 241, + 177, + 1, + 241, + 177, + 2, + 241, + 177, + 3, + 241, + 177, + 4, + 241, + 177, + 5, + 241, + 177, + 2, + 241, + 177, + 6, + 241, + 177, + 7, + 241, + 177, + 8, + 241, + 177, + 9, + 241, + 177, + 10, + 241, + 177, + 11, + 241, + 177, + 12, + 0, +}; + +Compact sc67_rock = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC67_ROCK_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc67_crowbar = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 325, // xcood + 240, // ycood + 152*64, // frame + 5, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65534, // mouseRel_y + 12, // mouseSize_x + 2, // mouseSize_y + SC67_CROWBAR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC67_CROWBAR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc67_puss_leak[] = { + 149*64, + 325, + 247, + 0, + 325, + 247, + 1, + 325, + 247, + 2, + 325, + 247, + 3, + 325, + 247, + 4, + 325, + 247, + 5, + 325, + 247, + 6, + 325, + 247, + 7, + 325, + 247, + 8, + 325, + 247, + 9, + 325, + 247, + 10, + 325, + 247, + 11, + 0, +}; + +uint16 sc67_pulse3_anim[] = { + 28*64, + 346, + 228, + 0, + 346, + 228, + 1, + 346, + 228, + 1, + 346, + 228, + 0, + 346, + 228, + 0, + 346, + 228, + 0, + 346, + 228, + 0, + 346, + 228, + 1, + 346, + 228, + 1, + 346, + 228, + 1, + 346, + 228, + 1, + 346, + 228, + 1, + 346, + 228, + 0, + 346, + 228, + 2, + 346, + 228, + 2, + 346, + 228, + 2, + 346, + 228, + 2, + 0, +}; + +uint16 sc67_plast_fall[] = { + 56*64, + 319, + 209, + 0, + 319, + 208, + 1, + 318, + 210, + 2, + 318, + 212, + 3, + 318, + 216, + 4, + 318, + 227, + 5, + 318, + 242, + 6, + 318, + 258, + 7, + 318, + 275, + 8, + 316, + 271, + 9, + 313, + 275, + 10, + 312, + 275, + 10, + 0, +}; + +Compact sc67_pulse4 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 334, // xcood + 242, // ycood + 29*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC67_PULSE4_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc67_brick_fall[] = { + 55*64, + 327, + 209, + 0, + 328, + 209, + 1, + 327, + 209, + 0, + 327, + 209, + 0, + 327, + 209, + 0, + 328, + 209, + 1, + 328, + 209, + 2, + 326, + 209, + 3, + 325, + 209, + 4, + 324, + 213, + 5, + 325, + 217, + 6, + 320, + 217, + 7, + 317, + 224, + 8, + 317, + 232, + 9, + 317, + 242, + 10, + 311, + 256, + 11, + 311, + 266, + 11, + 293, + 272, + 11, + 291, + 272, + 12, + 290, + 272, + 13, + 289, + 272, + 14, + 0, +}; + +uint16 sc67_bar_fall[] = { + 152*64, + 325, + 240, + 0, + 324, + 246, + 1, + 325, + 249, + 2, + 326, + 255, + 3, + 326, + 261, + 4, + 327, + 262, + 5, + 330, + 266, + 6, + 331, + 272, + 7, + 0, +}; + +uint16 sc67_brick_hit[] = { + 133*64, + 322, + 220, + 0, + 322, + 220, + 1, + 322, + 220, + 2, + 322, + 220, + 3, + 322, + 220, + 4, + 322, + 220, + 5, + 322, + 220, + 6, + 322, + 220, + 6, + 322, + 220, + 7, + 322, + 220, + 8, + 322, + 220, + 9, + 322, + 220, + 10, + 322, + 220, + 0, + 322, + 220, + 0, + 322, + 220, + 0, + 322, + 220, + 0, + 0, +}; + +uint16 sc67_pick_plast[] = { + 130*64, + 316, + 224, + 0, + 316, + 224, + 1, + 316, + 224, + 2, + 316, + 224, + 3, + 316, + 224, + 3, + 316, + 224, + 3, + 316, + 224, + 3, + 316, + 224, + 3, + 316, + 224, + 4, + 316, + 224, + 5, + 0, +}; + +uint16 sc67_crawl[] = { + 46*64, + 157, + 275, + 0, + 158, + 275, + 1, + 158, + 275, + 2, + 168, + 275, + 3, + 172, + 275, + 4, + 179, + 275, + 5, + 179, + 275, + 2, + 188, + 274, + 6, + 193, + 275, + 7, + 203, + 275, + 8, + 204, + 272, + 9, + 204, + 267, + 10, + 201, + 266, + 11, + 201, + 264, + 12, + 202, + 255, + 13, + 202, + 247, + 14, + 202, + 243, + 15, + 0, +}; + +uint16 sc67_medifix[] = { + 150*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 0, +}; + +uint16 sc67_pulse1_anim[] = { + 26*64, + 352, + 205, + 0, + 352, + 205, + 1, + 352, + 205, + 1, + 352, + 205, + 1, + 352, + 205, + 1, + 352, + 205, + 0, + 352, + 205, + 0, + 352, + 205, + 0, + 352, + 205, + 0, + 352, + 205, + 0, + 352, + 205, + 1, + 352, + 205, + 2, + 352, + 205, + 2, + 352, + 205, + 2, + 352, + 205, + 2, + 352, + 205, + 1, + 352, + 205, + 0, + 0, +}; + +uint16 sc67_pulse2_anim[] = { + 27*64, + 354, + 218, + 0, + 354, + 218, + 0, + 354, + 218, + 1, + 354, + 218, + 1, + 354, + 218, + 1, + 354, + 218, + 1, + 354, + 218, + 0, + 354, + 218, + 0, + 354, + 218, + 0, + 354, + 218, + 0, + 354, + 218, + 0, + 354, + 218, + 2, + 354, + 218, + 3, + 354, + 218, + 3, + 354, + 218, + 3, + 354, + 218, + 3, + 354, + 218, + 1, + 0, +}; + +uint16 sc67_stick_in[] = { + 131*64, + 322, + 220, + 0, + 322, + 220, + 1, + 322, + 220, + 2, + 322, + 220, + 3, + 322, + 220, + 4, + 322, + 220, + 5, + 322, + 220, + 6, + 322, + 220, + 6, + 322, + 220, + 7, + 322, + 220, + 8, + 322, + 220, + 9, + 322, + 220, + 10, + 322, + 220, + 11, + 322, + 220, + 12, + 322, + 220, + 13, + 322, + 220, + 14, + 0, +}; + +Compact sc67_pulse1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 352, // xcood + 205, // ycood + 26*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC67_PULSE1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc67_rpocket[] = { + 142*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact sc67_brickwork = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 320, // xcood + 208, // ycood + 0, // frame + 20506, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 18, // mouseSize_x + 10, // mouseSize_y + SC67_BRICKWORK_ACTION, // actionScript +}; + +uint16 sc67_getbrick[] = { + 48*64, + 312, + 208, + 0, + 312, + 208, + 1, + 312, + 208, + 2, + 312, + 208, + 3, + 312, + 208, + 4, + 312, + 208, + 4, + 312, + 208, + 5, + 312, + 208, + 5, + 312, + 208, + 4, + 312, + 208, + 4, + 312, + 208, + 5, + 312, + 208, + 5, + 312, + 208, + 4, + 312, + 208, + 4, + 312, + 208, + 3, + 312, + 208, + 6, + 312, + 208, + 7, + 312, + 208, + 8, + 0, +}; + +uint16 sc67_lpocket[] = { + 141*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc67_pull_out[] = { + 132*64, + 322, + 220, + 0, + 322, + 220, + 1, + 322, + 220, + 2, + 322, + 220, + 3, + 322, + 220, + 4, + 322, + 220, + 5, + 322, + 220, + 6, + 322, + 220, + 7, + 322, + 220, + 8, + 322, + 220, + 9, + 322, + 220, + 10, + 322, + 220, + 11, + 322, + 220, + 12, + 322, + 220, + 13, + 322, + 220, + 14, + 322, + 220, + 14, + 0, +}; + +uint16 sc67_palette[] = { + 0, + 512, + 1027, + 771, + 1026, + 770, + 772, + 772, + 1028, + 1029, + 771, + 1285, + 1031, + 1284, + 1541, + 1542, + 2052, + 1541, + 1035, + 2308, + 1029, + 1798, + 2054, + 1287, + 1799, + 2824, + 1541, + 1293, + 2309, + 1799, + 2311, + 2567, + 1288, + 1804, + 3333, + 1798, + 2312, + 2569, + 2312, + 2059, + 3847, + 1542, + 2313, + 2315, + 1802, + 2317, + 3845, + 1288, + 2061, + 2824, + 2058, + 2825, + 4361, + 1543, + 1555, + 3334, + 1802, + 2317, + 3850, + 2312, + 2571, + 3851, + 1801, + 2065, + 3336, + 2315, + 3083, + 4873, + 1800, + 3084, + 3595, + 3082, + 2575, + 3850, + 2059, + 2828, + 4365, + 2569, + 2577, + 5382, + 2056, + 2323, + 3593, + 2061, + 3596, + 4361, + 1804, + 2833, + 4873, + 1547, + 3087, + 5899, + 1800, + 3341, + 4621, + 2827, + 3597, + 4107, + 3340, + 2580, + 5643, + 1802, + 2836, + 3848, + 2574, + 3342, + 4623, + 2573, + 3600, + 5132, + 2572, + 3854, + 3853, + 2832, + 3346, + 4109, + 3854, + 3093, + 6156, + 2571, + 3859, + 4618, + 3087, + 4112, + 7181, + 2314, + 3602, + 5136, + 3086, + 3856, + 6673, + 2316, + 3859, + 5902, + 3085, + 2336, + 4615, + 4623, + 4369, + 4367, + 3346, + 4115, + 4880, + 3345, + 3101, + 4617, + 4881, + 2595, + 4616, + 4115, + 4372, + 7956, + 2829, + 5139, + 6671, + 3600, + 4124, + 5133, + 4117, + 4632, + 7952, + 3343, + 3617, + 6668, + 3858, + 4885, + 5398, + 4629, + 3621, + 9996, + 2829, + 5910, + 8977, + 3857, + 4894, + 5906, + 4888, + 3880, + 6413, + 5144, + 5153, + 9746, + 4114, + 6681, + 10259, + 4371, + 6683, + 9242, + 5143, + 7196, + 11035, + 5398, + 0, + 768, + 1285, + 1288, + 1542, + 1543, + 1799, + 2568, + 2312, + 2571, + 3083, + 2828, + 2574, + 3852, + 2828, + 3346, + 4621, + 4110, + 3856, + 4881, + 3599, + 4372, + 5396, + 5651, + 0, + 768, + 515, + 516, + 771, + 1285, + 1798, + 1798, + 2055, + 2058, + 2825, + 2826, + 3084, + 3851, + 2828, + 3346, + 4621, + 4110, + 3856, + 4881, + 3599, + 4372, + 5396, + 5651, + 0, + 4352, + 1543, + 2069, + 5896, + 1800, + 2834, + 7179, + 2314, + 3101, + 8969, + 2058, + 3359, + 7179, + 3344, + 3871, + 9485, + 3086, + 4387, + 9743, + 4114, + 4904, + 11025, + 5398, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 1045, + 1030, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 14649, + 12601, + 13105, + 10537, + 8749, + 10018, + 7196, + 5665, + 6934, + 2879, + 14347, + 1542, + 558, + 9730, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 63, + 16191, + 16128, + 63, + 16191, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint32 grid67[0]; + +uint16 sc67_fast_list[] = { + 12+DISK_5, + 51+DISK_5, + 52+DISK_5, + 53+DISK_5, + 54+DISK_5, + 268+DISK_5, + 0, +}; + +uint16 sc67_door_close[] = { + 30*64, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc67_rock_anim[] = { + 31*64, + 151, + 259, + 0, + 151, + 259, + 1, + 151, + 259, + 2, + 151, + 259, + 3, + 151, + 259, + 4, + 151, + 259, + 5, + 0, +}; + +Compact sc67_pulse2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 354, // xcood + 218, // ycood + 27*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC67_PULSE2_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc67_brick = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 327, // xcood + 209, // ycood + 55*64, // frame + 20509, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 3, // mouseSize_y + SC67_BRICK_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC67_BRICK_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc67_floor_table[] = { + ID_SC67_FLOOR, + RETURN_OK, + ID_SC67_BRICKWORK, + GT_SC67_BRICKWORK, + ID_SC67_DOOR, + GT_SC67_DOOR, + ID_SC67_CLOT, + GT_SC67_CLOT, + ID_SC67_VEIN, + GT_SC67_VEIN, + ID_SC67_PLASTER, + GT_SC67_PLASTER, + ID_SC67_BRICK, + GT_SC67_BRICK, + ID_SC67_CROWBAR, + GT_SC67_CROWBAR, + 0, + SC67_DOOR_WALK_ON, + ID_JOEY_PARK, + GT_JOEY_PARK, + 65535, +}; + +uint16 sc67_pick_brick[] = { + 129*64, + 269, + 224, + 0, + 269, + 224, + 1, + 269, + 224, + 2, + 269, + 224, + 3, + 269, + 224, + 3, + 269, + 224, + 3, + 269, + 224, + 3, + 269, + 224, + 3, + 269, + 224, + 4, + 269, + 224, + 5, + 0, +}; + +uint16 reset_66_67[] = { + C_SCREEN, + 67, + C_PLACE, + ID_SC67_FLOOR, + 65535, +}; + +Compact sc67_pulse3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 346, // xcood + 228, // ycood + 28*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC67_PULSE3_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc67_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 67, // screen + 0, // place + sc67_floor_table, // getToTable + 190, // xcood + 270, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 390-190, // mouseSize_x + 305-270, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc67_pulse4_anim[] = { + 29*64, + 334, + 242, + 0, + 334, + 242, + 1, + 334, + 242, + 2, + 334, + 242, + 2, + 334, + 242, + 1, + 334, + 242, + 1, + 334, + 242, + 1, + 334, + 242, + 1, + 334, + 242, + 2, + 334, + 242, + 2, + 334, + 242, + 2, + 334, + 242, + 2, + 334, + 242, + 2, + 334, + 242, + 1, + 334, + 242, + 0, + 334, + 242, + 0, + 334, + 242, + 0, + 0, +}; + +uint16 sc67_chip_list[] = { + IT_SC67_LAYER_0+DISK_5, + IT_SC67_LAYER_1+DISK_5, + IT_SC67_GRID_1+DISK_5, + IT_MEDI+DISK_5, + IT_SC67_CRAWL+0X8000+DISK_5, + IT_SC67_DUSTOFF+0X8000+DISK_5, + IT_SC67_PULSE1+DISK_5, + IT_SC67_PULSE2+DISK_5, + IT_SC67_PULSE3+DISK_5, + IT_SC67_PULSE4+DISK_5, + IT_SC67_ROCK+DISK_5, + IT_SC67_DOOR+DISK_5, + IT_SC67_BRICK+DISK_5, + IT_SC67_PLASTER+DISK_5, + IT_SC67_CROWBAR+DISK_5, + IT_SC67_PUSS+DISK_5, + IT_SC67_MEDIFIX+DISK_5, + IT_SC67_MENDING+DISK_5, + IT_SC67_PICK_PLAST+DISK_5, + IT_SC67_PICK_BRICK+DISK_5, + IT_SC67_LPOCKET+DISK_5, + IT_SC67_RPOCKET+DISK_5, + IT_SC67_RUB_HEAD+DISK_5, + IT_SC67_GETBRICK+0X8000+DISK_5, + IT_SC67_STICK_IN+0X8000+DISK_5, + IT_SC67_PULL_OUT+0X8000+DISK_5, + IT_SC67_BRICK_HIT+0X8000+DISK_5, + IT_SC67_PLAST_HIT+0X8000+DISK_5, + 106+DISK_5, + 0, +}; + +uint16 reset_68_67[] = { + C_SCREEN, + 67, + C_PLACE, + ID_SC67_FLOOR, + C_XCOOD, + 408, + C_YCOOD, + 288, + 65535, +}; + +Compact sc67_clot = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 67, // screen + 0, // place + 0, // getToTable + 325, // xcood + 247, // ycood + 149*64, // frame + 20502, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65534, // mouseRel_x + 65530, // mouseRel_y + 332-323, // mouseSize_x + 248-241, // mouseSize_y + SC67_CLOT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC67_CLOT_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/68comp.h b/sky/compacts/68comp.h new file mode 100644 index 00000000000..14590b97e99 --- /dev/null +++ b/sky/compacts/68comp.h @@ -0,0 +1,1362 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY68COMP_H +#define SKY68COMP_H + + + + +namespace SkyCompact { + +Compact sc68_pulse5 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 68, // screen + 0, // place + 0, // getToTable + 280, // xcood + 190, // ycood + 62*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC68_PULSE5_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc68_chip_list[] = { + IT_SC68_LAYER_0+DISK_5, + IT_SC68_LAYER_1+DISK_5, + IT_SC68_GRID_1+DISK_5, + IT_MEDI+DISK_5, + IT_MEDI_TALK+DISK_5, + IT_SC68_PULSE1+DISK_5, + IT_SC68_PULSE2+DISK_5, + IT_SC68_PULSE3+DISK_5, + IT_SC68_PULSE4+DISK_5, + IT_SC68_PULSE5+DISK_5, + IT_SC68_PULSE6+DISK_5, + IT_SC68_SENSOR+DISK_5, + IT_SC68_DESCEND+DISK_5, + IT_SC68_ASCEND+DISK_5, + IT_SC68_DOOR+DISK_5, + 0, +}; + +uint16 reset_69_68[] = { + C_SCREEN, + 68, + C_PLACE, + ID_SC68_FLOOR, + C_XCOOD, + OFF_RIGHT, + C_YCOOD, + 288, + 65535, +}; + +Compact sc68_pulse1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 68, // screen + 0, // place + 0, // getToTable + 425, // xcood + 191, // ycood + 58*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC68_PULSE1_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc68_door = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 68, // screen + 0, // place + 0, // getToTable + 184, // xcood + 213, // ycood + 57*64, // frame + 181, // cursorText + SC68_DOOR_MOUSE_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 4, // mouseRel_y + 21, // mouseSize_x + 67, // mouseSize_y + SC68_DOOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC68_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc68_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 68, // screen + 0, // place + 0, // getToTable + 420, // xcood + 220, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 27, // mouseSize_x + 107, // mouseSize_y + SC68_EXIT_ACTION, // actionScript +}; + +uint16 sc68_logic_list[] = { + ID_FOSTER, + ID_MEDI, + ID_WITNESS, + ID_SC67_DOOR, + ID_SC68_DOOR, + ID_SC67_CLOT, + ID_SC67_CROWBAR, + ID_SC67_MEND, + ID_SC68_PULSE1, + ID_SC68_PULSE2, + ID_SC68_PULSE3, + ID_SC68_PULSE4, + ID_SC68_PULSE5, + ID_SC68_PULSE6, + ID_SC68_SENSOR, + ID_SC70_IRIS, + ID_SC72_SPILL, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc68_palette[] = { + 0, + 1024, + 772, + 1285, + 1798, + 1029, + 1799, + 2310, + 1287, + 1800, + 3081, + 1287, + 2058, + 2057, + 2314, + 2314, + 2827, + 2058, + 2573, + 4102, + 1545, + 2826, + 3598, + 2060, + 2068, + 3592, + 3083, + 3340, + 4621, + 1803, + 3088, + 5386, + 1803, + 3087, + 4367, + 3340, + 3853, + 6159, + 2570, + 2330, + 4360, + 2831, + 3345, + 5649, + 2317, + 3855, + 4369, + 3855, + 2843, + 5130, + 2576, + 3606, + 4876, + 4367, + 3864, + 7689, + 2572, + 4372, + 5647, + 3089, + 2849, + 5641, + 4624, + 4881, + 6675, + 3855, + 4633, + 7947, + 3086, + 2853, + 8713, + 2829, + 4885, + 4883, + 4885, + 4887, + 6673, + 3603, + 3365, + 7947, + 3600, + 4888, + 7188, + 3091, + 5400, + 8718, + 3343, + 5404, + 10254, + 3086, + 5402, + 6164, + 5399, + 5660, + 5649, + 5912, + 3627, + 10252, + 3600, + 4644, + 7697, + 3863, + 4646, + 8974, + 3860, + 6171, + 8469, + 4118, + 6425, + 7703, + 4632, + 4140, + 8718, + 4887, + 6434, + 7441, + 5914, + 5161, + 8210, + 4890, + 4654, + 9999, + 5141, + 6431, + 11289, + 4371, + 7197, + 8985, + 5146, + 5929, + 9490, + 4635, + 7200, + 10266, + 5912, + 5424, + 10003, + 5147, + 7713, + 11800, + 4887, + 7461, + 7700, + 7200, + 7460, + 12315, + 5399, + 7464, + 10774, + 5149, + 7974, + 8214, + 7712, + 6701, + 12312, + 5913, + 8227, + 10269, + 5921, + 8233, + 9499, + 7969, + 8492, + 10774, + 6434, + 7219, + 11800, + 7198, + 8999, + 13344, + 6941, + 9260, + 10265, + 8741, + 8243, + 12063, + 6693, + 9774, + 10781, + 8743, + 10287, + 10783, + 9513, + 10541, + 12581, + 8488, + 10801, + 12067, + 10027, + 11060, + 13603, + 9517, + 0, + 6144, + 2570, + 3102, + 8714, + 3343, + 4136, + 9230, + 4370, + 5161, + 11794, + 3858, + 6184, + 12311, + 5399, + 6701, + 13080, + 6172, + 7726, + 13084, + 7968, + 10289, + 13345, + 9003, + 0, + 3840, + 3852, + 3857, + 4879, + 4367, + 4885, + 5907, + 4371, + 5402, + 6164, + 5399, + 6685, + 7959, + 6425, + 7200, + 8474, + 6174, + 8227, + 9501, + 7969, + 8999, + 10272, + 8741, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 3349, + 2826, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 14649, + 12601, + 13105, + 10537, + 8749, + 10018, + 7196, + 5665, + 6934, + 2879, + 14347, + 1542, + 558, + 9730, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact sc68_pulse3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 68, // screen + 0, // place + 0, // getToTable + 387, // xcood + 186, // ycood + 60*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC68_PULSE3_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc68_pulse5_anim[] = { + 62*64, + 280, + 190, + 0, + 280, + 190, + 1, + 280, + 190, + 2, + 280, + 190, + 2, + 280, + 190, + 1, + 280, + 190, + 1, + 280, + 190, + 1, + 280, + 190, + 1, + 280, + 190, + 2, + 280, + 190, + 2, + 280, + 190, + 2, + 280, + 190, + 2, + 280, + 190, + 2, + 280, + 190, + 1, + 280, + 190, + 0, + 280, + 190, + 0, + 280, + 190, + 0, + 0, +}; + +uint16 sc68_ascend[] = { + 154*64, + 256, + 219, + 0, + 256, + 217, + 1, + 256, + 216, + 2, + 256, + 214, + 3, + 256, + 215, + 4, + 256, + 216, + 5, + 256, + 216, + 6, + 257, + 217, + 7, + 259, + 218, + 8, + 261, + 218, + 9, + 0, +}; + +uint16 sc68_pulse3_anim[] = { + 60*64, + 387, + 186, + 0, + 387, + 186, + 0, + 387, + 186, + 1, + 387, + 186, + 1, + 387, + 186, + 1, + 387, + 186, + 1, + 387, + 186, + 0, + 387, + 186, + 0, + 387, + 186, + 0, + 387, + 186, + 0, + 387, + 186, + 0, + 387, + 186, + 1, + 387, + 186, + 2, + 387, + 186, + 2, + 387, + 186, + 2, + 387, + 186, + 2, + 387, + 186, + 1, + 0, +}; + +uint16 sc68_pulse2_anim[] = { + 59*64, + 396, + 228, + 0, + 396, + 228, + 0, + 396, + 228, + 1, + 396, + 228, + 1, + 396, + 228, + 1, + 396, + 228, + 1, + 396, + 228, + 0, + 396, + 228, + 0, + 396, + 228, + 0, + 396, + 228, + 0, + 396, + 228, + 0, + 396, + 228, + 1, + 396, + 228, + 2, + 396, + 228, + 2, + 396, + 228, + 2, + 396, + 228, + 2, + 396, + 228, + 1, + 0, +}; + +Compact sc68_pulse4 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 68, // screen + 0, // place + 0, // getToTable + 339, // xcood + 191, // ycood + 61*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC68_PULSE4_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc68_pulse6_anim[] = { + 63*64, + 245, + 197, + 0, + 245, + 197, + 0, + 245, + 197, + 1, + 245, + 197, + 2, + 245, + 197, + 2, + 245, + 197, + 1, + 245, + 197, + 1, + 245, + 197, + 1, + 245, + 197, + 1, + 245, + 197, + 2, + 245, + 197, + 2, + 245, + 197, + 2, + 245, + 197, + 2, + 245, + 197, + 2, + 245, + 197, + 1, + 245, + 197, + 0, + 245, + 197, + 0, + 0, +}; + +Compact sc68_sensor = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 68, // screen + 0, // place + 0, // getToTable + 171, // xcood + 253, // ycood + 137*64, // frame + 20512, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65534, // mouseRel_x + 65534, // mouseRel_y + 6, // mouseSize_x + 11, // mouseSize_y + SC68_SENSOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC68_SENSOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint32 grid68[0]; + +uint16 sc68_pulse1_anim[] = { + 58*64, + 425, + 191, + 0, + 425, + 191, + 1, + 425, + 191, + 1, + 425, + 191, + 1, + 425, + 191, + 1, + 425, + 191, + 0, + 425, + 191, + 0, + 425, + 191, + 0, + 425, + 191, + 0, + 425, + 191, + 0, + 425, + 191, + 1, + 425, + 191, + 2, + 425, + 191, + 2, + 425, + 191, + 2, + 425, + 191, + 2, + 425, + 191, + 1, + 425, + 191, + 0, + 0, +}; + +uint16 sc68_pulse4_anim[] = { + 61*64, + 339, + 191, + 0, + 339, + 191, + 1, + 339, + 191, + 1, + 339, + 191, + 0, + 339, + 191, + 0, + 339, + 191, + 0, + 339, + 191, + 0, + 339, + 191, + 1, + 339, + 191, + 1, + 339, + 191, + 1, + 339, + 191, + 1, + 339, + 191, + 1, + 339, + 191, + 0, + 339, + 191, + 2, + 339, + 191, + 2, + 339, + 191, + 2, + 339, + 191, + 2, + 0, +}; + +Compact sc68_pulse2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 68, // screen + 0, // place + 0, // getToTable + 396, // xcood + 228, // ycood + 59*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC68_PULSE2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc68_descend[] = { + 153*64, + 261, + 218, + 0, + 259, + 217, + 1, + 257, + 216, + 2, + 256, + 215, + 3, + 256, + 215, + 4, + 256, + 214, + 5, + 256, + 214, + 6, + 256, + 216, + 7, + 256, + 218, + 8, + 256, + 220, + 9, + 0, +}; + +uint16 reset_70_68[] = { + C_SCREEN, + 68, + C_PLACE, + ID_SC68_FLOOR, + C_XCOOD, + 256, + C_YCOOD, + 219, + C_FRAME, + 154*64, + C_DIR, + DOWN, + 65535, +}; + +uint16 sc68_sensor_anim[] = { + 137*64, + 171, + 253, + 0, + 171, + 253, + 0, + 171, + 253, + 0, + 171, + 253, + 0, + 171, + 253, + 0, + 171, + 253, + 1, + 171, + 253, + 2, + 171, + 253, + 2, + 171, + 253, + 2, + 171, + 253, + 2, + 0, +}; + +uint16 sc68_door_close[] = { + 57*64, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc68_floor_table[] = { + ID_SC68_FLOOR, + RETURN_OK, + 0, + SC68_DOOR_WALK_ON, + 1, + SC68_EXIT_WALK_ON, + ID_SC68_DOOR, + GT_SC68_DOOR, + ID_SC68_SENSOR, + GT_SC68_SENSOR, + ID_SC68_GRILL, + GT_SC68_GRILL, + ID_SC68_STAIRS, + GT_SC68_STAIRS, + ID_SC68_EXIT, + GT_SC68_EXIT, + ID_JOEY_PARK, + GT_JOEY_PARK, + 3, + GT_SC68_JOEY_WAIT, + 65535, +}; + +Compact sc68_pulse6 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 68, // screen + 0, // place + 0, // getToTable + 245, // xcood + 197, // ycood + 63*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC68_PULSE6_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc68_grill = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 68, // screen + 0, // place + 0, // getToTable + 351, // xcood + 217, // ycood + 0, // frame + 20511, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 15, // mouseSize_y + SC68_GRILL_ACTION, // actionScript +}; + +Compact sc68_stairs = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 68, // screen + 0, // place + 0, // getToTable + 255, // xcood + 210, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_UP_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 30, // mouseSize_x + 60, // mouseSize_y + SC68_STAIRS_ACTION, // actionScript +}; + +uint16 sc68_fast_list[] = { + 12+DISK_5, + 51+DISK_5, + 52+DISK_5, + 53+DISK_5, + 54+DISK_5, + 268+DISK_5, + 0, +}; + +uint16 reset_67_68[] = { + C_SCREEN, + 68, + C_PLACE, + ID_SC68_FLOOR, + C_XCOOD, + 160, + C_YCOOD, + 280, + 65535, +}; + +uint16 sc68_mouse_list[] = { + ID_MEDI, + ID_SC68_SENSOR, + ID_SC68_GRILL, + ID_SC68_DOOR, + ID_SC68_STAIRS, + ID_SC68_EXIT, + ID_SC68_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc68_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 68, // screen + 0, // place + sc68_floor_table, // getToTable + 202, // xcood + 265, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-202, // mouseSize_x + 327-265, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc68_joey_list[] = { + 208, + 439, + 272, + 327, + 1, + 208, + 231, + 288, + 303, + 0, + 248, + 303, + 272, + 279, + 0, + 344, + 399, + 272, + 279, + 0, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/69comp.h b/sky/compacts/69comp.h new file mode 100644 index 00000000000..854df99311f --- /dev/null +++ b/sky/compacts/69comp.h @@ -0,0 +1,1146 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY69COMP_H +#define SKY69COMP_H + + + + +namespace SkyCompact { + +uint32 grid69[0]; + +uint16 sc69_logic_list[] = { + ID_FOSTER, + ID_MEDI, + ID_SC67_DOOR, + ID_SC68_DOOR, + ID_SC69_PULSE1, + ID_SC69_PULSE2, + ID_SC69_PULSE3, + ID_SC69_PULSE4, + ID_SC69_PULSE5, + ID_SC69_PULSE6, + ID_SC71_LIGHT1, + ID_SC71_CONTROLS, + ID_SC71_CHLITE, + ID_SC71_MONITOR, + ID_SC71_RECHARGER, + ID_SC71_PANEL2, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc69_pulse5_anim[] = { + 113*64, + 212, + 181, + 0, + 212, + 181, + 1, + 212, + 181, + 2, + 212, + 181, + 2, + 212, + 181, + 1, + 212, + 181, + 1, + 212, + 181, + 1, + 212, + 181, + 1, + 212, + 181, + 2, + 212, + 181, + 2, + 212, + 181, + 2, + 212, + 181, + 2, + 212, + 181, + 2, + 212, + 181, + 1, + 212, + 181, + 0, + 212, + 181, + 0, + 212, + 181, + 0, + 0, +}; + +uint16 sc69_chip_list[] = { + IT_SC69_LAYER_0+DISK_5, + IT_SC69_LAYER_1+DISK_5, + IT_SC69_LAYER_2+DISK_5, + IT_SC69_GRID_1+DISK_5, + IT_SC69_GRID_2+DISK_5, + IT_MEDI+DISK_5, + IT_MEDI_TALK+DISK_5, + IT_SC69_PULSE1+DISK_5, + IT_SC69_PULSE2+DISK_5, + IT_SC69_PULSE3+DISK_5, + IT_SC69_PULSE4+DISK_5, + IT_SC69_PULSE5+DISK_5, + IT_SC69_PULSE6+DISK_5, + 0, +}; + +uint16 sc69_palette[] = { + 0, + 1024, + 514, + 1028, + 1796, + 771, + 1286, + 1284, + 1542, + 1288, + 2821, + 1029, + 1799, + 2312, + 1544, + 1802, + 2057, + 2057, + 1804, + 3846, + 1286, + 2312, + 3594, + 1288, + 2570, + 3848, + 1800, + 2570, + 3084, + 2569, + 2317, + 4364, + 1546, + 3084, + 5642, + 1543, + 2829, + 4621, + 2313, + 2830, + 4363, + 2059, + 2831, + 3342, + 3085, + 1817, + 4870, + 1804, + 3343, + 7438, + 1543, + 3347, + 6921, + 2056, + 2585, + 6151, + 2570, + 3601, + 5389, + 2062, + 4112, + 4364, + 4110, + 2080, + 5638, + 2829, + 2589, + 6919, + 2315, + 3604, + 4624, + 3600, + 2083, + 5638, + 2576, + 2846, + 9738, + 1544, + 3355, + 5132, + 4113, + 4121, + 6153, + 3089, + 4627, + 8467, + 2572, + 4374, + 6930, + 2832, + 3613, + 9998, + 2058, + 2853, + 8970, + 3085, + 4633, + 6418, + 3603, + 4637, + 5642, + 5139, + 2602, + 8200, + 2321, + 4127, + 8719, + 3599, + 3621, + 6410, + 5140, + 5148, + 9999, + 3086, + 3115, + 7690, + 3092, + 5655, + 6676, + 3862, + 4898, + 7690, + 3606, + 5659, + 9236, + 4114, + 5409, + 10509, + 3088, + 3628, + 9228, + 2837, + 6169, + 8472, + 4118, + 4139, + 6926, + 5656, + 4648, + 9743, + 4627, + 6175, + 7696, + 5656, + 5669, + 9744, + 3351, + 4906, + 7441, + 6425, + 6434, + 9489, + 4632, + 6688, + 10006, + 4120, + 5419, + 11795, + 4628, + 5929, + 8982, + 5915, + 7455, + 8731, + 5405, + 6952, + 9746, + 6172, + 6444, + 8727, + 7198, + 7466, + 9747, + 6175, + 7972, + 10526, + 5918, + 8232, + 10522, + 5921, + 8747, + 10265, + 7971, + 9003, + 11548, + 6436, + 9513, + 10274, + 10023, + 11053, + 13867, + 10031, + 514, + 5634, + 1543, + 2080, + 6918, + 2315, + 2083, + 7686, + 2571, + 3105, + 8714, + 3599, + 3623, + 11020, + 2572, + 4139, + 10254, + 3858, + 5419, + 11283, + 5913, + 7721, + 11031, + 6434, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 3093, + 2569, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 14649, + 12601, + 13105, + 10537, + 8749, + 10018, + 7196, + 5665, + 6934, + 2879, + 13835, + 1542, + 558, + 9730, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 reset_71_69[] = { + C_SCREEN, + 69, + C_PLACE, + ID_SC69_FLOOR, + C_XCOOD, + 264, + C_YCOOD, + 272, + 65535, +}; + +uint16 sc69_mouse_list[] = { + ID_MEDI, + ID_SC69_GRILL, + ID_SC69_EXIT, + ID_SC69_DOOR, + ID_SC69_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc69_pulse2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 69, // screen + 0, // place + 0, // getToTable + 315, // xcood + 185, // ycood + 110*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC69_PULSE2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc69_floor_table[] = { + ID_SC69_FLOOR, + RETURN_OK, + 0, + SC69_EXIT_WALK_ON, + 1, + SC69_DOOR_WALK_ON, + ID_SC69_EXIT, + GT_SC69_EXIT, + ID_SC69_DOOR, + GT_SC69_DOOR, + ID_SC69_GRILL, + GT_SC69_GRILL, + ID_JOEY_PARK, + GT_JOEY_PARK, + 65535, +}; + +Compact sc69_pulse6 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 69, // screen + 0, // place + 0, // getToTable + 136, // xcood + 190, // ycood + 114*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC69_PULSE6_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc69_joey_list[] = { + 136, + 439, + 264, + 327, + 1, + 200, + 447, + 264, + 279, + 0, + 296, + 447, + 288, + 295, + 0, + 0, +}; + +Compact sc69_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 69, // screen + 0, // place + 0, // getToTable + 128, // xcood + 220, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 27, // mouseSize_x + 107, // mouseSize_y + SC69_EXIT_ACTION, // actionScript +}; + +uint16 sc69_fast_list[] = { + 12+DISK_5, + 51+DISK_5, + 52+DISK_5, + 53+DISK_5, + 54+DISK_5, + 268+DISK_5, + 0, +}; + +Compact sc69_door = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 69, // screen + 0, // place + 0, // getToTable + 240, // xcood + 220, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 32, // mouseSize_x + 61, // mouseSize_y + SC69_DOOR_ACTION, // actionScript +}; + +Compact sc69_pulse3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 69, // screen + 0, // place + 0, // getToTable + 298, // xcood + 199, // ycood + 111*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC69_PULSE3_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc69_pulse5 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 69, // screen + 0, // place + 0, // getToTable + 212, // xcood + 181, // ycood + 113*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC69_PULSE5_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc69_pulse6_anim[] = { + 114*64, + 135, + 190, + 0, + 135, + 190, + 0, + 135, + 190, + 1, + 135, + 190, + 2, + 135, + 190, + 2, + 135, + 190, + 1, + 135, + 190, + 1, + 135, + 190, + 1, + 135, + 190, + 1, + 135, + 190, + 2, + 135, + 190, + 2, + 135, + 190, + 2, + 135, + 190, + 2, + 135, + 190, + 2, + 135, + 190, + 1, + 135, + 190, + 0, + 135, + 190, + 0, + 0, +}; + +Compact sc69_pulse4 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 69, // screen + 0, // place + 0, // getToTable + 255, // xcood + 189, // ycood + 112*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC69_PULSE4_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc69_pulse1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 69, // screen + 0, // place + 0, // getToTable + 370, // xcood + 210, // ycood + 109*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC69_PULSE1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc69_pulse4_anim[] = { + 112*64, + 255, + 189, + 0, + 255, + 189, + 1, + 255, + 189, + 1, + 255, + 189, + 0, + 255, + 189, + 0, + 255, + 189, + 0, + 255, + 189, + 0, + 255, + 189, + 1, + 255, + 189, + 1, + 255, + 189, + 1, + 255, + 189, + 1, + 255, + 189, + 1, + 255, + 189, + 0, + 255, + 189, + 2, + 255, + 189, + 2, + 255, + 189, + 2, + 255, + 189, + 2, + 0, +}; + +Compact sc69_grill = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 69, // screen + 0, // place + 0, // getToTable + 306, // xcood + 232, // ycood + 0, // frame + 20511, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 331-306, // mouseSize_x + 251-232, // mouseSize_y + SC69_GRILL_ACTION, // actionScript +}; + +uint16 sc69_pulse1_anim[] = { + 109*64, + 370, + 210, + 0, + 370, + 210, + 1, + 370, + 210, + 1, + 370, + 210, + 1, + 370, + 210, + 1, + 370, + 210, + 0, + 370, + 210, + 0, + 370, + 210, + 0, + 370, + 210, + 0, + 370, + 210, + 0, + 370, + 210, + 1, + 370, + 210, + 2, + 370, + 210, + 2, + 370, + 210, + 2, + 370, + 210, + 2, + 370, + 210, + 1, + 370, + 210, + 0, + 0, +}; + +uint16 sc69_pulse3_anim[] = { + 111*64, + 298, + 199, + 0, + 298, + 199, + 0, + 298, + 199, + 1, + 298, + 199, + 1, + 298, + 199, + 1, + 298, + 199, + 1, + 298, + 199, + 0, + 298, + 199, + 0, + 298, + 199, + 0, + 298, + 199, + 0, + 298, + 199, + 0, + 298, + 199, + 1, + 298, + 199, + 2, + 298, + 199, + 2, + 298, + 199, + 2, + 298, + 199, + 2, + 298, + 199, + 1, + 0, +}; + +uint16 reset_68_69[] = { + C_SCREEN, + 69, + C_PLACE, + ID_SC69_FLOOR, + C_XCOOD, + OFF_LEFT, + C_YCOOD, + 280, + 65535, +}; + +uint16 sc69_pulse2_anim[] = { + 110*64, + 315, + 185, + 0, + 315, + 185, + 0, + 315, + 185, + 1, + 315, + 185, + 1, + 315, + 185, + 1, + 315, + 185, + 1, + 315, + 185, + 0, + 315, + 185, + 0, + 315, + 185, + 0, + 315, + 185, + 0, + 315, + 185, + 0, + 315, + 185, + 1, + 315, + 185, + 2, + 315, + 185, + 2, + 315, + 185, + 2, + 315, + 185, + 2, + 315, + 185, + 1, + 0, +}; + +Compact sc69_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 69, // screen + 0, // place + sc69_floor_table, // getToTable + 128, // xcood + 268, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 431-128, // mouseSize_x + 327-268, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/70comp.h b/sky/compacts/70comp.h new file mode 100644 index 00000000000..636b505c580 --- /dev/null +++ b/sky/compacts/70comp.h @@ -0,0 +1,1213 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY70COMP_H +#define SKY70COMP_H + + + + +namespace SkyCompact { + +Compact sc70_bar = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 70, // screen + 0, // place + 0, // getToTable + 290, // xcood + 170, // ycood + 96*64, // frame + 5, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 12, // mouseSize_y + SC70_BAR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC70_BAR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc70_pull_bar[] = { + 18*64, + 288, + 180, + 0, + 288, + 180, + 1, + 288, + 180, + 2, + 288, + 180, + 3, + 288, + 180, + 4, + 288, + 180, + 5, + 288, + 180, + 6, + 288, + 180, + 7, + 288, + 180, + 8, + 288, + 180, + 9, + 288, + 180, + 10, + 288, + 180, + 2, + 288, + 180, + 11, + 288, + 180, + 12, + 0, +}; + +uint16 sc70_step_down[] = { + 15*64, + 322, + 194, + 0, + 323, + 194, + 1, + 323, + 195, + 2, + 323, + 195, + 3, + 329, + 195, + 4, + 337, + 194, + 5, + 343, + 196, + 6, + 343, + 197, + 7, + 343, + 201, + 8, + 347, + 202, + 9, + 349, + 203, + 10, + 349, + 204, + 11, + 349, + 207, + 12, + 352, + 208, + 13, + 355, + 209, + 14, + 355, + 210, + 15, + 355, + 214, + 16, + 359, + 215, + 9, + 361, + 216, + 10, + 361, + 217, + 11, + 361, + 220, + 12, + 364, + 221, + 13, + 367, + 222, + 14, + 367, + 223, + 17, + 367, + 226, + 18, + 371, + 227, + 19, + 373, + 227, + 20, + 373, + 226, + 21, + 374, + 226, + 22, + 378, + 226, + 0, + 0, +}; + +uint16 sc70_palette[] = { + 0, + 1024, + 1285, + 1541, + 2054, + 1285, + 1542, + 1800, + 1542, + 1290, + 2309, + 1542, + 1544, + 2056, + 1287, + 1799, + 1543, + 1800, + 1799, + 3081, + 1285, + 1547, + 2052, + 1800, + 1802, + 2821, + 1542, + 1294, + 2565, + 1799, + 1801, + 2057, + 2568, + 1549, + 3078, + 1287, + 2314, + 2310, + 2057, + 1804, + 4103, + 1285, + 1551, + 2822, + 2056, + 1806, + 2565, + 2568, + 2313, + 3595, + 1799, + 2316, + 3333, + 1544, + 2316, + 2567, + 2314, + 2824, + 4362, + 1542, + 2061, + 4104, + 1287, + 2063, + 2822, + 2825, + 2316, + 3849, + 2056, + 2315, + 2573, + 3082, + 1810, + 3589, + 1801, + 2065, + 3334, + 2058, + 2317, + 2827, + 2571, + 1810, + 3591, + 2313, + 2063, + 4362, + 2056, + 2572, + 4108, + 1801, + 2320, + 2825, + 3339, + 2830, + 3846, + 2058, + 2572, + 3342, + 2571, + 2574, + 3084, + 2828, + 2577, + 3846, + 2570, + 2320, + 4619, + 1801, + 2322, + 3337, + 3339, + 2577, + 3080, + 3596, + 2577, + 3338, + 3851, + 3086, + 4105, + 2315, + 3086, + 4107, + 1804, + 2832, + 3851, + 3339, + 2579, + 5128, + 2313, + 3341, + 4876, + 2570, + 2834, + 3593, + 3596, + 3090, + 3591, + 4108, + 2834, + 4363, + 2572, + 3341, + 5391, + 2058, + 3343, + 7178, + 1287, + 3343, + 5132, + 2315, + 3089, + 5388, + 2570, + 3598, + 3853, + 3853, + 3601, + 4105, + 2830, + 3346, + 3851, + 4365, + 3598, + 8720, + 773, + 3600, + 4365, + 3597, + 3855, + 4110, + 4110, + 3857, + 4620, + 3342, + 3858, + 4362, + 3599, + 3604, + 6669, + 2060, + 3097, + 5642, + 3342, + 2846, + 5384, + 3599, + 3354, + 5643, + 3858, + 4888, + 8463, + 2319, + 0, + 2048, + 1799, + 3097, + 2058, + 1285, + 1542, + 1800, + 1542, + 1290, + 2309, + 2825, + 2570, + 2825, + 2825, + 2570, + 2828, + 2571, + 3084, + 3342, + 3853, + 3598, + 3597, + 4110, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc70_floor_table[] = { + ID_SC70_FLOOR, + RETURN_OK, + ID_SC70_DOOR, + GT_SC70_DOOR, + ID_SC70_CONTROL, + GT_SC70_CONTROL, + ID_SC70_PIT, + GT_SC70_PIT, + ID_SC70_IRIS, + GT_SC70_PIT, + ID_SC70_BAR, + GT_SC70_PIT, + ID_SC70_GRILL, + GT_SC70_PIT, + 65535, +}; + +uint16 sc70_enter_anim[] = { + 97*64, + 165, + 172, + 0, + 165, + 175, + 1, + 168, + 176, + 2, + 171, + 177, + 3, + 171, + 178, + 4, + 171, + 182, + 5, + 175, + 183, + 6, + 177, + 184, + 7, + 177, + 185, + 0, + 177, + 188, + 1, + 180, + 189, + 2, + 183, + 190, + 3, + 183, + 191, + 8, + 183, + 194, + 9, + 187, + 195, + 10, + 189, + 195, + 11, + 189, + 194, + 12, + 190, + 194, + 13, + 194, + 194, + 14, + 0, +}; + +uint16 sc70_step_up[] = { + 14*64, + 372, + 226, + 0, + 369, + 226, + 1, + 366, + 226, + 2, + 364, + 226, + 3, + 364, + 224, + 4, + 363, + 222, + 5, + 360, + 222, + 6, + 358, + 222, + 7, + 356, + 222, + 8, + 356, + 219, + 9, + 355, + 217, + 10, + 352, + 216, + 11, + 350, + 216, + 12, + 350, + 215, + 13, + 350, + 212, + 14, + 350, + 210, + 15, + 347, + 209, + 16, + 345, + 209, + 17, + 345, + 207, + 18, + 345, + 204, + 19, + 344, + 201, + 20, + 341, + 200, + 21, + 339, + 200, + 22, + 337, + 200, + 23, + 336, + 196, + 24, + 336, + 194, + 25, + 333, + 194, + 26, + 325, + 195, + 27, + 325, + 194, + 28, + 325, + 194, + 29, + 324, + 194, + 0, + 0, +}; + +Compact sc70_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 70, // screen + 0, // place + sc70_floor_table, // getToTable + 140, // xcood + 230, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-140, // mouseSize_x + 327-230, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 reset_68_70[] = { + C_SCREEN, + 70, + C_PLACE, + ID_SC70_FLOOR, + C_XCOOD, + 200, + C_YCOOD, + 240, + C_DIR, + RIGHT, + 65535, +}; + +uint16 sc70_exit_anim[] = { + 14*64, + 188, + 194, + 0, + 185, + 194, + 1, + 182, + 194, + 2, + 180, + 194, + 3, + 180, + 192, + 4, + 179, + 190, + 5, + 176, + 190, + 6, + 174, + 190, + 7, + 172, + 190, + 8, + 172, + 187, + 9, + 171, + 185, + 10, + 168, + 184, + 11, + 166, + 184, + 12, + 166, + 183, + 13, + 166, + 180, + 14, + 166, + 178, + 15, + 163, + 177, + 16, + 161, + 177, + 17, + 161, + 175, + 18, + 0, +}; + +uint32 grid70[0]; + +uint16 sc70_fast_list[] = { + 12+DISK_5, + 51+DISK_5, + 52+DISK_5, + 53+DISK_5, + 54+DISK_5, + 268+DISK_5, + 0, +}; + +uint16 sc70_logic_list[] = { + ID_MEDI, + ID_SC67_DOOR, + ID_SC68_DOOR, + ID_SC70_PIT, + ID_SC70_IRIS, + ID_SC70_BAR, + ID_SC70_CONTROL, + ID_SC70_GRILL, + ID_FOSTER, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +ExtCompact sc70_iris_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt +}; + +Compact sc70_iris = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 70, // screen + 0, // place + 0, // getToTable + 231, // xcood + 229, // ycood + 3+95*64, // frame + 20534, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 1, // mouseRel_x + 1, // mouseRel_y + 98, // mouseSize_x + 18, // mouseSize_y + SC70_IRIS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC70_IRIS_LOGIC, // baseSub + 0, // baseSub_off + &sc70_iris_ext, +}; + +uint16 sc70_pit_table[] = { + ID_SC70_FLOOR, + GT_SC70_FLOOR, + ID_SC70_DOOR, + GT_SC70_FLOOR, + ID_SC70_CONTROL, + GT_SC70_FLOOR, + ID_SC70_PIT, + GT_SC70_PIT, + ID_SC70_IRIS, + GT_SC70_IRIS, + ID_SC70_BAR, + GT_SC70_BAR, + ID_SC70_GRILL, + GT_SC70_GRILL, + 65535, +}; + +Compact sc70_door = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 70, // screen + 0, // place + 0, // getToTable + 178, // xcood + 184, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 191-178, // mouseSize_x + 242-184, // mouseSize_y + SC70_DOOR_ACTION, // actionScript +}; + +Compact sc70_pit = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 70, // screen + 0, // place + sc70_pit_table, // getToTable + 237, // xcood + 232, // ycood + 117*64, // frame + 20682, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 28, // mouseRel_x + 1, // mouseRel_y + 34, // mouseSize_x + 7, // mouseSize_y + SC70_PIT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC70_PIT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc70_chip_list[] = { + IT_SC70_LAYER_0+DISK_5, + IT_SC70_LAYER_1+DISK_5, + IT_SC70_LAYER_2+DISK_5, + IT_SC70_GRID_1+DISK_5, + IT_SC70_GRID_2+DISK_5, + IT_SC70_IRIS+DISK_5, + IT_SC70_BAR+DISK_5, + IT_SC70_CONSOLE+DISK_5, + IT_SC70_GRILL+DISK_5, + IT_SC70_PIT+DISK_5, + IT_SC70_STEP_UP+DISK_5, + IT_SC70_STEP_DOWN+DISK_5, + IT_SC70_PULL_BAR+DISK_5, + IT_SC70_ENTER_ANIM+DISK_5, + 0, +}; + +uint16 sc70_bar_anim[] = { + 96*64, + 290, + 170, + 0, + 290, + 170, + 1, + 290, + 170, + 2, + 290, + 170, + 3, + 0, +}; + +Compact sc70_control = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 70, // screen + 0, // place + 0, // getToTable + 365, // xcood + 215, // ycood + 115*64, // frame + 20535, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 360-365, // mouseRel_x + 212-215, // mouseRel_y + 387-360, // mouseSize_x + 252-212, // mouseSize_y + SC70_CONTROL_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC70_CONTROL_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc70_pit_anim[] = { + 117*64, + 239, + 233, + 0, + 239, + 233, + 1, + 239, + 233, + 2, + 239, + 233, + 3, + 239, + 233, + 4, + 239, + 233, + 5, + 239, + 233, + 6, + 239, + 233, + 7, + 239, + 233, + 8, + 239, + 233, + 9, + 239, + 233, + 2, + 239, + 233, + 3, + 239, + 233, + 4, + 239, + 233, + 5, + 239, + 233, + 6, + 0, +}; + +Compact sc70_grill = { + 0, // logic + ST_MOUSE+ST_BACKGROUND, // status + 0, // sync + 70, // screen + 0, // place + 0, // getToTable + 265, // xcood + 168, // ycood + 116*64, // frame + 20511, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 294-266, // mouseSize_x + 173-168, // mouseSize_y + SC70_GRILL_ACTION, // actionScript +}; + +uint16 sc70_consol_anim[] = { + 115*64, + 365, + 215, + 0, + 365, + 215, + 1, + 365, + 215, + 2, + 365, + 215, + 3, + 365, + 215, + 4, + 365, + 215, + 5, + 365, + 215, + 6, + 365, + 215, + 7, + 365, + 215, + 8, + 365, + 215, + 9, + 365, + 215, + 10, + 365, + 215, + 11, + 365, + 215, + 12, + 365, + 215, + 13, + 365, + 215, + 14, + 365, + 215, + 15, + 0, +}; + +uint16 sc70_mouse_list[] = { + ID_SC70_PIT, + ID_SC70_IRIS, + ID_SC70_BAR, + ID_SC70_GRILL, + ID_SC70_CONTROL, + ID_SC70_DOOR, + ID_SC70_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/71comp.h b/sky/compacts/71comp.h new file mode 100644 index 00000000000..0aa620d0c71 --- /dev/null +++ b/sky/compacts/71comp.h @@ -0,0 +1,1626 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY71COMP_H +#define SKY71COMP_H + + + + +namespace SkyCompact { + +uint16 medi_d_to_u[] = { + 35+32*64, + 24+32*64, + 34+32*64, + 0, +}; + +uint16 sc71_use_board[] = { + 148*64, + 243, + 191, + 0, + 243, + 191, + 1, + 243, + 191, + 2, + 243, + 191, + 3, + 243, + 191, + 4, + 243, + 191, + 5, + 243, + 191, + 6, + 243, + 191, + 7, + 243, + 191, + 8, + 243, + 191, + 9, + 243, + 191, + 9, + 243, + 191, + 9, + 243, + 191, + 9, + 243, + 191, + 8, + 243, + 191, + 7, + 243, + 191, + 6, + 243, + 191, + 3, + 243, + 191, + 2, + 243, + 191, + 1, + 243, + 191, + 0, + 0, +}; + +Compact sc71_door72 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 71, // screen + 0, // place + 0, // getToTable + 194, // xcood + 219, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 208-194, // mouseSize_x + 280-219, // mouseSize_y + SC71_DOOR72_ACTION, // actionScript +}; + +uint16 sc71_medi_charge[] = { + 166*64, + 279, + 196, + 0, + 279, + 196, + 1, + 279, + 196, + 2, + 279, + 196, + 3, + 279, + 196, + 4, + 279, + 196, + 5, + 279, + 196, + 6, + 279, + 196, + 7, + 279, + 196, + 8, + 279, + 196, + 9, + 0, +}; + +uint8 medi_auto[64]; + +uint16 medi_up[] = { + 1, + 0+32*64, + 0, + 65535, + 1, + 1+32*64, + 0, + 65535, + 1, + 2+32*64, + 0, + 65535, + 1, + 3+32*64, + 0, + 65535, + 1, + 4+32*64, + 0, + 65535, + 1, + 5+32*64, + 0, + 65535, + 1, + 6+32*64, + 0, + 65535, + 1, + 7+32*64, + 0, + 65535, + 0, +}; + +uint16 medi_down[] = { + 1, + 8+32*64, + 0, + 1, + 1, + 9+32*64, + 0, + 1, + 1, + 10+32*64, + 0, + 1, + 1, + 11+32*64, + 0, + 1, + 1, + 12+32*64, + 0, + 1, + 1, + 13+32*64, + 0, + 1, + 1, + 14+32*64, + 0, + 1, + 1, + 15+32*64, + 0, + 1, + 0, +}; + +uint16 medi_left[] = { + 2, + 16+32*64, + 65534, + 0, + 2, + 17+32*64, + 65534, + 0, + 2, + 18+32*64, + 65534, + 0, + 2, + 19+32*64, + 65534, + 0, + 2, + 20+32*64, + 65534, + 0, + 2, + 21+32*64, + 65534, + 0, + 2, + 22+32*64, + 65534, + 0, + 2, + 23+32*64, + 65534, + 0, + 0, +}; + +uint16 medi_right[] = { + 2, + 24+32*64, + 2, + 0, + 2, + 25+32*64, + 2, + 0, + 2, + 26+32*64, + 2, + 0, + 2, + 27+32*64, + 2, + 0, + 2, + 28+32*64, + 2, + 0, + 2, + 29+32*64, + 2, + 0, + 2, + 30+32*64, + 2, + 0, + 2, + 31+32*64, + 2, + 0, + 0, +}; + +uint16 medi_st_up[] = { + 32*64, + 1, + 1, + 0, + 0, +}; + +uint16 medi_st_down[] = { + 32*64, + 1, + 1, + 8, + 0, +}; + +uint16 medi_st_left[] = { + 32*64, + 1, + 1, + 16, + 0, +}; + +uint16 medi_st_right[] = { + 32*64, + 1, + 1, + 24, + 0, +}; + +uint16 medi_u_to_d[] = { + 33+32*64, + 16+32*64, + 32+32*64, + 0, +}; + +uint16 medi_u_to_l[] = { + 33+32*64, + 0, +}; + +uint16 medi_u_to_r[] = { + 34+32*64, + 0, +}; + +uint16 medi_d_to_l[] = { + 32+32*64, + 0, +}; + +uint16 medi_d_to_r[] = { + 35+32*64, + 0, +}; + +uint16 medi_l_to_u[] = { + 33+32*64, + 0, +}; + +uint16 medi_l_to_d[] = { + 32+32*64, + 0, +}; + +uint16 medi_l_to_r[] = { + 32+32*64, + 8+32*64, + 35+32*64, + 0, +}; + +uint16 medi_r_to_u[] = { + 34+32*64, + 0, +}; + +uint16 medi_r_to_d[] = { + 35+32*64, + 0, +}; + +uint16 medi_r_to_l[] = { + 34+32*64, + 0+32*64, + 33+32*64, + 0, +}; + +uint16 *medi_turnTable[5][5] = { + { // turnTableup + 0, + medi_u_to_d, + medi_u_to_l, + medi_u_to_r, + 0 + }, + { // turnTableDown + medi_d_to_u, + 0, + medi_d_to_l, + medi_d_to_r, + 0 + }, + { // turnTableLeft + medi_l_to_u, + medi_l_to_d, + 0, + medi_l_to_r, + 0 + }, + { // turnTableRight + medi_r_to_u, + medi_r_to_d, + medi_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact medi_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + LEFT, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_MEDI, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + medi_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + medi_up, // animUp + medi_down, // animDown + medi_left, // animLeft + medi_right, // animRight + medi_st_up, // standUp + medi_st_down, // standDown + medi_st_left, // standLeft + medi_st_right, // standRight + 0, // standTalk +}; + +Compact medi = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION+ST_MOUSE, // status + 0, // sync + 69, // screen + ID_SC69_FLOOR, // place + 0, // getToTable + 128, // xcood + 280, // ycood + 16+32*64, // frame + 20527, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65529, // mouseRel_x + 65504, // mouseRel_y + 12, // mouseSize_x + 29, // mouseSize_y + MEDI_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + MEDI_LOGIC, // baseSub + 0, // baseSub_off + &medi_ext, + &medi_turnTable, +}; + +uint16 sc71_mouse_list[] = { + ID_SC71_MEDI_SLOT, + ID_MEDI, + ID_SC71_RECHARGER, + ID_SC71_MONITOR, + ID_SC71_CONTROLS, + ID_SC71_DOOR69, + ID_SC71_DOOR72, + ID_SC71_LOCKED_DOOR, + ID_SC71_FLOOR, + ID_SC71_FAKE_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc71_light1_anim[] = { + 162*64, + 249, + 197, + 0, + 249, + 197, + 1, + 249, + 197, + 1, + 249, + 197, + 2, + 249, + 197, + 2, + 249, + 197, + 3, + 249, + 197, + 4, + 249, + 197, + 4, + 249, + 197, + 5, + 249, + 197, + 5, + 0, +}; + +uint16 sc71_logic_list[] = { + ID_FOSTER, + ID_MEDI, + ID_WITNESS, + ID_SC67_DOOR, + ID_SC68_DOOR, + ID_SC71_LIGHT1, + ID_SC71_CONTROLS, + ID_SC71_CHLITE, + ID_SC71_MONITOR, + ID_SC71_RECHARGER, + ID_SC71_PANEL2, + ID_SC72_SPILL, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 reset_69_71[] = { + C_SCREEN, + 71, + C_PLACE, + ID_SC71_FLOOR, + C_XCOOD, + 152, + C_YCOOD, + 288, + 65535, +}; + +uint16 sc71_chip_list[] = { + IT_SC71_LAYER_0+DISK_5, + IT_SC71_LAYER_1+DISK_5, + IT_SC71_LAYER_2+DISK_5, + IT_SC71_GRID_1+DISK_5, + IT_SC71_GRID_2+DISK_5, + IT_MEDI+DISK_5, + IT_MEDI_TALK+DISK_5, + IT_SC71_LIGHT1+DISK_5, + IT_SC71_LIGHT2+DISK_5, + IT_SC71_PANEL+DISK_5, + IT_SC71_PANEL2+DISK_5, + IT_SC71_CHARGE_LIGHT+DISK_5, + IT_SC71_SCREEN+DISK_5, + IT_SC71_MEDI_CHARGE+DISK_5, + IT_SC71_USE_BOARD+DISK_5, + 0, +}; + +uint16 sc710_chip_list[] = { + IT_SC710_LAYER_0+DISK_5, + IT_SC710_LAYER_1+DISK_5, + IT_SC710_LAYER_2+DISK_5, + IT_SC710_GRID_1+DISK_5, + IT_SC710_GRID_2+DISK_5, + IT_MEDI+DISK_5, + IT_MEDI_TALK+DISK_5, + IT_SC71_LIGHT1+DISK_5, + IT_SC71_LIGHT2+DISK_5, + IT_SC71_PANEL+DISK_5, + IT_SC71_PANEL2+DISK_5, + IT_SC71_CHARGE_LIGHT+DISK_5, + IT_SC71_SCREEN+DISK_5, + IT_SC71_MEDI_CHARGE+DISK_5, + 0, +}; + +uint16 reset_72_71[] = { + C_SCREEN, + 71, + C_PLACE, + ID_SC71_FLOOR, + C_XCOOD, + 176, + C_YCOOD, + 264, + 65535, +}; + +uint16 sc71_medi_get_up[] = { + 166*64, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact sc71_chlite = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 71, // screen + 0, // place + 0, // getToTable + 268, // xcood + 197, // ycood + 165*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC71_CHLITE_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc71_controls = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 71, // screen + 0, // place + 0, // getToTable + 372, // xcood + 270, // ycood + 163*64, // frame + 20551, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65534, // mouseRel_x + 65533, // mouseRel_y + 380-370, // mouseSize_x + 283-267, // mouseSize_y + SC71_CONTROLS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC71_CONTROLS_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc71_panel_anim[] = { + 167*64, + 272, + 226, + 0, + 272, + 226, + 1, + 272, + 226, + 2, + 272, + 226, + 3, + 272, + 226, + 4, + 272, + 226, + 5, + 272, + 226, + 6, + 272, + 226, + 7, + 272, + 226, + 8, + 272, + 226, + 9, + 272, + 226, + 10, + 272, + 226, + 11, + 0, +}; + +Compact sc71_panel2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 71, // screen + 0, // place + 0, // getToTable + 287, // xcood + 226, // ycood + 168*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC71_PANEL2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc71_panel2_anim[] = { + 168*64, + 287, + 226, + 0, + 287, + 226, + 1, + 287, + 226, + 2, + 287, + 226, + 3, + 287, + 226, + 4, + 287, + 226, + 5, + 287, + 226, + 6, + 287, + 226, + 7, + 287, + 226, + 8, + 287, + 226, + 9, + 287, + 226, + 10, + 287, + 226, + 11, + 0, +}; + +uint16 sc71_joey_list[] = { + 184, + 399, + 272, + 327, + 1, + 184, + 215, + 272, + 279, + 0, + 328, + 447, + 280, + 287, + 0, + 336, + 447, + 304, + 311, + 0, + 0, +}; + +Compact sc71_light1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 71, // screen + 0, // place + 0, // getToTable + 249, // xcood + 197, // ycood + 162*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC71_LIGHT1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc71_palette[] = { + 0, + 512, + 514, + 1285, + 2053, + 2056, + 2315, + 2570, + 3082, + 3083, + 3342, + 3084, + 3085, + 3854, + 3596, + 3596, + 3342, + 4109, + 3599, + 3856, + 4623, + 3858, + 4113, + 4113, + 4113, + 3859, + 4882, + 4369, + 4629, + 4626, + 5137, + 7700, + 3085, + 5396, + 5142, + 5141, + 4132, + 10766, + 4371, + 5396, + 5656, + 5654, + 5910, + 6936, + 5398, + 6166, + 6170, + 6168, + 6168, + 5659, + 6426, + 6682, + 6162, + 6939, + 7197, + 6928, + 6682, + 6682, + 7197, + 5916, + 7448, + 6686, + 7197, + 7965, + 6929, + 7964, + 7712, + 7440, + 5919, + 7453, + 8221, + 4640, + 7708, + 7969, + 7965, + 8221, + 7967, + 7455, + 8482, + 7444, + 8737, + 7968, + 8225, + 6435, + 8741, + 8211, + 8993, + 8479, + 7718, + 9251, + 8996, + 8730, + 8482, + 9255, + 8465, + 9763, + 8739, + 7972, + 10021, + 9505, + 10793, + 4391, + 9507, + 9764, + 9252, + 9507, + 10023, + 6185, + 9766, + 9254, + 10790, + 10276, + 11047, + 4906, + 10282, + 9757, + 8489, + 10278, + 9257, + 10538, + 10029, + 10274, + 11048, + 11056, + 9746, + 11050, + 11566, + 9750, + 11819, + 11566, + 10522, + 11562, + 10795, + 13099, + 4653, + 11053, + 10792, + 9518, + 11560, + 11054, + 11564, + 12085, + 10770, + 12333, + 12340, + 12823, + 9517, + 12076, + 12334, + 11053, + 12335, + 11814, + 12334, + 12331, + 13617, + 5683, + 12080, + 12078, + 12848, + 12845, + 13106, + 10290, + 12848, + 12848, + 5142, + 12847, + 12852, + 12849, + 14135, + 13853, + 9014, + 13106, + 12340, + 13876, + 13364, + 12854, + 13878, + 14135, + 13356, + 14390, + 13878, + 13878, + 14392, + 14647, + 14651, + 14649, + 15161, + 15163, + 15675, + 15677, + 16190, + 16191, + 0, + 16128, + 16191, + 14647, + 12347, + 13876, + 11046, + 8494, + 10533, + 3358, + 9228, + 3600, + 4906, + 12817, + 5142, + 6682, + 7442, + 4383, + 10535, + 13592, + 4655, + 14135, + 14109, + 11319, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 15107, + 9007, + 10554, + 13593, + 4641, + 5936, + 10508, + 1807, + 2082, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 5141, + 6165, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 14649, + 12601, + 13105, + 10537, + 8749, + 10018, + 7196, + 5665, + 6934, + 2879, + 13835, + 1542, + 558, + 9730, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc71_fast_list[] = { + 12+DISK_5, + 51+DISK_5, + 52+DISK_5, + 53+DISK_5, + 54+DISK_5, + 268+DISK_5, + 0, +}; + +uint16 sc71_mon_anim[] = { + 164*64, + 372, + 248, + 0, + 372, + 248, + 1, + 372, + 248, + 2, + 372, + 248, + 3, + 372, + 248, + 4, + 372, + 248, + 5, + 0, +}; + +uint16 sc71_floor_table[] = { + ID_SC71_FLOOR, + RETURN_OK, + 0, + SC71_DOOR69_WALK_ON, + 3, + SC71_DOOR72_WALK_ON, + 1, + GET_INTO_RECHARGING_UNIT, + ID_SC71_DOOR69, + GT_SC71_DOOR69, + ID_SC71_DOOR72, + GT_SC71_DOOR72, + ID_SC71_LOCKED_DOOR, + GT_SC71_LOCKED_DOOR, + ID_SC71_RECHARGER, + GT_SC71_RECHARGER, + ID_SC71_MONITOR, + GT_SC71_MONITOR, + ID_SC71_CONTROLS, + GT_SC71_CONTROLS, + ID_MEDI, + GT_RECHARGING_MEDI, + ID_SC71_MEDI_SLOT, + GT_SC71_MEDI_SLOT, + ID_JOEY_PARK, + GT_JOEY_PARK, + 65535, +}; + +Compact sc71_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 71, // screen + 0, // place + sc71_floor_table, // getToTable + 194, // xcood + 256, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 395-194, // mouseSize_x + 327-256, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact sc71_door69 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 71, // screen + 0, // place + 0, // getToTable + 163, // xcood + 230, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 178-163, // mouseSize_x + 296-230, // mouseSize_y + SC71_DOOR69_ACTION, // actionScript +}; + +uint32 grid71[0]; + +Compact sc71_fake_floor = { + 0, // logic + 0, // status + 0, // sync + 71, // screen + 0, // place + 0, // getToTable + 128, // xcood + 136, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-128, // mouseSize_x + 327-136, // mouseSize_y + 0, // actionScript +}; + +Compact sc71_medi_slot = { + 0, // logic + 0, // status + 0, // sync + 71, // screen + 0, // place + 0, // getToTable + 275, // xcood + 242, // ycood + 0, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 280-275, // mouseSize_x + 247-242, // mouseSize_y + SC71_MEDI_SLOT_ACTION, // actionScript +}; + +Compact sc71_monitor = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 71, // screen + 0, // place + 0, // getToTable + 372, // xcood + 248, // ycood + 164*64, // frame + 57, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 380-370, // mouseSize_x + 266-248, // mouseSize_y + SC71_MONITOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC71_MONITOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc71_chlite_anim[] = { + 165*64, + 268, + 197, + 0, + 268, + 197, + 0, + 268, + 197, + 1, + 268, + 197, + 1, + 268, + 197, + 2, + 268, + 197, + 2, + 268, + 197, + 3, + 268, + 197, + 3, + 268, + 197, + 4, + 268, + 197, + 4, + 268, + 197, + 5, + 268, + 197, + 5, + 0, +}; + +Compact sc71_locked_door = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 71, // screen + 0, // place + 0, // getToTable + 353, // xcood + 222, // ycood + 0, // frame + 181, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 362-353, // mouseSize_x + 280-222, // mouseSize_y + SC71_LOCKED_DOOR_ACTION, // actionScript +}; + +Compact sc71_recharger = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 71, // screen + 0, // place + 0, // getToTable + 272, // xcood + 226, // ycood + 167*64, // frame + 20549, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65532, // mouseRel_x + 65534, // mouseRel_y + 300-268, // mouseSize_x + 231-224, // mouseSize_y + SC71_RECHARGER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC71_RECHARGER_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc71_light2_anim[] = { + 163*64, + 372, + 270, + 0, + 372, + 270, + 1, + 372, + 270, + 2, + 372, + 270, + 3, + 372, + 270, + 4, + 372, + 270, + 5, + 372, + 270, + 6, + 372, + 270, + 7, + 372, + 270, + 8, + 372, + 270, + 9, + 372, + 270, + 10, + 372, + 270, + 11, + 372, + 270, + 12, + 372, + 270, + 13, + 372, + 270, + 14, + 372, + 270, + 15, + 372, + 270, + 16, + 372, + 270, + 17, + 372, + 270, + 18, + 372, + 270, + 19, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/72comp.h b/sky/compacts/72comp.h new file mode 100644 index 00000000000..e50cd271b73 --- /dev/null +++ b/sky/compacts/72comp.h @@ -0,0 +1,2346 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY72COMP_H +#define SKY72COMP_H + + + + +namespace SkyCompact { + +uint16 wit_st_right[] = { + 159*64, + 1, + 0, + 38, + 0, +}; + +uint16 sc72_comp_flash[] = { + 169*64, + 169, + 225, + 0, + 169, + 225, + 0, + 169, + 225, + 0, + 169, + 225, + 0, + 169, + 225, + 0, + 169, + 225, + 0, + 169, + 225, + 1, + 169, + 225, + 2, + 169, + 225, + 3, + 169, + 225, + 4, + 169, + 225, + 5, + 169, + 225, + 0, + 169, + 225, + 0, + 169, + 225, + 0, + 0, +}; + +Compact sc72_rot_light = { + L_SCRIPT, // logic + ST_LOGIC+ST_FOREGROUND, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 145, // xcood + 283, // ycood + 177*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC72_ROT_LIGHT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc72_fast_list[] = { + 12+DISK_7, + 51+DISK_7, + 52+DISK_7, + 53+DISK_7, + 54+DISK_7, + IT_SC72_TANK+DISK_7, + IT_SC72_ROT_LIGHT+DISK_7, + 268+DISK_7, + 0, +}; + +uint16 sc72_spill_anim[] = { + 31*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 10, + 0, +}; + +uint16 wit_d_to_u[] = { + 39+159*64, + 38+159*64, + 37+159*64, + 0, +}; + +Compact sc72_chamber2 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 284, // xcood + 190, // ycood + 175*64, // frame + 20569, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65532, // mouseRel_x + 65535, // mouseRel_y + 309-280, // mouseSize_x + 242-189, // mouseSize_y + SC72_CHAMBERS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC72_CHAMBER2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 wit_l_to_r[] = { + 33+159*64, + 32+159*64, + 39+159*64, + 0, +}; + +uint16 sc72_joey_tap[] = { + 29*64, + 248, + 240, + 0, + 248, + 240, + 1, + 248, + 240, + 2, + 248, + 240, + 0, + 248, + 240, + 1, + 248, + 240, + 2, + 248, + 240, + 0, + 248, + 240, + 1, + 248, + 240, + 2, + 0, +}; + +uint16 sc72_comp2_flash[] = { + 170*64, + 178, + 222, + 0, + 178, + 222, + 0, + 178, + 222, + 0, + 178, + 222, + 0, + 178, + 222, + 0, + 178, + 222, + 0, + 178, + 222, + 1, + 178, + 222, + 2, + 178, + 222, + 3, + 178, + 222, + 4, + 178, + 222, + 5, + 178, + 222, + 0, + 178, + 222, + 0, + 178, + 222, + 0, + 0, +}; + +uint8 wit_auto[64]; + +Compact sc72_tank = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 278, // xcood + 255, // ycood + 173*64, // frame + 20568, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65535, // mouseRel_y + 331-277, // mouseSize_x + 283-254, // mouseSize_y + SC72_TANK_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC72_TANK_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 wit_r_to_d[] = { + 39+159*64, + 0, +}; + +uint16 sc72_floor_table[] = { + ID_SC72_FLOOR, + RETURN_OK, + 0, + SC72_DOOR_WALK_ON, + 1, + SC72_EXIT_WALK_ON, + 3, + GT_SC72_WITNESS_TALK, + 4, + GT_SC72_FOSTER_TALK, + 5, + GT_SC72_WITNESS_KILL, + ID_SC72_DOOR, + GT_SC72_DOOR, + ID_SC72_EXIT, + GT_SC72_EXIT, + ID_SC72_TANK, + GT_SC72_TANK, + ID_SC72_TAP, + GT_SC72_TAP, + ID_SC72_SPILL, + GT_SC72_SPILL, + ID_SC72_GRILL, + GT_SC72_GRILL, + ID_SC72_CHAMBER1, + GT_SC72_CHAMBER1, + ID_SC72_CHAMBER2, + GT_SC72_CHAMBER2, + ID_SC72_CHAMBER3, + GT_SC72_CHAMBER3, + ID_SC72_LIGHT1, + GT_SC72_LIGHT1, + ID_SC72_LIGHT2, + GT_SC72_LIGHT2, + ID_SC72_LIGHT3, + GT_SC72_LIGHT3, + ID_SC72_COMPUTER, + GT_SC72_COMPUTER, + ID_JOEY_PARK, + GT_JOEY_PARK, + 65535, +}; + +Compact sc72_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 72, // screen + 0, // place + sc72_floor_table, // getToTable + 140, // xcood + 260, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 374-140, // mouseSize_x + 327-260, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc72_drip_anim[] = { + 31*64, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 16, + 1, + 1, + 17, + 1, + 1, + 18, + 1, + 1, + 19, + 0, +}; + +uint16 wit_u_to_d[] = { + 35+159*64, + 34+159*64, + 33+159*64, + 0, +}; + +uint32 wit[0]; + +Compact sc72_cham2_light = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 293, // xcood + 244, // ycood + 172*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC72_CHAM2_LIGHT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc72_computer2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 178, // xcood + 224, // ycood + 170*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC72_COMPUTER2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc72_walter_die[] = { + 30*64, + 222, + 228, + 0, + 223, + 230, + 1, + 224, + 233, + 2, + 220, + 239, + 3, + 216, + 245, + 4, + 215, + 256, + 5, + 212, + 267, + 6, + 213, + 278, + 7, + 218, + 278, + 8, + 222, + 278, + 9, + 0, +}; + +uint16 wit_r_to_l[] = { + 37+159*64, + 36+159*64, + 35+159*64, + 0, +}; + +uint16 wit_up[] = { + 2, + 0+159*64, + 0, + 65534, + 2, + 1+159*64, + 0, + 65534, + 2, + 2+159*64, + 0, + 65534, + 2, + 3+159*64, + 0, + 65534, + 2, + 4+159*64, + 0, + 65534, + 2, + 5+159*64, + 0, + 65534, + 2, + 6+159*64, + 0, + 65534, + 2, + 7+159*64, + 0, + 65534, + 0, +}; + +uint16 sc72_rotating[] = { + 177*64, + 145, + 283, + 0, + 145, + 283, + 1, + 145, + 283, + 2, + 145, + 283, + 3, + 145, + 283, + 4, + 145, + 283, + 5, + 145, + 283, + 6, + 145, + 283, + 7, + 145, + 283, + 8, + 145, + 283, + 8, + 145, + 283, + 8, + 145, + 283, + 9, + 145, + 283, + 10, + 145, + 283, + 11, + 0, +}; + +uint16 sc72_walter_kill[] = { + 178*64, + 320, + 253, + 0, + 320, + 253, + 1, + 320, + 253, + 2, + 321, + 253, + 3, + 319, + 253, + 4, + 317, + 254, + 5, + 321, + 253, + 6, + 322, + 252, + 7, + 322, + 252, + 8, + 324, + 252, + 9, + 326, + 252, + 10, + 327, + 252, + 11, + 328, + 252, + 12, + 329, + 252, + 13, + 330, + 252, + 14, + 331, + 252, + 15, + 332, + 252, + 16, + 334, + 252, + 17, + 336, + 252, + 18, + 337, + 252, + 19, + 337, + 252, + 20, + 337, + 252, + 20, + 337, + 252, + 21, + 337, + 252, + 22, + 337, + 252, + 23, + 337, + 252, + 24, + 337, + 252, + 25, + 337, + 252, + 26, + 337, + 252, + 27, + 335, + 252, + 28, + 332, + 252, + 29, + 335, + 252, + 30, + 337, + 252, + 31, + 337, + 252, + 32, + 337, + 253, + 33, + 337, + 253, + 33, + 337, + 253, + 33, + 337, + 253, + 33, + 337, + 253, + 33, + 337, + 253, + 33, + 337, + 253, + 33, + 337, + 253, + 33, + 337, + 253, + 33, + 337, + 253, + 33, + 0, +}; + +Compact sc72_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 342, // xcood + 180, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 355-342, // mouseSize_x + 282-180, // mouseSize_y + SC72_EXIT_ACTION, // actionScript +}; + +uint16 wit_l_to_d[] = { + 33+159*64, + 0, +}; + +uint16 sc72_cham3_anim[] = { + 176*64, + 344, + 191, + 0, + 344, + 191, + 1, + 344, + 191, + 2, + 344, + 191, + 3, + 344, + 191, + 4, + 344, + 191, + 5, + 344, + 191, + 6, + 344, + 191, + 7, + 344, + 191, + 8, + 344, + 191, + 9, + 344, + 191, + 10, + 344, + 191, + 11, + 344, + 191, + 12, + 344, + 191, + 13, + 344, + 191, + 14, + 344, + 191, + 15, + 344, + 191, + 16, + 344, + 191, + 17, + 344, + 191, + 18, + 344, + 191, + 19, + 0, +}; + +uint16 sc72_chip_list[] = { + IT_SC72_LAYER_0+DISK_7, + IT_SC72_LAYER_1+DISK_7, + IT_SC72_LAYER_2+DISK_7, + IT_SC72_GRID_1+DISK_7, + IT_SC72_GRID_2+DISK_7, + IT_MEDI+DISK_7, + IT_MEDI_TALK+DISK_7, + IT_WITNESS+DISK_7+0X8000, + IT_WALTER_TALK_UP+DISK_7, + IT_WALTER_TALK_DOWN+DISK_7, + IT_WALTER_TALK_LEFT+DISK_7, + IT_WALTER_CONVERSATION+DISK_7+0X8000, + 133+DISK_7, + IT_SC72_WALTER_KILL+DISK_7, + IT_SC72_CHAM1_LIGHT+DISK_7, + IT_SC72_CHAM2_LIGHT+DISK_7, + IT_SC72_COMPUTER+DISK_7, + IT_SC72_COMPUTER2+DISK_7, + IT_SC72_CHAMBER1+DISK_7, + IT_SC72_CHAMBER2+DISK_7, + IT_SC72_CHAMBER3+DISK_7, + IT_SC72_GRILL+DISK_7, + IT_SC72_JOEY_TAP+DISK_7, + IT_SC72_SPILL+DISK_7, + 0, +}; + +uint16 sc72_foster_die[] = { + 179*64, + 340, + 250, + 0, + 340, + 250, + 0, + 340, + 250, + 0, + 340, + 250, + 0, + 341, + 249, + 1, + 340, + 249, + 2, + 340, + 248, + 3, + 339, + 247, + 4, + 341, + 246, + 5, + 345, + 246, + 6, + 345, + 246, + 7, + 346, + 247, + 8, + 345, + 247, + 9, + 342, + 247, + 10, + 343, + 246, + 11, + 342, + 246, + 12, + 348, + 246, + 13, + 350, + 246, + 14, + 349, + 246, + 15, + 350, + 246, + 16, + 350, + 247, + 17, + 348, + 247, + 18, + 344, + 247, + 19, + 344, + 246, + 20, + 341, + 246, + 21, + 350, + 246, + 22, + 349, + 246, + 23, + 350, + 246, + 24, + 349, + 248, + 25, + 351, + 248, + 26, + 342, + 249, + 27, + 349, + 249, + 28, + 349, + 248, + 29, + 348, + 248, + 30, + 352, + 249, + 31, + 353, + 249, + 32, + 351, + 249, + 33, + 352, + 249, + 34, + 353, + 249, + 35, + 354, + 249, + 36, + 353, + 249, + 37, + 353, + 249, + 38, + 352, + 249, + 39, + 353, + 249, + 38, + 0, +}; + +uint16 sc72_cham1_anim[] = { + 174*64, + 221, + 190, + 0, + 221, + 190, + 1, + 221, + 190, + 2, + 221, + 190, + 3, + 221, + 190, + 4, + 221, + 190, + 5, + 221, + 190, + 6, + 221, + 190, + 7, + 221, + 190, + 8, + 221, + 190, + 9, + 221, + 190, + 10, + 221, + 190, + 11, + 221, + 190, + 12, + 221, + 190, + 13, + 221, + 190, + 14, + 221, + 190, + 15, + 221, + 190, + 16, + 221, + 190, + 17, + 221, + 190, + 18, + 221, + 190, + 19, + 0, +}; + +uint16 sc72_cham2_anim[] = { + 175*64, + 280, + 190, + 0, + 280, + 190, + 1, + 280, + 190, + 2, + 280, + 190, + 3, + 280, + 190, + 4, + 280, + 190, + 5, + 280, + 190, + 6, + 280, + 190, + 7, + 280, + 190, + 8, + 280, + 190, + 9, + 280, + 190, + 10, + 280, + 190, + 11, + 280, + 190, + 12, + 280, + 190, + 13, + 280, + 190, + 14, + 280, + 190, + 15, + 280, + 190, + 16, + 280, + 190, + 17, + 280, + 190, + 18, + 280, + 190, + 19, + 0, +}; + +uint16 reset_71_72[] = { + C_SCREEN, + 72, + C_PLACE, + ID_SC72_FLOOR, + C_XCOOD, + 400, + C_YCOOD, + 296, + 65535, +}; + +uint16 wit_st_left[] = { + 159*64, + 1, + 0, + 34, + 0, +}; + +Compact sc72_cham1_light = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 232, // xcood + 244, // ycood + 171*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC72_CHAM1_LIGHT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc72_palette[] = { + 0, + 1024, + 1028, + 1286, + 1285, + 1799, + 1543, + 2056, + 1800, + 2311, + 2569, + 2057, + 2569, + 3594, + 2056, + 2827, + 3337, + 3083, + 3339, + 4108, + 2830, + 3598, + 3086, + 3345, + 3347, + 3341, + 4625, + 3857, + 3856, + 3858, + 3861, + 4368, + 4881, + 4627, + 4111, + 4373, + 4375, + 5138, + 4628, + 5138, + 3349, + 4889, + 5650, + 6168, + 4629, + 4890, + 5140, + 5656, + 5401, + 4119, + 5915, + 5660, + 5651, + 6680, + 5408, + 6931, + 5656, + 6932, + 5916, + 5914, + 5918, + 4376, + 7710, + 8210, + 6682, + 5916, + 5921, + 5398, + 6686, + 6940, + 5914, + 7709, + 5924, + 4888, + 8225, + 8212, + 4644, + 7203, + 7961, + 8732, + 6171, + 8215, + 9248, + 6938, + 7709, + 9756, + 6170, + 9493, + 7965, + 6688, + 7458, + 5407, + 9763, + 8729, + 7715, + 7969, + 6953, + 10010, + 6686, + 10006, + 6432, + 10020, + 8733, + 8484, + 7202, + 9500, + 6432, + 8742, + 7721, + 6173, + 7721, + 7974, + 8991, + 7205, + 8236, + 7198, + 7211, + 8744, + 7204, + 11049, + 10783, + 9504, + 8486, + 11036, + 7971, + 9769, + 11548, + 11815, + 7972, + 9258, + 7719, + 10539, + 12317, + 10017, + 9768, + 9772, + 7716, + 7730, + 12066, + 8739, + 11309, + 11304, + 8232, + 11823, + 10032, + 9256, + 12077, + 12324, + 8743, + 8244, + 12583, + 9253, + 9012, + 12326, + 13101, + 11048, + 11309, + 9772, + 10802, + 12076, + 9768, + 9271, + 12839, + 10290, + 10038, + 13608, + 12080, + 11569, + 13865, + 10796, + 13108, + 13613, + 11313, + 11064, + 13362, + 11565, + 12089, + 14895, + 13612, + 13109, + 14129, + 12084, + 12857, + 14387, + 12592, + 13371, + 14899, + 13623, + 14653, + 15417, + 15161, + 15423, + 3082, + 4362, + 3344, + 63, + 0, + 47, + 16191, + 10520, + 3881, + 4883, + 8198, + 2848, + 9, + 2816, + 0, + 13, + 3840, + 0, + 20, + 6400, + 0, + 40, + 14080, + 0, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 5662, + 7704, + 6166, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 5141, + 3854, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 14649, + 12601, + 13105, + 10537, + 8749, + 10018, + 7196, + 5665, + 6934, + 2879, + 13835, + 1542, + 558, + 9730, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 7743, + 6166, + 5662, + 7704, + 6166, + 5662, + 13848, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc72_joey_list[] = { + 152, + 343, + 272, + 319, + 1, + 288, + 343, + 296, + 303, + 0, + 184, + 231, + 272, + 295, + 0, + 0, +}; + +uint16 sc72_cham2_flash[] = { + 172*64, + 293, + 244, + 0, + 293, + 244, + 1, + 293, + 244, + 0, + 293, + 244, + 0, + 293, + 244, + 0, + 293, + 244, + 0, + 293, + 244, + 0, + 293, + 244, + 0, + 293, + 244, + 0, + 293, + 244, + 0, + 293, + 244, + 0, + 293, + 244, + 0, + 0, +}; + +uint16 wit_st_down[] = { + 159*64, + 1, + 0, + 32, + 0, +}; + +uint32 grid72[0]; + +uint16 sc72_mouse_list[] = { + ID_MEDI, + ID_SC72_TAP, + ID_SC72_SPILL, + ID_SC72_TANK, + ID_SC72_GRILL, + ID_WITNESS, + ID_SC72_COMPUTER, + ID_SC72_CHAMBER1, + ID_SC72_CHAMBER2, + ID_SC72_DOOR, + ID_SC72_EXIT, + ID_SC72_FLOOR, + ID_SC72_FAKE_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc72_fake_floor = { + 0, // logic + 0, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 128, // xcood + 136, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-128, // mouseSize_x + 327-136, // mouseSize_y + 0, // actionScript +}; + +uint16 wit_st_up[] = { + 159*64, + 1, + 0, + 36, + 0, +}; + +Compact sc72_tap = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 269, // xcood + 269, // ycood + 0, // frame + 20567, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 278-269, // mouseSize_x + 278-269, // mouseSize_y + SC72_TAP_ACTION, // actionScript +}; + +uint16 wit_l_to_t[] = { + 33+159*64, + 32+159*64, + 0, +}; + +uint16 wit_st_talk[] = { + 129*64, + 1, + 0, + 0, + 0, +}; + +uint16 wit_d_to_l[] = { + 33+159*64, + 0, +}; + +Compact sc72_spill = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 250, // xcood + 279, // ycood + 31*64, // frame + 20577, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 2, // mouseRel_y + 277-250, // mouseSize_x + 295-281, // mouseSize_y + SC72_SPILL_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC72_SPILL_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc72_computer = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 169, // xcood + 227, // ycood + 169*64, // frame + 20695, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65532, // mouseRel_x + 65530, // mouseRel_y + 183-165, // mouseSize_x + 236-221, // mouseSize_y + SC72_COMPUTER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC72_COMPUTER_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 wit_l_to_u[] = { + 35+159*64, + 0, +}; + +Compact sc72_door = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 368, // xcood + 227, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 387-368, // mouseSize_x + 306-227, // mouseSize_y + SC72_DOOR_ACTION, // actionScript +}; + +uint16 wit_u_to_l[] = { + 35+159*64, + 0, +}; + +uint16 sc72_cham1_flash[] = { + 171*64, + 232, + 244, + 0, + 232, + 244, + 1, + 232, + 244, + 1, + 232, + 244, + 1, + 232, + 244, + 1, + 232, + 244, + 1, + 232, + 244, + 1, + 232, + 244, + 1, + 232, + 244, + 1, + 232, + 244, + 1, + 232, + 244, + 1, + 232, + 244, + 1, + 0, +}; + +uint16 wit_d_to_r[] = { + 39+159*64, + 0, +}; + +uint16 wit_left[] = { + 4, + 16+159*64, + 65532, + 0, + 4, + 17+159*64, + 65532, + 0, + 4, + 18+159*64, + 65532, + 0, + 4, + 19+159*64, + 65532, + 0, + 4, + 20+159*64, + 65532, + 0, + 4, + 21+159*64, + 65532, + 0, + 4, + 22+159*64, + 65532, + 0, + 4, + 23+159*64, + 65532, + 0, + 0, +}; + +uint16 sc72_tank_anim[] = { + 173*64, + 278, + 255, + 0, + 278, + 255, + 1, + 278, + 255, + 2, + 278, + 255, + 3, + 278, + 255, + 4, + 278, + 255, + 5, + 278, + 255, + 6, + 278, + 255, + 7, + 278, + 255, + 8, + 278, + 255, + 9, + 278, + 255, + 10, + 278, + 255, + 11, + 278, + 255, + 12, + 278, + 255, + 13, + 278, + 255, + 14, + 278, + 255, + 15, + 278, + 255, + 16, + 278, + 255, + 17, + 278, + 255, + 18, + 278, + 255, + 19, + 0, +}; + +uint16 wit_right[] = { + 4, + 24+159*64, + 4, + 0, + 4, + 25+159*64, + 4, + 0, + 4, + 26+159*64, + 4, + 0, + 4, + 27+159*64, + 4, + 0, + 4, + 28+159*64, + 4, + 0, + 4, + 29+159*64, + 4, + 0, + 4, + 30+159*64, + 4, + 0, + 4, + 31+159*64, + 4, + 0, + 0, +}; + +uint16 wit_t_to_u[] = { + 38+159*64, + 37+159*64, + 0, +}; + +uint16 wit_u_to_t[] = { + 37+159*64, + 38+159*64, + 0, +}; + +Compact sc72_chamber3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 344, // xcood + 191, // ycood + 176*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC72_CHAMBER3_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 wit_down[] = { + 2, + 8+159*64, + 0, + 2, + 2, + 9+159*64, + 0, + 2, + 2, + 10+159*64, + 0, + 2, + 2, + 11+159*64, + 0, + 2, + 2, + 12+159*64, + 0, + 2, + 2, + 13+159*64, + 0, + 2, + 2, + 14+159*64, + 0, + 2, + 2, + 15+159*64, + 0, + 2, + 0, +}; + +uint16 wit_u_to_r[] = { + 37+159*64, + 0, +}; + +uint16 wit_r_to_u[] = { + 37+159*64, + 0, +}; + +uint16 wit_t_to_l[] = { + 32+159*64, + 33+159*64, + 0, +}; + +uint16 *witness_turnTable[5][5] = { + { // turnTableup + 0, + wit_u_to_d, + wit_u_to_l, + wit_u_to_r, + wit_u_to_t + }, + { // turnTableDown + wit_d_to_u, + 0, + wit_d_to_l, + wit_d_to_r, + 0 + }, + { // turnTableLeft + wit_l_to_u, + wit_l_to_d, + 0, + wit_l_to_r, + wit_l_to_t + }, + { // turnTableRight + wit_r_to_u, + wit_r_to_d, + wit_r_to_l, + 0, + 0 + }, + { // turnTableTalk + wit_t_to_u, + 0, + wit_t_to_l, + 0, + 0 + }, +}; + +ExtCompact witness_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + DOWN, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_WITNESS, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + wit_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + wit_up, // animUp + wit_down, // animDown + wit_left, // animLeft + wit_right, // animRight + wit_st_up, // standUp + wit_st_down, // standDown + wit_st_left, // standLeft + wit_st_right, // standRight + wit_st_talk, // standTalk +}; + +Compact witness = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_MOUSE+ST_COLLISION, // status + 0, // sync + 72, // screen + ID_SC72_FLOOR, // place + 0, // getToTable + 256, // xcood + 280, // ycood + 32+159*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65528, // mouseRel_x + 65493, // mouseRel_y + 14, // mouseSize_x + 50, // mouseSize_y + MEGA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + WITNESS_LOGIC, // baseSub + 0, // baseSub_off + &witness_ext, + &witness_turnTable, +}; + +uint16 sc72_logic_list[] = { + ID_FOSTER, + ID_MEDI, + ID_WITNESS, + ID_KEN, + ID_SC67_DOOR, + ID_SC68_DOOR, + ID_SC72_CHAMBER1, + ID_SC72_CHAM1_LIGHT, + ID_SC72_CHAMBER2, + ID_SC72_CHAM2_LIGHT, + ID_SC72_CHAMBER3, + ID_SC72_TANK, + ID_SC72_ROT_LIGHT, + ID_SC72_COMPUTER, + ID_SC72_COMPUTER2, + ID_SC72_SPILL, + ID_SC72_GRILL, + ID_SC75_TONGS, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 reset_73_72[] = { + C_SCREEN, + 72, + C_PLACE, + ID_SC72_FLOOR, + C_XCOOD, + 368, + C_YCOOD, + 272, + 65535, +}; + +uint16 sc720_chip_list[] = { + IT_SC720_LAYER_0+DISK_7, + IT_SC720_LAYER_1+DISK_7, + IT_SC720_LAYER_2+DISK_7, + IT_SC720_GRID_1+DISK_7, + IT_SC720_GRID_2+DISK_7, + IT_MEDI+DISK_7, + IT_MEDI_TALK+DISK_7, + IT_WITNESS+DISK_7+0X8000, + IT_WALTER_TALK_UP+DISK_7, + IT_WALTER_TALK_DOWN+DISK_7, + IT_WALTER_TALK_LEFT+DISK_7, + IT_SC72_CHAM1_LIGHT+DISK_7, + IT_SC72_CHAM2_LIGHT+DISK_7, + IT_SC72_COMPUTER+DISK_7, + IT_SC72_COMPUTER2+DISK_7, + IT_SC72_CHAMBER1+DISK_7, + IT_SC72_CHAMBER2+DISK_7, + IT_SC72_CHAMBER3+DISK_7, + IT_SC72_GRILL+DISK_7, + IT_SC72_JOEY_TAP+DISK_7, + IT_SC72_SPILL+DISK_7, + 0, +}; + +Compact sc72_grill = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 214, // xcood + 282, // ycood + 28*64, // frame + 20511, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 1, // mouseRel_x + 65535, // mouseRel_y + 242-215, // mouseSize_x + 287-281, // mouseSize_y + SC72_GRILL_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC72_GRILL_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc72_chamber1 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 72, // screen + 0, // place + 0, // getToTable + 223, // xcood + 191, // ycood + 174*64, // frame + 20569, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65533, // mouseRel_x + 65534, // mouseRel_y + 249-220, // mouseSize_x + 242-189, // mouseSize_y + SC72_CHAMBERS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC72_CHAMBER1_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/73comp.h b/sky/compacts/73comp.h new file mode 100644 index 00000000000..5567f0a053e --- /dev/null +++ b/sky/compacts/73comp.h @@ -0,0 +1,2480 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY73COMP_H +#define SKY73COMP_H + + + + +namespace SkyCompact { + +uint16 gal_u_to_l[] = { + 35+90*64, + 0, +}; + +Compact sc73_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 185, // xcood + 162, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 205-185, // mouseSize_x + 283-162, // mouseSize_y + SC73_EXIT_ACTION, // actionScript +}; + +uint16 sc73_cham5_flash[] = { + 96*64, + 291, + 242, + 0, + 291, + 242, + 1, + 291, + 242, + 1, + 291, + 242, + 1, + 291, + 242, + 1, + 291, + 242, + 1, + 291, + 242, + 1, + 291, + 242, + 1, + 291, + 242, + 1, + 291, + 242, + 1, + 291, + 242, + 1, + 291, + 242, + 1, + 291, + 242, + 1, + 291, + 242, + 1, + 0, +}; + +uint16 sc73_cham5_anim[] = { + 141*64, + 279, + 190, + 0, + 279, + 190, + 1, + 279, + 190, + 2, + 279, + 190, + 3, + 279, + 190, + 4, + 279, + 190, + 5, + 279, + 190, + 6, + 279, + 190, + 7, + 279, + 190, + 8, + 279, + 190, + 9, + 279, + 190, + 10, + 279, + 190, + 11, + 279, + 190, + 12, + 279, + 190, + 13, + 279, + 190, + 14, + 279, + 190, + 15, + 279, + 190, + 16, + 279, + 190, + 17, + 279, + 190, + 18, + 279, + 190, + 19, + 0, +}; + +uint8 gal_auto[64]; + +uint16 gal_up[] = { + 2, + 0+90*64, + 0, + 65534, + 2, + 1+90*64, + 0, + 65534, + 2, + 2+90*64, + 0, + 65534, + 2, + 3+90*64, + 0, + 65534, + 2, + 4+90*64, + 0, + 65534, + 2, + 5+90*64, + 0, + 65534, + 2, + 6+90*64, + 0, + 65534, + 2, + 7+90*64, + 0, + 65534, + 0, +}; + +uint16 gal_down[] = { + 2, + 8+90*64, + 0, + 2, + 2, + 9+90*64, + 0, + 2, + 2, + 10+90*64, + 0, + 2, + 2, + 11+90*64, + 0, + 2, + 2, + 12+90*64, + 0, + 2, + 2, + 13+90*64, + 0, + 2, + 2, + 14+90*64, + 0, + 2, + 2, + 15+90*64, + 0, + 2, + 0, +}; + +uint16 gal_left[] = { + 4, + 16+90*64, + 65532, + 0, + 4, + 17+90*64, + 65532, + 0, + 4, + 18+90*64, + 65532, + 0, + 4, + 19+90*64, + 65532, + 0, + 4, + 20+90*64, + 65532, + 0, + 4, + 21+90*64, + 65532, + 0, + 4, + 22+90*64, + 65532, + 0, + 4, + 23+90*64, + 65532, + 0, + 0, +}; + +uint16 gal_right[] = { + 4, + 24+90*64, + 4, + 0, + 4, + 25+90*64, + 4, + 0, + 4, + 26+90*64, + 4, + 0, + 4, + 27+90*64, + 4, + 0, + 4, + 28+90*64, + 4, + 0, + 4, + 29+90*64, + 4, + 0, + 4, + 30+90*64, + 4, + 0, + 4, + 31+90*64, + 4, + 0, + 0, +}; + +uint16 gal_st_up[] = { + 90*64, + 1, + 0, + 36, + 0, +}; + +uint16 gal_st_down[] = { + 90*64, + 1, + 0, + 32, + 0, +}; + +uint16 gal_st_left[] = { + 90*64, + 1, + 0, + 34, + 0, +}; + +uint16 gal_st_right[] = { + 90*64, + 1, + 0, + 38, + 0, +}; + +uint16 gal_u_to_d[] = { + 35+90*64, + 34+90*64, + 33+90*64, + 0, +}; + +uint16 gal_u_to_r[] = { + 37+90*64, + 0, +}; + +uint16 gal_d_to_u[] = { + 39+90*64, + 38+90*64, + 37+90*64, + 0, +}; + +uint16 gal_d_to_l[] = { + 33+90*64, + 0, +}; + +uint16 gal_d_to_r[] = { + 39+90*64, + 0, +}; + +uint16 gal_l_to_u[] = { + 35+90*64, + 0, +}; + +uint16 gal_l_to_d[] = { + 33+90*64, + 0, +}; + +uint16 gal_l_to_r[] = { + 33+90*64, + 32+90*64, + 39+90*64, + 0, +}; + +uint16 gal_r_to_u[] = { + 37+90*64, + 0, +}; + +uint16 gal_r_to_d[] = { + 39+90*64, + 0, +}; + +uint16 gal_r_to_l[] = { + 37+90*64, + 36+90*64, + 35+90*64, + 0, +}; + +uint16 *gallagher_turnTable[5][5] = { + { // turnTableup + 0, + gal_u_to_d, + gal_u_to_l, + gal_u_to_r, + 0 + }, + { // turnTableDown + gal_d_to_u, + 0, + gal_d_to_l, + gal_d_to_r, + 0 + }, + { // turnTableLeft + gal_l_to_u, + gal_l_to_d, + 0, + gal_l_to_r, + 0 + }, + { // turnTableRight + gal_r_to_u, + gal_r_to_d, + gal_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact gallagher_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + LEFT, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_GALAG, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + gal_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + gal_up, // animUp + gal_down, // animDown + gal_left, // animLeft + gal_right, // animRight + gal_st_up, // standUp + gal_st_down, // standDown + gal_st_left, // standLeft + gal_st_right, // standRight + 0, // standTalk +}; + +Compact gallagher = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION, // status + 0, // sync + 73, // screen + ID_SC73_FLOOR, // place + 0, // getToTable + 408, // xcood + 296, // ycood + 34+90*64, // frame + 20630, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 1, // mouseRel_y + 32, // mouseSize_x + 16, // mouseSize_y + SC73_CORPSE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + GALLAGHER_LOGIC73, // baseSub + 0, // baseSub_off + &gallagher_ext, + &gallagher_turnTable, +}; + +uint16 sc73_joey_fight1[] = { + 86*64, + 313, + 240, + 0, + 315, + 240, + 0, + 316, + 240, + 0, + 317, + 240, + 0, + 318, + 240, + 0, + 318, + 240, + 0, + 312, + 241, + 1, + 303, + 238, + 2, + 299, + 237, + 3, + 297, + 239, + 4, + 293, + 244, + 5, + 292, + 242, + 6, + 293, + 242, + 7, + 287, + 244, + 8, + 281, + 245, + 9, + 279, + 248, + 10, + 276, + 248, + 11, + 272, + 247, + 12, + 271, + 246, + 13, + 270, + 247, + 14, + 271, + 248, + 15, + 270, + 249, + 16, + 271, + 250, + 17, + 271, + 251, + 18, + 271, + 252, + 19, + 271, + 253, + 20, + 271, + 254, + 21, + 271, + 255, + 22, + 271, + 255, + 22, + 271, + 255, + 22, + 0, +}; + +uint16 sc73_gall_fight2[] = { + 89*64, + 318, + 227, + 0, + 317, + 227, + 1, + 310, + 226, + 2, + 304, + 226, + 3, + 304, + 227, + 4, + 300, + 226, + 5, + 298, + 226, + 0, + 299, + 226, + 6, + 299, + 226, + 7, + 296, + 226, + 8, + 296, + 226, + 9, + 297, + 226, + 10, + 297, + 226, + 10, + 297, + 226, + 10, + 297, + 226, + 10, + 297, + 226, + 10, + 284, + 228, + 11, + 282, + 233, + 12, + 285, + 231, + 13, + 290, + 228, + 14, + 293, + 227, + 15, + 295, + 227, + 16, + 297, + 228, + 17, + 299, + 230, + 18, + 298, + 232, + 19, + 295, + 239, + 20, + 294, + 247, + 21, + 294, + 255, + 22, + 294, + 265, + 23, + 294, + 266, + 24, + 294, + 266, + 25, + 294, + 266, + 26, + 294, + 266, + 27, + 294, + 266, + 28, + 294, + 266, + 29, + 294, + 266, + 30, + 294, + 266, + 31, + 294, + 266, + 32, + 294, + 266, + 33, + 0, +}; + +uint16 reset_72_73[] = { + C_SCREEN, + 73, + C_PLACE, + ID_SC73_FLOOR, + C_XCOOD, + 168, + C_YCOOD, + 264, + 65535, +}; + +uint16 sc73_joey_fight2[] = { + 88*64, + 271, + 253, + 0, + 271, + 255, + 1, + 271, + 255, + 1, + 271, + 255, + 1, + 271, + 252, + 2, + 271, + 255, + 1, + 271, + 255, + 1, + 271, + 251, + 3, + 271, + 255, + 1, + 271, + 255, + 1, + 271, + 255, + 1, + 271, + 255, + 4, + 271, + 255, + 5, + 271, + 254, + 6, + 271, + 250, + 7, + 271, + 250, + 7, + 269, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 268, + 255, + 8, + 0, +}; + +uint16 sc73_floor_table[] = { + ID_SC73_FLOOR, + RETURN_OK, + ID_SC73_EXIT, + GT_SC73_EXIT, + 0, + SC73_EXIT_WALK_ON, + 1, + SC73_DOOR_WALK_ON, + 3, + SC73_BIG_DOOR_WALK_ON, + ID_SC73_CHAMBER4, + GT_SC73_CHAMBER4, + ID_SC73_CHAMBER5, + GT_SC73_CHAMBER5, + ID_SC73_BIG_DOOR, + GT_SC73_BIG_DOOR, + ID_SC73_SENSOR, + GT_SC73_SENSOR, + ID_SC73_DOOR, + GT_SC73_DOOR, + ID_SC73_LOCKED_DOOR, + GT_SC73_LOCKED_DOOR, + ID_JOEY_PARK, + GT_JOEY_PARK, + 4, + GT_SC73_JOEY_WAIT, + 5, + GT_SC73_GALL_1, + 6, + GT_SC73_GALL_2, + ID_MEDI, + GT_SC73_WRECKED_DROID, + ID_GALLAGHER, + GT_SC73_CORPSE, + 65535, +}; + +Compact sc73_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 73, // screen + 0, // place + sc73_floor_table, // getToTable + 188, // xcood + 260, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 375-188, // mouseSize_x + 327-260, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc73_bits_anim[] = { + 74*64, + 322, + 237, + 0, + 322, + 237, + 0, + 322, + 237, + 0, + 322, + 237, + 0, + 322, + 237, + 0, + 322, + 237, + 0, + 322, + 237, + 0, + 314, + 238, + 1, + 312, + 237, + 2, + 310, + 239, + 3, + 285, + 248, + 0, + 285, + 248, + 0, + 285, + 248, + 0, + 279, + 244, + 4, + 261, + 243, + 5, + 251, + 243, + 6, + 244, + 248, + 7, + 234, + 259, + 8, + 0, +}; + +uint16 sc73_gall_fight1[] = { + 87*64, + 339, + 227, + 0, + 339, + 227, + 1, + 339, + 227, + 2, + 336, + 227, + 3, + 336, + 227, + 4, + 335, + 228, + 5, + 324, + 229, + 6, + 317, + 230, + 7, + 319, + 231, + 8, + 321, + 230, + 9, + 320, + 229, + 10, + 318, + 229, + 11, + 305, + 230, + 12, + 305, + 230, + 13, + 313, + 229, + 14, + 316, + 227, + 15, + 318, + 227, + 16, + 319, + 227, + 17, + 319, + 227, + 17, + 319, + 227, + 17, + 319, + 227, + 17, + 319, + 227, + 17, + 319, + 227, + 17, + 319, + 227, + 17, + 319, + 227, + 17, + 319, + 227, + 17, + 319, + 227, + 17, + 319, + 227, + 17, + 319, + 227, + 17, + 319, + 227, + 17, + 0, +}; + +Compact sc73_door = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 362, // xcood + 212, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 369-362, // mouseSize_x + 270-212, // mouseSize_y + SC73_DOOR_ACTION, // actionScript +}; + +uint16 sc73_cham4_anim[] = { + 140*64, + 225, + 190, + 0, + 225, + 190, + 1, + 225, + 190, + 2, + 225, + 190, + 3, + 225, + 190, + 4, + 225, + 190, + 5, + 225, + 190, + 6, + 225, + 190, + 7, + 225, + 190, + 8, + 225, + 190, + 9, + 225, + 190, + 10, + 225, + 190, + 11, + 225, + 190, + 12, + 225, + 190, + 13, + 225, + 190, + 14, + 225, + 190, + 15, + 225, + 190, + 16, + 225, + 190, + 17, + 225, + 190, + 18, + 225, + 190, + 19, + 0, +}; + +Compact sc73_bits = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 322, // xcood + 237, // ycood + 74*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC73_BITS_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc73_locked_door = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 162, // xcood + 236, // ycood + 0, // frame + 181, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 178-162, // mouseSize_x + 298-236, // mouseSize_y + SC73_LOCKED_DOOR_ACTION, // actionScript +}; + +uint16 sc73_mouse_list[] = { + ID_MEDI, + ID_GALLAGHER, + ID_SC73_CHAMBER4, + ID_SC73_CHAMBER5, + ID_SC73_SENSOR, + ID_SC73_BIG_DOOR, + ID_SC73_EXIT, + ID_SC73_DOOR, + ID_SC73_LOCKED_DOOR, + ID_SC73_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc73_sensor = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 405, // xcood + 251, // ycood + 139*64, // frame + 20570, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65532, // mouseRel_x + 65532, // mouseRel_y + 410-401, // mouseSize_x + 271-247, // mouseSize_y + SC73_SENSOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC73_SENSOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc73_cham5_light = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 291, // xcood + 242, // ycood + 96*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC73_CHAM5_LIGHT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc73_joey_lunge[] = { + 85*64, + 254, + 240, + 0, + 256, + 241, + 1, + 260, + 242, + 2, + 266, + 243, + 3, + 274, + 243, + 3, + 282, + 243, + 3, + 290, + 242, + 2, + 296, + 241, + 1, + 302, + 240, + 0, + 306, + 240, + 0, + 310, + 240, + 0, + 0, +}; + +uint16 sc73_get_board[] = { + 43*64, + 272, + 216, + 0, + 272, + 216, + 1, + 272, + 216, + 2, + 272, + 216, + 3, + 272, + 216, + 3, + 272, + 216, + 3, + 272, + 216, + 3, + 272, + 216, + 3, + 272, + 216, + 3, + 272, + 216, + 3, + 272, + 216, + 3, + 272, + 216, + 2, + 272, + 216, + 1, + 272, + 216, + 0, + 0, +}; + +uint16 sc73_chip_list[] = { + IT_SC73_LAYER_0+DISK_7, + IT_SC73_LAYER_1+DISK_7, + IT_SC73_LAYER_2+DISK_7, + IT_SC73_GRID_1+DISK_7, + IT_SC73_GRID_2+DISK_7, + IT_MEDI+DISK_7, + IT_MEDI_TALK+DISK_7, + IT_GALLAGHER+DISK_7+0X8000, + IT_GALL_TALK+DISK_7, + IT_SC73_SENSOR+DISK_7, + IT_SC73_CHAMBER3+DISK_7, + IT_SC73_CHAMBER4+DISK_7, + IT_SC73_CHAMBER5+DISK_7, + IT_SC73_BIG_DOOR+DISK_7, + IT_SC73_CHAM4_LIGHT+DISK_7, + IT_SC73_CHAM5_LIGHT+DISK_7, + IT_SC73_JOEY_LUNGE+DISK_7, + IT_SC73_JOEY_FIGHT1+DISK_7, + IT_SC73_JOEY_FIGHT2+DISK_7, + IT_SC73_DEAD_GALL+DISK_7, + IT_SC73_BITS+DISK_7, + IT_SC73_BITS2+DISK_7, + IT_SC73_SPRAY+DISK_7, + 0, +}; + +Compact sc73_spray = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 312, // xcood + 224, // ycood + 76*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC73_SPRAY_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 reset_74_73[] = { + C_SCREEN, + 73, + C_PLACE, + ID_SC73_FLOOR, + C_XCOOD, + 384, + C_YCOOD, + 264, + 65535, +}; + +uint32 grid73[0]; + +Compact sc73_bits2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 285, // xcood + 248, // ycood + 75*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC73_BITS2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc73_sensor_anim[] = { + 139*64, + 405, + 251, + 0, + 405, + 251, + 0, + 405, + 251, + 0, + 405, + 251, + 0, + 405, + 251, + 0, + 405, + 251, + 0, + 405, + 251, + 0, + 405, + 251, + 0, + 405, + 251, + 0, + 405, + 251, + 1, + 405, + 251, + 1, + 405, + 251, + 1, + 405, + 251, + 1, + 405, + 251, + 1, + 405, + 251, + 1, + 405, + 251, + 1, + 405, + 251, + 1, + 405, + 251, + 1, + 405, + 251, + 2, + 405, + 251, + 2, + 405, + 251, + 2, + 405, + 251, + 2, + 405, + 251, + 2, + 405, + 251, + 2, + 405, + 251, + 2, + 405, + 251, + 2, + 405, + 251, + 2, + 405, + 251, + 2, + 405, + 251, + 3, + 0, +}; + +uint16 sc73_fast_list[] = { + 12+DISK_7, + 51+DISK_7, + 52+DISK_7, + 53+DISK_7, + 54+DISK_7, + 268+DISK_7, + 0, +}; + +uint16 sc73_joey_list[] = { + 176, + 391, + 272, + 319, + 1, + 176, + 199, + 272, + 295, + 0, + 384, + 391, + 288, + 303, + 0, + 176, + 207, + 296, + 303, + 0, + 0, +}; + +uint16 sc73_spray_anim[] = { + 76*64, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 312, + 224, + 0, + 306, + 235, + 1, + 311, + 226, + 2, + 315, + 225, + 3, + 325, + 220, + 4, + 336, + 224, + 5, + 348, + 234, + 6, + 0, +}; + +Compact sc73_chamber4 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 225, // xcood + 190, // ycood + 140*64, // frame + 20569, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65534, // mouseRel_x + 65533, // mouseRel_y + 253-224, // mouseSize_x + 238-188, // mouseSize_y + SC73_CHAMBER4_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC73_CHAMBER4_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc73_chamber3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 189, // xcood + 190, // ycood + 142*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC73_CHAMBER3_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc73_palette[] = { + 0, + 1024, + 1284, + 2053, + 1799, + 2311, + 1801, + 2311, + 2825, + 2824, + 2824, + 2572, + 3082, + 2062, + 2830, + 2830, + 3852, + 3597, + 3853, + 3854, + 3087, + 3346, + 4622, + 3087, + 3856, + 3345, + 4625, + 4876, + 4878, + 3601, + 4880, + 5135, + 4624, + 4625, + 5907, + 4113, + 5902, + 5392, + 5138, + 5392, + 4631, + 4630, + 4633, + 5651, + 5397, + 4382, + 4370, + 6424, + 5654, + 5654, + 5656, + 6164, + 6939, + 5141, + 5657, + 4631, + 5659, + 5151, + 5397, + 6170, + 6172, + 6422, + 6681, + 6173, + 8986, + 5398, + 7955, + 6171, + 6685, + 7194, + 7965, + 5915, + 7955, + 8740, + 6426, + 6437, + 7959, + 6939, + 7202, + 7197, + 7711, + 8725, + 10275, + 6426, + 9493, + 7710, + 6944, + 9239, + 5664, + 9764, + 9242, + 10273, + 7197, + 10518, + 9500, + 7710, + 7211, + 8474, + 8481, + 10523, + 7709, + 8997, + 10521, + 11042, + 7455, + 10009, + 9001, + 9251, + 10268, + 11302, + 8225, + 8744, + 8227, + 7978, + 12059, + 7194, + 8493, + 8750, + 9501, + 9510, + 9766, + 7718, + 7216, + 11038, + 11816, + 8484, + 11297, + 11302, + 9254, + 12062, + 12324, + 9254, + 12833, + 11806, + 10024, + 11556, + 10284, + 10795, + 11813, + 8488, + 11312, + 12579, + 8999, + 7477, + 10546, + 9253, + 9012, + 12071, + 11566, + 11053, + 12580, + 13361, + 10282, + 13862, + 10783, + 10290, + 12584, + 12339, + 10287, + 13351, + 10796, + 11570, + 13864, + 13607, + 10797, + 12844, + 11057, + 9527, + 12849, + 13868, + 11567, + 13866, + 11570, + 11320, + 13617, + 12079, + 10553, + 14126, + 11568, + 13367, + 13875, + 12338, + 13113, + 15154, + 13616, + 13624, + 14898, + 13622, + 14140, + 15672, + 15161, + 15166, + 2825, + 2571, + 2568, + 2569, + 11, + 63, + 3596, + 2828, + 2829, + 2058, + 1802, + 2316, + 1540, + 4358, + 7, + 26, + 7936, + 0, + 35, + 9984, + 0, + 43, + 16128, + 0, + 5376, + 0, + 31, + 10752, + 0, + 52, + 15423, + 13, + 0, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 5653, + 4112, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 14649, + 12601, + 13105, + 10537, + 8749, + 10018, + 7196, + 5665, + 6934, + 2879, + 13835, + 1542, + 558, + 9730, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 10559, + 10021, + 9513, + 10535, + 10021, + 9513, + 13863, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact sc73_chamber5 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 279, // xcood + 190, // ycood + 141*64, // frame + 20569, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65534, // mouseRel_x + 65533, // mouseRel_y + 307-278, // mouseSize_x + 238-188, // mouseSize_y + SC73_CHAMBER5_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC73_CHAMBER5_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc73_cham4_flash[] = { + 95*64, + 236, + 243, + 0, + 236, + 243, + 1, + 236, + 243, + 1, + 236, + 243, + 0, + 236, + 243, + 0, + 236, + 243, + 0, + 236, + 243, + 0, + 236, + 243, + 0, + 236, + 243, + 0, + 236, + 243, + 0, + 236, + 243, + 0, + 236, + 243, + 0, + 236, + 243, + 0, + 236, + 243, + 0, + 0, +}; + +uint16 sc73_bits2_anim[] = { + 75*64, + 285, + 248, + 0, + 285, + 248, + 0, + 285, + 248, + 0, + 285, + 248, + 0, + 285, + 248, + 0, + 285, + 248, + 0, + 285, + 248, + 0, + 285, + 248, + 0, + 285, + 248, + 0, + 285, + 248, + 0, + 285, + 248, + 0, + 285, + 248, + 0, + 285, + 248, + 0, + 300, + 245, + 1, + 291, + 244, + 2, + 297, + 244, + 3, + 294, + 245, + 4, + 293, + 250, + 5, + 298, + 258, + 6, + 297, + 269, + 7, + 0, +}; + +uint16 sc73_logic_list[] = { + ID_FOSTER, + ID_MEDI, + ID_GALLAGHER, + ID_KEN, + ID_SC73_BIG_DOOR, + ID_SC73_SENSOR, + ID_SC73_CHAMBER3, + ID_SC73_CHAMBER4, + ID_SC73_CHAM4_LIGHT, + ID_SC73_CHAMBER5, + ID_SC73_CHAM5_LIGHT, + ID_SC73_BITS, + ID_SC73_BITS2, + ID_SC73_SPRAY, + ID_SC75_TONGS, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 reset_75_73[] = { + C_SCREEN, + 73, + C_PLACE, + ID_SC73_FLOOR, + C_XCOOD, + 408, + C_YCOOD, + 296, + 65535, +}; + +uint16 sc73_cham3_anim[] = { + 142*64, + 189, + 190, + 0, + 189, + 190, + 1, + 189, + 190, + 2, + 189, + 190, + 3, + 189, + 190, + 4, + 189, + 190, + 5, + 189, + 190, + 6, + 189, + 190, + 7, + 189, + 190, + 8, + 189, + 190, + 9, + 189, + 190, + 10, + 189, + 190, + 11, + 189, + 190, + 12, + 189, + 190, + 13, + 189, + 190, + 14, + 189, + 190, + 15, + 189, + 190, + 16, + 189, + 190, + 17, + 189, + 190, + 18, + 189, + 190, + 19, + 0, +}; + +uint16 sc73_search[] = { + 44*64, + 293, + 252, + 0, + 293, + 252, + 1, + 293, + 252, + 2, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 3, + 293, + 252, + 2, + 293, + 252, + 1, + 293, + 252, + 0, + 0, +}; + +Compact sc73_big_door = { + 0, // logic + ST_MOUSE+ST_SORT, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 384, // xcood + 213, // ycood + 138*64, // frame + 181, // cursorText + SC73_BIG_DOOR_MOUSE_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65532, // mouseRel_x + 65528, // mouseRel_y + 398-380, // mouseSize_x + 298-205, // mouseSize_y + SC73_BIG_DOOR_ACTION, // actionScript +}; + +uint32 gal[0]; + +Compact sc73_cham4_light = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 73, // screen + 0, // place + 0, // getToTable + 236, // xcood + 243, // ycood + 95*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC73_CHAM4_LIGHT_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/74comp.h b/sky/compacts/74comp.h new file mode 100644 index 00000000000..43585e3dfd5 --- /dev/null +++ b/sky/compacts/74comp.h @@ -0,0 +1,6633 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY74COMP_H +#define SKY74COMP_H + + + + +namespace SkyCompact { + +Compact sc74_monitor3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 74, // screen + 0, // place + 0, // getToTable + 258, // xcood + 186, // ycood + 57*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC74_MONITOR3_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc74_pod = { + L_SCRIPT, // logic + ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 74, // screen + 0, // place + 0, // getToTable + 340, // xcood + 193, // ycood + 109*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC74_POD_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc74_terminal = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 74, // screen + 0, // place + 0, // getToTable + 204, // xcood + 227, // ycood + 0, // frame + 51, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 230-204, // mouseSize_x + 253-227, // mouseSize_y + SC74_TERMINAL_ACTION, // actionScript +}; + +uint16 sc74_int_table[] = { + ID_SC74_FLOOR, + GT_SC74_FLOOR, + ID_SC74_DOOR, + GT_SC74_FLOOR, + ID_SC74_MONITOR1, + GT_SC74_FLOOR, + ID_SC74_LEFT_TV, + GT_SC74_FLOOR, + ID_SC74_RIGHT_TV, + GT_SC74_FLOOR, + ID_SC74_INTERFACE, + RETURN_OK, + ID_SC74_INT_SLOT, + GT_SC74_FLOOR, + ID_SC74_TERMINAL, + GT_SC74_FLOOR, + 65535, +}; + +Compact sc74_interface = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 74, // screen + 0, // place + sc74_int_table, // getToTable + 340, // xcood + 241, // ycood + 0, // frame + 56, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 366-340, // mouseSize_x + 290-241, // mouseSize_y + SC74_INTERFACE_ACTION, // actionScript +}; + +uint16 sc74_mon4_anim[] = { + 58*64, + 281, + 186, + 0, + 281, + 186, + 0, + 281, + 186, + 0, + 281, + 186, + 0, + 281, + 186, + 0, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 2, + 281, + 186, + 2, + 281, + 186, + 2, + 281, + 186, + 2, + 281, + 186, + 2, + 281, + 186, + 3, + 281, + 186, + 3, + 281, + 186, + 3, + 281, + 186, + 3, + 281, + 186, + 3, + 281, + 186, + 4, + 281, + 186, + 4, + 281, + 186, + 4, + 281, + 186, + 4, + 281, + 186, + 4, + 281, + 186, + 5, + 281, + 186, + 5, + 281, + 186, + 5, + 281, + 186, + 5, + 281, + 186, + 5, + 281, + 186, + 6, + 281, + 186, + 6, + 281, + 186, + 6, + 281, + 186, + 6, + 281, + 186, + 6, + 281, + 186, + 7, + 281, + 186, + 7, + 281, + 186, + 7, + 281, + 186, + 7, + 281, + 186, + 7, + 281, + 186, + 8, + 281, + 186, + 8, + 281, + 186, + 8, + 281, + 186, + 8, + 281, + 186, + 8, + 281, + 186, + 9, + 281, + 186, + 9, + 281, + 186, + 9, + 281, + 186, + 9, + 281, + 186, + 9, + 281, + 186, + 10, + 281, + 186, + 10, + 281, + 186, + 10, + 281, + 186, + 10, + 281, + 186, + 10, + 281, + 186, + 11, + 281, + 186, + 11, + 281, + 186, + 11, + 281, + 186, + 11, + 281, + 186, + 11, + 281, + 186, + 12, + 281, + 186, + 12, + 281, + 186, + 12, + 281, + 186, + 12, + 281, + 186, + 12, + 281, + 186, + 13, + 281, + 186, + 13, + 281, + 186, + 13, + 281, + 186, + 13, + 281, + 186, + 13, + 281, + 186, + 14, + 281, + 186, + 14, + 281, + 186, + 14, + 281, + 186, + 14, + 281, + 186, + 14, + 281, + 186, + 15, + 281, + 186, + 15, + 281, + 186, + 15, + 281, + 186, + 15, + 281, + 186, + 15, + 281, + 186, + 16, + 281, + 186, + 16, + 281, + 186, + 16, + 281, + 186, + 16, + 281, + 186, + 16, + 281, + 186, + 17, + 281, + 186, + 17, + 281, + 186, + 17, + 281, + 186, + 17, + 281, + 186, + 17, + 281, + 186, + 18, + 281, + 186, + 18, + 281, + 186, + 18, + 281, + 186, + 18, + 281, + 186, + 18, + 281, + 186, + 19, + 281, + 186, + 19, + 281, + 186, + 19, + 281, + 186, + 19, + 281, + 186, + 19, + 281, + 186, + 20, + 281, + 186, + 20, + 281, + 186, + 20, + 281, + 186, + 20, + 281, + 186, + 20, + 281, + 186, + 21, + 281, + 186, + 21, + 281, + 186, + 21, + 281, + 186, + 21, + 281, + 186, + 21, + 281, + 186, + 22, + 281, + 186, + 22, + 281, + 186, + 22, + 281, + 186, + 22, + 281, + 186, + 22, + 281, + 186, + 23, + 281, + 186, + 23, + 281, + 186, + 23, + 281, + 186, + 23, + 281, + 186, + 23, + 281, + 186, + 24, + 281, + 186, + 24, + 281, + 186, + 24, + 281, + 186, + 24, + 281, + 186, + 24, + 281, + 186, + 25, + 281, + 186, + 25, + 281, + 186, + 25, + 281, + 186, + 25, + 281, + 186, + 25, + 281, + 186, + 26, + 281, + 186, + 26, + 281, + 186, + 26, + 281, + 186, + 26, + 281, + 186, + 26, + 281, + 186, + 27, + 281, + 186, + 27, + 281, + 186, + 27, + 281, + 186, + 27, + 281, + 186, + 27, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 28, + 281, + 186, + 27, + 281, + 186, + 27, + 281, + 186, + 27, + 281, + 186, + 27, + 281, + 186, + 27, + 281, + 186, + 26, + 281, + 186, + 26, + 281, + 186, + 26, + 281, + 186, + 26, + 281, + 186, + 26, + 281, + 186, + 25, + 281, + 186, + 25, + 281, + 186, + 25, + 281, + 186, + 25, + 281, + 186, + 25, + 281, + 186, + 24, + 281, + 186, + 24, + 281, + 186, + 24, + 281, + 186, + 24, + 281, + 186, + 24, + 281, + 186, + 23, + 281, + 186, + 23, + 281, + 186, + 23, + 281, + 186, + 23, + 281, + 186, + 23, + 281, + 186, + 22, + 281, + 186, + 22, + 281, + 186, + 22, + 281, + 186, + 22, + 281, + 186, + 22, + 281, + 186, + 21, + 281, + 186, + 21, + 281, + 186, + 21, + 281, + 186, + 21, + 281, + 186, + 21, + 281, + 186, + 20, + 281, + 186, + 20, + 281, + 186, + 20, + 281, + 186, + 20, + 281, + 186, + 20, + 281, + 186, + 19, + 281, + 186, + 19, + 281, + 186, + 19, + 281, + 186, + 19, + 281, + 186, + 19, + 281, + 186, + 29, + 281, + 186, + 29, + 281, + 186, + 29, + 281, + 186, + 29, + 281, + 186, + 29, + 281, + 186, + 30, + 281, + 186, + 30, + 281, + 186, + 30, + 281, + 186, + 30, + 281, + 186, + 30, + 281, + 186, + 16, + 281, + 186, + 16, + 281, + 186, + 16, + 281, + 186, + 16, + 281, + 186, + 16, + 281, + 186, + 31, + 281, + 186, + 31, + 281, + 186, + 31, + 281, + 186, + 31, + 281, + 186, + 31, + 281, + 186, + 32, + 281, + 186, + 32, + 281, + 186, + 32, + 281, + 186, + 32, + 281, + 186, + 32, + 281, + 186, + 33, + 281, + 186, + 33, + 281, + 186, + 33, + 281, + 186, + 33, + 281, + 186, + 33, + 281, + 186, + 34, + 281, + 186, + 34, + 281, + 186, + 34, + 281, + 186, + 34, + 281, + 186, + 34, + 281, + 186, + 35, + 281, + 186, + 35, + 281, + 186, + 35, + 281, + 186, + 35, + 281, + 186, + 35, + 281, + 186, + 36, + 281, + 186, + 36, + 281, + 186, + 36, + 281, + 186, + 36, + 281, + 186, + 36, + 281, + 186, + 37, + 281, + 186, + 37, + 281, + 186, + 37, + 281, + 186, + 37, + 281, + 186, + 37, + 281, + 186, + 8, + 281, + 186, + 8, + 281, + 186, + 8, + 281, + 186, + 8, + 281, + 186, + 8, + 281, + 186, + 7, + 281, + 186, + 7, + 281, + 186, + 7, + 281, + 186, + 7, + 281, + 186, + 7, + 281, + 186, + 6, + 281, + 186, + 6, + 281, + 186, + 6, + 281, + 186, + 6, + 281, + 186, + 6, + 281, + 186, + 5, + 281, + 186, + 5, + 281, + 186, + 5, + 281, + 186, + 5, + 281, + 186, + 5, + 281, + 186, + 4, + 281, + 186, + 4, + 281, + 186, + 4, + 281, + 186, + 4, + 281, + 186, + 4, + 281, + 186, + 3, + 281, + 186, + 3, + 281, + 186, + 3, + 281, + 186, + 3, + 281, + 186, + 3, + 281, + 186, + 38, + 281, + 186, + 38, + 281, + 186, + 38, + 281, + 186, + 38, + 281, + 186, + 38, + 281, + 186, + 39, + 281, + 186, + 39, + 281, + 186, + 39, + 281, + 186, + 39, + 281, + 186, + 39, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 281, + 186, + 1, + 0, +}; + +uint16 sc74_rtv_anim[] = { + 60*64, + 298, + 212, + 0, + 298, + 212, + 0, + 298, + 212, + 1, + 298, + 212, + 1, + 298, + 212, + 2, + 298, + 212, + 2, + 298, + 212, + 3, + 298, + 212, + 3, + 298, + 212, + 4, + 298, + 212, + 4, + 298, + 212, + 5, + 298, + 212, + 5, + 298, + 212, + 6, + 298, + 212, + 6, + 298, + 212, + 7, + 298, + 212, + 7, + 298, + 212, + 8, + 298, + 212, + 8, + 298, + 212, + 9, + 298, + 212, + 9, + 298, + 212, + 10, + 298, + 212, + 10, + 298, + 212, + 11, + 298, + 212, + 11, + 298, + 212, + 12, + 298, + 212, + 12, + 298, + 212, + 13, + 298, + 212, + 13, + 298, + 212, + 14, + 298, + 212, + 14, + 298, + 212, + 15, + 298, + 212, + 15, + 298, + 212, + 16, + 298, + 212, + 16, + 298, + 212, + 17, + 298, + 212, + 17, + 298, + 212, + 18, + 298, + 212, + 18, + 298, + 212, + 19, + 298, + 212, + 19, + 298, + 212, + 20, + 298, + 212, + 20, + 298, + 212, + 21, + 298, + 212, + 21, + 298, + 212, + 22, + 298, + 212, + 22, + 298, + 212, + 23, + 298, + 212, + 23, + 298, + 212, + 24, + 298, + 212, + 24, + 298, + 212, + 25, + 298, + 212, + 25, + 298, + 212, + 25, + 298, + 212, + 25, + 298, + 212, + 25, + 298, + 212, + 25, + 298, + 212, + 26, + 298, + 212, + 26, + 298, + 212, + 27, + 298, + 212, + 27, + 298, + 212, + 28, + 298, + 212, + 28, + 298, + 212, + 29, + 298, + 212, + 29, + 298, + 212, + 30, + 298, + 212, + 30, + 298, + 212, + 31, + 298, + 212, + 31, + 298, + 212, + 32, + 298, + 212, + 32, + 298, + 212, + 33, + 298, + 212, + 33, + 298, + 212, + 34, + 298, + 212, + 34, + 298, + 212, + 35, + 298, + 212, + 35, + 298, + 212, + 36, + 298, + 212, + 36, + 298, + 212, + 37, + 298, + 212, + 37, + 298, + 212, + 38, + 298, + 212, + 38, + 298, + 212, + 39, + 298, + 212, + 39, + 298, + 212, + 40, + 298, + 212, + 40, + 298, + 212, + 41, + 298, + 212, + 41, + 298, + 212, + 42, + 298, + 212, + 42, + 298, + 212, + 43, + 298, + 212, + 43, + 298, + 212, + 44, + 298, + 212, + 44, + 298, + 212, + 45, + 298, + 212, + 45, + 298, + 212, + 46, + 298, + 212, + 46, + 298, + 212, + 47, + 298, + 212, + 47, + 298, + 212, + 48, + 298, + 212, + 48, + 298, + 212, + 49, + 298, + 212, + 49, + 298, + 212, + 50, + 298, + 212, + 50, + 298, + 212, + 51, + 298, + 212, + 51, + 298, + 212, + 52, + 298, + 212, + 52, + 298, + 212, + 53, + 298, + 212, + 53, + 298, + 212, + 54, + 298, + 212, + 54, + 298, + 212, + 54, + 298, + 212, + 54, + 298, + 212, + 54, + 298, + 212, + 54, + 298, + 212, + 55, + 298, + 212, + 55, + 298, + 212, + 56, + 298, + 212, + 56, + 298, + 212, + 57, + 298, + 212, + 57, + 298, + 212, + 58, + 298, + 212, + 58, + 298, + 212, + 59, + 298, + 212, + 59, + 298, + 212, + 60, + 298, + 212, + 60, + 298, + 212, + 61, + 298, + 212, + 61, + 298, + 212, + 62, + 298, + 212, + 62, + 298, + 212, + 63, + 0, +}; + +uint16 sc74_pod_down[] = { + 109*64, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 1, + 340, + 193, + 2, + 340, + 193, + 3, + 340, + 193, + 4, + 340, + 193, + 5, + 340, + 193, + 6, + 340, + 193, + 7, + 340, + 193, + 8, + 340, + 193, + 9, + 340, + 193, + 10, + 340, + 193, + 11, + 340, + 193, + 12, + 340, + 193, + 13, + 340, + 193, + 14, + 340, + 193, + 15, + 340, + 193, + 16, + 340, + 193, + 17, + 340, + 193, + 18, + 340, + 193, + 19, + 340, + 193, + 20, + 340, + 193, + 21, + 340, + 193, + 22, + 340, + 193, + 23, + 340, + 193, + 24, + 340, + 193, + 25, + 340, + 193, + 26, + 340, + 193, + 27, + 340, + 193, + 28, + 340, + 193, + 29, + 340, + 193, + 30, + 340, + 193, + 31, + 340, + 193, + 32, + 340, + 193, + 33, + 340, + 193, + 34, + 340, + 193, + 35, + 340, + 193, + 36, + 340, + 193, + 36, + 340, + 193, + 36, + 0, +}; + +uint16 sc74_lights_anim[] = { + 61*64, + 243, + 253, + 0, + 243, + 253, + 0, + 243, + 253, + 0, + 243, + 253, + 1, + 243, + 253, + 1, + 243, + 253, + 1, + 0, +}; + +uint16 sc74_pod_up[] = { + 110*64, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 0, + 340, + 193, + 1, + 340, + 193, + 2, + 340, + 193, + 3, + 340, + 193, + 4, + 340, + 193, + 5, + 340, + 193, + 6, + 340, + 193, + 7, + 340, + 193, + 8, + 340, + 193, + 9, + 340, + 193, + 10, + 340, + 193, + 11, + 340, + 193, + 12, + 340, + 193, + 13, + 340, + 193, + 14, + 340, + 193, + 15, + 340, + 193, + 16, + 340, + 193, + 17, + 340, + 193, + 18, + 340, + 193, + 19, + 340, + 193, + 20, + 340, + 193, + 21, + 340, + 193, + 22, + 340, + 193, + 23, + 340, + 193, + 24, + 340, + 193, + 25, + 340, + 193, + 26, + 340, + 193, + 27, + 340, + 193, + 28, + 340, + 193, + 29, + 340, + 193, + 30, + 340, + 193, + 31, + 340, + 193, + 32, + 340, + 193, + 33, + 340, + 193, + 34, + 340, + 193, + 35, + 0, +}; + +Compact sc74_int_slot = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 74, // screen + 0, // place + 0, // getToTable + 377, // xcood + 266, // ycood + 94*64, // frame + 50, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65529, // mouseRel_x + 1, // mouseRel_y + 378-370, // mouseSize_x + 270-267, // mouseSize_y + SC74_INT_SLOT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC74_INT_SLOT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc74_mouse_list[] = { + ID_SC74_INT_SLOT, + ID_SC74_INTERFACE, + ID_SC74_TERMINAL, + ID_SC74_MONITOR1, + ID_SC74_LEFT_TV, + ID_SC74_RIGHT_TV, + ID_SC74_DOOR, + ID_SC74_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc74_chip_list[] = { + IT_SC74_LAYER_0+DISK_7, + IT_SC74_LAYER_1+DISK_7, + IT_SC74_LAYER_2+DISK_7, + IT_SC74_GRID_1+DISK_7, + IT_SC74_GRID_2+DISK_7, + IT_SC74_MONITOR1+DISK_7, + IT_SC74_MONITOR2+DISK_7, + IT_SC74_MONITOR3+DISK_7, + IT_SC74_MONITOR4+DISK_7, + IT_SC74_LEFT_TV+DISK_7, + IT_SC74_LIGHTS+DISK_7, + IT_SC74_POD_DOWN+DISK_7, + IT_SC74_POD_UP+DISK_7, + IT_SC74_FOST_SIT+DISK_7, + IT_SC74_GET_UP+DISK_7, + IT_SC74_USECARD+DISK_7, + IT_SC74_USECARD2+DISK_7, + IT_SC74_RPOCKET+DISK_7, + 94+DISK_7, + 0, +}; + +Compact sc74_monitor2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 74, // screen + 0, // place + 0, // getToTable + 235, // xcood + 186, // ycood + 56*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC74_MONITOR2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc74_floor_table[] = { + ID_SC74_FLOOR, + RETURN_OK, + ID_SC74_DOOR, + GT_SC74_DOOR, + 0, + SC74_DOOR_WALK_ON, + ID_SC74_MONITOR1, + GT_SC74_MONITOR1, + ID_SC74_LEFT_TV, + GT_SC74_LEFT_TV, + ID_SC74_RIGHT_TV, + GT_SC74_RIGHT_TV, + ID_SC74_INTERFACE, + GT_SC74_INTERFACE, + ID_SC74_INT_SLOT, + GT_SC74_INT_SLOT, + ID_SC74_TERMINAL, + GT_SC74_TERMINAL, + 65535, +}; + +Compact sc74_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 74, // screen + 0, // place + sc74_floor_table, // getToTable + 150, // xcood + 260, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-150, // mouseSize_x + 327-260, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 reset_73_74[] = { + C_SCREEN, + 74, + C_PLACE, + ID_SC74_FLOOR, + C_XCOOD, + 160, + C_YCOOD, + 280, + 65535, +}; + +uint16 sc74_ltv_anim[] = { + 59*64, + 243, + 212, + 0, + 243, + 212, + 0, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 2, + 243, + 212, + 2, + 243, + 212, + 3, + 243, + 212, + 3, + 243, + 212, + 4, + 243, + 212, + 4, + 243, + 212, + 5, + 243, + 212, + 5, + 243, + 212, + 6, + 243, + 212, + 6, + 243, + 212, + 7, + 243, + 212, + 7, + 243, + 212, + 8, + 243, + 212, + 8, + 243, + 212, + 9, + 243, + 212, + 9, + 243, + 212, + 10, + 243, + 212, + 10, + 243, + 212, + 11, + 243, + 212, + 11, + 243, + 212, + 12, + 243, + 212, + 12, + 243, + 212, + 13, + 243, + 212, + 13, + 243, + 212, + 14, + 243, + 212, + 14, + 243, + 212, + 15, + 243, + 212, + 15, + 243, + 212, + 16, + 243, + 212, + 16, + 243, + 212, + 17, + 243, + 212, + 17, + 243, + 212, + 18, + 243, + 212, + 18, + 243, + 212, + 19, + 243, + 212, + 19, + 243, + 212, + 20, + 243, + 212, + 20, + 243, + 212, + 21, + 243, + 212, + 21, + 243, + 212, + 22, + 243, + 212, + 22, + 243, + 212, + 23, + 243, + 212, + 23, + 243, + 212, + 24, + 243, + 212, + 24, + 243, + 212, + 25, + 243, + 212, + 25, + 243, + 212, + 26, + 243, + 212, + 26, + 243, + 212, + 27, + 243, + 212, + 27, + 243, + 212, + 28, + 243, + 212, + 28, + 243, + 212, + 29, + 243, + 212, + 29, + 243, + 212, + 30, + 243, + 212, + 30, + 243, + 212, + 31, + 243, + 212, + 31, + 243, + 212, + 32, + 243, + 212, + 32, + 243, + 212, + 33, + 243, + 212, + 33, + 243, + 212, + 34, + 243, + 212, + 34, + 243, + 212, + 35, + 243, + 212, + 35, + 243, + 212, + 36, + 243, + 212, + 36, + 243, + 212, + 37, + 243, + 212, + 37, + 243, + 212, + 38, + 243, + 212, + 38, + 243, + 212, + 39, + 243, + 212, + 39, + 243, + 212, + 40, + 243, + 212, + 40, + 243, + 212, + 41, + 243, + 212, + 41, + 243, + 212, + 42, + 243, + 212, + 42, + 243, + 212, + 43, + 243, + 212, + 43, + 243, + 212, + 44, + 243, + 212, + 44, + 243, + 212, + 45, + 243, + 212, + 45, + 243, + 212, + 46, + 243, + 212, + 46, + 243, + 212, + 47, + 243, + 212, + 47, + 243, + 212, + 48, + 243, + 212, + 48, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 49, + 243, + 212, + 48, + 243, + 212, + 48, + 243, + 212, + 47, + 243, + 212, + 47, + 243, + 212, + 46, + 243, + 212, + 46, + 243, + 212, + 45, + 243, + 212, + 45, + 243, + 212, + 44, + 243, + 212, + 44, + 243, + 212, + 43, + 243, + 212, + 43, + 243, + 212, + 42, + 243, + 212, + 42, + 243, + 212, + 41, + 243, + 212, + 41, + 243, + 212, + 40, + 243, + 212, + 40, + 243, + 212, + 39, + 243, + 212, + 39, + 243, + 212, + 50, + 243, + 212, + 51, + 243, + 212, + 52, + 243, + 212, + 53, + 243, + 212, + 54, + 243, + 212, + 55, + 243, + 212, + 35, + 243, + 212, + 35, + 243, + 212, + 56, + 243, + 212, + 57, + 243, + 212, + 58, + 243, + 212, + 59, + 243, + 212, + 60, + 243, + 212, + 61, + 243, + 212, + 62, + 243, + 212, + 63, + 243, + 212, + 64, + 243, + 212, + 65, + 243, + 212, + 66, + 243, + 212, + 67, + 243, + 212, + 68, + 243, + 212, + 69, + 243, + 212, + 70, + 243, + 212, + 71, + 243, + 212, + 72, + 243, + 212, + 73, + 243, + 212, + 74, + 243, + 212, + 75, + 243, + 212, + 76, + 243, + 212, + 77, + 243, + 212, + 78, + 243, + 212, + 78, + 243, + 212, + 79, + 243, + 212, + 79, + 243, + 212, + 80, + 243, + 212, + 80, + 243, + 212, + 81, + 243, + 212, + 81, + 243, + 212, + 19, + 243, + 212, + 19, + 243, + 212, + 82, + 243, + 212, + 82, + 243, + 212, + 83, + 243, + 212, + 83, + 243, + 212, + 84, + 243, + 212, + 84, + 243, + 212, + 85, + 243, + 212, + 85, + 243, + 212, + 14, + 243, + 212, + 14, + 243, + 212, + 13, + 243, + 212, + 13, + 243, + 212, + 12, + 243, + 212, + 12, + 243, + 212, + 86, + 243, + 212, + 86, + 243, + 212, + 87, + 243, + 212, + 87, + 243, + 212, + 9, + 243, + 212, + 9, + 243, + 212, + 8, + 243, + 212, + 8, + 243, + 212, + 7, + 243, + 212, + 7, + 243, + 212, + 6, + 243, + 212, + 6, + 243, + 212, + 5, + 243, + 212, + 5, + 243, + 212, + 4, + 243, + 212, + 4, + 243, + 212, + 3, + 243, + 212, + 3, + 243, + 212, + 2, + 243, + 212, + 2, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 243, + 212, + 1, + 0, +}; + +Compact sc74_left_tv = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 74, // screen + 0, // place + 0, // getToTable + 243, // xcood + 212, // ycood + 59*64, // frame + 57, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65534, // mouseRel_x + 65533, // mouseRel_y + 263-241, // mouseSize_x + 230-209, // mouseSize_y + SC74_MONITORS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC74_LEFT_TV_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc74_usecard[] = { + 70*64, + 360, + 240, + 0, + 360, + 240, + 1, + 360, + 240, + 2, + 360, + 240, + 2, + 360, + 240, + 2, + 360, + 240, + 2, + 360, + 240, + 2, + 360, + 240, + 1, + 360, + 240, + 0, + 0, +}; + +uint32 grid74[0]; + +uint16 sc74_fost_sit[] = { + 92*64, + 345, + 244, + 0, + 342, + 244, + 1, + 342, + 244, + 2, + 342, + 243, + 3, + 342, + 240, + 4, + 342, + 241, + 5, + 342, + 241, + 6, + 342, + 241, + 7, + 342, + 241, + 8, + 342, + 241, + 8, + 0, +}; + +Compact sc74_door = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 74, // screen + 0, // place + 0, // getToTable + 183, // xcood + 231, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 195-183, // mouseSize_x + 288-231, // mouseSize_y + SC74_DOOR_ACTION, // actionScript +}; + +Compact sc74_monitor4 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 74, // screen + 0, // place + 0, // getToTable + 281, // xcood + 186, // ycood + 58*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC74_MONITOR4_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc74_mon3_anim[] = { + 57*64, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 1, + 258, + 186, + 1, + 258, + 186, + 1, + 258, + 186, + 1, + 258, + 186, + 1, + 258, + 186, + 2, + 258, + 186, + 2, + 258, + 186, + 2, + 258, + 186, + 2, + 258, + 186, + 2, + 258, + 186, + 3, + 258, + 186, + 3, + 258, + 186, + 3, + 258, + 186, + 3, + 258, + 186, + 3, + 258, + 186, + 4, + 258, + 186, + 4, + 258, + 186, + 4, + 258, + 186, + 4, + 258, + 186, + 4, + 258, + 186, + 5, + 258, + 186, + 5, + 258, + 186, + 5, + 258, + 186, + 5, + 258, + 186, + 5, + 258, + 186, + 6, + 258, + 186, + 6, + 258, + 186, + 6, + 258, + 186, + 6, + 258, + 186, + 6, + 258, + 186, + 7, + 258, + 186, + 7, + 258, + 186, + 7, + 258, + 186, + 7, + 258, + 186, + 7, + 258, + 186, + 8, + 258, + 186, + 8, + 258, + 186, + 8, + 258, + 186, + 8, + 258, + 186, + 8, + 258, + 186, + 9, + 258, + 186, + 9, + 258, + 186, + 9, + 258, + 186, + 9, + 258, + 186, + 9, + 258, + 186, + 10, + 258, + 186, + 10, + 258, + 186, + 10, + 258, + 186, + 10, + 258, + 186, + 10, + 258, + 186, + 11, + 258, + 186, + 11, + 258, + 186, + 11, + 258, + 186, + 11, + 258, + 186, + 11, + 258, + 186, + 12, + 258, + 186, + 12, + 258, + 186, + 12, + 258, + 186, + 12, + 258, + 186, + 12, + 258, + 186, + 13, + 258, + 186, + 13, + 258, + 186, + 13, + 258, + 186, + 13, + 258, + 186, + 13, + 258, + 186, + 14, + 258, + 186, + 14, + 258, + 186, + 14, + 258, + 186, + 14, + 258, + 186, + 14, + 258, + 186, + 15, + 258, + 186, + 15, + 258, + 186, + 15, + 258, + 186, + 15, + 258, + 186, + 15, + 258, + 186, + 16, + 258, + 186, + 16, + 258, + 186, + 16, + 258, + 186, + 16, + 258, + 186, + 16, + 258, + 186, + 17, + 258, + 186, + 17, + 258, + 186, + 17, + 258, + 186, + 17, + 258, + 186, + 17, + 258, + 186, + 18, + 258, + 186, + 18, + 258, + 186, + 18, + 258, + 186, + 18, + 258, + 186, + 18, + 258, + 186, + 19, + 258, + 186, + 19, + 258, + 186, + 19, + 258, + 186, + 19, + 258, + 186, + 19, + 258, + 186, + 20, + 258, + 186, + 20, + 258, + 186, + 20, + 258, + 186, + 20, + 258, + 186, + 20, + 258, + 186, + 21, + 258, + 186, + 21, + 258, + 186, + 21, + 258, + 186, + 21, + 258, + 186, + 21, + 258, + 186, + 22, + 258, + 186, + 22, + 258, + 186, + 22, + 258, + 186, + 22, + 258, + 186, + 22, + 258, + 186, + 23, + 258, + 186, + 23, + 258, + 186, + 23, + 258, + 186, + 23, + 258, + 186, + 23, + 258, + 186, + 24, + 258, + 186, + 24, + 258, + 186, + 24, + 258, + 186, + 24, + 258, + 186, + 24, + 258, + 186, + 25, + 258, + 186, + 25, + 258, + 186, + 25, + 258, + 186, + 25, + 258, + 186, + 25, + 258, + 186, + 26, + 258, + 186, + 26, + 258, + 186, + 26, + 258, + 186, + 26, + 258, + 186, + 26, + 258, + 186, + 27, + 258, + 186, + 27, + 258, + 186, + 27, + 258, + 186, + 27, + 258, + 186, + 27, + 258, + 186, + 28, + 258, + 186, + 28, + 258, + 186, + 28, + 258, + 186, + 28, + 258, + 186, + 28, + 258, + 186, + 29, + 258, + 186, + 29, + 258, + 186, + 29, + 258, + 186, + 29, + 258, + 186, + 29, + 258, + 186, + 29, + 258, + 186, + 29, + 258, + 186, + 29, + 258, + 186, + 29, + 258, + 186, + 29, + 258, + 186, + 28, + 258, + 186, + 28, + 258, + 186, + 28, + 258, + 186, + 28, + 258, + 186, + 28, + 258, + 186, + 27, + 258, + 186, + 27, + 258, + 186, + 27, + 258, + 186, + 27, + 258, + 186, + 27, + 258, + 186, + 26, + 258, + 186, + 26, + 258, + 186, + 26, + 258, + 186, + 26, + 258, + 186, + 26, + 258, + 186, + 25, + 258, + 186, + 25, + 258, + 186, + 25, + 258, + 186, + 25, + 258, + 186, + 25, + 258, + 186, + 24, + 258, + 186, + 24, + 258, + 186, + 24, + 258, + 186, + 24, + 258, + 186, + 24, + 258, + 186, + 23, + 258, + 186, + 23, + 258, + 186, + 23, + 258, + 186, + 23, + 258, + 186, + 23, + 258, + 186, + 22, + 258, + 186, + 22, + 258, + 186, + 22, + 258, + 186, + 22, + 258, + 186, + 22, + 258, + 186, + 21, + 258, + 186, + 21, + 258, + 186, + 21, + 258, + 186, + 21, + 258, + 186, + 21, + 258, + 186, + 20, + 258, + 186, + 20, + 258, + 186, + 20, + 258, + 186, + 20, + 258, + 186, + 20, + 258, + 186, + 19, + 258, + 186, + 19, + 258, + 186, + 19, + 258, + 186, + 19, + 258, + 186, + 19, + 258, + 186, + 18, + 258, + 186, + 18, + 258, + 186, + 18, + 258, + 186, + 18, + 258, + 186, + 18, + 258, + 186, + 17, + 258, + 186, + 17, + 258, + 186, + 17, + 258, + 186, + 17, + 258, + 186, + 17, + 258, + 186, + 30, + 258, + 186, + 30, + 258, + 186, + 30, + 258, + 186, + 30, + 258, + 186, + 30, + 258, + 186, + 31, + 258, + 186, + 31, + 258, + 186, + 31, + 258, + 186, + 31, + 258, + 186, + 31, + 258, + 186, + 32, + 258, + 186, + 32, + 258, + 186, + 32, + 258, + 186, + 32, + 258, + 186, + 32, + 258, + 186, + 33, + 258, + 186, + 33, + 258, + 186, + 33, + 258, + 186, + 33, + 258, + 186, + 33, + 258, + 186, + 34, + 258, + 186, + 34, + 258, + 186, + 34, + 258, + 186, + 34, + 258, + 186, + 34, + 258, + 186, + 35, + 258, + 186, + 35, + 258, + 186, + 35, + 258, + 186, + 35, + 258, + 186, + 35, + 258, + 186, + 36, + 258, + 186, + 36, + 258, + 186, + 36, + 258, + 186, + 36, + 258, + 186, + 36, + 258, + 186, + 37, + 258, + 186, + 37, + 258, + 186, + 37, + 258, + 186, + 37, + 258, + 186, + 37, + 258, + 186, + 38, + 258, + 186, + 38, + 258, + 186, + 38, + 258, + 186, + 38, + 258, + 186, + 38, + 258, + 186, + 7, + 258, + 186, + 7, + 258, + 186, + 7, + 258, + 186, + 7, + 258, + 186, + 7, + 258, + 186, + 39, + 258, + 186, + 39, + 258, + 186, + 39, + 258, + 186, + 39, + 258, + 186, + 39, + 258, + 186, + 40, + 258, + 186, + 40, + 258, + 186, + 40, + 258, + 186, + 40, + 258, + 186, + 40, + 258, + 186, + 4, + 258, + 186, + 4, + 258, + 186, + 4, + 258, + 186, + 4, + 258, + 186, + 4, + 258, + 186, + 3, + 258, + 186, + 3, + 258, + 186, + 3, + 258, + 186, + 3, + 258, + 186, + 3, + 258, + 186, + 2, + 258, + 186, + 2, + 258, + 186, + 2, + 258, + 186, + 2, + 258, + 186, + 2, + 258, + 186, + 1, + 258, + 186, + 1, + 258, + 186, + 1, + 258, + 186, + 1, + 258, + 186, + 1, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 258, + 186, + 0, + 0, +}; + +uint16 sc74_get_up[] = { + 93*64, + 342, + 241, + 0, + 342, + 241, + 1, + 342, + 241, + 2, + 342, + 241, + 3, + 342, + 240, + 4, + 342, + 243, + 5, + 342, + 244, + 6, + 346, + 244, + 7, + 350, + 244, + 8, + 355, + 242, + 9, + 0, +}; + +Compact sc74_monitor1 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 74, // screen + 0, // place + 0, // getToTable + 213, // xcood + 189, // ycood + 55*64, // frame + 20654, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65534, // mouseRel_x + 65533, // mouseRel_y + 346-211, // mouseSize_x + 206-186, // mouseSize_y + SC74_MONITORS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC74_MONITOR1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc74_mon1_anim[] = { + 55*64, + 213, + 189, + 0, + 213, + 189, + 1, + 213, + 189, + 2, + 213, + 189, + 2, + 213, + 189, + 3, + 213, + 189, + 4, + 213, + 189, + 4, + 213, + 189, + 5, + 213, + 189, + 6, + 213, + 189, + 7, + 213, + 189, + 8, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 10, + 213, + 189, + 11, + 213, + 189, + 11, + 213, + 189, + 12, + 213, + 189, + 13, + 213, + 189, + 14, + 213, + 189, + 15, + 213, + 189, + 16, + 213, + 189, + 17, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 19, + 213, + 189, + 20, + 213, + 189, + 21, + 213, + 189, + 21, + 213, + 189, + 22, + 213, + 189, + 23, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 25, + 213, + 189, + 26, + 213, + 189, + 26, + 213, + 189, + 27, + 213, + 189, + 28, + 213, + 189, + 29, + 213, + 189, + 30, + 213, + 189, + 31, + 213, + 189, + 31, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 0, + 213, + 189, + 1, + 213, + 189, + 2, + 213, + 189, + 2, + 213, + 189, + 3, + 213, + 189, + 4, + 213, + 189, + 4, + 213, + 189, + 5, + 213, + 189, + 6, + 213, + 189, + 7, + 213, + 189, + 8, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 10, + 213, + 189, + 11, + 213, + 189, + 11, + 213, + 189, + 12, + 213, + 189, + 13, + 213, + 189, + 14, + 213, + 189, + 15, + 213, + 189, + 16, + 213, + 189, + 17, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 19, + 213, + 189, + 20, + 213, + 189, + 21, + 213, + 189, + 21, + 213, + 189, + 22, + 213, + 189, + 23, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 25, + 213, + 189, + 26, + 213, + 189, + 26, + 213, + 189, + 27, + 213, + 189, + 28, + 213, + 189, + 29, + 213, + 189, + 30, + 213, + 189, + 31, + 213, + 189, + 31, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 0, + 213, + 189, + 1, + 213, + 189, + 2, + 213, + 189, + 2, + 213, + 189, + 3, + 213, + 189, + 4, + 213, + 189, + 4, + 213, + 189, + 5, + 213, + 189, + 6, + 213, + 189, + 7, + 213, + 189, + 8, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 10, + 213, + 189, + 11, + 213, + 189, + 11, + 213, + 189, + 12, + 213, + 189, + 13, + 213, + 189, + 14, + 213, + 189, + 15, + 213, + 189, + 16, + 213, + 189, + 17, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 19, + 213, + 189, + 20, + 213, + 189, + 21, + 213, + 189, + 21, + 213, + 189, + 22, + 213, + 189, + 23, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 25, + 213, + 189, + 26, + 213, + 189, + 26, + 213, + 189, + 27, + 213, + 189, + 28, + 213, + 189, + 29, + 213, + 189, + 30, + 213, + 189, + 31, + 213, + 189, + 31, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 0, + 213, + 189, + 1, + 213, + 189, + 2, + 213, + 189, + 2, + 213, + 189, + 3, + 213, + 189, + 4, + 213, + 189, + 4, + 213, + 189, + 5, + 213, + 189, + 6, + 213, + 189, + 7, + 213, + 189, + 8, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 10, + 213, + 189, + 11, + 213, + 189, + 11, + 213, + 189, + 12, + 213, + 189, + 13, + 213, + 189, + 14, + 213, + 189, + 15, + 213, + 189, + 16, + 213, + 189, + 17, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 19, + 213, + 189, + 20, + 213, + 189, + 21, + 213, + 189, + 21, + 213, + 189, + 22, + 213, + 189, + 23, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 25, + 213, + 189, + 26, + 213, + 189, + 26, + 213, + 189, + 27, + 213, + 189, + 28, + 213, + 189, + 29, + 213, + 189, + 30, + 213, + 189, + 31, + 213, + 189, + 31, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 0, + 213, + 189, + 1, + 213, + 189, + 2, + 213, + 189, + 2, + 213, + 189, + 3, + 213, + 189, + 4, + 213, + 189, + 4, + 213, + 189, + 5, + 213, + 189, + 6, + 213, + 189, + 7, + 213, + 189, + 8, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 10, + 213, + 189, + 11, + 213, + 189, + 11, + 213, + 189, + 12, + 213, + 189, + 13, + 213, + 189, + 14, + 213, + 189, + 15, + 213, + 189, + 16, + 213, + 189, + 17, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 18, + 213, + 189, + 19, + 213, + 189, + 20, + 213, + 189, + 21, + 213, + 189, + 21, + 213, + 189, + 22, + 213, + 189, + 23, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 24, + 213, + 189, + 25, + 213, + 189, + 26, + 213, + 189, + 26, + 213, + 189, + 27, + 213, + 189, + 28, + 213, + 189, + 29, + 213, + 189, + 30, + 213, + 189, + 31, + 213, + 189, + 31, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 32, + 213, + 189, + 0, + 213, + 189, + 1, + 213, + 189, + 2, + 213, + 189, + 2, + 213, + 189, + 3, + 213, + 189, + 4, + 213, + 189, + 4, + 213, + 189, + 5, + 213, + 189, + 6, + 213, + 189, + 7, + 213, + 189, + 8, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 9, + 213, + 189, + 9, + 0, +}; + +uint16 sc74_palette[] = { + 0, + 256, + 514, + 516, + 515, + 516, + 1026, + 1028, + 772, + 1029, + 1797, + 771, + 1539, + 772, + 1542, + 1288, + 2565, + 1028, + 1798, + 1285, + 2055, + 1800, + 1799, + 2312, + 2566, + 2057, + 2825, + 2059, + 2312, + 2058, + 3080, + 2826, + 2570, + 2573, + 2568, + 2572, + 3081, + 3341, + 2572, + 3594, + 3082, + 3086, + 3594, + 3343, + 3853, + 3089, + 4621, + 2828, + 4109, + 2830, + 4368, + 3855, + 3596, + 4367, + 3602, + 3085, + 4882, + 4623, + 4364, + 4369, + 4367, + 5651, + 3600, + 4117, + 4881, + 4114, + 4120, + 4112, + 5395, + 4881, + 4115, + 4118, + 5395, + 4623, + 5652, + 5648, + 4627, + 4120, + 4887, + 6419, + 4371, + 5651, + 4120, + 6680, + 5654, + 7446, + 4371, + 6676, + 5393, + 6168, + 6163, + 5658, + 4377, + 5403, + 5138, + 5146, + 5912, + 7445, + 5141, + 5658, + 5655, + 6937, + 6171, + 7961, + 5143, + 6935, + 5657, + 5150, + 6934, + 6429, + 5150, + 7449, + 6936, + 6427, + 7448, + 8475, + 5401, + 7448, + 6943, + 5662, + 8217, + 7958, + 7194, + 6435, + 6937, + 6942, + 7198, + 5918, + 8479, + 7710, + 6940, + 5666, + 8217, + 9507, + 6683, + 7711, + 6944, + 7970, + 9245, + 7959, + 7712, + 8731, + 7714, + 6692, + 8989, + 8477, + 8735, + 9759, + 7448, + 9251, + 8738, + 7969, + 8230, + 9250, + 9251, + 8484, + 10274, + 8474, + 8743, + 9508, + 9253, + 7209, + 10016, + 10023, + 8485, + 10021, + 9251, + 9769, + 10790, + 9759, + 9767, + 10024, + 10276, + 9769, + 10788, + 10538, + 10538, + 11302, + 10538, + 10028, + 11560, + 11308, + 10284, + 11562, + 11562, + 11053, + 12076, + 10537, + 11823, + 12588, + 12079, + 12081, + 14137, + 2867, + 0, + 21, + 7936, + 0, + 42, + 13312, + 0, + 63, + 0, + 2108, + 16191, + 15893, + 15934, + 15934, + 15934, + 15934, + 15934, + 15934, + 15678, + 15934, + 15933, + 15678, + 15934, + 15933, + 15678, + 15934, + 15933, + 15678, + 15934, + 15933, + 15421, + 15678, + 15932, + 15421, + 15678, + 15676, + 15421, + 15677, + 15676, + 15421, + 15677, + 15676, + 15165, + 15677, + 15675, + 15165, + 15421, + 15675, + 15164, + 15421, + 15675, + 15164, + 15421, + 15675, + 14908, + 15421, + 15674, + 14908, + 15421, + 15418, + 14908, + 15420, + 15418, + 14908, + 15164, + 15418, + 14651, + 15164, + 15417, + 14651, + 15164, + 15417, + 14651, + 15164, + 15417, + 14651, + 15164, + 15417, + 14651, + 15164, + 15417, + 14395, + 15164, + 15160, + 14394, + 14907, + 15160, + 14394, + 14907, + 15160, + 14394, + 14907, + 15160, + 14138, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 14655, + 13111, + 14137, + 14643, + 13111, + 14137, + 13875, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc74_fast_list[] = { + 12+DISK_7, + 51+DISK_7, + 52+DISK_7, + 53+DISK_7, + 54+DISK_7, + 268+DISK_7, + 0, +}; + +uint16 sc74_usecard2[] = { + 71*64, + 200, + 232, + 0, + 200, + 232, + 1, + 200, + 232, + 2, + 200, + 232, + 3, + 200, + 232, + 3, + 200, + 232, + 3, + 200, + 232, + 3, + 200, + 232, + 4, + 200, + 232, + 0, + 0, +}; + +uint16 sc74_rpocket[] = { + 62*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 reset_linc_74[] = { + C_SCREEN, + 74, + C_PLACE, + ID_SC74_INTERFACE, + C_XCOOD, + 0X156, + C_YCOOD, + 0XF1, + C_FRAME, + 8+92*64, + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_AR_PRIORITY+ST_COLLISION, + 65535, +}; + +Compact sc74_right_tv = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 74, // screen + 0, // place + 0, // getToTable + 298, // xcood + 212, // ycood + 60*64, // frame + 57, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65532, // mouseRel_x + 65533, // mouseRel_y + 319-294, // mouseSize_x + 229-209, // mouseSize_y + SC74_MONITORS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC74_RIGHT_TV_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc74_logic_list[] = { + ID_FOSTER, + ID_MEDI, + ID_GALLAGHER, + ID_KEN, + ID_SC74_MONITOR1, + ID_SC74_MONITOR2, + ID_SC74_MONITOR3, + ID_SC74_MONITOR4, + ID_SC74_LEFT_TV, + ID_SC74_LIGHTS, + ID_SC74_INT_SLOT, + ID_SC74_POD, + ID_SC75_TONGS, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc74_mon2_anim[] = { + 56*64, + 235, + 186, + 0, + 235, + 186, + 0, + 235, + 186, + 0, + 235, + 186, + 1, + 235, + 186, + 1, + 235, + 186, + 2, + 235, + 186, + 2, + 235, + 186, + 2, + 235, + 186, + 3, + 235, + 186, + 3, + 235, + 186, + 4, + 235, + 186, + 4, + 235, + 186, + 4, + 235, + 186, + 5, + 235, + 186, + 5, + 235, + 186, + 5, + 235, + 186, + 6, + 235, + 186, + 6, + 235, + 186, + 7, + 235, + 186, + 7, + 235, + 186, + 7, + 235, + 186, + 8, + 235, + 186, + 8, + 235, + 186, + 9, + 235, + 186, + 9, + 235, + 186, + 9, + 235, + 186, + 10, + 235, + 186, + 10, + 235, + 186, + 10, + 235, + 186, + 11, + 235, + 186, + 11, + 235, + 186, + 12, + 235, + 186, + 12, + 235, + 186, + 12, + 235, + 186, + 13, + 235, + 186, + 13, + 235, + 186, + 14, + 235, + 186, + 14, + 235, + 186, + 14, + 235, + 186, + 15, + 235, + 186, + 15, + 235, + 186, + 16, + 235, + 186, + 16, + 235, + 186, + 16, + 235, + 186, + 17, + 235, + 186, + 17, + 235, + 186, + 17, + 235, + 186, + 18, + 235, + 186, + 18, + 235, + 186, + 19, + 235, + 186, + 19, + 235, + 186, + 19, + 235, + 186, + 20, + 235, + 186, + 20, + 235, + 186, + 21, + 235, + 186, + 21, + 235, + 186, + 21, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 21, + 235, + 186, + 21, + 235, + 186, + 20, + 235, + 186, + 20, + 235, + 186, + 20, + 235, + 186, + 19, + 235, + 186, + 19, + 235, + 186, + 18, + 235, + 186, + 18, + 235, + 186, + 18, + 235, + 186, + 17, + 235, + 186, + 17, + 235, + 186, + 17, + 235, + 186, + 16, + 235, + 186, + 16, + 235, + 186, + 15, + 235, + 186, + 15, + 235, + 186, + 15, + 235, + 186, + 14, + 235, + 186, + 14, + 235, + 186, + 13, + 235, + 186, + 13, + 235, + 186, + 13, + 235, + 186, + 12, + 235, + 186, + 12, + 235, + 186, + 11, + 235, + 186, + 11, + 235, + 186, + 11, + 235, + 186, + 10, + 235, + 186, + 10, + 235, + 186, + 10, + 235, + 186, + 9, + 235, + 186, + 9, + 235, + 186, + 8, + 235, + 186, + 8, + 235, + 186, + 8, + 235, + 186, + 7, + 235, + 186, + 7, + 235, + 186, + 6, + 235, + 186, + 6, + 235, + 186, + 6, + 235, + 186, + 5, + 235, + 186, + 5, + 235, + 186, + 5, + 235, + 186, + 4, + 235, + 186, + 4, + 235, + 186, + 3, + 235, + 186, + 3, + 235, + 186, + 3, + 235, + 186, + 2, + 235, + 186, + 2, + 235, + 186, + 1, + 235, + 186, + 1, + 235, + 186, + 1, + 235, + 186, + 0, + 235, + 186, + 0, + 235, + 186, + 23, + 235, + 186, + 23, + 235, + 186, + 23, + 235, + 186, + 24, + 235, + 186, + 24, + 235, + 186, + 24, + 235, + 186, + 25, + 235, + 186, + 25, + 235, + 186, + 26, + 235, + 186, + 26, + 235, + 186, + 26, + 235, + 186, + 27, + 235, + 186, + 27, + 235, + 186, + 28, + 235, + 186, + 28, + 235, + 186, + 28, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 28, + 235, + 186, + 28, + 235, + 186, + 27, + 235, + 186, + 27, + 235, + 186, + 27, + 235, + 186, + 26, + 235, + 186, + 26, + 235, + 186, + 25, + 235, + 186, + 25, + 235, + 186, + 25, + 235, + 186, + 24, + 235, + 186, + 24, + 235, + 186, + 24, + 235, + 186, + 23, + 235, + 186, + 23, + 235, + 186, + 0, + 235, + 186, + 0, + 235, + 186, + 0, + 235, + 186, + 1, + 235, + 186, + 1, + 235, + 186, + 2, + 235, + 186, + 2, + 235, + 186, + 2, + 235, + 186, + 3, + 235, + 186, + 3, + 235, + 186, + 4, + 235, + 186, + 4, + 235, + 186, + 4, + 235, + 186, + 5, + 235, + 186, + 5, + 235, + 186, + 5, + 235, + 186, + 6, + 235, + 186, + 6, + 235, + 186, + 7, + 235, + 186, + 7, + 235, + 186, + 7, + 235, + 186, + 8, + 235, + 186, + 8, + 235, + 186, + 9, + 235, + 186, + 9, + 235, + 186, + 9, + 235, + 186, + 10, + 235, + 186, + 10, + 235, + 186, + 10, + 235, + 186, + 11, + 235, + 186, + 11, + 235, + 186, + 12, + 235, + 186, + 12, + 235, + 186, + 12, + 235, + 186, + 13, + 235, + 186, + 13, + 235, + 186, + 14, + 235, + 186, + 14, + 235, + 186, + 14, + 235, + 186, + 15, + 235, + 186, + 15, + 235, + 186, + 16, + 235, + 186, + 16, + 235, + 186, + 16, + 235, + 186, + 17, + 235, + 186, + 17, + 235, + 186, + 17, + 235, + 186, + 18, + 235, + 186, + 18, + 235, + 186, + 19, + 235, + 186, + 19, + 235, + 186, + 19, + 235, + 186, + 20, + 235, + 186, + 20, + 235, + 186, + 21, + 235, + 186, + 21, + 235, + 186, + 21, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 22, + 235, + 186, + 21, + 235, + 186, + 21, + 235, + 186, + 20, + 235, + 186, + 20, + 235, + 186, + 20, + 235, + 186, + 19, + 235, + 186, + 19, + 235, + 186, + 18, + 235, + 186, + 18, + 235, + 186, + 18, + 235, + 186, + 17, + 235, + 186, + 17, + 235, + 186, + 17, + 235, + 186, + 16, + 235, + 186, + 16, + 235, + 186, + 15, + 235, + 186, + 15, + 235, + 186, + 15, + 235, + 186, + 14, + 235, + 186, + 14, + 235, + 186, + 13, + 235, + 186, + 13, + 235, + 186, + 13, + 235, + 186, + 12, + 235, + 186, + 12, + 235, + 186, + 11, + 235, + 186, + 11, + 235, + 186, + 11, + 235, + 186, + 10, + 235, + 186, + 10, + 235, + 186, + 10, + 235, + 186, + 9, + 235, + 186, + 9, + 235, + 186, + 8, + 235, + 186, + 8, + 235, + 186, + 8, + 235, + 186, + 7, + 235, + 186, + 7, + 235, + 186, + 6, + 235, + 186, + 6, + 235, + 186, + 6, + 235, + 186, + 5, + 235, + 186, + 5, + 235, + 186, + 5, + 235, + 186, + 4, + 235, + 186, + 4, + 235, + 186, + 3, + 235, + 186, + 3, + 235, + 186, + 3, + 235, + 186, + 2, + 235, + 186, + 2, + 235, + 186, + 1, + 235, + 186, + 1, + 235, + 186, + 1, + 235, + 186, + 0, + 235, + 186, + 0, + 235, + 186, + 23, + 235, + 186, + 23, + 235, + 186, + 23, + 235, + 186, + 24, + 235, + 186, + 24, + 235, + 186, + 24, + 235, + 186, + 25, + 235, + 186, + 25, + 235, + 186, + 26, + 235, + 186, + 26, + 235, + 186, + 26, + 235, + 186, + 27, + 235, + 186, + 27, + 235, + 186, + 28, + 235, + 186, + 28, + 235, + 186, + 28, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 29, + 235, + 186, + 28, + 235, + 186, + 28, + 235, + 186, + 27, + 235, + 186, + 27, + 235, + 186, + 27, + 235, + 186, + 26, + 235, + 186, + 26, + 235, + 186, + 25, + 235, + 186, + 25, + 235, + 186, + 25, + 235, + 186, + 24, + 235, + 186, + 24, + 235, + 186, + 24, + 235, + 186, + 23, + 235, + 186, + 23, + 0, +}; + +Compact sc74_lights = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 74, // screen + 0, // place + 0, // getToTable + 243, // xcood + 253, // ycood + 61*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC74_LIGHTS_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc74_slot_flash[] = { + 94*64, + 377, + 266, + 0, + 377, + 266, + 0, + 377, + 266, + 0, + 377, + 266, + 1, + 377, + 266, + 1, + 377, + 266, + 1, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/75comp.h b/sky/compacts/75comp.h new file mode 100644 index 00000000000..e90c8149680 --- /dev/null +++ b/sky/compacts/75comp.h @@ -0,0 +1,1844 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY75COMP_H +#define SKY75COMP_H + + + + +namespace SkyCompact { + +uint16 sc75_floor_table[] = { + ID_SC75_FLOOR, + RETURN_OK, + ID_SC75_BIG_DOOR, + GT_SC75_BIG_DOOR, + 0, + SC75_BIG_DOOR_WALK_ON, + ID_SC75_DOOR, + GT_SC75_DOOR, + 1, + SC75_DOOR_WALK_ON, + ID_SC75_NITRO_TANK, + GT_SC75_NITRO_TANK, + ID_SC75_LIVE_TANK, + GT_SC75_LIVE_TANK, + ID_SC75_CONSOLE, + GT_SC75_CONSOLE, + ID_SC75_TONGS, + GT_SC75_TONGS, + ID_JOEY_PARK, + GT_JOEY_PARK, + 65535, +}; + +uint16 sc75_usecard[] = { + 155*64, + 269, + 223, + 0, + 269, + 223, + 1, + 269, + 223, + 2, + 269, + 223, + 2, + 269, + 223, + 2, + 269, + 223, + 2, + 269, + 223, + 2, + 269, + 223, + 1, + 269, + 223, + 0, + 0, +}; + +Compact sc75_console = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 75, // screen + 0, // place + 0, // getToTable + 289, // xcood + 215, // ycood + 149*64, // frame + 182, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65533, // mouseRel_x + 65532, // mouseRel_y + 313-286, // mouseSize_x + 244-211, // mouseSize_y + SC75_CONSOLE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC75_CONSOLE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc75_get_tongs[] = { + 154*64, + 352, + 216, + 0, + 352, + 216, + 1, + 352, + 216, + 2, + 352, + 216, + 3, + 352, + 216, + 3, + 352, + 216, + 3, + 352, + 216, + 3, + 352, + 216, + 2, + 352, + 216, + 1, + 352, + 216, + 0, + 0, +}; + +uint16 sc75_joey_list[] = { + 168, + 391, + 272, + 311, + 1, + 0, +}; + +uint16 sc75_freeze_ded2[] = { + 163*64, + 261, + 240, + 0, + 261, + 240, + 1, + 261, + 240, + 2, + 261, + 240, + 3, + 261, + 240, + 4, + 261, + 240, + 4, + 261, + 240, + 4, + 261, + 240, + 4, + 261, + 240, + 3, + 261, + 240, + 5, + 261, + 240, + 6, + 261, + 240, + 7, + 0, +}; + +uint16 sc75_hand_tank[] = { + 166*64, + 336, + 216, + 0, + 336, + 216, + 1, + 336, + 216, + 2, + 336, + 216, + 3, + 336, + 216, + 4, + 336, + 216, + 5, + 336, + 216, + 6, + 336, + 216, + 6, + 336, + 216, + 4, + 336, + 216, + 3, + 336, + 216, + 2, + 336, + 216, + 1, + 336, + 216, + 0, + 0, +}; + +Compact sc75_door = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 75, // screen + 0, // place + 0, // getToTable + 389, // xcood + 204, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 404-389, // mouseSize_x + 268-204, // mouseSize_y + SC75_DOOR_ACTION, // actionScript +}; + +uint16 sc75_light2_anim[] = { + 152*64, + 335, + 207, + 0, + 335, + 207, + 1, + 335, + 207, + 2, + 335, + 207, + 2, + 335, + 207, + 3, + 335, + 207, + 4, + 335, + 207, + 5, + 335, + 207, + 5, + 335, + 207, + 6, + 335, + 207, + 6, + 335, + 207, + 0, + 335, + 207, + 0, + 335, + 207, + 1, + 335, + 207, + 2, + 335, + 207, + 2, + 335, + 207, + 4, + 335, + 207, + 4, + 335, + 207, + 5, + 335, + 207, + 6, + 335, + 207, + 6, + 335, + 207, + 0, + 0, +}; + +Compact sc75_light1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 75, // screen + 0, // place + 0, // getToTable + 287, // xcood + 207, // ycood + 151*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC75_LIGHT1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_tongs_dead[] = { + C_FRAME, + 10+268*64, + 65535, +}; + +uint16 sc75_tank_anim[] = { + 165*64, + 331, + 230, + 0, + 331, + 230, + 1, + 331, + 230, + 2, + 331, + 230, + 3, + 331, + 230, + 4, + 331, + 230, + 5, + 331, + 230, + 6, + 331, + 230, + 7, + 331, + 230, + 8, + 331, + 230, + 9, + 331, + 230, + 10, + 331, + 230, + 11, + 331, + 230, + 12, + 331, + 230, + 13, + 331, + 230, + 14, + 331, + 230, + 15, + 331, + 230, + 16, + 331, + 230, + 17, + 331, + 230, + 18, + 331, + 230, + 19, + 331, + 230, + 20, + 331, + 230, + 21, + 331, + 230, + 22, + 331, + 230, + 23, + 331, + 230, + 24, + 331, + 230, + 25, + 331, + 230, + 26, + 331, + 230, + 27, + 331, + 230, + 28, + 331, + 230, + 29, + 0, +}; + +uint16 reset_73_75[] = { + C_SCREEN, + 75, + C_PLACE, + ID_SC75_FLOOR, + C_XCOOD, + 160, + C_YCOOD, + 264, + 65535, +}; + +uint32 grid75[0]; + +uint16 sc75_light1_anim[] = { + 151*64, + 287, + 207, + 0, + 287, + 207, + 0, + 287, + 207, + 0, + 287, + 207, + 0, + 287, + 207, + 0, + 287, + 207, + 0, + 287, + 207, + 0, + 287, + 207, + 0, + 287, + 207, + 1, + 287, + 207, + 1, + 287, + 207, + 1, + 287, + 207, + 1, + 287, + 207, + 1, + 287, + 207, + 1, + 287, + 207, + 1, + 287, + 207, + 1, + 0, +}; + +uint16 sc75_fast_list[] = { + 12+DISK_10, + 51+DISK_10, + 52+DISK_10, + 53+DISK_10, + 54+DISK_10, + IT_SC75_GRID_1+DISK_10, + IT_SC75_GRID_2+DISK_10, + IT_SC75_RPOCKET+DISK_10, + IT_SC75_USECARD+DISK_10, + 268+DISK_10, + 0, +}; + +Compact sc75_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 75, // screen + 0, // place + sc75_floor_table, // getToTable + 180, // xcood + 260, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 399-180, // mouseSize_x + 327-260, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 rs_tongs_empty[] = { + C_FRAME, + 4+268*64, + 65535, +}; + +Compact sc75_big_door = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 75, // screen + 0, // place + 0, // getToTable + 178, // xcood + 182, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 190-178, // mouseSize_x + 270-182, // mouseSize_y + SC75_BIG_DOOR_ACTION, // actionScript +}; + +uint16 sc75_mouse_list[] = { + ID_KEN, + ID_SC75_CONSOLE, + ID_SC75_TONGS, + ID_SC75_LIVE_TANK, + ID_SC75_NITRO_TANK, + ID_SC75_BIG_DOOR, + ID_SC75_DOOR, + ID_SC75_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc75_live_tank = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 75, // screen + 0, // place + 0, // getToTable + 331, // xcood + 230, // ycood + 165*64, // frame + 20629, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65527, // mouseRel_x + 65533, // mouseRel_y + 380-322, // mouseSize_x + 251-227, // mouseSize_y + SC75_LIVE_TANK_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC75_LIVE_TANK_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc75_freeze_it[] = { + 158*64, + 261, + 240, + 0, + 261, + 240, + 1, + 261, + 240, + 2, + 261, + 240, + 3, + 261, + 240, + 4, + 261, + 240, + 4, + 261, + 240, + 4, + 261, + 240, + 4, + 261, + 240, + 3, + 261, + 240, + 5, + 261, + 240, + 6, + 261, + 240, + 7, + 261, + 240, + 8, + 261, + 240, + 9, + 261, + 240, + 10, + 261, + 240, + 11, + 261, + 240, + 12, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 14, + 261, + 240, + 15, + 261, + 240, + 16, + 261, + 240, + 17, + 0, +}; + +Compact sc75_tongs = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 75, // screen + 0, // place + 0, // getToTable + 382, // xcood + 218, // ycood + 153*64, // frame + 20639, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 0, // mouseRel_y + 3, // mouseSize_x + 13, // mouseSize_y + SC75_TONGS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC75_TONGS_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc75_chip_list[] = { + IT_SC75_LAYER_0+DISK_10, + IT_SC75_LAYER_1+DISK_10, + IT_SC75_LAYER_2+DISK_10, + IT_KEN+DISK_10, + IT_SC76_KEN_TALK+DISK_10, + IT_SC75_MONITOR+DISK_10, + IT_SC75_CRASH+DISK_10, + IT_SC75_TANK+DISK_10, + IT_SC75_STEAM+DISK_10, + IT_SC75_LIGHT1+DISK_10, + IT_SC75_LIGHT2+DISK_10, + IT_SC75_FREEZE_IT+DISK_10+0X8000, + IT_SC75_FREEZE_TALK+DISK_10+0X8000, + IT_SC75_FREEZE_IT2+DISK_10+0X8000, + IT_SC75_FREEZE_DED+DISK_10+0X8000, + IT_SC75_DEAD_TALK+DISK_10+0X8000, + IT_SC75_FREEZE_DED2+DISK_10+0X8000, + IT_SC75_TONGS+DISK_10, + IT_SC75_GET_TONGS+DISK_10+0X8000, + IT_SC75_GET_TISS+DISK_10+0X8000, + IT_SC75_HAND_TANK+DISK_10+0X8000, + 0, +}; + +uint16 sc75_nitro_anim[] = { + 150*64, + 210, + 255, + 0, + 210, + 255, + 1, + 210, + 255, + 1, + 210, + 255, + 2, + 210, + 255, + 2, + 210, + 255, + 2, + 210, + 255, + 3, + 210, + 255, + 3, + 210, + 255, + 3, + 210, + 255, + 4, + 210, + 255, + 4, + 210, + 255, + 4, + 210, + 255, + 5, + 210, + 255, + 5, + 210, + 255, + 5, + 210, + 255, + 6, + 210, + 255, + 6, + 210, + 255, + 6, + 210, + 255, + 7, + 210, + 255, + 7, + 210, + 255, + 8, + 0, +}; + +uint16 rs_tongs_frozen[] = { + C_FRAME, + 8+268*64, + 65535, +}; + +uint16 sc75_crash_anim[] = { + 164*64, + 289, + 215, + 0, + 289, + 215, + 1, + 289, + 215, + 2, + 289, + 215, + 3, + 289, + 215, + 4, + 289, + 215, + 5, + 289, + 215, + 6, + 289, + 215, + 7, + 289, + 215, + 8, + 289, + 215, + 9, + 289, + 215, + 10, + 289, + 215, + 11, + 289, + 215, + 12, + 289, + 215, + 13, + 289, + 215, + 14, + 289, + 215, + 15, + 289, + 215, + 16, + 289, + 215, + 17, + 289, + 215, + 18, + 289, + 215, + 19, + 289, + 215, + 20, + 289, + 215, + 21, + 289, + 215, + 22, + 289, + 215, + 23, + 289, + 215, + 24, + 289, + 215, + 25, + 289, + 215, + 26, + 289, + 215, + 27, + 289, + 215, + 28, + 289, + 215, + 29, + 0, +}; + +Compact sc75_light2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 75, // screen + 0, // place + 0, // getToTable + 335, // xcood + 207, // ycood + 152*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC75_LIGHT2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc75_mon_anim[] = { + 149*64, + 289, + 215, + 0, + 289, + 215, + 1, + 289, + 215, + 2, + 289, + 215, + 2, + 289, + 215, + 2, + 289, + 215, + 2, + 289, + 215, + 3, + 289, + 215, + 4, + 289, + 215, + 5, + 289, + 215, + 6, + 289, + 215, + 7, + 289, + 215, + 8, + 289, + 215, + 9, + 289, + 215, + 10, + 289, + 215, + 10, + 289, + 215, + 10, + 289, + 215, + 10, + 289, + 215, + 10, + 289, + 215, + 11, + 289, + 215, + 12, + 289, + 215, + 13, + 289, + 215, + 14, + 289, + 215, + 15, + 289, + 215, + 16, + 289, + 215, + 16, + 289, + 215, + 16, + 289, + 215, + 16, + 289, + 215, + 17, + 289, + 215, + 18, + 289, + 215, + 19, + 0, +}; + +uint16 sc75_freeze_it2[] = { + 160*64, + 261, + 240, + 0, + 261, + 240, + 1, + 261, + 240, + 2, + 261, + 240, + 3, + 261, + 240, + 4, + 261, + 240, + 4, + 261, + 240, + 4, + 261, + 240, + 4, + 261, + 240, + 3, + 261, + 240, + 5, + 261, + 240, + 6, + 261, + 240, + 7, + 0, +}; + +Compact sc75_nitro_tank = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 75, // screen + 0, // place + 0, // getToTable + 210, // xcood + 255, // ycood + 150*64, // frame + 20629, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65533, // mouseRel_x + 2, // mouseRel_y + 283-207, // mouseSize_x + 307-257, // mouseSize_y + SC75_NITRO_TANK_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC75_NITRO_TANK_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc75_palette[] = { + 0, + 1024, + 1028, + 1285, + 1799, + 1799, + 2055, + 2570, + 2312, + 2569, + 2826, + 2826, + 3082, + 5132, + 2056, + 2830, + 3084, + 3341, + 3340, + 3856, + 3597, + 2582, + 3594, + 4622, + 3601, + 3856, + 4112, + 3095, + 3596, + 5136, + 4112, + 4118, + 4626, + 3863, + 4111, + 5395, + 4627, + 6676, + 3855, + 4629, + 4626, + 5908, + 5396, + 4885, + 6676, + 5904, + 6422, + 5140, + 5654, + 5142, + 6679, + 5402, + 5911, + 6422, + 6421, + 5400, + 7448, + 6424, + 4631, + 6683, + 5914, + 4889, + 6173, + 6422, + 6176, + 7705, + 6681, + 6426, + 7452, + 7957, + 7705, + 6681, + 7195, + 7195, + 7707, + 7193, + 8483, + 6426, + 8727, + 7194, + 7487, + 7453, + 7968, + 7709, + 8984, + 7709, + 7456, + 8221, + 7713, + 8990, + 7459, + 8221, + 8478, + 7964, + 6439, + 7973, + 8477, + 7204, + 8227, + 8477, + 7977, + 8738, + 7973, + 8735, + 8225, + 8231, + 8737, + 9506, + 8994, + 7714, + 8488, + 9505, + 7718, + 9256, + 9504, + 9002, + 9253, + 9510, + 9764, + 10020, + 10782, + 8742, + 10279, + 9002, + 9253, + 9767, + 10277, + 8233, + 10283, + 9770, + 10020, + 10534, + 10275, + 11054, + 10022, + 10535, + 9771, + 11817, + 10282, + 11563, + 10280, + 11044, + 9263, + 9774, + 11047, + 11048, + 10282, + 11049, + 9514, + 12589, + 10795, + 9773, + 13357, + 11560, + 11570, + 11820, + 11055, + 10028, + 11569, + 11568, + 11822, + 11311, + 11822, + 11312, + 12848, + 12585, + 11576, + 13616, + 12081, + 13105, + 12080, + 13354, + 11834, + 13363, + 12851, + 12337, + 13875, + 12853, + 12851, + 12597, + 13873, + 13624, + 13877, + 13623, + 13364, + 14392, + 14135, + 14902, + 14394, + 14908, + 15674, + 15420, + 16129, + 10502, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 5416, + 5916, + 7951, + 4106, + 3364, + 10514, + 5392, + 5166, + 14361, + 6434, + 6459, + 16146, + 0, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 9513, + 10535, + 10021, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 13886, + 14893, + 9263, + 10551, + 13341, + 5666, + 7217, + 11791, + 2582, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 10559, + 10021, + 9513, + 10535, + 10021, + 9513, + 13863, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 rs_tongs_live[] = { + C_FRAME, + 6+268*64, + 65535, +}; + +uint16 reset_76_75[] = { + C_SCREEN, + 75, + C_PLACE, + ID_SC75_FLOOR, + C_XCOOD, + 416, + C_YCOOD, + 272, + 65535, +}; + +uint16 sc75_logic_list[] = { + ID_KEN, + ID_SC75_LIGHT1, + ID_SC75_LIGHT2, + ID_SC75_CONSOLE, + ID_SC75_LIVE_TANK, + ID_SC75_NITRO_TANK, + ID_SC75_TONGS, + ID_FOSTER, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 rs_tongs_timer[] = { + C_LOGIC, + L_SCRIPT, + C_STATUS, + ST_LOGIC, + C_MODE, + C_BASE_MODE, + C_BASE_SUB, + SC75_TISSUE_LOGIC, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 sc75_freeze_ded[] = { + 161*64, + 261, + 240, + 0, + 261, + 240, + 1, + 261, + 240, + 2, + 261, + 240, + 3, + 261, + 240, + 4, + 261, + 240, + 4, + 261, + 240, + 4, + 261, + 240, + 4, + 261, + 240, + 3, + 261, + 240, + 5, + 261, + 240, + 6, + 261, + 240, + 7, + 261, + 240, + 8, + 261, + 240, + 9, + 261, + 240, + 10, + 261, + 240, + 11, + 261, + 240, + 12, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 13, + 261, + 240, + 14, + 261, + 240, + 14, + 261, + 240, + 14, + 261, + 240, + 14, + 261, + 240, + 14, + 261, + 240, + 14, + 261, + 240, + 15, + 261, + 240, + 16, + 261, + 240, + 17, + 261, + 240, + 18, + 261, + 240, + 19, + 0, +}; + +uint16 sc75_rpocket[] = { + 156*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc75_get_tiss[] = { + 157*64, + 340, + 216, + 0, + 340, + 216, + 1, + 340, + 216, + 2, + 340, + 216, + 3, + 340, + 216, + 4, + 340, + 216, + 4, + 340, + 216, + 4, + 340, + 216, + 4, + 340, + 216, + 4, + 340, + 216, + 4, + 340, + 216, + 4, + 340, + 216, + 4, + 340, + 216, + 5, + 340, + 216, + 6, + 340, + 216, + 7, + 340, + 216, + 8, + 340, + 216, + 9, + 340, + 216, + 10, + 340, + 216, + 11, + 340, + 216, + 12, + 340, + 216, + 13, + 340, + 216, + 14, + 340, + 216, + 9, + 340, + 216, + 9, + 340, + 216, + 11, + 340, + 216, + 13, + 340, + 216, + 15, + 340, + 216, + 16, + 340, + 216, + 17, + 340, + 216, + 17, + 340, + 216, + 17, + 340, + 216, + 17, + 340, + 216, + 18, + 340, + 216, + 19, + 340, + 216, + 20, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/76comp.h b/sky/compacts/76comp.h new file mode 100644 index 00000000000..b0799f086d9 --- /dev/null +++ b/sky/compacts/76comp.h @@ -0,0 +1,2722 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY76COMP_H +#define SKY76COMP_H + + + + +namespace SkyCompact { + +uint16 ken_u_to_r[] = { + 45+61*64, + 0, +}; + +uint16 sc76_logic_list[] = { + ID_FOSTER, + ID_KEN, + ID_SC76_ANDROID_1, + ID_SC76_ANDROID_2, + ID_SC76_ANDROID_3, + ID_SC76_LIGHT1, + ID_SC76_LIGHT2, + ID_SC76_LIGHT3, + ID_SC76_LIGHT4, + ID_SC76_LIGHT5, + ID_SC76_LIGHT6, + ID_SC76_LIGHT7, + ID_SC76_LIGHT8, + ID_SC76_LIGHT9, + ID_SC76_BOARD_1, + ID_SC76_BOARD_2, + ID_SC76_BOARD_3, + ID_SC76_CABINET_1, + ID_SC76_CABINET_2, + ID_SC76_CABINET_3, + ID_SC75_TONGS, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint32 grid76[0]; + +uint16 sc76_hatch_2[] = { + 68*64, + 271, + 204, + 0, + 271, + 204, + 0, + 266, + 204, + 1, + 266, + 204, + 1, + 263, + 204, + 2, + 263, + 204, + 2, + 263, + 212, + 3, + 263, + 212, + 3, + 263, + 216, + 4, + 263, + 216, + 4, + 262, + 219, + 5, + 262, + 219, + 5, + 256, + 222, + 6, + 256, + 222, + 6, + 251, + 224, + 7, + 251, + 224, + 7, + 248, + 224, + 8, + 248, + 224, + 8, + 247, + 226, + 9, + 247, + 226, + 9, + 247, + 228, + 10, + 247, + 228, + 10, + 247, + 228, + 11, + 247, + 228, + 11, + 0, +}; + +uint16 sc76_cab2_close[] = { + 56*64, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 reset_75_76[] = { + C_SCREEN, + 76, + C_PLACE, + ID_SC76_FLOOR, + C_XCOOD, + 160, + C_YCOOD, + 264, + 65535, +}; + +uint16 sc76_chip_list[] = { + IT_SC76_LAYER_0+DISK_10, + IT_SC76_LAYER_1+DISK_10, + IT_SC76_LAYER_2+DISK_10, + IT_SC76_GRID_1+DISK_10, + IT_SC76_GRID_2+DISK_10, + IT_KEN+DISK_10, + IT_SC76_KEN_TALK+DISK_10, + IT_SC76_LIGHT1+DISK_10, + IT_SC76_LIGHT2+DISK_10, + IT_SC76_LIGHT3+DISK_10, + IT_SC76_LIGHT4+DISK_10, + IT_SC76_LIGHT5+DISK_10, + IT_SC76_LIGHT6+DISK_10, + IT_SC76_LIGHT7+DISK_10, + IT_SC76_LIGHT8+DISK_10, + IT_SC76_LIGHT9+DISK_10, + IT_SC76_CABINET_1+DISK_10, + IT_SC76_CABINET_2+DISK_10, + IT_SC76_CABINET_3+DISK_10, + IT_SC76_BOARD_1+DISK_10, + IT_SC76_BOARD_2+DISK_10, + IT_SC76_BOARD_3+DISK_10, + IT_SC76_OPEN_CAB+DISK_10, + IT_SC76_LOW_GET+DISK_10, + IT_SC76_HATCH_1+DISK_10, + IT_SC76_ANDROID_2+DISK_10, + IT_SC76_HATCH_2+DISK_10+0X8000, + IT_SC76_ANDROID_3+DISK_10, + IT_SC76_HATCH_3+DISK_10+0X8000, + IT_SC76_PUNCH+DISK_10, + IT_SC76_AND2_BABBLE+DISK_10, + 0, +}; + +uint16 ken_right[] = { + 4, + 30+61*64, + 4, + 0, + 4, + 31+61*64, + 4, + 0, + 4, + 32+61*64, + 4, + 0, + 4, + 33+61*64, + 4, + 0, + 4, + 34+61*64, + 4, + 0, + 4, + 35+61*64, + 4, + 0, + 4, + 36+61*64, + 4, + 0, + 4, + 37+61*64, + 4, + 0, + 4, + 38+61*64, + 4, + 0, + 4, + 39+61*64, + 4, + 0, + 0, +}; + +uint16 ken_st_up[] = { + 61*64, + 1, + 0, + 44, + 0, +}; + +uint16 ken_d_to_l[] = { + 41+61*64, + 0, +}; + +uint8 ken_auto[64]; + +uint16 ken_up[] = { + 2, + 0+61*64, + 0, + 65534, + 2, + 1+61*64, + 0, + 65534, + 2, + 2+61*64, + 0, + 65534, + 2, + 3+61*64, + 0, + 65534, + 2, + 4+61*64, + 0, + 65534, + 2, + 5+61*64, + 0, + 65534, + 2, + 6+61*64, + 0, + 65534, + 2, + 7+61*64, + 0, + 65534, + 2, + 8+61*64, + 0, + 65534, + 2, + 9+61*64, + 0, + 65534, + 0, +}; + +uint16 ken_down[] = { + 2, + 10+61*64, + 0, + 2, + 2, + 11+61*64, + 0, + 2, + 2, + 12+61*64, + 0, + 2, + 2, + 13+61*64, + 0, + 2, + 2, + 14+61*64, + 0, + 2, + 2, + 15+61*64, + 0, + 2, + 2, + 16+61*64, + 0, + 2, + 2, + 17+61*64, + 0, + 2, + 2, + 18+61*64, + 0, + 2, + 2, + 19+61*64, + 0, + 2, + 0, +}; + +uint16 ken_left[] = { + 4, + 20+61*64, + 65532, + 0, + 4, + 21+61*64, + 65532, + 0, + 4, + 22+61*64, + 65532, + 0, + 4, + 23+61*64, + 65532, + 0, + 4, + 24+61*64, + 65532, + 0, + 4, + 25+61*64, + 65532, + 0, + 4, + 26+61*64, + 65532, + 0, + 4, + 27+61*64, + 65532, + 0, + 4, + 28+61*64, + 65532, + 0, + 4, + 29+61*64, + 65532, + 0, + 0, +}; + +uint16 ken_st_down[] = { + 61*64, + 1, + 0, + 40, + 0, +}; + +uint16 ken_st_left[] = { + 61*64, + 1, + 0, + 42, + 0, +}; + +uint16 ken_st_right[] = { + 61*64, + 1, + 0, + 46, + 0, +}; + +uint16 ken_u_to_d[] = { + 43+61*64, + 42+61*64, + 41+61*64, + 0, +}; + +uint16 ken_u_to_l[] = { + 43+61*64, + 0, +}; + +uint16 ken_d_to_u[] = { + 47+61*64, + 46+61*64, + 45+61*64, + 0, +}; + +uint16 ken_d_to_r[] = { + 47+61*64, + 0, +}; + +uint16 ken_l_to_u[] = { + 43+61*64, + 0, +}; + +uint16 ken_l_to_d[] = { + 41+61*64, + 0, +}; + +uint16 ken_l_to_r[] = { + 41+61*64, + 40+61*64, + 47+61*64, + 0, +}; + +uint16 ken_r_to_u[] = { + 45+61*64, + 0, +}; + +uint16 ken_r_to_d[] = { + 47+61*64, + 0, +}; + +uint16 ken_r_to_l[] = { + 45+61*64, + 44+61*64, + 43+61*64, + 0, +}; + +uint16 *ken_turnTable[5][5] = { + { // turnTableup + 0, + ken_u_to_d, + ken_u_to_l, + ken_u_to_r, + 0 + }, + { // turnTableDown + ken_d_to_u, + 0, + ken_d_to_l, + ken_d_to_r, + 0 + }, + { // turnTableLeft + ken_l_to_u, + ken_l_to_d, + 0, + ken_l_to_r, + 0 + }, + { // turnTableRight + ken_r_to_u, + ken_r_to_d, + ken_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact ken_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + DOWN, // dir + STD_PLAYER_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_KEN, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + ken_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + ken_up, // animUp + ken_down, // animDown + ken_left, // animLeft + ken_right, // animRight + ken_st_up, // standUp + ken_st_down, // standDown + ken_st_left, // standLeft + ken_st_right, // standRight + 0, // standTalk +}; + +Compact ken = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 76, // screen + ID_SC76_FLOOR, // place + 0, // getToTable + 256, // xcood + 272, // ycood + 40+61*64, // frame + 3, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65528, // mouseRel_x + 65493, // mouseRel_y + 14, // mouseSize_x + 50, // mouseSize_y + SHOUT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + KEN_START_LOGIC, // baseSub + 0, // baseSub_off + &ken_ext, + &ken_turnTable, +}; + +uint16 sc76_floor_table[] = { + ID_SC76_FLOOR, + RETURN_OK, + ID_SC76_DOOR75, + GT_SC76_DOOR75, + 0, + SC76_DOOR75_WALK_ON, + ID_SC76_DOOR77, + GT_SC76_DOOR77, + 1, + SC76_DOOR77_WALK_ON, + ID_SC76_ANDROID_1, + GT_SC76_ANYTHING, + ID_SC76_ANDROID_2, + GT_SC76_ANYTHING, + ID_SC76_ANDROID_3, + GT_SC76_ANYTHING, + ID_SC76_CONSOLE_1, + GT_SC76_ANYTHING, + ID_SC76_CONSOLE_2, + GT_SC76_ANYTHING, + ID_SC76_CONSOLE_3, + GT_SC76_ANYTHING, + ID_SC76_CABINET_1, + GT_SC76_ANYTHING, + ID_SC76_CABINET_2, + GT_SC76_ANYTHING, + ID_SC76_CABINET_3, + GT_SC76_ANYTHING, + ID_SC76_BOARD_1, + GT_SC76_ANYTHING, + ID_SC76_BOARD_2, + GT_SC76_ANYTHING, + ID_SC76_BOARD_3, + GT_SC76_ANYTHING, + ID_JOEY_PARK, + GT_JOEY_PARK, + 65535, +}; + +Compact sc76_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 76, // screen + 0, // place + sc76_floor_table, // getToTable + 175, // xcood + 255, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 391-175, // mouseSize_x + 327-255, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact sc76_light3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 278, // xcood + 182, // ycood + 31*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_LIGHT3_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc76_light9 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 357, // xcood + 239, // ycood + 47*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_LIGHT9_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc76_light1_anim[] = { + 29*64, + 228, + 182, + 0, + 228, + 182, + 0, + 228, + 182, + 0, + 228, + 182, + 0, + 228, + 182, + 0, + 228, + 182, + 0, + 228, + 182, + 0, + 228, + 182, + 1, + 228, + 182, + 1, + 228, + 182, + 1, + 228, + 182, + 1, + 228, + 182, + 1, + 228, + 182, + 1, + 228, + 182, + 1, + 0, +}; + +uint16 sc76_light2_anim[] = { + 30*64, + 232, + 182, + 0, + 232, + 182, + 0, + 232, + 182, + 0, + 232, + 182, + 1, + 232, + 182, + 2, + 232, + 182, + 0, + 232, + 182, + 0, + 232, + 182, + 0, + 232, + 182, + 0, + 232, + 182, + 0, + 232, + 182, + 0, + 232, + 182, + 0, + 0, +}; + +Compact sc76_light6 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 327, // xcood + 182, // ycood + 44*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_LIGHT6_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc76_board_3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 356, // xcood + 253, // ycood + 60*64, // frame + 6, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65534, // mouseRel_y + 365-355, // mouseSize_x + 254-251, // mouseSize_y + SC76_BOARD_3_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_BOARD_3_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc76_shut_cab[] = { + 63*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 0+62*64, + 1, + 1, + 2+62*64, + 1, + 1, + 1+62*64, + 1, + 1, + 0+62*64, + 1, + 1, + 8, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc76_light3_anim[] = { + 31*64, + 278, + 182, + 0, + 278, + 182, + 0, + 278, + 182, + 1, + 278, + 182, + 1, + 278, + 182, + 1, + 278, + 182, + 1, + 278, + 182, + 1, + 278, + 182, + 1, + 278, + 182, + 1, + 278, + 182, + 0, + 278, + 182, + 0, + 278, + 182, + 0, + 278, + 182, + 0, + 278, + 182, + 0, + 0, +}; + +Compact sc76_light1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 228, // xcood + 182, // ycood + 29*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_LIGHT1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc76_low_get[] = { + 63*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 4, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc76_fostfall[] = { + 70*64, + 354, + 218, + 0, + 355, + 218, + 1, + 355, + 218, + 2, + 357, + 219, + 3, + 366, + 216, + 4, + 371, + 222, + 5, + 376, + 234, + 6, + 381, + 255, + 7, + 382, + 261, + 8, + 381, + 262, + 9, + 382, + 262, + 10, + 382, + 262, + 11, + 382, + 262, + 11, + 0, +}; + +Compact sc76_door77 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 377, // xcood + 208, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 392-377, // mouseSize_x + 271-208, // mouseSize_y + SC76_DOOR77_ACTION, // actionScript +}; + +Compact sc76_board_1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 248, // xcood + 253, // ycood + 58*64, // frame + 6, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65534, // mouseRel_y + 257-247, // mouseSize_x + 254-251, // mouseSize_y + SC76_BOARD_1_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_BOARD_1_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc76_light8 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 304, // xcood + 239, // ycood + 46*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_LIGHT8_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc76_android_1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_BACKGROUND, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 224, // xcood + 204, // ycood + 66*64, // frame + 20691, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65528, // mouseRel_x + 0, // mouseRel_y + 238-216, // mouseSize_x + 243-204, // mouseSize_y + SC76_ANDROID_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_ANDROID_1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc76_cab1_open[] = { + 55*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +uint16 sc76_hatch_1[] = { + 66*64, + 224, + 204, + 0, + 224, + 204, + 0, + 224, + 204, + 1, + 224, + 204, + 1, + 224, + 204, + 2, + 224, + 204, + 2, + 224, + 204, + 3, + 224, + 204, + 3, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 4, + 224, + 204, + 3, + 224, + 204, + 3, + 224, + 204, + 2, + 224, + 204, + 2, + 224, + 204, + 1, + 224, + 204, + 1, + 224, + 204, + 0, + 224, + 204, + 0, + 0, +}; + +Compact sc76_console_2 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 299, // xcood + 210, // ycood + 0, // frame + 182, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 316-299, // mouseSize_x + 244-210, // mouseSize_y + SC76_CONSOLE_2_ACTION, // actionScript +}; + +ExtCompact sc76_android_3_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + RIGHT, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_ANDROID3, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc76_android_3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_SORT+ST_RECREATE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 319, // xcood + 204, // ycood + 64*64, // frame + 20691, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 340-319, // mouseSize_x + 243-204, // mouseSize_y + SC76_ANDROID_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_ANDROID_3_LOGIC, // baseSub + 0, // baseSub_off + &sc76_android_3_ext, +}; + +Compact sc76_console_1 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 244, // xcood + 210, // ycood + 0, // frame + 182, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 260-244, // mouseSize_x + 244-210, // mouseSize_y + SC76_CONSOLE_1_ACTION, // actionScript +}; + +uint16 sc76_fast_list[] = { + 12+DISK_10, + 51+DISK_10, + 52+DISK_10, + 53+DISK_10, + 54+DISK_10, + 268+DISK_10, + 0, +}; + +ExtCompact sc76_android_2_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_ANDROID2, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc76_android_2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_SORT+ST_RECREATE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 271, // xcood + 204, // ycood + 67*64, // frame + 20691, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 289-271, // mouseSize_x + 243-204, // mouseSize_y + SC76_ANDROID_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_ANDROID_2_LOGIC, // baseSub + 0, // baseSub_off + &sc76_android_2_ext, +}; + +uint16 sc76_cab1_close[] = { + 55*64, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact sc76_light5 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 323, // xcood + 182, // ycood + 43*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_LIGHT5_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc76_board_2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 302, // xcood + 253, // ycood + 59*64, // frame + 6, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 65534, // mouseRel_y + 312-302, // mouseSize_x + 254-251, // mouseSize_y + SC76_BOARD_2_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_BOARD_2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc76_light9_anim[] = { + 47*64, + 357, + 239, + 0, + 357, + 239, + 1, + 357, + 239, + 2, + 357, + 239, + 3, + 357, + 239, + 4, + 357, + 239, + 5, + 357, + 239, + 6, + 357, + 239, + 7, + 357, + 239, + 8, + 357, + 239, + 9, + 357, + 239, + 10, + 357, + 239, + 10, + 0, +}; + +uint16 sc76_cab3_open[] = { + 57*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +Compact sc76_light7 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 247, // xcood + 239, // ycood + 45*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_LIGHT7_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc76_light4 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 282, // xcood + 182, // ycood + 32*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_LIGHT4_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc76_mouse_list[] = { + ID_KEN, + ID_SC76_ANDROID_1, + ID_SC76_ANDROID_2, + ID_SC76_ANDROID_3, + ID_SC76_CONSOLE_1, + ID_SC76_CONSOLE_2, + ID_SC76_CONSOLE_3, + ID_SC76_BOARD_1, + ID_SC76_BOARD_2, + ID_SC76_BOARD_3, + ID_SC76_CABINET_1, + ID_SC76_CABINET_2, + ID_SC76_CABINET_3, + ID_SC76_DOOR75, + ID_SC76_DOOR77, + ID_SC76_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc76_joey_list[] = { + 168, + 415, + 272, + 311, + 1, + 168, + 191, + 272, + 279, + 0, + 384, + 415, + 272, + 279, + 0, + 0, +}; + +uint16 reset_77_76[] = { + C_SCREEN, + 76, + C_PLACE, + ID_SC76_FLOOR, + C_XCOOD, + 408, + C_YCOOD, + 272, + 65535, +}; + +uint16 sc76_light5_anim[] = { + 43*64, + 323, + 182, + 0, + 323, + 182, + 0, + 323, + 182, + 0, + 323, + 182, + 0, + 323, + 182, + 0, + 323, + 182, + 0, + 323, + 182, + 1, + 323, + 182, + 1, + 323, + 182, + 1, + 323, + 182, + 1, + 323, + 182, + 1, + 323, + 182, + 1, + 323, + 182, + 1, + 323, + 182, + 0, + 0, +}; + +uint16 sc76_light4_anim[] = { + 32*64, + 282, + 182, + 0, + 282, + 182, + 0, + 282, + 182, + 0, + 282, + 182, + 0, + 282, + 182, + 0, + 282, + 182, + 0, + 282, + 182, + 0, + 282, + 182, + 0, + 282, + 182, + 0, + 282, + 182, + 0, + 282, + 182, + 0, + 282, + 182, + 1, + 282, + 182, + 2, + 282, + 182, + 0, + 0, +}; + +uint16 sc76_hatch_3[] = { + 65*64, + 319, + 204, + 0, + 319, + 204, + 0, + 317, + 204, + 1, + 317, + 204, + 1, + 315, + 204, + 2, + 315, + 204, + 2, + 312, + 213, + 3, + 312, + 213, + 3, + 316, + 216, + 4, + 316, + 216, + 4, + 315, + 219, + 5, + 315, + 219, + 5, + 308, + 222, + 6, + 308, + 222, + 7, + 305, + 224, + 8, + 305, + 224, + 8, + 302, + 221, + 9, + 302, + 221, + 9, + 303, + 220, + 10, + 303, + 220, + 10, + 301, + 220, + 11, + 302, + 220, + 12, + 307, + 220, + 13, + 0, +}; + +Compact sc76_cabinet_1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 245, // xcood + 246, // ycood + 55*64, // frame + 20692, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65535, // mouseRel_y + 261-244, // mouseSize_x + 265-245, // mouseSize_y + SC76_CABINET_1_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_CABINET_1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc76_punch[] = { + 69*64, + 307, + 220, + 0, + 312, + 220, + 1, + 311, + 221, + 2, + 312, + 221, + 3, + 318, + 221, + 4, + 326, + 220, + 5, + 331, + 220, + 6, + 331, + 221, + 7, + 337, + 220, + 0, + 337, + 220, + 0, + 324, + 223, + 8, + 323, + 224, + 9, + 320, + 224, + 10, + 330, + 224, + 11, + 331, + 222, + 12, + 331, + 222, + 13, + 332, + 221, + 14, + 337, + 220, + 0, + 337, + 220, + 0, + 337, + 220, + 15, + 0, +}; + +uint16 sc76_cab2_open[] = { + 56*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 0, +}; + +uint16 sc76_light7_anim[] = { + 45*64, + 247, + 239, + 0, + 247, + 239, + 1, + 247, + 239, + 2, + 247, + 239, + 3, + 247, + 239, + 4, + 247, + 239, + 5, + 247, + 239, + 6, + 247, + 239, + 7, + 247, + 239, + 8, + 247, + 239, + 9, + 247, + 239, + 9, + 247, + 239, + 9, + 247, + 239, + 9, + 0, +}; + +Compact sc76_cabinet_3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 355, // xcood + 246, // ycood + 57*64, // frame + 20692, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 1, // mouseRel_x + 65535, // mouseRel_y + 370-356, // mouseSize_x + 265-245, // mouseSize_y + SC76_CABINET_3_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_CABINET_3_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc76_console_3 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 350, // xcood + 210, // ycood + 0, // frame + 182, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 369-350, // mouseSize_x + 244-210, // mouseSize_y + SC76_CONSOLE_3_ACTION, // actionScript +}; + +uint16 sc76_open_cab[] = { + 63*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 0+62*64, + 1, + 1, + 1+62*64, + 1, + 1, + 2+62*64, + 1, + 1, + 2+62*64, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc76_palette[] = { + 0, + 1024, + 1540, + 1029, + 1540, + 1542, + 2054, + 2056, + 1799, + 2056, + 2570, + 2825, + 0, + 3072, + 3082, + 2826, + 3086, + 3085, + 3087, + 3084, + 3853, + 3599, + 3342, + 4623, + 4111, + 4368, + 4113, + 3859, + 3856, + 4626, + 4626, + 4116, + 5395, + 4882, + 4626, + 5140, + 4882, + 5911, + 4626, + 5141, + 4887, + 5910, + 5653, + 5653, + 5654, + 5147, + 5654, + 6167, + 5911, + 5914, + 6937, + 6679, + 6425, + 6937, + 6933, + 8478, + 6166, + 6174, + 7448, + 7449, + 7194, + 6939, + 7707, + 7197, + 8220, + 7450, + 7196, + 6689, + 7454, + 6435, + 7195, + 7966, + 7710, + 9761, + 7195, + 8474, + 10530, + 6938, + 8732, + 9248, + 7965, + 8222, + 7971, + 7969, + 7969, + 7970, + 8483, + 8737, + 9763, + 8224, + 7470, + 7452, + 9765, + 7724, + 8990, + 9506, + 9251, + 11299, + 8224, + 8238, + 8477, + 9765, + 9253, + 10789, + 8482, + 10273, + 11816, + 8226, + 8497, + 9758, + 9766, + 9003, + 9254, + 10535, + 10274, + 10027, + 9766, + 9008, + 11554, + 8997, + 11044, + 10019, + 10536, + 10536, + 9510, + 11049, + 9521, + 10788, + 10792, + 11558, + 12067, + 9511, + 11048, + 9769, + 11563, + 10033, + 10023, + 9519, + 10543, + 13096, + 9511, + 11050, + 10027, + 12077, + 11563, + 12841, + 10537, + 12585, + 11045, + 11565, + 11310, + 11565, + 11054, + 12073, + 11054, + 10033, + 11820, + 13104, + 11051, + 12331, + 12083, + 11568, + 13101, + 11559, + 12593, + 12590, + 12340, + 12082, + 12339, + 13617, + 12079, + 13360, + 13110, + 12595, + 13106, + 13364, + 13109, + 14129, + 13622, + 13623, + 14131, + 14136, + 14135, + 14649, + 14902, + 14649, + 15159, + 15161, + 14909, + 15676, + 15933, + 15935, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 13886, + 15149, + 9520, + 10809, + 13854, + 5924, + 7988, + 12817, + 2841, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 63, + 0, + 0, + 0, + 0, + 0, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact sc76_light2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 232, // xcood + 182, // ycood + 30*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_LIGHT2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc76_light8_anim[] = { + 46*64, + 304, + 239, + 0, + 304, + 239, + 0, + 304, + 239, + 1, + 304, + 239, + 1, + 304, + 239, + 2, + 304, + 239, + 3, + 304, + 239, + 4, + 304, + 239, + 5, + 304, + 239, + 6, + 304, + 239, + 7, + 304, + 239, + 8, + 304, + 239, + 9, + 304, + 239, + 10, + 304, + 239, + 11, + 0, +}; + +uint16 sc76_cab3_close[] = { + 57*64, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact sc76_cabinet_2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 301, // xcood + 246, // ycood + 56*64, // frame + 20692, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 1, // mouseRel_x + 1, // mouseRel_y + 316-302, // mouseSize_x + 265-245, // mouseSize_y + SC76_CABINET_2_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC76_CABINET_2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc76_light6_anim[] = { + 44*64, + 327, + 182, + 0, + 327, + 182, + 1, + 327, + 182, + 2, + 327, + 182, + 2, + 327, + 182, + 2, + 327, + 182, + 2, + 0, +}; + +Compact sc76_door75 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 76, // screen + 0, // place + 0, // getToTable + 174, // xcood + 210, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 190-174, // mouseSize_x + 275-210, // mouseSize_y + SC76_DOOR75_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/77comp.h b/sky/compacts/77comp.h new file mode 100644 index 00000000000..c913ebd27e7 --- /dev/null +++ b/sky/compacts/77comp.h @@ -0,0 +1,1030 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY77COMP_H +#define SKY77COMP_H + + + + +namespace SkyCompact { + +uint16 sc77_fpushl_2[] = { + 74*64, + 1, + 1, + 5, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 0, + 0, +}; + +uint16 sc77_palette[] = { + 0, + 768, + 1540, + 774, + 2307, + 1028, + 1541, + 1286, + 2054, + 1035, + 1796, + 1286, + 1037, + 1796, + 1798, + 1543, + 2825, + 1286, + 1039, + 1284, + 1798, + 2055, + 4362, + 1028, + 1801, + 3849, + 1286, + 2054, + 3593, + 2312, + 2064, + 4615, + 1542, + 2312, + 2315, + 3338, + 1302, + 2310, + 3082, + 1304, + 2052, + 2826, + 2066, + 2057, + 3339, + 2576, + 5129, + 1800, + 3082, + 5902, + 1544, + 1562, + 5638, + 2312, + 2578, + 2827, + 4110, + 2076, + 3078, + 3853, + 3346, + 2828, + 3596, + 2837, + 3340, + 4110, + 2839, + 3081, + 4368, + 2078, + 3080, + 3597, + 2586, + 5386, + 3086, + 4110, + 8723, + 2057, + 2845, + 5899, + 3598, + 3355, + 4107, + 4881, + 4371, + 7953, + 2315, + 4623, + 5653, + 4368, + 4110, + 4370, + 5394, + 4121, + 3854, + 4625, + 3358, + 4109, + 5651, + 3868, + 8205, + 2829, + 4885, + 8208, + 3854, + 4631, + 9747, + 2573, + 3619, + 4876, + 5909, + 4127, + 5905, + 5396, + 5138, + 6421, + 4884, + 4636, + 9746, + 3342, + 5653, + 5143, + 5910, + 4641, + 8719, + 4625, + 6420, + 5400, + 6679, + 6422, + 6684, + 6424, + 6171, + 8470, + 5397, + 4648, + 8975, + 4884, + 5917, + 6168, + 6681, + 5162, + 6160, + 7451, + 6175, + 10010, + 5908, + 6938, + 6431, + 7195, + 6688, + 9756, + 5656, + 5675, + 10515, + 5399, + 6690, + 6937, + 7709, + 7451, + 8993, + 7195, + 7451, + 10526, + 6426, + 6445, + 9239, + 7454, + 8221, + 8993, + 8224, + 8480, + 11554, + 7453, + 7728, + 10269, + 8482, + 8240, + 10528, + 8996, + 9250, + 13093, + 7969, + 9263, + 10018, + 10536, + 9780, + 13093, + 11567, + 2569, + 14860, + 14651, + 3854, + 3857, + 4624, + 39, + 2560, + 3339, + 5912, + 1560, + 2311, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 39, + 9984, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 13886, + 14637, + 9006, + 10036, + 12315, + 5152, + 6443, + 9997, + 2067, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 10047, + 63, + 16167, + 9984, + 63, + 16167, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact sc77_big_door = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 77, // screen + 0, // place + 0, // getToTable + 380, // xcood + 197, // ycood + 28*64, // frame + 181, // cursorText + SC77_BIG_DOOR_MOUSE_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65531, // mouseRel_x + 0, // mouseRel_y + 392-375, // mouseSize_x + 268-197, // mouseSize_y + SC77_BIG_DOOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC77_BIG_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc77_fpushl_1[] = { + 74*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 0, +}; + +uint16 sc77_fast_list[] = { + 12+DISK_10, + 51+DISK_10, + 52+DISK_10, + 53+DISK_10, + 54+DISK_10, + 268+DISK_10, + 0, +}; + +uint16 sc77_logic_list[] = { + ID_FOSTER, + ID_KEN, + ID_SC77_BIG_DOOR, + ID_SC75_TONGS, + ID_SC67_PULSE1, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc77_door_open[] = { + 28*64, + 380, + 197, + 0, + 380, + 197, + 1, + 380, + 197, + 2, + 380, + 197, + 3, + 380, + 197, + 4, + 380, + 197, + 5, + 380, + 197, + 6, + 380, + 197, + 7, + 0, +}; + +uint16 sc77_chip_list[] = { + IT_SC77_LAYER_0+DISK_10, + IT_SC77_LAYER_1+DISK_10, + IT_SC77_GRID_1+DISK_10, + IT_KEN+DISK_10, + IT_SC76_KEN_TALK+DISK_10, + IT_SC77_BIG_DOOR+DISK_10, + IT_SC77_FPUSHL+DISK_10, + IT_SC77_FPUSHR+DISK_10, + IT_SC77_KPUSHR+DISK_10, + IT_SC77_STRETCH+DISK_10, + 102+DISK_10, + 0, +}; + +uint32 grid77[0]; + +uint16 reset_78_77[] = { + C_SCREEN, + 77, + C_PLACE, + ID_SC77_FLOOR, + C_XCOOD, + 408, + C_YCOOD, + 264, + 65535, +}; + +uint16 sc77_stretch[] = { + 87*64, + 361, + 224, + 0, + 361, + 224, + 1, + 361, + 224, + 2, + 361, + 224, + 1, + 361, + 224, + 0, + 361, + 224, + 0, + 361, + 224, + 1, + 361, + 224, + 2, + 361, + 224, + 2, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 1, + 361, + 224, + 2, + 361, + 224, + 2, + 361, + 224, + 2, + 361, + 224, + 0, + 361, + 224, + 1, + 361, + 224, + 2, + 361, + 224, + 2, + 361, + 224, + 1, + 361, + 224, + 0, + 361, + 224, + 1, + 361, + 224, + 3, + 361, + 224, + 4, + 361, + 224, + 3, + 361, + 224, + 1, + 361, + 224, + 0, + 361, + 224, + 3, + 361, + 224, + 4, + 361, + 224, + 3, + 361, + 224, + 4, + 361, + 224, + 2, + 361, + 224, + 3, + 361, + 224, + 5, + 361, + 224, + 6, + 361, + 224, + 7, + 361, + 224, + 6, + 361, + 224, + 7, + 361, + 224, + 6, + 361, + 224, + 3, + 361, + 224, + 1, + 361, + 224, + 3, + 361, + 224, + 1, + 361, + 224, + 0, + 361, + 224, + 1, + 361, + 224, + 3, + 361, + 224, + 7, + 361, + 224, + 3, + 361, + 224, + 5, + 361, + 224, + 6, + 361, + 224, + 5, + 361, + 224, + 5, + 361, + 224, + 7, + 361, + 224, + 6, + 361, + 224, + 3, + 361, + 224, + 0, + 361, + 224, + 0, + 361, + 224, + 3, + 361, + 224, + 6, + 361, + 224, + 7, + 361, + 224, + 8, + 361, + 224, + 9, + 0, +}; + +uint16 sc77_joey_list[] = { + 184, + 391, + 264, + 279, + 1, + 376, + 391, + 264, + 271, + 0, + 0, +}; + +uint16 sc77_mouse_list[] = { + ID_KEN, + ID_SC77_HAND_1, + ID_SC77_HAND_2, + ID_SC77_TANK_1, + ID_SC77_TANK_2, + ID_SC77_DOOR76, + ID_SC77_BIG_DOOR, + ID_SC77_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 reset_76_77[] = { + C_SCREEN, + 77, + C_PLACE, + ID_SC77_FLOOR, + C_XCOOD, + 152, + C_YCOOD, + 264, + 65535, +}; + +uint16 sc77_fpushr_2[] = { + 75*64, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 sc77_floor_table[] = { + ID_SC77_FLOOR, + RETURN_OK, + ID_SC77_DOOR76, + GT_SC77_DOOR76, + 0, + SC77_DOOR76_WALK_ON, + ID_SC77_BIG_DOOR, + GT_SC77_BIG_DOOR, + 1, + SC77_BIG_DOOR_WALK_ON, + ID_SC77_TANK_1, + GT_SC77_TANKS, + ID_SC77_TANK_2, + GT_SC77_TANKS, + ID_SC77_HAND_1, + GT_SC77_HAND_1, + ID_SC77_HAND_2, + GT_SC77_HAND_2, + ID_JOEY_PARK, + GT_JOEY_PARK, + ID_KEN, + GT_SC77_STUCK_KEN, + 65535, +}; + +uint16 sc77_kpushr_2[] = { + 76*64, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact sc77_tank_1 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 77, // screen + 0, // place + 0, // getToTable + 199, // xcood + 157, // ycood + 0, // frame + 20568, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 281-199, // mouseSize_x + 265-157, // mouseSize_y + SC77_TANKS_ACTION, // actionScript +}; + +uint16 sc77_fpushr_1[] = { + 75*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 0, +}; + +Compact sc77_tank_2 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 77, // screen + 0, // place + 0, // getToTable + 289, // xcood + 157, // ycood + 0, // frame + 20568, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 365-289, // mouseSize_x + 265-157, // mouseSize_y + SC77_TANKS_ACTION, // actionScript +}; + +Compact sc77_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 77, // screen + 0, // place + sc77_floor_table, // getToTable + 188, // xcood + 262, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 382-188, // mouseSize_x + 280-262, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact sc77_hand_2 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 77, // screen + 0, // place + 0, // getToTable + 393, // xcood + 236, // ycood + 0, // frame + 20571, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 400-393, // mouseSize_x + 251-236, // mouseSize_y + SC77_HAND_2_ACTION, // actionScript +}; + +Compact sc77_hand_1 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 77, // screen + 0, // place + 0, // getToTable + 364, // xcood + 222, // ycood + 0, // frame + 20571, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 371-364, // mouseSize_x + 233-222, // mouseSize_y + SC77_HAND_1_ACTION, // actionScript +}; + +uint16 sc77_kpushr_1[] = { + 76*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 0, +}; + +Compact sc77_door76 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 77, // screen + 0, // place + 0, // getToTable + 174, // xcood + 205, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 190-174, // mouseSize_x + 270-205, // mouseSize_y + SC77_DOOR76_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/78comp.h b/sky/compacts/78comp.h new file mode 100644 index 00000000000..c36b56c4b37 --- /dev/null +++ b/sky/compacts/78comp.h @@ -0,0 +1,1154 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY78COMP_H +#define SKY78COMP_H + + + + +namespace SkyCompact { + +uint16 sc78_ledge_table[] = { + ID_SC78_LEDGE, + RETURN_OK, + ID_SC78_PIPE, + GT_SC78_PIPE, + ID_SC78_BIG_DOOR, + GT_SC78_BIG_DOOR, + 0, + SC78_BIG_DOOR_WALK_ON, + ID_SC78_EXIT, + GT_SC78_PIPE, + ID_SC78_SUPPORT, + GT_SC78_PIPE, + 65535, +}; + +Compact sc78_ledge = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 78, // screen + 0, // place + sc78_ledge_table, // getToTable + 185, // xcood + 245, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 282-185, // mouseSize_x + 257-245, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact sc78_big_door = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 78, // screen + 0, // place + 0, // getToTable + 166, // xcood + 177, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 186-166, // mouseSize_x + 256-177, // mouseSize_y + SC78_BIG_DOOR_ACTION, // actionScript +}; + +uint16 sc78_climb_up[] = { + 86*64, + 284, + 226, + 0, + 284, + 226, + 1, + 276, + 227, + 2, + 276, + 227, + 2, + 269, + 234, + 3, + 269, + 234, + 3, + 269, + 234, + 4, + 269, + 234, + 4, + 264, + 235, + 5, + 264, + 235, + 5, + 259, + 234, + 6, + 259, + 234, + 6, + 260, + 234, + 7, + 260, + 234, + 7, + 262, + 225, + 8, + 262, + 225, + 8, + 260, + 223, + 9, + 260, + 223, + 9, + 254, + 217, + 10, + 254, + 217, + 10, + 253, + 210, + 11, + 253, + 210, + 11, + 255, + 206, + 12, + 255, + 206, + 12, + 258, + 203, + 13, + 258, + 203, + 13, + 260, + 202, + 1, + 260, + 202, + 1, + 0, +}; + +uint16 sc78_logic_list[] = { + ID_FOSTER, + ID_KEN, + ID_SC67_PULSE1, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 reset_79_78[] = { + C_SCREEN, + 78, + C_PLACE, + ID_SC78_PIPE, + C_XCOOD, + OFF_RIGHT, + C_YCOOD, + 272, + 65535, +}; + +uint16 sc78_mouse_list[] = { + ID_SC78_EXIT, + ID_SC78_BIG_DOOR, + ID_SC78_SUPPORT, + ID_SC78_LEDGE, + ID_SC78_PIPE, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +Compact sc78_support = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 78, // screen + 0, // place + 0, // getToTable + 231, // xcood + 262, // ycood + 0, // frame + 20573, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 65530, // mouseRel_y + 405-386, // mouseSize_x + 308-262, // mouseSize_y + SC78_SUPPORT_ACTION, // actionScript +}; + +uint16 sc781_palette[] = { + 0, + 768, + 1026, + 517, + 1026, + 1028, + 518, + 2052, + 514, + 1030, + 1283, + 1540, + 521, + 1796, + 1284, + 1033, + 1539, + 1286, + 1033, + 2822, + 771, + 1544, + 1540, + 2054, + 1035, + 3333, + 1027, + 1292, + 2052, + 1798, + 1546, + 1797, + 1543, + 1037, + 2822, + 1797, + 1800, + 3593, + 1029, + 2057, + 2566, + 2055, + 1804, + 2310, + 2057, + 1296, + 3334, + 2054, + 1550, + 2310, + 2825, + 2316, + 2823, + 2313, + 1553, + 3848, + 2055, + 1556, + 4357, + 1543, + 2571, + 3595, + 2314, + 2828, + 2825, + 3339, + 3084, + 5131, + 1800, + 1558, + 5639, + 1544, + 2322, + 3595, + 3340, + 3340, + 6158, + 1799, + 2070, + 6665, + 1542, + 1565, + 4870, + 2571, + 3090, + 3597, + 3598, + 2330, + 4617, + 3598, + 2332, + 6154, + 2827, + 2589, + 3848, + 4624, + 3351, + 8716, + 1800, + 3860, + 6413, + 2829, + 3353, + 4366, + 4625, + 3861, + 8719, + 2313, + 2340, + 5639, + 4368, + 2847, + 6923, + 3598, + 2851, + 7945, + 3085, + 4883, + 8468, + 3341, + 4632, + 9488, + 2572, + 3869, + 6671, + 4370, + 4633, + 9747, + 3085, + 4382, + 8720, + 3343, + 3115, + 9225, + 3600, + 4639, + 10770, + 3086, + 4135, + 7439, + 5397, + 4137, + 7950, + 5140, + 6169, + 9497, + 4372, + 5413, + 8211, + 5911, + 6178, + 10007, + 5142, + 5422, + 8465, + 7194, + 5929, + 9493, + 6682, + 7458, + 8223, + 8480, + 7211, + 8733, + 8482, + 8230, + 8993, + 8994, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 63, + 0, + 0, + 0, + 0, + 0, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 reset_77_78[] = { + C_SCREEN, + 78, + C_PLACE, + ID_SC78_LEDGE, + C_XCOOD, + 152, + C_YCOOD, + 248, + 65535, +}; + +uint16 sc78_pipe_table[] = { + ID_SC78_PIPE, + RETURN_OK, + ID_SC78_LEDGE, + GT_SC78_LEDGE, + ID_SC78_BIG_DOOR, + GT_SC78_LEDGE, + ID_SC78_EXIT, + GT_SC78_EXIT, + 1, + SC78_EXIT_WALK_ON, + ID_SC78_SUPPORT, + GT_SC78_SUPPORT, + 65535, +}; + +uint16 sc78_chip_list[] = { + IT_SC78_LAYER_0+DISK_10, + IT_SC78_LAYER_1+DISK_10, + IT_SC78_GRID_1+DISK_10, + IT_SC78_JUMP_DOWN+DISK_10, + IT_SC78_CLIMB_UP+DISK_10, + 0, +}; + +Compact sc78_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 78, // screen + 0, // place + 0, // getToTable + 420, // xcood + 210, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 447-420, // mouseSize_x + 280-210, // mouseSize_y + SC78_EXIT_ACTION, // actionScript +}; + +uint16 sc78_jump_down[] = { + 85*64, + 258, + 202, + 0, + 257, + 206, + 1, + 257, + 206, + 1, + 260, + 210, + 2, + 261, + 206, + 3, + 275, + 205, + 4, + 300, + 211, + 5, + 311, + 224, + 6, + 329, + 239, + 7, + 332, + 251, + 8, + 332, + 251, + 8, + 332, + 252, + 9, + 332, + 252, + 9, + 329, + 248, + 10, + 330, + 239, + 11, + 330, + 230, + 12, + 330, + 226, + 13, + 330, + 226, + 0, + 0, +}; + +Compact sc78_pipe = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 78, // screen + 0, // place + sc78_pipe_table, // getToTable + 278, // xcood + 270, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 422-278, // mouseSize_x + 281-270, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint32 grid78[0]; + +uint16 sc78_palette[] = { + 0, + 768, + 1026, + 517, + 1026, + 1028, + 518, + 2052, + 514, + 1030, + 1283, + 1540, + 521, + 1796, + 1284, + 1033, + 1539, + 1286, + 1033, + 2822, + 771, + 1544, + 1540, + 2054, + 1035, + 3333, + 1027, + 1292, + 2052, + 1798, + 1546, + 1797, + 1543, + 1037, + 2822, + 1797, + 1800, + 3593, + 1029, + 2057, + 2566, + 2055, + 1804, + 2310, + 2057, + 1296, + 3334, + 2054, + 1550, + 2310, + 2825, + 2316, + 2823, + 2313, + 1553, + 3848, + 2055, + 1556, + 4357, + 1543, + 2571, + 3595, + 2314, + 2828, + 2825, + 3339, + 3084, + 5131, + 1800, + 1558, + 5639, + 1544, + 2322, + 3595, + 3340, + 3340, + 6158, + 1799, + 2070, + 6665, + 1542, + 1565, + 4870, + 2571, + 3090, + 3597, + 3598, + 2330, + 4617, + 3598, + 2332, + 6154, + 2827, + 2589, + 3848, + 4624, + 3351, + 8716, + 1800, + 3860, + 6413, + 2829, + 3353, + 4366, + 4625, + 3861, + 8719, + 2313, + 2340, + 5639, + 4368, + 2847, + 6923, + 3598, + 2851, + 7945, + 3085, + 4883, + 8468, + 3341, + 4632, + 9488, + 2572, + 3869, + 6671, + 4370, + 4633, + 9747, + 3085, + 4382, + 8720, + 3343, + 3115, + 9225, + 3600, + 4639, + 10770, + 3086, + 4135, + 7439, + 5397, + 4137, + 7950, + 5140, + 6169, + 9497, + 4372, + 5413, + 8211, + 5911, + 6178, + 10007, + 5142, + 5422, + 8465, + 7194, + 5929, + 9493, + 6682, + 7458, + 8223, + 8480, + 7211, + 8733, + 8482, + 8230, + 8993, + 8994, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 16128, + 0, + 63, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 63, + 0, + 0, + 0, + 0, + 0, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc78_fast_list[] = { + 12+DISK_10, + 51+DISK_10, + 52+DISK_10, + 53+DISK_10, + 54+DISK_10, + 268+DISK_10, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/79comp.h b/sky/compacts/79comp.h new file mode 100644 index 00000000000..bb43de6e192 --- /dev/null +++ b/sky/compacts/79comp.h @@ -0,0 +1,1614 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY79COMP_H +#define SKY79COMP_H + + + + +namespace SkyCompact { + +uint16 sc791_palette[] = { + 0, + 1024, + 514, + 771, + 1540, + 514, + 772, + 1283, + 1027, + 1028, + 1030, + 1029, + 775, + 1540, + 1540, + 1286, + 2308, + 771, + 1033, + 1028, + 1542, + 1288, + 1284, + 2054, + 1034, + 2053, + 1541, + 1542, + 3078, + 1283, + 1290, + 1284, + 1799, + 1543, + 3080, + 1029, + 1800, + 2566, + 1286, + 1038, + 1540, + 2056, + 1545, + 1800, + 1799, + 1040, + 3332, + 1541, + 2056, + 1800, + 2568, + 1547, + 3591, + 1030, + 1042, + 2564, + 1800, + 2058, + 2313, + 2057, + 1295, + 3078, + 1800, + 2568, + 4361, + 1541, + 1806, + 2054, + 2826, + 1806, + 2568, + 2058, + 1808, + 3078, + 2313, + 1301, + 2565, + 2570, + 1810, + 2565, + 3082, + 2064, + 3592, + 2057, + 2825, + 3595, + 2569, + 1810, + 3079, + 2571, + 3082, + 3084, + 3083, + 2576, + 4617, + 1801, + 1560, + 5638, + 1287, + 2322, + 3593, + 2571, + 1814, + 5127, + 2313, + 3340, + 3596, + 3084, + 3340, + 6670, + 1286, + 2072, + 4102, + 2827, + 3345, + 3853, + 3342, + 3853, + 5390, + 2827, + 2331, + 6409, + 2570, + 4110, + 8208, + 1543, + 2333, + 7944, + 2056, + 2839, + 5387, + 3085, + 4112, + 7439, + 2570, + 2083, + 4614, + 4881, + 2847, + 6923, + 3342, + 3865, + 9230, + 2059, + 3106, + 7433, + 3086, + 2343, + 8455, + 2829, + 2854, + 8200, + 3856, + 3366, + 8716, + 3599, + 3368, + 11021, + 2572, + 3624, + 11531, + 2572, + 3882, + 9742, + 3858, + 4140, + 10766, + 3601, + 4656, + 11021, + 4627, + 4402, + 12045, + 4114, + 5173, + 12303, + 4886, + 5427, + 12817, + 4886, + 6702, + 8472, + 8737, + 8483, + 14625, + 4632, + 6710, + 13589, + 5915, + 9272, + 8993, + 8481, + 3086, + 4364, + 3855, + 4628, + 5906, + 5397, + 6171, + 7704, + 6939, + 7713, + 9246, + 8738, + 9512, + 11045, + 10537, + 11310, + 12844, + 12336, + 13109, + 14387, + 14135, + 15163, + 16187, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc79_chip_list[] = { + IT_SC79_LAYER_0+DISK_10, + IT_SC79_SUPPORT+DISK_10, + IT_SC79_CROUCH+DISK_10, + IT_SC79_CLIMB+DISK_10, + IT_SC79_TIE_ROPE+DISK_10, + IT_SC79_TOSS_ROPE+DISK_10, + IT_SC79_ROPE+DISK_10, + IT_SC79_KNOT+DISK_10, + 0, +}; + +uint16 sc79_climb_up[] = { + 92*64, + 372, + 280, + 24, + 366, + 280, + 23, + 368, + 280, + 22, + 365, + 280, + 21, + 364, + 280, + 20, + 364, + 280, + 19, + 364, + 280, + 18, + 363, + 280, + 17, + 367, + 280, + 16, + 365, + 280, + 15, + 363, + 280, + 14, + 363, + 280, + 13, + 363, + 280, + 12, + 362, + 277, + 11, + 365, + 276, + 10, + 364, + 271, + 9, + 353, + 266, + 8, + 353, + 265, + 7, + 352, + 264, + 6, + 352, + 262, + 5, + 346, + 262, + 4, + 340, + 263, + 3, + 335, + 262, + 2, + 330, + 261, + 1, + 323, + 258, + 0, + 0, + 0, +}; + +Compact sc79_exit = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 79, // screen + 0, // place + 0, // getToTable + 128, // xcood + 210, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 155-128, // mouseSize_x + 280-210, // mouseSize_y + SC79_EXIT_ACTION, // actionScript +}; + +Compact sc79_rope = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 79, // screen + 0, // place + 0, // getToTable + 288, // xcood + 306, // ycood + 98*64, // frame + 49, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65531, // mouseRel_x + 0, // mouseRel_y + 332-325, // mouseSize_x + 327-305, // mouseSize_y + SC79_ROPE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC79_ROPE_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc79_support = { + 0, // logic + ST_MOUSE+ST_FOREGROUND, // status + 0, // sync + 79, // screen + 0, // place + 0, // getToTable + 275, // xcood + 267, // ycood + 48*64, // frame + 20573, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 65533, // mouseRel_y + 296-275, // mouseSize_x + 315-264, // mouseSize_y + SC79_SUPPORT_ACTION, // actionScript +}; + +uint16 sc79_palette[] = { + 0, + 1024, + 514, + 771, + 1540, + 514, + 772, + 1283, + 1027, + 1028, + 1030, + 1029, + 775, + 1540, + 1540, + 1286, + 2308, + 771, + 1033, + 1028, + 1542, + 1288, + 1284, + 2054, + 1034, + 2053, + 1541, + 1542, + 3078, + 1283, + 1290, + 1284, + 1799, + 1543, + 3080, + 1029, + 1800, + 2566, + 1286, + 1038, + 1540, + 2056, + 1545, + 1800, + 1799, + 1040, + 3332, + 1541, + 2056, + 1800, + 2568, + 1547, + 3591, + 1030, + 1042, + 2564, + 1800, + 2058, + 2313, + 2057, + 1295, + 3078, + 1800, + 2568, + 4361, + 1541, + 1806, + 2054, + 2826, + 1806, + 2568, + 2058, + 1808, + 3078, + 2313, + 1301, + 2565, + 2570, + 1810, + 2565, + 3082, + 2064, + 3592, + 2057, + 2825, + 3595, + 2569, + 1810, + 3079, + 2571, + 3082, + 3084, + 3083, + 2576, + 4617, + 1801, + 1560, + 5638, + 1287, + 2322, + 3593, + 2571, + 1814, + 5127, + 2313, + 3340, + 3596, + 3084, + 3340, + 6670, + 1286, + 2072, + 4102, + 2827, + 3345, + 3853, + 3342, + 3853, + 5390, + 2827, + 2331, + 6409, + 2570, + 4110, + 8208, + 1543, + 2333, + 7944, + 2056, + 2839, + 5387, + 3085, + 4112, + 7439, + 2570, + 2083, + 4614, + 4881, + 2847, + 6923, + 3342, + 3865, + 9230, + 2059, + 3106, + 7433, + 3086, + 2343, + 8455, + 2829, + 2854, + 8200, + 3856, + 3366, + 8716, + 3599, + 3368, + 11021, + 2572, + 3624, + 11531, + 2572, + 3882, + 9742, + 3858, + 4140, + 10766, + 3601, + 4656, + 11021, + 4627, + 4402, + 12045, + 4114, + 5173, + 12303, + 4886, + 5427, + 12817, + 4886, + 6702, + 8472, + 8737, + 8483, + 14625, + 4632, + 6710, + 13589, + 5915, + 9272, + 8993, + 8481, + 3086, + 4364, + 3855, + 4628, + 5906, + 5397, + 6171, + 7704, + 6939, + 7713, + 9246, + 8738, + 9512, + 11045, + 10537, + 11310, + 12844, + 12336, + 13109, + 14387, + 14135, + 15163, + 16187, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc79_climb_down[] = { + 92*64, + 323, + 258, + 0, + 330, + 261, + 1, + 335, + 262, + 2, + 340, + 263, + 3, + 346, + 262, + 4, + 352, + 262, + 5, + 352, + 264, + 6, + 353, + 265, + 7, + 353, + 266, + 8, + 364, + 271, + 9, + 365, + 276, + 10, + 362, + 277, + 11, + 363, + 280, + 12, + 363, + 280, + 13, + 363, + 280, + 14, + 365, + 280, + 15, + 367, + 280, + 16, + 363, + 280, + 17, + 364, + 280, + 18, + 364, + 280, + 19, + 364, + 280, + 20, + 365, + 280, + 21, + 368, + 280, + 22, + 366, + 280, + 23, + 372, + 280, + 24, + 0, + 0, +}; + +uint16 sc79_crouch_down[] = { + 91*64, + 348, + 226, + 0, + 345, + 227, + 1, + 340, + 231, + 2, + 338, + 239, + 3, + 335, + 248, + 4, + 335, + 250, + 5, + 329, + 251, + 6, + 321, + 256, + 7, + 315, + 259, + 8, + 318, + 259, + 9, + 0, + 0, +}; + +uint16 sc79_pipe_table[] = { + ID_SC79_PIPE, + RETURN_OK, + ID_SC79_EXIT, + GT_SC79_EXIT, + 0, + SC79_EXIT_WALK_ON, + ID_SC79_SUPPORT, + GT_SC79_SUPPORT, + ID_SC79_LADDER, + GT_SC79_LADDER, + ID_SC79_KNOT, + GT_SC79_KNOT, + ID_SC79_ROPE, + GT_SC79_ROPE, + 65535, +}; + +uint16 reset_78_79[] = { + C_SCREEN, + 79, + C_PLACE, + ID_SC79_PIPE, + C_XCOOD, + OFF_LEFT, + C_YCOOD, + 272, + 65535, +}; + +uint16 sc79_crouch_up[] = { + 91*64, + 318, + 259, + 9, + 315, + 259, + 8, + 321, + 256, + 7, + 329, + 251, + 6, + 335, + 250, + 5, + 335, + 248, + 4, + 338, + 239, + 3, + 340, + 231, + 2, + 345, + 227, + 1, + 348, + 226, + 0, + 0, + 0, +}; + +uint16 sc79_rope_anim[] = { + 98*64, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 310, + 304, + 0, + 321, + 304, + 1, + 314, + 304, + 2, + 311, + 304, + 3, + 311, + 304, + 4, + 310, + 304, + 5, + 310, + 304, + 4, + 310, + 304, + 4, + 310, + 304, + 4, + 310, + 304, + 4, + 310, + 304, + 4, + 310, + 304, + 4, + 310, + 304, + 4, + 310, + 304, + 4, + 0, +}; + +Compact sc79_knot = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 79, // screen + 0, // place + 0, // getToTable + 288, // xcood + 265, // ycood + 101*64, // frame + 20892, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 298-288, // mouseSize_x + 275-265, // mouseSize_y + SC79_KNOT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC79_KNOT_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc79_fast_list[] = { + 12+DISK_10, + 51+DISK_10, + 52+DISK_10, + 53+DISK_10, + 54+DISK_10, + 268+DISK_10, + 0, +}; + +uint16 reset_80_79[] = { + C_SCREEN, + 79, + C_PLACE, + ID_SC79_PIPE, + 65535, +}; + +Compact sc79_ladder = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 79, // screen + 0, // place + 0, // getToTable + 361, // xcood + 284, // ycood + 0, // frame + 20828, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 368-361, // mouseSize_x + 327-284, // mouseSize_y + SC79_LADDER_ACTION, // actionScript +}; + +uint16 sc79_toss_rope[] = { + 97*64, + 284, + 236, + 0, + 285, + 231, + 1, + 285, + 231, + 1, + 285, + 226, + 2, + 285, + 226, + 3, + 285, + 226, + 3, + 285, + 226, + 4, + 285, + 226, + 5, + 285, + 226, + 6, + 285, + 226, + 7, + 285, + 226, + 8, + 285, + 226, + 9, + 285, + 224, + 10, + 285, + 223, + 11, + 285, + 226, + 12, + 285, + 226, + 13, + 285, + 226, + 14, + 285, + 226, + 15, + 285, + 226, + 16, + 285, + 226, + 17, + 285, + 226, + 18, + 285, + 226, + 19, + 285, + 226, + 20, + 285, + 226, + 21, + 285, + 226, + 21, + 285, + 226, + 21, + 285, + 226, + 21, + 285, + 226, + 21, + 285, + 226, + 21, + 285, + 226, + 21, + 285, + 226, + 21, + 285, + 226, + 21, + 285, + 226, + 21, + 285, + 226, + 21, + 285, + 226, + 21, + 0, +}; + +uint32 grid79[0]; + +uint16 sc79_logic_list[] = { + ID_FOSTER, + ID_SC79_SUPPORT, + ID_SC79_ROPE, + ID_SC79_KNOT, + ID_SC67_PULSE1, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc79_mouse_list[] = { + ID_SC79_EXIT, + ID_SC79_LADDER, + ID_SC79_ROPE, + ID_SC79_KNOT, + ID_SC79_SUPPORT, + ID_SC79_PIPE, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc79_tie_rope[] = { + 96*64, + 285, + 231, + 0, + 284, + 236, + 1, + 284, + 238, + 2, + 284, + 240, + 3, + 284, + 241, + 4, + 284, + 241, + 5, + 284, + 241, + 6, + 284, + 241, + 7, + 284, + 241, + 8, + 284, + 242, + 9, + 284, + 242, + 9, + 284, + 241, + 8, + 284, + 241, + 7, + 284, + 241, + 6, + 284, + 241, + 6, + 284, + 241, + 7, + 284, + 241, + 8, + 284, + 242, + 9, + 284, + 241, + 8, + 284, + 242, + 9, + 0, +}; + +Compact sc79_pipe = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 79, // screen + 0, // place + sc79_pipe_table, // getToTable + 128, // xcood + 270, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 360-128, // mouseSize_x + 280-270, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/80comp.h b/sky/compacts/80comp.h new file mode 100644 index 00000000000..34add4f4f7e --- /dev/null +++ b/sky/compacts/80comp.h @@ -0,0 +1,3521 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY80COMP_H +#define SKY80COMP_H + + + + +namespace SkyCompact { + +Compact sc80_bubble10 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 274, // xcood + 316, // ycood + 89*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_BUBBLE10_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc80_logic_list[] = { + ID_FOSTER, + ID_SC80_EXIT, + ID_SC80_ROPE, + ID_SC80_SAMPLE, + ID_SC80_GOO, + ID_SC80_BUBBLE1, + ID_SC80_BUBBLE2, + ID_SC80_BUBBLE3, + ID_SC80_BUBBLE4, + ID_SC80_BUBBLE5, + ID_SC80_BUBBLE6, + ID_SC80_BUBBLE7, + ID_SC80_BUBBLE8, + ID_SC80_BUBBLE9, + ID_SC80_BUBBLE10, + ID_SC80_BUBBLE11, + ID_SC80_BUBBLE12, + ID_SC67_PULSE1, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc802_palette[] = { + 0, + 0, + 0, + 3, + 512, + 0, + 3, + 1281, + 0, + 513, + 1026, + 1, + 7, + 1280, + 513, + 7, + 1026, + 1026, + 264, + 2305, + 1, + 10, + 10241, + 1028, + 518, + 2052, + 769, + 1028, + 3077, + 1, + 775, + 2818, + 769, + 1286, + 2308, + 1027, + 778, + 1793, + 1540, + 271, + 1536, + 1797, + 1541, + 3334, + 514, + 780, + 2053, + 1286, + 274, + 4098, + 259, + 1038, + 2307, + 2054, + 1799, + 3591, + 1540, + 2056, + 5128, + 258, + 2057, + 1802, + 2313, + 2313, + 5383, + 771, + 535, + 4610, + 1541, + 2825, + 5897, + 1028, + 2570, + 3851, + 2567, + 1557, + 5124, + 1798, + 3082, + 3082, + 2571, + 1305, + 2819, + 3083, + 2065, + 3339, + 3084, + 1814, + 7433, + 1030, + 2075, + 5894, + 2569, + 3343, + 7438, + 1799, + 3853, + 6159, + 2315, + 2332, + 7944, + 1287, + 3348, + 8461, + 1544, + 4111, + 6160, + 3852, + 4114, + 8977, + 1801, + 3102, + 7949, + 2571, + 3864, + 4366, + 4883, + 4627, + 7442, + 3343, + 5139, + 10004, + 2316, + 3621, + 5644, + 5397, + 5652, + 8726, + 3856, + 4891, + 7697, + 4371, + 3879, + 8973, + 4114, + 4137, + 9742, + 4370, + 4396, + 8206, + 5399, + 5413, + 8467, + 6422, + 5162, + 11538, + 4629, + 5676, + 12820, + 3859, + 5424, + 10769, + 5399, + 6439, + 8982, + 6427, + 5937, + 11795, + 6169, + 6195, + 11540, + 5915, + 7719, + 12059, + 6427, + 8232, + 13340, + 5658, + 7728, + 13082, + 6686, + 8491, + 13859, + 6430, + 8498, + 13854, + 6944, + 8756, + 14111, + 7714, + 9521, + 11042, + 10535, + 9270, + 14112, + 8999, + 10551, + 12325, + 11308, + 13879, + 14648, + 15161, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 59, + 15104, + 0, + 0, + 13312, + 12336, + 10541, + 8233, + 7453, + 5659, + 5653, + 3598, + 1550, + 775, + 0, + 3, + 12544, + 8489, + 8750, + 10777, + 4123, + 4898, + 7177, + 780, + 1558, + 10240, + 1028, + 7182, + 6413, + 5926, + 8466, + 3091, + 2838, + 3840, + 12288, + 12336, + 10535, + 7723, + 8478, + 8996, + 7214, + 9499, + 5146, + 4899, + 6670, + 2572, + 1297, + 1280, + 10545, + 11809, + 6434, + 6954, + 8720, + 2323, + 3100, + 5635, + 6, + 8505, + 12072, + 8216, + 4134, + 7448, + 4362, + 1044, + 2827, + 1280, + 1837, + 8967, + 257, + 25, + 3840, + 0, + 10545, + 11809, + 6434, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, + 15163, +}; + +Compact sc80_bubble1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 244, // xcood + 309, // ycood + 89*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_BUBBLE1_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc801_palette[] = { + 0, + 512, + 514, + 5, + 1024, + 257, + 517, + 1795, + 257, + 1027, + 1540, + 515, + 521, + 1794, + 1027, + 521, + 1540, + 1540, + 778, + 2819, + 259, + 524, + 10755, + 1542, + 1032, + 2566, + 1283, + 1542, + 3591, + 515, + 1289, + 3332, + 1283, + 1800, + 2822, + 1541, + 1292, + 2307, + 2054, + 785, + 2050, + 2311, + 2055, + 3848, + 1028, + 1294, + 2567, + 1800, + 788, + 4612, + 773, + 1552, + 2821, + 2568, + 2313, + 4105, + 2054, + 2570, + 5642, + 772, + 2571, + 2316, + 2827, + 2827, + 5897, + 1285, + 1049, + 5124, + 2055, + 3339, + 6411, + 1542, + 3084, + 4365, + 3081, + 2071, + 5638, + 2312, + 3596, + 3596, + 3085, + 1819, + 3333, + 3597, + 2579, + 3853, + 3598, + 2328, + 7947, + 1544, + 2589, + 6408, + 3083, + 3857, + 7952, + 2313, + 4367, + 6673, + 2829, + 2846, + 8458, + 1801, + 3862, + 8975, + 2058, + 4625, + 6674, + 4366, + 4628, + 9491, + 2315, + 3616, + 8463, + 3085, + 4378, + 4880, + 5397, + 5141, + 7956, + 3857, + 5653, + 10518, + 2830, + 4135, + 6158, + 5911, + 6166, + 9240, + 4370, + 5405, + 8211, + 4885, + 4393, + 9487, + 4628, + 4651, + 10256, + 4884, + 4910, + 8720, + 5913, + 5927, + 8981, + 6936, + 5676, + 12052, + 5143, + 6190, + 13334, + 4373, + 5938, + 11283, + 5913, + 6953, + 9496, + 6941, + 6451, + 12309, + 6683, + 6709, + 12054, + 6429, + 8233, + 12573, + 6941, + 8746, + 13854, + 6172, + 8242, + 13596, + 7200, + 9005, + 14373, + 6944, + 9012, + 14368, + 7458, + 9270, + 14625, + 8228, + 10035, + 11556, + 11049, + 9784, + 14626, + 9513, + 11065, + 12839, + 11822, + 14393, + 15162, + 15675, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 0, + 13824, + 12850, + 11055, + 8747, + 7967, + 6173, + 6167, + 4112, + 2064, + 1289, + 256, + 5, + 13057, + 9003, + 9264, + 11291, + 4637, + 5412, + 7691, + 1294, + 2072, + 10753, + 1542, + 7696, + 6927, + 6440, + 8980, + 3605, + 3352, + 4352, + 12802, + 12850, + 11049, + 8237, + 8992, + 9510, + 7728, + 10013, + 5660, + 5413, + 7184, + 3086, + 1811, + 1794, + 11059, + 12323, + 6948, + 7468, + 9234, + 2837, + 3614, + 6149, + 264, + 9019, + 12586, + 8730, + 4648, + 7962, + 4876, + 1558, + 3341, + 1794, + 2351, + 9481, + 771, + 27, + 4352, + 0, + 11059, + 12323, + 6948, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, + 15677, +}; + +uint16 sc803_palette[] = { + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 768, + 0, + 0, + 512, + 0, + 5, + 768, + 0, + 5, + 512, + 512, + 6, + 1792, + 0, + 8, + 9728, + 514, + 4, + 1538, + 256, + 514, + 2563, + 0, + 261, + 2304, + 256, + 772, + 1794, + 513, + 264, + 1280, + 1026, + 13, + 1024, + 1283, + 1027, + 2820, + 0, + 266, + 1539, + 772, + 16, + 3584, + 1, + 524, + 1793, + 1540, + 1285, + 3077, + 1026, + 1542, + 4614, + 0, + 1543, + 1288, + 1799, + 1799, + 4869, + 257, + 21, + 4096, + 1027, + 2311, + 5383, + 514, + 2056, + 3337, + 2053, + 1043, + 4610, + 1284, + 2568, + 2568, + 2057, + 791, + 2305, + 2569, + 1551, + 2825, + 2570, + 1300, + 6919, + 516, + 1561, + 5380, + 2055, + 2829, + 6924, + 1285, + 3339, + 5645, + 1801, + 1818, + 7430, + 773, + 2834, + 7947, + 1030, + 3597, + 5646, + 3338, + 3600, + 8463, + 1287, + 2588, + 7435, + 2057, + 3350, + 3852, + 4369, + 4113, + 6928, + 2829, + 4625, + 9490, + 1802, + 3107, + 5130, + 4883, + 5138, + 8212, + 3342, + 4377, + 7183, + 3857, + 3365, + 8459, + 3600, + 3623, + 9228, + 3856, + 3882, + 7692, + 4885, + 4899, + 7953, + 5908, + 4648, + 11024, + 4115, + 5162, + 12306, + 3345, + 4910, + 10255, + 4885, + 5925, + 8468, + 5913, + 5423, + 11281, + 5655, + 5681, + 11026, + 5401, + 7205, + 11545, + 5913, + 7718, + 12826, + 5144, + 7214, + 12568, + 6172, + 7977, + 13345, + 5916, + 7984, + 13340, + 6430, + 8242, + 13597, + 7200, + 9007, + 10528, + 10021, + 8756, + 13598, + 8485, + 10037, + 11811, + 10794, + 13365, + 14134, + 14647, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 57, + 14592, + 0, + 0, + 12800, + 11822, + 10027, + 7719, + 6939, + 5145, + 5139, + 3084, + 1036, + 261, + 0, + 1, + 12032, + 7975, + 8236, + 10263, + 3609, + 4384, + 6663, + 266, + 1044, + 9728, + 514, + 6668, + 5899, + 5412, + 7952, + 2577, + 2324, + 3328, + 11776, + 11822, + 10021, + 7209, + 7964, + 8482, + 6700, + 8985, + 4632, + 4385, + 6156, + 2058, + 783, + 768, + 10031, + 11295, + 5920, + 6440, + 8206, + 1809, + 2586, + 5121, + 4, + 7991, + 11558, + 7702, + 3620, + 6934, + 3848, + 530, + 2313, + 768, + 1323, + 8453, + 0, + 23, + 3328, + 0, + 10031, + 11295, + 5920, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, + 14649, +}; + +uint16 sc80_chip_list[] = { + IT_SC80_LAYER_0+DISK_10, + IT_SC80_CLIMB+DISK_10, + IT_SC80_PIPE_TALK+DISK_10, + IT_SC80_PIPE_SHRUG+DISK_10, + IT_SC80_DROP+DISK_10+0X8000, + IT_SC80_CLAMBER+DISK_10+0X8000, + IT_SC80_GET_ROPE+DISK_10+0X8000, + IT_SC80_SWING+DISK_10+0X8000, + IT_SC80_GOO+DISK_10, + IT_SC80_BUBBLE+DISK_10, + IT_SC80_SAMPLE+DISK_10, + IT_SC80_EXIT+DISK_10, + IT_SC80_ROPE+DISK_10, + 0, +}; + +Compact sc80_bubble2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 364, // xcood + 314, // ycood + 89*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_BUBBLE2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc80_pipe_shrug[] = { + 106*64, + 311, + 164, + 0, + 311, + 164, + 1, + 311, + 164, + 2, + 311, + 164, + 3, + 311, + 164, + 4, + 311, + 164, + 4, + 311, + 164, + 4, + 311, + 164, + 4, + 311, + 164, + 4, + 311, + 164, + 4, + 311, + 164, + 5, + 311, + 164, + 3, + 311, + 164, + 2, + 311, + 164, + 1, + 311, + 164, + 0, + 0, +}; + +uint16 sc80_climb_down[] = { + 90*64, + 318, + 136, + 0, + 316, + 136, + 1, + 315, + 136, + 2, + 316, + 136, + 3, + 313, + 136, + 4, + 313, + 136, + 5, + 313, + 136, + 6, + 313, + 136, + 7, + 314, + 136, + 8, + 316, + 136, + 9, + 313, + 136, + 10, + 313, + 136, + 11, + 312, + 136, + 12, + 313, + 136, + 13, + 310, + 136, + 14, + 311, + 138, + 15, + 311, + 143, + 16, + 311, + 144, + 17, + 312, + 149, + 18, + 313, + 154, + 19, + 310, + 155, + 20, + 311, + 160, + 21, + 311, + 165, + 22, + 311, + 165, + 22, + 0, + 0, +}; + +uint16 sc80_exit_open[] = { + 100*64, + 180, + 188, + 0, + 180, + 188, + 1, + 180, + 188, + 2, + 180, + 188, + 3, + 180, + 188, + 4, + 180, + 188, + 5, + 180, + 188, + 6, + 180, + 188, + 7, + 180, + 188, + 8, + 180, + 188, + 9, + 180, + 188, + 10, + 180, + 188, + 11, + 180, + 188, + 12, + 180, + 188, + 13, + 180, + 188, + 14, + 180, + 188, + 15, + 180, + 188, + 16, + 180, + 188, + 17, + 180, + 188, + 18, + 180, + 188, + 19, + 180, + 188, + 20, + 180, + 188, + 21, + 180, + 188, + 22, + 180, + 188, + 23, + 180, + 188, + 24, + 180, + 188, + 25, + 0, +}; + +uint16 sc80_fast_list[] = { + 12+DISK_10, + 51+DISK_10, + 52+DISK_10, + 53+DISK_10, + 54+DISK_10, + 268+DISK_10, + 0, +}; + +uint16 sc80_palette[] = { + 0, + 512, + 514, + 5, + 1024, + 257, + 517, + 1795, + 257, + 1027, + 1540, + 515, + 521, + 1794, + 1027, + 521, + 1540, + 1540, + 778, + 2819, + 259, + 524, + 10755, + 1542, + 1032, + 2566, + 1283, + 1542, + 3591, + 515, + 1289, + 3332, + 1283, + 1800, + 2822, + 1541, + 1292, + 2307, + 2054, + 785, + 2050, + 2311, + 2055, + 3848, + 1028, + 1294, + 2567, + 1800, + 788, + 4612, + 773, + 1552, + 2821, + 2568, + 2313, + 4105, + 2054, + 2570, + 5642, + 772, + 2571, + 2316, + 2827, + 2827, + 5897, + 1285, + 1049, + 5124, + 2055, + 3339, + 6411, + 1542, + 3084, + 4365, + 3081, + 2071, + 5638, + 2312, + 3596, + 3596, + 3085, + 1819, + 3333, + 3597, + 2579, + 3853, + 3598, + 2328, + 7947, + 1544, + 2589, + 6408, + 3083, + 3857, + 7952, + 2313, + 4367, + 6673, + 2829, + 2846, + 8458, + 1801, + 3862, + 8975, + 2058, + 4625, + 6674, + 4366, + 4628, + 9491, + 2315, + 3616, + 8463, + 3085, + 4378, + 4880, + 5397, + 5141, + 7956, + 3857, + 5653, + 10518, + 2830, + 4135, + 6158, + 5911, + 6166, + 9240, + 4370, + 5405, + 8211, + 4885, + 4393, + 9487, + 4628, + 4651, + 10256, + 4884, + 4910, + 8720, + 5913, + 5927, + 8981, + 6936, + 5676, + 12052, + 5143, + 6190, + 13334, + 4373, + 5938, + 11283, + 5913, + 6953, + 9496, + 6941, + 6451, + 12309, + 6683, + 6709, + 12054, + 6429, + 8233, + 12573, + 6941, + 8746, + 13854, + 6172, + 8242, + 13596, + 7200, + 9005, + 14373, + 6944, + 9012, + 14368, + 7458, + 9270, + 14625, + 8228, + 10035, + 11556, + 11049, + 9784, + 14626, + 9513, + 11065, + 12839, + 11822, + 14393, + 15162, + 15675, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 61, + 15616, + 0, + 0, + 13824, + 12850, + 11055, + 8747, + 7967, + 6173, + 6167, + 4112, + 2064, + 1289, + 256, + 5, + 13057, + 9003, + 9264, + 11291, + 4637, + 5412, + 7691, + 1294, + 2072, + 10753, + 1542, + 7696, + 6927, + 6440, + 8980, + 3605, + 3352, + 4352, + 12802, + 12850, + 11049, + 8237, + 8992, + 9510, + 7728, + 10013, + 5660, + 5413, + 7184, + 3086, + 1811, + 1794, + 11059, + 12323, + 6948, + 7468, + 9234, + 2837, + 3614, + 6149, + 264, + 9019, + 12586, + 8730, + 4648, + 7962, + 4876, + 1558, + 3341, + 1794, + 2351, + 9481, + 771, + 27, + 4352, + 0, + 11059, + 12323, + 6948, + 0, + 16128, + 0, + 16191, + 15679, + 0, + 61, + 15616, + 0, + 61, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact sc80_bubble11 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 305, // xcood + 316, // ycood + 89*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_BUBBLE11_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc80_clamber[] = { + 93*64, + 311, + 165, + 0, + 311, + 165, + 0, + 311, + 165, + 0, + 311, + 165, + 0, + 311, + 165, + 0, + 311, + 165, + 0, + 313, + 165, + 1, + 312, + 165, + 2, + 311, + 165, + 3, + 309, + 165, + 4, + 305, + 165, + 5, + 300, + 165, + 6, + 294, + 165, + 7, + 293, + 165, + 8, + 286, + 166, + 9, + 286, + 167, + 10, + 286, + 168, + 11, + 285, + 168, + 12, + 285, + 168, + 13, + 285, + 168, + 13, + 285, + 168, + 13, + 285, + 168, + 13, + 285, + 168, + 14, + 284, + 167, + 15, + 281, + 167, + 16, + 281, + 167, + 17, + 281, + 167, + 17, + 281, + 167, + 17, + 281, + 167, + 17, + 281, + 167, + 17, + 280, + 168, + 18, + 265, + 168, + 19, + 261, + 169, + 20, + 259, + 169, + 21, + 0, +}; + +uint16 sc80_mouse_list[] = { + ID_SC80_LADDER, + ID_SC80_ROPE, + ID_SC80_SPOUT, + ID_SC80_ORIFICE, + ID_SC80_EXIT, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc80_climb_up[] = { + 90*64, + 311, + 165, + 22, + 311, + 165, + 22, + 311, + 160, + 21, + 310, + 155, + 20, + 313, + 154, + 19, + 312, + 149, + 18, + 311, + 144, + 17, + 311, + 143, + 16, + 311, + 138, + 15, + 310, + 136, + 14, + 313, + 136, + 13, + 312, + 136, + 12, + 313, + 136, + 11, + 313, + 136, + 10, + 316, + 136, + 9, + 314, + 136, + 8, + 313, + 136, + 7, + 313, + 136, + 6, + 313, + 136, + 5, + 313, + 136, + 4, + 316, + 136, + 3, + 315, + 136, + 2, + 316, + 136, + 1, + 318, + 136, + 0, + 0, + 0, +}; + +Compact sc80_exit = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 180, // xcood + 188, // ycood + 100*64, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 192-180, // mouseSize_x + 246-188, // mouseSize_y + SC80_EXIT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_EXIT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc80_orifice = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 276, // xcood + 250, // ycood + 0, // frame + 20575, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 330-272, // mouseSize_x + 291-250, // mouseSize_y + SC80_ORIFICE_ACTION, // actionScript +}; + +Compact sc80_sample = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 288, // xcood + 248, // ycood + 104*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_SAMPLE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc80_get_rope[] = { + 94*64, + 259, + 169, + 0, + 259, + 169, + 0, + 259, + 169, + 0, + 257, + 170, + 1, + 254, + 170, + 2, + 243, + 170, + 3, + 238, + 170, + 4, + 235, + 170, + 5, + 234, + 170, + 6, + 234, + 170, + 6, + 234, + 170, + 6, + 236, + 136, + 7, + 238, + 137, + 8, + 238, + 136, + 9, + 0, +}; + +uint16 sc80_bub1_anim[] = { + 89*64, + 244, + 309, + 0, + 244, + 309, + 1, + 244, + 309, + 2, + 244, + 309, + 3, + 244, + 309, + 4, + 244, + 309, + 5, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 244, + 309, + 6, + 0, +}; + +uint16 sc80_swing[] = { + 95*64, + 238, + 136, + 0, + 237, + 136, + 1, + 237, + 136, + 2, + 237, + 136, + 3, + 228, + 136, + 4, + 203, + 136, + 5, + 171, + 136, + 6, + 170, + 137, + 7, + 170, + 136, + 8, + 170, + 137, + 9, + 174, + 136, + 10, + 193, + 136, + 11, + 207, + 136, + 12, + 207, + 136, + 13, + 0, +}; + +Compact sc80_spout = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 290, // xcood + 225, // ycood + 0, // frame + 20574, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 312-290, // mouseSize_x + 258-225, // mouseSize_y + SC80_SPOUT_ACTION, // actionScript +}; + +Compact sc80_bubble4 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 347, // xcood + 289, // ycood + 89*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_BUBBLE4_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc80_goo_anim[] = { + 88*64, + 300, + 261, + 0, + 300, + 261, + 1, + 300, + 261, + 2, + 300, + 261, + 3, + 300, + 261, + 4, + 300, + 261, + 5, + 300, + 261, + 6, + 300, + 261, + 6, + 300, + 261, + 6, + 300, + 261, + 7, + 300, + 261, + 8, + 300, + 261, + 9, + 300, + 261, + 0, + 300, + 261, + 0, + 300, + 261, + 0, + 300, + 261, + 0, + 300, + 261, + 0, + 300, + 261, + 0, + 300, + 261, + 0, + 300, + 261, + 0, + 300, + 261, + 0, + 300, + 261, + 0, + 300, + 261, + 0, + 0, +}; + +Compact sc80_bubble7 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 256, // xcood + 294, // ycood + 89*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_BUBBLE7_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc80_bubble9 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 286, // xcood + 298, // ycood + 89*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_BUBBLE9_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc80_sample_fall[] = { + 104*64, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 219, + 1, + 287, + 220, + 2, + 287, + 221, + 3, + 287, + 222, + 4, + 288, + 225, + 5, + 288, + 236, + 6, + 288, + 248, + 6, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 288, + 248, + 0, + 0, +}; + +Compact sc80_rope = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 236, // xcood + 137, // ycood + 99*64, // frame + 49, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65531, // mouseRel_x + 25, // mouseRel_y + 239-231, // mouseSize_x + 235-162, // mouseSize_y + SC80_ROPE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_ROPE_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc80_bubble3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 190, // xcood + 314, // ycood + 89*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_BUBBLE3_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc80_bubble8 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 367, // xcood + 319, // ycood + 89*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_BUBBLE8_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc80_drop[] = { + 103*64, + 289, + 165, + 0, + 289, + 165, + 0, + 289, + 165, + 1, + 289, + 165, + 2, + 289, + 165, + 3, + 289, + 165, + 4, + 289, + 165, + 5, + 289, + 165, + 6, + 289, + 165, + 5, + 289, + 165, + 7, + 289, + 165, + 8, + 289, + 165, + 9, + 289, + 165, + 10, + 289, + 165, + 11, + 289, + 165, + 12, + 289, + 165, + 13, + 289, + 165, + 13, + 289, + 165, + 13, + 289, + 165, + 13, + 289, + 165, + 13, + 289, + 165, + 13, + 289, + 165, + 13, + 289, + 165, + 14, + 289, + 165, + 15, + 289, + 165, + 16, + 289, + 165, + 17, + 289, + 165, + 18, + 289, + 165, + 18, + 289, + 165, + 18, + 289, + 165, + 18, + 289, + 165, + 18, + 289, + 165, + 18, + 289, + 165, + 18, + 289, + 165, + 19, + 289, + 165, + 20, + 289, + 165, + 21, + 289, + 165, + 22, + 289, + 165, + 23, + 289, + 165, + 7, + 289, + 165, + 6, + 289, + 165, + 5, + 289, + 165, + 6, + 289, + 165, + 7, + 289, + 165, + 2, + 289, + 165, + 1, + 0, +}; + +uint16 reset_79_80[] = { + C_SCREEN, + 80, + C_PLACE, + ID_SC80_SPOUT, + 65535, +}; + +Compact sc80_ladder = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 310, // xcood + 162, // ycood + 0, // frame + 20828, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 316-310, // mouseSize_x + 190-162, // mouseSize_y + SC80_LADDER_ACTION, // actionScript +}; + +uint16 sc804_palette[] = { + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 512, + 0, + 0, + 256, + 0, + 4, + 512, + 0, + 4, + 256, + 256, + 5, + 1536, + 0, + 7, + 9472, + 257, + 3, + 1281, + 0, + 257, + 2306, + 0, + 4, + 2048, + 0, + 515, + 1537, + 256, + 7, + 1024, + 769, + 12, + 768, + 1026, + 770, + 2563, + 0, + 9, + 1282, + 515, + 15, + 3328, + 0, + 267, + 1536, + 1283, + 1028, + 2820, + 769, + 1285, + 4357, + 0, + 1286, + 1031, + 1542, + 1542, + 4612, + 0, + 20, + 3840, + 770, + 2054, + 5126, + 257, + 1799, + 3080, + 1796, + 786, + 4353, + 1027, + 2311, + 2311, + 1800, + 534, + 2048, + 2312, + 1294, + 2568, + 2313, + 1043, + 6662, + 259, + 1304, + 5123, + 1798, + 2572, + 6667, + 1028, + 3082, + 5388, + 1544, + 1561, + 7173, + 516, + 2577, + 7690, + 773, + 3340, + 5389, + 3081, + 3343, + 8206, + 1030, + 2331, + 7178, + 1800, + 3093, + 3595, + 4112, + 3856, + 6671, + 2572, + 4368, + 9233, + 1545, + 2850, + 4873, + 4626, + 4881, + 7955, + 3085, + 4120, + 6926, + 3600, + 3108, + 8202, + 3343, + 3366, + 8971, + 3599, + 3625, + 7435, + 4628, + 4642, + 7696, + 5651, + 4391, + 10767, + 3858, + 4905, + 12049, + 3088, + 4653, + 9998, + 4628, + 5668, + 8211, + 5656, + 5166, + 11024, + 5398, + 5424, + 10769, + 5144, + 6948, + 11288, + 5656, + 7461, + 12569, + 4887, + 6957, + 12311, + 5915, + 7720, + 13088, + 5659, + 7727, + 13083, + 6173, + 7985, + 13340, + 6943, + 8750, + 10271, + 9764, + 8499, + 13341, + 8228, + 9780, + 11554, + 10537, + 13108, + 13877, + 14390, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 56, + 14336, + 0, + 0, + 12544, + 11565, + 9770, + 7462, + 6682, + 4888, + 4882, + 2827, + 779, + 4, + 0, + 0, + 11776, + 7718, + 7979, + 10006, + 3352, + 4127, + 6406, + 9, + 787, + 9472, + 257, + 6411, + 5642, + 5155, + 7695, + 2320, + 2067, + 3072, + 11520, + 11565, + 9764, + 6952, + 7707, + 8225, + 6443, + 8728, + 4375, + 4128, + 5899, + 1801, + 526, + 512, + 9774, + 11038, + 5663, + 6183, + 7949, + 1552, + 2329, + 4864, + 3, + 7734, + 11301, + 7445, + 3363, + 6677, + 3591, + 273, + 2056, + 512, + 1066, + 8196, + 0, + 22, + 3072, + 0, + 9774, + 11038, + 5663, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, + 14392, +}; + +Compact sc80_bubble12 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 331, // xcood + 297, // ycood + 89*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_BUBBLE12_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc80_bubble6 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 391, // xcood + 309, // ycood + 89*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_BUBBLE6_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc80_bubble5 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 224, // xcood + 302, // ycood + 89*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_BUBBLE5_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc80_goo = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 80, // screen + 0, // place + 0, // getToTable + 300, // xcood + 261, // ycood + 88*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC80_GOO_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/81comp.h b/sky/compacts/81comp.h new file mode 100644 index 00000000000..7d428ec0674 --- /dev/null +++ b/sky/compacts/81comp.h @@ -0,0 +1,2662 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY81COMP_H +#define SKY81COMP_H + + + + +namespace SkyCompact { + +Compact sc81_big_tent3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 257, // xcood + 239, // ycood + 189*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC81_BIG_TENT3_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc81_fos_squirm[] = { + 202*64, + 255, + 212, + 0, + 255, + 212, + 1, + 255, + 212, + 2, + 255, + 212, + 3, + 255, + 212, + 4, + 255, + 212, + 5, + 255, + 212, + 5, + 255, + 212, + 3, + 255, + 212, + 3, + 255, + 212, + 6, + 255, + 212, + 7, + 255, + 212, + 6, + 255, + 212, + 3, + 255, + 212, + 6, + 255, + 212, + 7, + 255, + 212, + 6, + 255, + 212, + 3, + 255, + 212, + 2, + 255, + 212, + 4, + 255, + 212, + 5, + 255, + 212, + 4, + 255, + 212, + 3, + 255, + 212, + 6, + 255, + 212, + 3, + 255, + 212, + 4, + 255, + 212, + 5, + 255, + 212, + 3, + 255, + 212, + 6, + 255, + 212, + 7, + 255, + 212, + 6, + 255, + 212, + 3, + 255, + 212, + 3, + 255, + 212, + 4, + 255, + 212, + 3, + 255, + 212, + 4, + 255, + 212, + 5, + 255, + 212, + 4, + 255, + 212, + 5, + 255, + 212, + 4, + 255, + 212, + 6, + 255, + 212, + 7, + 255, + 212, + 6, + 255, + 212, + 7, + 255, + 212, + 6, + 255, + 212, + 3, + 255, + 212, + 1, + 0, +}; + +uint16 sc81_tentwig1[] = { + 181*64, + 231, + 235, + 0, + 231, + 235, + 0, + 231, + 235, + 0, + 231, + 235, + 1, + 231, + 235, + 0, + 231, + 235, + 0, + 231, + 235, + 0, + 231, + 235, + 0, + 231, + 235, + 2, + 231, + 235, + 2, + 0, +}; + +uint16 sc81_ken_helm_dn[] = { + 197*64, + 264, + 212, + 0, + 264, + 212, + 1, + 264, + 212, + 2, + 264, + 212, + 3, + 264, + 212, + 4, + 264, + 212, + 5, + 264, + 212, + 6, + 0, +}; + +uint16 sc81_tentwig2[] = { + 182*64, + 225, + 258, + 0, + 225, + 258, + 0, + 225, + 258, + 1, + 225, + 258, + 1, + 225, + 258, + 2, + 225, + 258, + 3, + 225, + 258, + 4, + 225, + 258, + 5, + 225, + 258, + 6, + 225, + 258, + 7, + 0, +}; + +uint16 sc81_fast_list[] = { + 12+DISK_10, + 51+DISK_10, + 168+DISK_10, + 169+DISK_10, + 171+DISK_10, + 170+DISK_10, + 203+DISK_10, + 268+DISK_10, + 0, +}; + +Compact sc81_tent5 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 296, // xcood + 247, // ycood + 185*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC81_TENT5_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc81_helmet = { + 0, // logic + ST_RECREATE, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 264, // xcood + 212, // ycood + 174*64, // frame +}; + +uint16 sc81_ken_sit[] = { + 195*64, + 263, + 244, + 0, + 263, + 243, + 1, + 263, + 242, + 2, + 263, + 241, + 3, + 263, + 240, + 4, + 263, + 238, + 5, + 263, + 235, + 6, + 263, + 231, + 7, + 263, + 229, + 8, + 263, + 228, + 9, + 263, + 226, + 10, + 263, + 224, + 11, + 263, + 221, + 12, + 264, + 219, + 13, + 267, + 218, + 14, + 262, + 218, + 15, + 261, + 218, + 16, + 260, + 220, + 17, + 261, + 224, + 18, + 261, + 227, + 19, + 261, + 230, + 20, + 261, + 229, + 21, + 261, + 226, + 22, + 261, + 226, + 23, + 0, +}; + +uint16 sc81_palette[] = { + 0, + 1536, + 0, + 514, + 514, + 1026, + 518, + 2050, + 1024, + 1028, + 3078, + 512, + 524, + 3076, + 1538, + 18, + 1538, + 2054, + 2054, + 3082, + 1542, + 532, + 14084, + 14135, + 2058, + 7434, + 512, + 2564, + 5140, + 2052, + 2570, + 4620, + 2566, + 539, + 7432, + 1026, + 3084, + 4620, + 3080, + 3082, + 9488, + 512, + 1053, + 1542, + 5646, + 3088, + 1548, + 6926, + 3596, + 7440, + 2566, + 549, + 11014, + 1024, + 3600, + 9488, + 2052, + 4104, + 7451, + 3080, + 4110, + 6420, + 3084, + 1573, + 11530, + 1538, + 4614, + 5667, + 3600, + 1579, + 4616, + 5138, + 4624, + 5147, + 5138, + 3107, + 10508, + 3080, + 5132, + 5155, + 5652, + 5138, + 2589, + 10006, + 5145, + 13072, + 2054, + 2097, + 3084, + 10009, + 4131, + 5650, + 6422, + 2609, + 5132, + 7449, + 5659, + 8982, + 3092, + 3625, + 12050, + 4108, + 6420, + 8993, + 6418, + 5665, + 6416, + 7449, + 6926, + 6955, + 7451, + 6943, + 3094, + 13597, + 7444, + 10535, + 6420, + 4655, + 6420, + 8477, + 6437, + 7446, + 7965, + 6951, + 8978, + 6941, + 8464, + 7475, + 10015, + 6953, + 12059, + 5657, + 7971, + 7967, + 8993, + 8982, + 10543, + 7453, + 8978, + 8503, + 9505, + 8999, + 13083, + 6939, + 8489, + 7969, + 11045, + 9507, + 12071, + 7457, + 10021, + 9513, + 11047, + 10029, + 12061, + 8485, + 10021, + 13615, + 8993, + 10535, + 11055, + 11049, + 10037, + 12063, + 10025, + 10037, + 10529, + 12587, + 12075, + 11043, + 12589, + 11061, + 11559, + 10033, + 11575, + 11041, + 13615, + 12077, + 14131, + 11563, + 13615, + 13601, + 11565, + 12085, + 14121, + 9009, + 12591, + 14135, + 12081, + 13619, + 5175, + 1538, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 2103, + 1024, + 13, + 4869, + 1537, + 537, + 7686, + 1538, + 803, + 10247, + 2052, + 1325, + 13064, + 2054, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 7479, + 45, + 10261, + 3584, + 35, + 7689, + 1024, + 25, + 5121, + 0, + 16, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 55, + 14135, + 14080, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 13886, + 14893, + 9263, + 10294, + 13084, + 5409, + 6703, + 11278, + 2324, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 14143, + 14080, + 55, + 14135, + 14080, + 55, + 13879, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc81_dad_helm_up[] = { + 175*64, + 264, + 212, + 0, + 264, + 212, + 1, + 264, + 212, + 2, + 264, + 212, + 3, + 264, + 212, + 4, + 264, + 212, + 5, + 0, +}; + +Compact sc81_tent2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 225, // xcood + 259, // ycood + 182*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC81_TENT2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc83_draw_list[] = { + ID_SC81_FATHER, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc81_tentwig5[] = { + 185*64, + 295, + 248, + 0, + 295, + 248, + 1, + 295, + 248, + 2, + 295, + 248, + 3, + 295, + 248, + 4, + 295, + 248, + 5, + 295, + 248, + 6, + 295, + 248, + 7, + 295, + 248, + 8, + 295, + 248, + 9, + 0, +}; + +Compact sc81_chair = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 251, // xcood + 222, // ycood + 0, // frame + 20938, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 282-256, // mouseSize_x + 268-221, // mouseSize_y + SC81_CHAIR_ACTION, // actionScript +}; + +uint16 sc81_chip_list[] = { + 167+DISK_10, + 172+DISK_10, + 173+DISK_10, + 174+DISK_10, + 175+DISK_10, + 176+DISK_10, + 177+DISK_10, + 178+DISK_10, + 179+DISK_10+0X8000, + 180+DISK_10+0X8000, + 181+DISK_10, + 182+DISK_10, + 183+DISK_10, + 184+DISK_10, + 185+DISK_10, + 186+DISK_10, + 187+DISK_10, + 188+DISK_10+0X8000, + 189+DISK_10, + 190+DISK_10+0X8000, + 191+DISK_10+0X8000, + 192+DISK_10+0X8000, + 193+DISK_10, + 194+DISK_10+0X8000, + 195+DISK_10+0X8000, + 196+DISK_10, + 197+DISK_10, + 198+DISK_10, + 199+DISK_10+0X8000, + 200+DISK_10, + 201+DISK_10, + 202+DISK_10+0X8000, + 204+DISK_10, + 205+DISK_10, + 0, +}; + +uint32 grid81[0]; + +uint16 sc81_tentwig6[] = { + 186*64, + 308, + 283, + 0, + 308, + 283, + 1, + 308, + 283, + 2, + 308, + 283, + 2, + 308, + 283, + 3, + 308, + 283, + 4, + 308, + 283, + 5, + 308, + 283, + 6, + 308, + 283, + 7, + 308, + 283, + 8, + 0, +}; + +Compact sc81_ken_sat = { + 0, // logic + ST_RECREATE, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 261, // xcood + 226, // ycood + 196*64, // frame +}; + +uint16 sc81_tentdrop2[] = { + 188*64, + 218, + 171, + 0, + 218, + 171, + 0, + 218, + 171, + 0, + 218, + 171, + 0, + 218, + 171, + 0, + 218, + 171, + 0, + 218, + 171, + 1, + 218, + 171, + 2, + 218, + 171, + 3, + 218, + 171, + 4, + 218, + 171, + 5, + 218, + 171, + 6, + 218, + 171, + 7, + 218, + 171, + 8, + 218, + 171, + 9, + 218, + 171, + 10, + 0, +}; + +uint16 sc81_ken_walk2[] = { + 194*64, + 232, + 244, + 0, + 232, + 244, + 1, + 232, + 245, + 2, + 233, + 245, + 3, + 238, + 245, + 4, + 247, + 244, + 5, + 252, + 244, + 6, + 252, + 245, + 7, + 253, + 245, + 8, + 259, + 245, + 9, + 267, + 244, + 10, + 263, + 245, + 11, + 263, + 244, + 12, + 0, +}; + +Compact sc81_foster_sat = { + 0, // logic + ST_RECREATE, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 256, // xcood + 225, // ycood + 200*64, // frame +}; + +uint16 sc81_tentdrop1[] = { + 187*64, + 218, + 137, + 0, + 218, + 137, + 0, + 218, + 137, + 1, + 218, + 137, + 2, + 218, + 137, + 3, + 218, + 137, + 4, + 218, + 137, + 5, + 218, + 137, + 6, + 218, + 137, + 7, + 218, + 137, + 8, + 218, + 137, + 9, + 218, + 137, + 10, + 218, + 137, + 11, + 218, + 137, + 12, + 218, + 137, + 13, + 218, + 137, + 14, + 0, +}; + +Compact sc81_father_sat = { + 0, // logic + ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 256, // xcood + 225, // ycood + 172*64, // frame +}; + +uint16 sc81_tentwig4[] = { + 184*64, + 305, + 212, + 0, + 305, + 212, + 0, + 305, + 212, + 1, + 305, + 212, + 0, + 305, + 212, + 0, + 305, + 212, + 0, + 305, + 212, + 2, + 305, + 212, + 0, + 305, + 212, + 0, + 305, + 212, + 0, + 0, +}; + +uint16 sc81_ken_walk1[] = { + 192*64, + 228, + 211, + 0, + 228, + 214, + 1, + 228, + 216, + 2, + 228, + 218, + 3, + 228, + 219, + 4, + 228, + 221, + 5, + 228, + 224, + 6, + 228, + 226, + 7, + 228, + 228, + 8, + 228, + 229, + 9, + 228, + 231, + 0, + 228, + 234, + 1, + 228, + 236, + 2, + 228, + 238, + 3, + 228, + 239, + 4, + 228, + 241, + 5, + 228, + 244, + 6, + 228, + 244, + 10, + 232, + 244, + 11, + 0, +}; + +uint16 reset_dad_spec[] = { + C_XCOOD, + 247, + C_YCOOD, + 182, + C_FRAME, + 171*64, + 65535, +}; + +uint16 sc81_mouse_list[] = { + ID_KEN, + ID_SC81_FATHER, + ID_SC81_CHAIR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 sc81_dad_breath1[] = { + 176*64, + 270, + 256, + 0, + 270, + 256, + 1, + 270, + 256, + 1, + 270, + 256, + 2, + 270, + 256, + 2, + 270, + 256, + 3, + 270, + 256, + 3, + 270, + 256, + 3, + 270, + 256, + 3, + 270, + 256, + 2, + 270, + 256, + 2, + 270, + 256, + 1, + 270, + 256, + 1, + 270, + 256, + 0, + 270, + 256, + 0, + 270, + 256, + 0, + 270, + 256, + 0, + 270, + 256, + 0, + 270, + 256, + 0, + 270, + 256, + 0, + 0, +}; + +uint16 sc81_fos_helm_dn[] = { + 201*64, + 264, + 212, + 0, + 264, + 212, + 1, + 264, + 212, + 2, + 264, + 212, + 3, + 264, + 212, + 4, + 264, + 212, + 5, + 0, +}; + +uint16 sc81_dad_fall2[] = { + 180*64, + 289, + 275, + 0, + 289, + 275, + 0, + 287, + 275, + 1, + 287, + 275, + 1, + 286, + 273, + 2, + 283, + 266, + 3, + 282, + 260, + 4, + 279, + 258, + 5, + 278, + 257, + 6, + 277, + 257, + 7, + 278, + 258, + 8, + 278, + 258, + 9, + 278, + 258, + 9, + 0, +}; + +Compact sc81_door = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC81_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc81_big_tent1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 257, // xcood + 137, // ycood + 187*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC81_BIG_TENT1_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc81_tent1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 232, // xcood + 236, // ycood + 181*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC81_TENT1_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc81_tent4 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 305, // xcood + 212, // ycood + 184*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC81_TENT4_LOGIC, // baseSub + 0, // baseSub_off +}; + +ExtCompact sc81_father_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_FATHER81, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc81_father = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 264, // xcood + 212, // ycood + 173*64, // frame + 20939, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 0, // mouseRel_x + 2, // mouseRel_y + 299-278, // mouseSize_x + 293-258, // mouseSize_y + SC81_FATHER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC81_FATHER_CHAIR_LOGIC, // baseSub + 0, // baseSub_off + &sc81_father_ext, +}; + +uint16 sc81_door_close[] = { + 204*64, + 166, + 200, + 0, + 166, + 200, + 1, + 166, + 200, + 2, + 166, + 200, + 3, + 166, + 200, + 4, + 166, + 200, + 5, + 166, + 200, + 6, + 0, +}; + +uint16 sc81_dad_breath2[] = { + 177*64, + 270, + 256, + 0, + 270, + 256, + 1, + 270, + 256, + 1, + 270, + 256, + 2, + 270, + 256, + 2, + 270, + 256, + 3, + 270, + 256, + 3, + 270, + 256, + 4, + 270, + 256, + 4, + 270, + 256, + 5, + 270, + 256, + 5, + 270, + 256, + 6, + 270, + 256, + 6, + 270, + 256, + 0, + 270, + 256, + 0, + 270, + 256, + 0, + 270, + 256, + 0, + 270, + 256, + 0, + 270, + 256, + 0, + 270, + 256, + 0, + 0, +}; + +uint16 sc81_tentwig3[] = { + 183*64, + 223, + 277, + 0, + 223, + 277, + 1, + 223, + 277, + 2, + 223, + 277, + 3, + 223, + 277, + 4, + 223, + 277, + 5, + 223, + 277, + 6, + 223, + 277, + 7, + 223, + 277, + 8, + 223, + 277, + 9, + 0, +}; + +uint16 sc81_father_die[] = { + 203*64, + 278, + 256, + 0, + 278, + 256, + 0, + 278, + 256, + 0, + 278, + 256, + 1, + 278, + 256, + 2, + 278, + 256, + 3, + 278, + 256, + 3, + 278, + 256, + 3, + 278, + 256, + 3, + 278, + 256, + 3, + 278, + 256, + 4, + 278, + 256, + 5, + 278, + 256, + 6, + 278, + 256, + 7, + 278, + 256, + 8, + 0, +}; + +uint16 reset_ken_81[] = { + C_STATUS, + ST_MOUSE+ST_LOGIC+ST_RECREATE, + C_SCREEN, + 81, + C_MOUSE_CLICK, + MEGA_CLICK, + C_MOUSE_REL_X, + 10, + C_MOUSE_REL_Y, + 3, + C_MOUSE_SIZE_X, + 240-231, + C_MOUSE_SIZE_Y, + 293-243, + C_ACTION_SCRIPT, + SC81_KEN_ACTION, + C_MODE, + C_BASE_MODE, + C_BASE_SUB, + SC81_KEN_LOGIC, + C_BASE_SUB+2, + 0, + C_SP_COLOUR, + SP_COL_KEN81, + 65535, +}; + +uint16 reset_80_81[] = { + C_SCREEN, + 81, + C_XCOOD, + 152, + C_YCOOD, + 256, + C_FRAME, + 46+12*64, + C_DIR, + RIGHT, + 65535, +}; + +uint16 sc81_dad_fall1[] = { + 179*64, + 256, + 227, + 0, + 256, + 227, + 1, + 255, + 229, + 2, + 256, + 237, + 3, + 262, + 245, + 4, + 271, + 254, + 5, + 276, + 267, + 6, + 287, + 272, + 7, + 284, + 275, + 8, + 282, + 278, + 9, + 282, + 277, + 10, + 282, + 278, + 11, + 282, + 278, + 11, + 282, + 278, + 11, + 282, + 278, + 12, + 282, + 278, + 12, + 283, + 278, + 13, + 283, + 278, + 13, + 284, + 278, + 14, + 284, + 278, + 14, + 284, + 278, + 15, + 284, + 278, + 15, + 284, + 278, + 16, + 284, + 278, + 16, + 283, + 278, + 17, + 283, + 278, + 17, + 283, + 278, + 18, + 283, + 278, + 18, + 283, + 278, + 19, + 283, + 278, + 19, + 283, + 278, + 20, + 283, + 278, + 20, + 283, + 278, + 21, + 283, + 278, + 21, + 283, + 278, + 22, + 283, + 278, + 22, + 283, + 277, + 23, + 283, + 277, + 23, + 284, + 277, + 24, + 284, + 277, + 24, + 287, + 277, + 25, + 287, + 277, + 25, + 289, + 276, + 26, + 289, + 276, + 26, + 0, +}; + +uint16 sc81_ken_jump_in[] = { + 190*64, + 166, + 202, + 0, + 166, + 209, + 1, + 170, + 215, + 2, + 187, + 220, + 3, + 194, + 224, + 4, + 202, + 222, + 5, + 209, + 216, + 6, + 211, + 212, + 7, + 218, + 210, + 8, + 226, + 210, + 9, + 232, + 210, + 10, + 233, + 209, + 11, + 233, + 209, + 12, + 228, + 209, + 13, + 227, + 209, + 14, + 0, +}; + +uint16 sc81_logic_list[] = { + ID_SC81_TENT1, + ID_SC81_TENT2, + ID_SC81_TENT3, + ID_SC81_TENT4, + ID_SC81_TENT5, + ID_SC81_TENT6, + ID_SC81_FOSTER_SAT, + ID_FOSTER, + ID_SC81_KEN_SAT, + ID_KEN, + ID_SC81_FATHER_SAT, + ID_SC81_FATHER, + ID_SC81_HELMET, + ID_SC81_DOOR, + ID_SC81_BIG_TENT1, + ID_SC81_BIG_TENT2, + ID_SC81_BIG_TENT3, + ID_SC67_PULSE1, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +Compact sc81_big_tent2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 257, // xcood + 171, // ycood + 188*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC81_BIG_TENT2_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc81_tent3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 223, // xcood + 278, // ycood + 183*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC81_TENT3_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc81_tentdrop3[] = { + 189*64, + 218, + 239, + 0, + 218, + 239, + 0, + 218, + 239, + 0, + 218, + 239, + 0, + 218, + 239, + 0, + 218, + 239, + 0, + 218, + 239, + 0, + 218, + 239, + 0, + 218, + 239, + 1, + 218, + 239, + 2, + 218, + 239, + 3, + 218, + 239, + 4, + 218, + 239, + 5, + 218, + 239, + 6, + 218, + 239, + 7, + 218, + 239, + 8, + 0, +}; + +Compact sc81_tent6 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 81, // screen + 0, // place + 0, // getToTable + 307, // xcood + 283, // ycood + 186*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC81_TENT6_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc83_palette[] = { + 0, + 15616, + 14649, + 14655, + 15159, + 13621, + 13625, + 13621, + 13619, + 10535, + 15157, + 13107, + 12595, + 9523, + 13097, + 13631, + 14129, + 12593, + 12083, + 12593, + 12591, + 10021, + 9009, + 12581, + 14655, + 15151, + 12081, + 12597, + 14127, + 12079, + 12083, + 11567, + 12075, + 9507, + 13615, + 11565, + 11057, + 10541, + 11561, + 9507, + 9005, + 11555, + 8993, + 16173, + 11065, + 13631, + 14635, + 11053, + 11059, + 16171, + 4133, + 10029, + 9003, + 11045, + 8993, + 7723, + 11041, + 12607, + 12073, + 10535, + 9517, + 9513, + 10533, + 9507, + 7209, + 10526, + 14143, + 16167, + 10035, + 12607, + 16167, + 10029, + 11061, + 12583, + 10023, + 9517, + 8487, + 10017, + 7708, + 6695, + 10014, + 13119, + 16165, + 9521, + 12093, + 14629, + 9517, + 11071, + 11557, + 9509, + 9515, + 10021, + 9509, + 9005, + 11045, + 9507, + 9001, + 6693, + 9500, + 14143, + 16163, + 9013, + 12095, + 16163, + 9005, + 11581, + 16163, + 8999, + 9515, + 11043, + 8995, + 8487, + 7715, + 8990, + 13631, + 16161, + 8495, + 12093, + 15649, + 8491, + 10553, + 15649, + 8483, + 7719, + 9505, + 8478, + 7196, + 5665, + 8472, + 13119, + 16158, + 7729, + 11581, + 16158, + 7723, + 11069, + 14622, + 7723, + 11063, + 16158, + 7721, + 10041, + 13086, + 7719, + 9023, + 9502, + 7708, + 5656, + 5150, + 7702, + 12095, + 15132, + 7213, + 11071, + 15132, + 7211, + 10555, + 14108, + 7203, + 9009, + 16156, + 7201, + 8509, + 11036, + 7198, + 6689, + 7708, + 7192, + 5656, + 5148, + 7190, + 5140, + 15132, + 6701, + 11071, + 14618, + 6695, + 9525, + 13082, + 6693, + 7231, + 15642, + 6684, + 7223, + 8474, + 6680, + 5662, + 5658, + 6676, + 10559, + 15128, + 6185, + 9017, + 13592, + 6179, + 8499, + 12056, + 6177, + 8491, + 12056, + 6174, + 7215, + 10520, + 6172, + 6717, + 10008, + 6170, + 6193, + 8472, + 6168, + 5662, + 14104, + 5683, + 12081, + 12566, + 5677, + 11053, + 11030, + 5673, + 10047, + 15126, + 5669, + 6693, + 7190, + 5652, + 5146, + 13078, + 5167, + 11567, + 12052, + 5163, + 10541, + 10516, + 5159, + 9535, + 15124, + 5157, + 9511, + 15124, + 5155, + 9015, + 14100, + 5150, + 7731, + 12052, + 5150, + 7721, + 9492, + 5150, + 7715, + 12564, + 5146, + 6699, + 10516, + 5142, + 5181, + 14100, + 5140, + 5169, + 11540, + 5140, + 4663, + 10516, + 5138, + 4632, + 7444, + 45, + 10541, + 10514, + 4647, + 9531, + 10002, + 4645, + 7225, + 14098, + 4636, + 7219, + 11538, + 4636, + 6203, + 12050, + 4632, + 5175, + 15122, + 4626, + 4657, + 5650, + 4624, + 4116, + 4114, + 4624, + 11569, + 15661, + 4131, + 8507, + 5136, + 5138, + 8483, + 15120, + 4126, + 7735, + 13584, + 4126, + 6711, + 11536, + 4122, + 6686, + 11024, + 4120, + 6183, + 10000, + 4116, + 5153, + 6160, + 4116, + 4663, + 11024, + 4112, + 4135, + 8464, + 4112, + 4116, + 5136, + 4110, + 3602, + 9488, + 3621, + 8485, + 15118, + 3614, + 7737, + 14094, + 3612, + 7219, + 12046, + 3612, + 6701, + 8974, + 3610, + 6684, + 12046, + 3608, + 6187, + 9998, + 3608, + 5658, + 9486, + 3604, + 5150, + 11022, + 3602, + 4145, + 11022, + 3600, + 4133, + 8974, + 3600, + 4120, + 7182, + 3598, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 reset_foster_spec[] = { + C_XCOOD, + 300, + C_YCOOD, + 248, + C_FRAME, + 42+12*64, + 65535, +}; + +uint16 sc81_foster_sit[] = { + 199*64, + 291, + 234, + 0, + 283, + 235, + 1, + 279, + 236, + 2, + 277, + 237, + 3, + 277, + 235, + 4, + 274, + 232, + 5, + 270, + 227, + 6, + 272, + 225, + 7, + 269, + 224, + 8, + 267, + 224, + 9, + 259, + 226, + 10, + 255, + 226, + 11, + 255, + 226, + 12, + 255, + 224, + 13, + 255, + 224, + 14, + 255, + 225, + 15, + 255, + 225, + 16, + 257, + 225, + 17, + 259, + 225, + 18, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/82comp.h b/sky/compacts/82comp.h new file mode 100644 index 00000000000..06b1353788f --- /dev/null +++ b/sky/compacts/82comp.h @@ -0,0 +1,713 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY82COMP_H +#define SKY82COMP_H + + + + +namespace SkyCompact { + +uint16 sc82_push_button[] = { + 209*64, + 312, + 200, + 0, + 312, + 200, + 1, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 2, + 312, + 200, + 4, + 312, + 200, + 5, + 312, + 200, + 4, + 312, + 200, + 5, + 312, + 200, + 3, + 312, + 200, + 2, + 312, + 200, + 4, + 312, + 200, + 1, + 312, + 200, + 0, + 0, +}; + +ExtCompact sc82_jobsworth_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_JOBS82, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact sc82_jobsworth = { + L_SCRIPT, // logic + ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 82, // screen + 0, // place + 0, // getToTable + 312, // xcood + 200, // ycood + 209*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SC82_JOBSWORTH_LOGIC, // baseSub + 0, // baseSub_off + &sc82_jobsworth_ext, +}; + +uint16 reset_foster_82[] = { + C_SCREEN, + 82, + C_XCOOD, + 408, + C_YCOOD, + 248, + C_FRAME, + 42+12*64, + C_DIR, + LEFT, + 65535, +}; + +uint16 sc82_jobs_turn[] = { + 210*64, + 312, + 200, + 0, + 312, + 200, + 1, + 312, + 200, + 2, + 312, + 200, + 3, + 0, +}; + +uint16 sc82_jobs_take[] = { + 213*64, + 312, + 200, + 0, + 312, + 200, + 1, + 312, + 200, + 2, + 312, + 200, + 3, + 312, + 200, + 4, + 312, + 200, + 4, + 312, + 200, + 4, + 312, + 200, + 4, + 312, + 200, + 4, + 312, + 200, + 4, + 312, + 200, + 5, + 312, + 200, + 2, + 312, + 200, + 0, + 312, + 200, + 0, + 0, +}; + +uint16 sc82_logic_list[] = { + ID_FOSTER, + ID_KEN, + ID_SC82_JOBSWORTH, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +uint16 sc82_fast_list[] = { + 12+DISK_7, + 51+DISK_7, + 0, +}; + +uint32 grid82[0]; + +uint16 sc82_mouse_list[] = { + 0, +}; + +uint16 reset_ken_82[] = { + C_STATUS, + ST_LOGIC+ST_FOREGROUND+ST_RECREATE, + C_SCREEN, + 82, + C_XCOOD, + 262, + C_YCOOD, + 209, + C_FRAME, + 215*64, + C_MODE, + C_BASE_MODE, + C_BASE_SUB, + SC82_KEN_LOGIC, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 sc82_chip_list[] = { + 206+DISK_7, + 207+DISK_7, + 208+DISK_7, + 209+DISK_7, + 210+DISK_7, + 211+DISK_7, + 212+DISK_7, + 213+DISK_7, + 214+DISK_7, + 215+DISK_7, + 0, +}; + +uint16 sc82_palette[] = { + 0, + 1536, + 2054, + 2054, + 1544, + 3080, + 2056, + 3594, + 2058, + 3082, + 3086, + 3596, + 3594, + 3090, + 4622, + 3094, + 3592, + 5136, + 4108, + 6170, + 2574, + 4116, + 4112, + 5138, + 4622, + 5660, + 4626, + 4126, + 4618, + 5652, + 5646, + 4643, + 7190, + 5654, + 8470, + 3092, + 6158, + 5157, + 7704, + 6168, + 7702, + 4630, + 6668, + 5163, + 8986, + 6678, + 2590, + 12572, + 6674, + 7209, + 6682, + 7184, + 6191, + 8476, + 6183, + 6162, + 9500, + 7196, + 8990, + 6682, + 8462, + 6195, + 10526, + 7706, + 7205, + 9502, + 8972, + 4667, + 12579, + 8478, + 6691, + 11041, + 8474, + 7725, + 9505, + 8485, + 12060, + 4638, + 10000, + 7737, + 10531, + 8990, + 9003, + 10019, + 8990, + 9519, + 8997, + 9505, + 13611, + 4641, + 9505, + 11055, + 7717, + 10520, + 7735, + 13095, + 9513, + 8997, + 11047, + 10021, + 13097, + 6181, + 10023, + 9003, + 12585, + 10029, + 9507, + 10539, + 10535, + 8493, + 13611, + 10539, + 9511, + 12587, + 10041, + 10518, + 11563, + 11055, + 11557, + 10539, + 12062, + 10045, + 13613, + 11561, + 15153, + 6697, + 11563, + 12591, + 9517, + 11567, + 10541, + 13103, + 12069, + 12603, + 10543, + 11575, + 11555, + 13103, + 13611, + 13609, + 10031, + 12585, + 16185, + 7213, + 12089, + 12579, + 11569, + 12589, + 14135, + 10033, + 12597, + 15659, + 9007, + 12095, + 12062, + 13619, + 13609, + 14141, + 11571, + 13613, + 15675, + 10033, + 14639, + 12591, + 10043, + 13119, + 14115, + 11573, + 13619, + 12597, + 14645, + 13631, + 14627, + 12597, + 14129, + 16189, + 10549, + 13629, + 12589, + 14137, + 14137, + 13107, + 15161, + 14143, + 13615, + 15163, + 14655, + 14129, + 15675, + 15167, + 14131, + 16189, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9773, + 8995, + 6945, + 7194, + 4883, + 2836, + 1804, + 770, + 519, + 15875, + 11574, + 11577, + 13347, + 6693, + 7727, + 10771, + 3094, + 4133, + 11271, + 2056, + 10002, + 7441, + 6960, + 11030, + 4119, + 3875, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 13886, + 14893, + 9263, + 10294, + 13084, + 5409, + 6703, + 11278, + 2324, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc82_foster_give[] = { + 214*64, + 342, + 200, + 0, + 342, + 200, + 1, + 342, + 200, + 2, + 342, + 200, + 3, + 342, + 200, + 4, + 342, + 200, + 4, + 342, + 200, + 4, + 342, + 200, + 4, + 342, + 200, + 2, + 342, + 200, + 5, + 342, + 200, + 0, + 0, +}; + +uint16 sc82_jobs_return[] = { + 210*64, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/85comp.h b/sky/compacts/85comp.h new file mode 100644 index 00000000000..2fc9d29e82a --- /dev/null +++ b/sky/compacts/85comp.h @@ -0,0 +1,439 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY85COMP_H +#define SKY85COMP_H + + + + +namespace SkyCompact { + +uint16 sc85_palette[] = { + 0, + 14848, + 7213, + 11576, + 12828, + 7213, + 11566, + 13340, + 7209, + 10544, + 11292, + 7207, + 9522, + 9756, + 7205, + 9004, + 8732, + 7203, + 8496, + 11292, + 7199, + 7966, + 6428, + 7197, + 6939, + 6428, + 7195, + 8498, + 9242, + 6687, + 7464, + 10266, + 6681, + 6427, + 5914, + 6681, + 5920, + 12314, + 6185, + 9518, + 9752, + 6177, + 7970, + 14872, + 5675, + 10034, + 11286, + 5669, + 9002, + 9750, + 5663, + 7972, + 10774, + 5661, + 6952, + 9750, + 5657, + 5924, + 9750, + 5149, + 7460, + 8212, + 5147, + 6430, + 6932, + 5143, + 5408, + 5908, + 5141, + 4885, + 9236, + 4635, + 5401, + 7698, + 4625, + 11066, + 14352, + 4137, + 10034, + 13840, + 4133, + 9008, + 11280, + 4129, + 8488, + 9744, + 4125, + 7460, + 8720, + 4121, + 6432, + 6416, + 4119, + 4887, + 5392, + 4113, + 3859, + 6416, + 4108, + 5922, + 7694, + 3607, + 4891, + 6926, + 3599, + 6950, + 9228, + 3097, + 6432, + 6412, + 3095, + 5408, + 5900, + 3091, + 2583, + 14860, + 2605, + 10552, + 12810, + 2597, + 8496, + 10250, + 2587, + 6946, + 8714, + 2583, + 5410, + 7690, + 2581, + 4896, + 4874, + 2575, + 2069, + 14858, + 2083, + 7990, + 11784, + 2077, + 5924, + 8200, + 2069, + 4379, + 13320, + 1573, + 4894, + 5894, + 1551, + 2069, + 4870, + 1542, + 11578, + 13828, + 1065, + 8496, + 10756, + 1053, + 6962, + 9220, + 1049, + 4896, + 6916, + 1041, + 3093, + 4868, + 1034, + 1041, + 13828, + 541, + 5928, + 8706, + 533, + 3867, + 5890, + 524, + 5936, + 5376, + 10, + 2579, + 14848, + 45, + 10552, + 12800, + 37, + 6968, + 12800, + 25, + 5420, + 4352, + 6, + 527, + 13824, + 35, + 6438, + 9216, + 23, + 5424, + 8192, + 15, + 2069, + 4864, + 8, + 9018, + 14848, + 29, + 6952, + 13824, + 23, + 5410, + 11264, + 19, + 4896, + 14848, + 45, + 6954, + 7680, + 17, + 3099, + 5376, + 6, + 1555, + 3840, + 63, + 16191, + 2816, + 0, + 10554, + 14336, + 39, + 9528, + 12800, + 35, + 7474, + 14848, + 27, + 6458, + 4864, + 4, + 1041, + 14336, + 21, + 4910, + 9216, + 19, + 3870, + 6912, + 10, + 1045, + 14848, + 39, + 6440, + 14848, + 21, + 5430, + 11264, + 21, + 4406, + 11264, + 15, + 3106, + 5888, + 8, + 529, + 3840, + 0, + 10038, + 12800, + 33, + 7472, + 11264, + 27, + 5416, + 8704, + 19, + 3120, + 10752, + 12, + 3110, + 6400, + 8, + 1563, + 5888, + 6, + 17, + 14848, + 37, + 6958, + 9728, + 8, + 1570, + 3328, + 63, + 16128, + 6912, + 7197, + 6164, + 4128, + 7188, + 4112, + 4120, + 4112, + 3080, + 3088, + 3084, + 2056, + 1032, + 1028, + 0, + 6144, + 10268, + 4116, + 3088, + 5136, + 3088, + 6152, + 7192, + 5654, + 8214, + 7196, + 6168, + 6160, + 6168, + 10284, + 9256, + 9252, + 8228, + 8224, + 6172, + 6168, + 2836, + 0, + 13, + 14848, + 29, + 6458, + 4352, + 4, + 527, + 8192, + 5144, + 5148, + 10252, + 12332, + 10280, + 1068, + 3080, + 8220, + 9248, + 10276, + 9766, + 10534, + 7465, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 16128, + 0, + 16191, + 63, + 0, + 0, + 0, + 0, + 0, + 13824, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 sc85_mouse_list[] = { + 0, +}; + +uint16 sc85_chip_list[] = { + 0, +}; + +uint16 sc85_fast_list[] = { + 14+DISK_7, + 15+DISK_7, + 0, +}; + +uint16 sc85_logic_list[] = { + ID_FOSTER, + 0XFFFF, + ID_STD_MENU_LOGIC, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/90comp.h b/sky/compacts/90comp.h new file mode 100644 index 00000000000..10439a37af1 --- /dev/null +++ b/sky/compacts/90comp.h @@ -0,0 +1,1833 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY90COMP_H +#define SKY90COMP_H + + +#include "91comp.h" +#include "lincmenu.h" +#include "92comp.h" +#include "93comp.h" +#include "94comp.h" +#include "95comp.h" +#include "linc_gen.h" +#include "96comp.h" + + +namespace SkyCompact { + +Compact door_r90f = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT, // status + 0, // sync + 90, // screen + 0, // place + 0, // getToTable + 364, // xcood + 136, // ycood + 259*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 255-136, // mouseRel_y + 30, // mouseSize_x + 10, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_R90F_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact door_r90 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 90, // screen + 0, // place + 0, // getToTable + 360, // xcood + 136, // ycood + 258*64, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 26, // mouseRel_y + 8, // mouseSize_x + 102, // mouseSize_y + DOOR_R90_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_R90_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc90_floor_table[] = { + ID_SC90_FLOOR, + RETURN_OK, + ID_SC90_SMFLOOR, + RETURN_FAIL, + ID_DOOR_L90, + RETURN_FAIL, + ID_DOOR_R90, + GET_TO_DOOR_R90, + ID_JOIN_OBJECT, + GET_TO_JOIN_OBJECT, + ID_OSCILLATOR, + RETURN_FAIL, + ID_EYEBALL_90, + GET_TO_EYEBALL_90, + 65535, +}; + +Compact sc90_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 90, // screen + 0, // place + sc90_floor_table, // getToTable + 153, // xcood + 254, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 269, // mouseSize_x + 53, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc90_smfloor_table[] = { + ID_SC90_FLOOR, + RETURN_FAIL, + ID_SC90_SMFLOOR, + RETURN_OK, + ID_DOOR_L90, + GET_TO_DOOR_L90, + ID_DOOR_R90, + RETURN_FAIL, + ID_JOIN_OBJECT, + RETURN_FAIL, + ID_OSCILLATOR, + GET_TO_OSCILLATOR, + ID_EYEBALL_90, + RETURN_FAIL, + 65535, +}; + +uint16 eye90_zap_anim[] = { + 113*64, + 247, + 206, + 0, + 247, + 206, + 1, + 247, + 206, + 2, + 247, + 206, + 3, + 247, + 206, + 4, + 247, + 206, + 5, + 0, +}; + +uint16 door_l90_anim[] = { + 45*64, + 212, + 136, + 0, + 212, + 136, + 1, + 212, + 136, + 2, + 212, + 136, + 3, + 212, + 136, + 4, + 212, + 136, + 5, + 212, + 136, + 6, + 212, + 136, + 7, + 212, + 136, + 8, + 212, + 136, + 9, + 212, + 136, + 10, + 212, + 136, + 11, + 212, + 136, + 12, + 212, + 136, + 13, + 212, + 136, + 14, + 212, + 136, + 15, + 212, + 136, + 16, + 212, + 136, + 17, + 212, + 136, + 18, + 212, + 136, + 19, + 212, + 136, + 20, + 212, + 136, + 21, + 212, + 136, + 22, + 0, +}; + +Compact door_l90 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 90, // screen + 0, // place + 0, // getToTable + 211, // xcood + 136, // ycood + 45*64, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65531, // mouseRel_x + 26, // mouseRel_y + 9, // mouseSize_x + 102, // mouseSize_y + DOOR_L90_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L90_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 get_join[] = { + 22*64, + 336, + 272, + 0, + 336, + 272, + 1, + 336, + 272, + 2, + 336, + 272, + 3, + 336, + 272, + 4, + 336, + 272, + 5, + 0, +}; + +uint16 sc90_mouse[] = { + ID_JOIN_OBJECT, + ID_OSCILLATOR, + ID_EYEBALL_90, + ID_DOOR_L90, + ID_DOOR_L90F, + ID_DOOR_R90, + ID_DOOR_R90F, + ID_SC90_SMFLOOR, + ID_SC90_FLOOR, + 0XFFFF, + ID_LINC_MENU_MOUSE, +}; + +uint16 door_l90f_anim[] = { + 46*64, + 207, + 136, + 0, + 207, + 136, + 1, + 207, + 136, + 2, + 207, + 136, + 3, + 207, + 136, + 4, + 207, + 136, + 5, + 207, + 136, + 6, + 207, + 136, + 7, + 207, + 136, + 8, + 207, + 136, + 9, + 207, + 136, + 10, + 207, + 136, + 11, + 207, + 136, + 12, + 207, + 136, + 13, + 207, + 136, + 14, + 207, + 136, + 15, + 207, + 136, + 16, + 207, + 136, + 17, + 207, + 136, + 18, + 207, + 136, + 19, + 207, + 136, + 20, + 207, + 136, + 21, + 207, + 136, + 22, + 0, +}; + +uint16 sc90_logic[] = { + ID_BLUE_FOSTER, + ID_JOIN_OBJECT, + ID_OSCILLATOR, + ID_DOOR_L90, + ID_DOOR_L90F, + ID_DOOR_R90, + ID_DOOR_R90F, + ID_EYEBALL_90, + 0XFFFF, + ID_LINC_MENU_LOGIC, +}; + +uint16 eye_90_table[] = { + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 2, + 3, + 4, + 4, + 5, + 5, + 6, + 6, + 6, + 7, + 7, + 8, + 8, + 9, + 10, + 11, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 0, + 0, + 0, + 0, + 0, + 1, + 2, + 3, + 3, + 4, + 4, + 5, + 5, + 6, + 6, + 6, + 6, + 6, + 7, + 7, + 8, + 8, + 9, + 9, + 10, + 11, + 12, + 12, + 12, + 12, + 12, + 12, + 0, + 0, + 1, + 1, + 2, + 2, + 3, + 3, + 4, + 4, + 5, + 5, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 7, + 7, + 8, + 8, + 9, + 9, + 10, + 10, + 11, + 11, + 12, + 12, + 12, + 1, + 1, + 2, + 2, + 3, + 3, + 4, + 4, + 5, + 5, + 5, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 7, + 7, + 7, + 8, + 8, + 9, + 9, + 10, + 10, + 11, + 12, + 12, + 2, + 3, + 3, + 4, + 4, + 4, + 5, + 5, + 5, + 5, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 7, + 7, + 7, + 7, + 8, + 8, + 8, + 9, + 9, + 10, + 11, + 3, + 3, + 4, + 4, + 4, + 5, + 5, + 5, + 5, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 7, + 7, + 7, + 7, + 8, + 8, + 8, + 9, + 9, + 10, +}; + +Compact eyeball_90 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 90, // screen + 0, // place + 0, // getToTable + 270, // xcood + 223, // ycood + 6+91*64, // frame + 24587, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65535, // mouseRel_y + 31, // mouseSize_x + 29, // mouseSize_y + EYEBALL_90_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + EYEBALL_90_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact sc90_smfloor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 90, // screen + 0, // place + sc90_smfloor_table, // getToTable + 206, // xcood + 254, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 69, // mouseSize_x + 11, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact join_object = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 90, // screen + 0, // place + 0, // getToTable + 336, // xcood + 272, // ycood + 22*64, // frame + 24598, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 16, // mouseSize_x + 16, // mouseSize_y + JOIN_OBJECT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + JOIN_OBJECT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact door_l90f = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT, // status + 0, // sync + 90, // screen + 0, // place + 0, // getToTable + 207, // xcood + 136, // ycood + 46*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 65532, // mouseRel_x + 255-136, // mouseRel_y + 5, // mouseSize_x + 10, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L90F_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact oscillator = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 90, // screen + 0, // place + 0, // getToTable + 241, // xcood + 259, // ycood + 132*64, // frame + 24592, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 65535, // mouseRel_y + 18, // mouseSize_x + 4, // mouseSize_y + OSCILLATOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + OSCILLATOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_90_91[] = { + C_SCREEN, + 91, + C_PLACE, + ID_SC91_FLOOR, + C_XCOOD, + 184, + C_YCOOD, + 264, + 65535, +}; + +uint16 rs_foster_90_94[] = { + C_SCREEN, + 94, + C_PLACE, + ID_SC94_FLOOR, + C_XCOOD, + 360, + C_YCOOD, + 264, + C_DIR, + DOWN, + 65535, +}; + +uint16 door_r90_anim[] = { + 258*64, + 360, + 136, + 0, + 360, + 136, + 1, + 360, + 136, + 2, + 360, + 136, + 3, + 360, + 136, + 4, + 360, + 136, + 5, + 360, + 136, + 6, + 360, + 136, + 7, + 360, + 136, + 8, + 360, + 136, + 9, + 360, + 136, + 10, + 360, + 136, + 11, + 360, + 136, + 12, + 360, + 136, + 13, + 360, + 136, + 14, + 360, + 136, + 15, + 360, + 136, + 16, + 360, + 136, + 17, + 360, + 136, + 18, + 360, + 136, + 19, + 360, + 136, + 20, + 360, + 136, + 21, + 360, + 136, + 22, + 0, +}; + +uint16 door_r90f_anim[] = { + 259*64, + 364, + 136, + 0, + 364, + 136, + 1, + 364, + 136, + 2, + 364, + 136, + 3, + 364, + 136, + 4, + 364, + 136, + 5, + 364, + 136, + 6, + 364, + 136, + 7, + 364, + 136, + 8, + 364, + 136, + 9, + 364, + 136, + 10, + 364, + 136, + 11, + 364, + 136, + 12, + 364, + 136, + 13, + 364, + 136, + 14, + 364, + 136, + 15, + 364, + 136, + 16, + 364, + 136, + 17, + 364, + 136, + 18, + 364, + 136, + 19, + 364, + 136, + 20, + 364, + 136, + 21, + 364, + 136, + 22, + 0, +}; + +uint16 get_oscill[] = { + 132*64, + 241, + 259, + 0, + 241, + 259, + 1, + 241, + 259, + 1, + 241, + 259, + 2, + 241, + 259, + 3, + 241, + 259, + 4, + 241, + 259, + 5, + 0, +}; + +uint16 blind_eye[] = { + 89*64, + 268, + 221, + 0, + 268, + 221, + 1, + 268, + 221, + 2, + 268, + 221, + 3, + 268, + 221, + 4, + 268, + 221, + 5, + 268, + 221, + 6, + 268, + 221, + 7, + 0, +}; + +uint16 see_eye[] = { + 90*64, + 270, + 223, + 0, + 270, + 223, + 1, + 270, + 223, + 2, + 270, + 223, + 3, + 270, + 223, + 4, + 270, + 223, + 5, + 270, + 223, + 6, + 270, + 223, + 7, + 270, + 223, + 8, + 270, + 223, + 9, + 0, +}; + +uint16 pal90[] = { + 0, + 3584, + 8960, + 1044, + 7211, + 12812, + 5413, + 11066, + 15390, + 0, + 8, + 3072, + 0, + 16, + 5120, + 1036, + 5120, + 8, + 3104, + 9216, + 20, + 7208, + 15360, + 36, + 0, + 24, + 0, + 15159, + 9787, + 12077, + 8987, + 4390, + 7448, + 3850, + 1301, + 3335, + 7176, + 12, + 1044, + 4096, + 9216, + 0, + 28, + 5120, + 0, + 6180, + 24, + 7168, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 pal90a[] = { + 0, + 365, + 382, + 415, + 415, + 415, + 12, + 77, + 78, + 607, + 2080, + 2624, + 3408, + 3696, + 4000, + 3984, + 879, + 546, + 3839, + 3311, + 2511, + 1930, + 855, + 565, + 965, + 113, + 80, + 3584, + 2304, + 1536, + 3737, + 895, +}; + +uint16 pal90b[] = { + 0, + 346, + 363, + 380, + 398, + 415, + 10, + 11, + 12, + 13, + 1296, + 1840, + 2624, + 2912, + 3200, + 3984, + 14, + 546, + 3839, + 3311, + 2237, + 1657, + 854, + 565, + 660, + 97, + 64, + 2816, + 2048, + 1280, + 2935, + 15, +}; + +uint16 chip_list_sc90[] = { + IT_JOIN_OBJECT+DISK_4, + IT_OSCILLATOR+DISK_4, + IT_DOOR_L90+DISK_4, + IT_DOOR_L90F+DISK_4, + IT_DOOR_R90+DISK_4, + IT_DOOR_R90F+DISK_4, + IT_FOST_DIE90+DISK_4, + 0, +}; + +uint16 get_eye[] = { + 18*64, + 276, + 147, + 0, + 276, + 147, + 1, + 276, + 147, + 2, + 276, + 147, + 2, + 276, + 147, + 2, + 276, + 147, + 3, + 276, + 147, + 0, + 0, +}; + +uint16 fost_die90[] = { + 115*64, + 150, + 198, + 0, + 150, + 198, + 1, + 150, + 198, + 2, + 150, + 198, + 3, + 150, + 198, + 4, + 150, + 198, + 5, + 150, + 198, + 6, + 150, + 198, + 5, + 150, + 198, + 7, + 150, + 198, + 8, + 150, + 198, + 9, + 150, + 198, + 10, + 150, + 198, + 11, + 150, + 198, + 12, + 150, + 198, + 13, + 150, + 198, + 14, + 150, + 198, + 15, + 150, + 198, + 16, + 150, + 198, + 17, + 0, +}; + +void *data_6[] = { + 0, + &sc90_floor, + &sc91_floor, + &door_r90, + &door_l91, + &info_menu, + &read_menu, + &open_menu, + &join_menu, + &door_r91, + &slab1, + &door_l92, + &door_r92, + &sc93_floor, + &door_l93, + &sc90_smfloor, + &slab2, + &slab3, + &slab4, + &slab5, + &slab6, + &slab7, + &slab8, + &slab9, + &door_r90f, + &door_l91f, + &persona, + &sc94_floor, + &join_object, + &sc95_floor, + &door_t91, + &door_t91r, + &door_l95, + &door_l95f, + &bridge_a, + &bridge_b, + &bridge_c, + &bridge_d, + &bridge_e, + &bridge_f, + &bridge_g, + &bridge_h, + shrug, + &door_t95, + &door_t95r, + &door_r94, + &door_r94r, + &door_l94, + &door_l94r, + &blind_menu, + &green_menu, + &red_menu, + &charon_menu, + &decomp_menu, + &orders_menu, + &decrypt_menu, + &persona_menu, + &green_circle, + &red_circle, + &door_l90, + &door_l90f, + &bag_91, + &decomp_obj, + &decrypt_obj, + anita_holo_talk, + &oscillator, + &adjust_book, + &adjust_menu, + &eyeball_90, + 0, + 0, + 0, + 0, + &oscill_menu, + &playbak_menu, + &virus_menu, + eye_90_table, + 0, + 0, + 0, + rs_foster_s90, + rs_foster_90_91, + rs_foster_90_94, + rs_foster_91_90, + rs_foster_91_92, + rs_foster_91_95, + rs_foster_92_91, + rs_foster_92_93, + rs_foster_93_92, + rs_foster_94_90, + rs_foster_94_95, + rs_foster_95_91, + rs_foster_95_94, + rs_foster_95_96, + rs_foster_96_95, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + door_l90_anim, + door_l90f_anim, + door_r90_anim, + door_r90f_anim, + get_join, + get_oscill, + blind_eye, + see_eye, + door_l91_anim, + door_l91f_anim, + door_t91_anim, + door_t91r_anim, + 0, + grid90, + get_decomp, + get_decrypt, + crouch_down, + get_persona, + get_adjust, + door_l94_anim, + door_l94r_anim, + door_r94_anim, + door_r94r_anim, + door_l95_anim, + door_l95f_anim, + door_t95_anim, + door_t95r_anim, + grid91, + grid92, + pal90, + pal90a, + pal90b, + pal91, + pal92, + pal93, + pal94, + pal95, + pal96, + holo1_a_anim, + holo1_b_anim, + fost_die91, + &hologram_a, + &hologram_pad, + &report_book, + &report_menu, + get_report, + 0, + chip_list_sc90, + sc90_logic, + sc90_mouse, + fast_list_sc91, + chip_list_sc91, + sc91_logic, + sc91_mouse, + fast_list_sc92, + chip_list_sc92, + sc92_logic, + sc92_mouse, + fast_list_sc93, + chip_list_sc93, + sc93_logic, + sc93_mouse, + fast_list_sc94, + chip_list_sc94, + sc94_logic, + sc94_mouse, + fast_list_sc95, + chip_list_sc95, + sc95_logic, + sc95_mouse, + get_eye, + crouch_left, + crouch_right, + &window_1, + &window_2, + &window_3, + &window_4, + window_logic, + window_mouse, + &hologram_b, + holo3_anim, + &door_r95, + &door_r95f, + door_r95_anim, + door_r95f_anim, + fast_list_sc96, + chip_list_sc96, + sc96_logic, + sc96_mouse, + &sc96_floor, + &door_l96, + &door_l96f, + door_l96_anim, + door_l96f_anim, + grid93, + grid94, + grid95, + grid96, + &crystal, + &virus, + crystal_spin, + crystal_break, + virus_spin, + guardian_up, + &door_l93f, + fost_die90, + get_virus, + &door_r91f, + door_r91_anim, + door_r91f_anim, + &eyeball_91, + eye_91_table, + eye91_zap_anim, + guardian_down, + eye90_zap_anim, + 0, + &guardian, + crouch_right_a, + crouch_right_b, + &door_r92r, + door_r92_anim, + door_r92r_anim, + &info_button, + &weight, + door_l93_anim, + door_l93f_anim, + enter_top, + exit_top, + head_module, + file_module, + size_module, + auth_module, + note_module, + &door_l92f, + door_l92_anim, + door_l92f_anim, + logon, + logoff, + weight_anim, + &kill_menu, + &orders2_menu, + &report2_menu, + &adjust2_menu, + linc_menu_logic, + linc_menu_mouse, +}; + +uint32 sec6_compacts[0]; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/91comp.h b/sky/compacts/91comp.h new file mode 100644 index 00000000000..9ac51595194 --- /dev/null +++ b/sky/compacts/91comp.h @@ -0,0 +1,1501 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY91COMP_H +#define SKY91COMP_H + + + + +namespace SkyCompact { + +Compact decomp_obj = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 91, // screen + 0, // place + 0, // getToTable + 244, // xcood + 281, // ycood + 48*64, // frame + 24586, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65535, // mouseRel_y + 20, // mouseSize_x + 15, // mouseSize_y + DECOMP_OBJ_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DECOMP_OBJ_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact door_r91 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 91, // screen + 0, // place + 0, // getToTable + 370, // xcood + 136, // ycood + 111*64, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 26, // mouseRel_y + 8, // mouseSize_x + 109, // mouseSize_y + DOOR_R91_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_R91_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc91_mouse[] = { + ID_BAG_91, + ID_DECOMP_OBJ, + ID_DECRYPT_OBJ, + ID_EYEBALL_91, + ID_DOOR_L91, + ID_DOOR_L91F, + ID_DOOR_R91, + ID_DOOR_R91F, + ID_DOOR_T91, + ID_SC91_FLOOR, + 0XFFFF, + ID_LINC_MENU_MOUSE, +}; + +uint16 get_decomp[] = { + 48*64, + 244, + 281, + 0, + 244, + 281, + 1, + 244, + 281, + 2, + 244, + 281, + 3, + 244, + 281, + 4, + 244, + 281, + 5, + 244, + 281, + 6, + 244, + 281, + 7, + 0, +}; + +uint16 eye_91_table[] = { + 4, + 4, + 4, + 4, + 4, + 4, + 5, + 5, + 6, + 6, + 6, + 6, + 7, + 7, + 8, + 8, + 9, + 9, + 10, + 10, + 11, + 11, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 4, + 4, + 4, + 4, + 4, + 4, + 5, + 5, + 6, + 6, + 6, + 6, + 7, + 7, + 7, + 8, + 8, + 9, + 9, + 10, + 10, + 10, + 11, + 11, + 11, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 4, + 4, + 4, + 4, + 4, + 5, + 5, + 6, + 6, + 6, + 6, + 6, + 6, + 7, + 7, + 7, + 8, + 8, + 8, + 9, + 9, + 10, + 10, + 11, + 11, + 11, + 11, + 11, + 11, + 12, + 12, + 12, + 4, + 4, + 4, + 4, + 5, + 5, + 5, + 6, + 6, + 6, + 6, + 6, + 6, + 7, + 7, + 7, + 7, + 8, + 8, + 8, + 9, + 9, + 10, + 10, + 10, + 10, + 11, + 11, + 11, + 11, + 11, + 11, + 4, + 4, + 4, + 5, + 5, + 5, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 7, + 7, + 7, + 7, + 8, + 8, + 8, + 8, + 9, + 9, + 10, + 10, + 10, + 10, + 10, + 11, + 11, + 11, + 4, + 4, + 5, + 5, + 5, + 5, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 7, + 7, + 7, + 7, + 7, + 7, + 8, + 8, + 8, + 8, + 9, + 9, + 9, + 10, + 10, + 10, + 10, + 10, +}; + +Compact door_l91f = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT, // status + 0, // sync + 91, // screen + 0, // place + 0, // getToTable + 199, // xcood + 136, // ycood + 261*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 65522, // mouseRel_x + 263-136, // mouseRel_y + 15, // mouseSize_x + 10, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L91F_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 door_r91f_anim[] = { + 112*64, + 374, + 136, + 0, + 374, + 136, + 1, + 374, + 136, + 2, + 374, + 136, + 3, + 374, + 136, + 4, + 374, + 136, + 5, + 374, + 136, + 6, + 374, + 136, + 7, + 374, + 136, + 8, + 374, + 136, + 9, + 0, +}; + +Compact report_book = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 91, // screen + 0, // place + 0, // getToTable + 359, // xcood + 277, // ycood + 95*64, // frame + 24596, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 0, // mouseRel_y + 16, // mouseSize_x + 15, // mouseSize_y + REPORT_BOOK_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + REPORT_BOOK_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 get_report[] = { + 95*64, + 359, + 277, + 0, + 359, + 277, + 1, + 359, + 277, + 1, + 359, + 277, + 2, + 359, + 277, + 3, + 359, + 277, + 4, + 359, + 277, + 5, + 359, + 277, + 6, + 359, + 277, + 7, + 0, +}; + +uint16 chip_list_sc91[] = { + IT_BAG_91+DISK_4, + IT_DECOMP_OBJ+DISK_4, + IT_DECRYPT_OBJ+DISK_4, + IT_DOOR_L91+DISK_4, + IT_DOOR_L91F+DISK_4, + IT_DOOR_R91+DISK_4, + IT_DOOR_R91F+DISK_4, + IT_DOOR_T91+DISK_4, + IT_DOOR_T91R+DISK_4, + IT_EYE91_ZAP+DISK_4, + IT_FOST_DIE91+DISK_4+0X8000, + 0, +}; + +uint16 sc91_floor_table[] = { + ID_SC91_FLOOR, + RETURN_OK, + ID_DOOR_L91, + GET_TO_DOOR_L91, + ID_DOOR_R91, + GET_TO_DOOR_R91, + ID_DOOR_T91, + GET_TO_DOOR_T91, + ID_BAG_91, + GET_TO_BAG_91, + ID_DECOMP_OBJ, + GET_TO_DECOMP_OBJ, + ID_DECRYPT_OBJ, + GET_TO_DECRYPT_OBJ, + ID_REPORT_BOOK, + GET_TO_REPORT_BOOK, + ID_EYEBALL_91, + GET_TO_EYEBALL_91, + 65535, +}; + +Compact sc91_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 91, // screen + 0, // place + sc91_floor_table, // getToTable + 153, // xcood + 254, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 269, // mouseSize_x + 53, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact bag_91 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 91, // screen + 0, // place + 0, // getToTable + 315, // xcood + 277, // ycood + 47*64, // frame + 24584, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 28, // mouseSize_x + 15, // mouseSize_y + BAG_91_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BAG_91_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 door_r91_anim[] = { + 111*64, + 370, + 136, + 0, + 370, + 136, + 1, + 370, + 136, + 2, + 370, + 136, + 3, + 370, + 136, + 4, + 370, + 136, + 5, + 370, + 136, + 6, + 370, + 136, + 7, + 370, + 136, + 8, + 370, + 136, + 9, + 0, +}; + +uint16 rs_foster_91_95[] = { + C_SCREEN, + 95, + C_PLACE, + ID_SC95_FLOOR, + C_XCOOD, + 184, + C_YCOOD, + 264, + C_FRAME, + 46+182*64, + C_DIR, + 3, + 65535, +}; + +uint16 door_l91_anim[] = { + 260*64, + 204, + 136, + 0, + 204, + 136, + 1, + 204, + 136, + 2, + 204, + 136, + 3, + 204, + 136, + 4, + 204, + 136, + 5, + 204, + 136, + 6, + 204, + 136, + 7, + 204, + 136, + 8, + 204, + 136, + 9, + 0, +}; + +uint16 pal91[] = { + 0, + 3584, + 8960, + 1044, + 7211, + 12812, + 5413, + 11066, + 15390, + 0, + 52, + 11520, + 0, + 39, + 7936, + 1550, + 5888, + 10, + 3616, + 9472, + 20, + 7211, + 15360, + 39, + 0, + 25, + 0, + 15928, + 11071, + 13873, + 10015, + 6188, + 8990, + 5135, + 2587, + 5903, + 8458, + 783, + 1303, + 4096, + 12032, + 0, + 30, + 5632, + 0, + 6183, + 26, + 5120, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 get_decrypt[] = { + 131*64, + 277, + 281, + 0, + 277, + 281, + 1, + 277, + 281, + 1, + 277, + 281, + 2, + 277, + 281, + 3, + 277, + 281, + 4, + 277, + 281, + 5, + 277, + 281, + 6, + 0, +}; + +Compact door_t91 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 91, // screen + 0, // place + 0, // getToTable + 276, // xcood + 136, // ycood + 31*64, // frame + 1+T7, // cursorText + STD_EXIT_UP_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 26, // mouseRel_y + 28, // mouseSize_x + 95, // mouseSize_y + DOOR_T91_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_T91_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact door_l91 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 91, // screen + 0, // place + 0, // getToTable + 204, // xcood + 136, // ycood + 260*64, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65531, // mouseRel_x + 26, // mouseRel_y + 9, // mouseSize_x + 109, // mouseSize_y + DOOR_L91_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L91_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_91_92[] = { + C_SCREEN, + 92, + C_PLACE, + ID_SLAB1, + C_XCOOD, + 128, + C_YCOOD, + 304, + 65535, +}; + +uint16 fost_die91[] = { + 116*64, + 306, + 158, + 0, + 306, + 158, + 1, + 306, + 158, + 2, + 306, + 158, + 3, + 306, + 158, + 4, + 306, + 158, + 5, + 306, + 158, + 6, + 306, + 158, + 5, + 306, + 158, + 7, + 306, + 158, + 8, + 306, + 158, + 9, + 306, + 158, + 10, + 306, + 158, + 11, + 306, + 158, + 12, + 306, + 158, + 13, + 306, + 158, + 14, + 306, + 158, + 15, + 306, + 158, + 16, + 306, + 158, + 17, + 306, + 158, + 18, + 306, + 158, + 19, + 306, + 158, + 20, + 306, + 158, + 21, + 0, +}; + +uint16 rs_foster_91_90[] = { + C_SCREEN, + 90, + C_PLACE, + ID_SC90_FLOOR, + C_XCOOD, + 384, + C_YCOOD, + 256, + 65535, +}; + +uint16 sc91_logic[] = { + ID_BLUE_FOSTER, + ID_BAG_91, + ID_DECOMP_OBJ, + ID_DECRYPT_OBJ, + ID_DOOR_L91, + ID_DOOR_L91F, + ID_DOOR_R91, + ID_DOOR_R91F, + ID_DOOR_T91, + ID_DOOR_T91R, + ID_EYEBALL_90, + ID_EYEBALL_91, + 0XFFFF, + ID_LINC_MENU_LOGIC, +}; + +Compact eyeball_91 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 91, // screen + 0, // place + 0, // getToTable + 232, // xcood + 222, // ycood + 6+91*64, // frame + 24587, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65535, // mouseRel_y + 31, // mouseSize_x + 29, // mouseSize_y + EYEBALL_91_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + EYEBALL_91_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 fast_list_sc91[] = { + IT_BLUE_FOSTER+DISK_4, + IT_LOGOFF+0X8000+DISK_4, + IT_WINDOW+0X8000+DISK_4, + IT_INFO_BUTTON+DISK_4, + IT_LINK_ARROWS+DISK_4, + IT_LINK_OBJECTS+DISK_4, + IT_ENTER_TOP+DISK_4+0X8000, + IT_EXIT_TOP+DISK_4+0X8000, + IT_CROUCH_LEFT+DISK_4+0X8000, + IT_CROUCH_RIGHT+DISK_4, + IT_CROUCH_DOWN+DISK_4+0X8000, + IT_EYEBALL+DISK_4, + IT_GET_EYE+DISK_4+0X8000, + IT_BLIND_EYE+DISK_4, + IT_SEE_EYE+DISK_4, + IT_SC91_LAYER_0+DISK_4, + IT_SC91_LAYER_1+DISK_4, + IT_SC91_GRID_1+DISK_4, + 0, +}; + +Compact door_t91r = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 91, // screen + 0, // place + 0, // getToTable + 301, // xcood + 136, // ycood + 32*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_T91R_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 door_l91f_anim[] = { + 261*64, + 199, + 136, + 0, + 199, + 136, + 1, + 199, + 136, + 2, + 199, + 136, + 3, + 199, + 136, + 4, + 199, + 136, + 5, + 199, + 136, + 6, + 199, + 136, + 7, + 199, + 136, + 8, + 199, + 136, + 9, + 0, +}; + +Compact decrypt_obj = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 91, // screen + 0, // place + 0, // getToTable + 277, // xcood + 281, // ycood + 131*64, // frame + 24585, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65535, // mouseRel_y + 25, // mouseSize_x + 12, // mouseSize_y + DECRYPT_OBJ_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DECRYPT_OBJ_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 door_t91_anim[] = { + 31*64, + 276, + 136, + 0, + 276, + 136, + 1, + 276, + 136, + 2, + 276, + 136, + 3, + 276, + 136, + 4, + 276, + 136, + 5, + 276, + 136, + 6, + 276, + 136, + 7, + 276, + 136, + 8, + 276, + 136, + 9, + 0, +}; + +uint16 door_t91r_anim[] = { + 32*64, + 301, + 136, + 0, + 301, + 136, + 1, + 301, + 136, + 2, + 301, + 136, + 3, + 301, + 136, + 4, + 301, + 136, + 5, + 301, + 136, + 6, + 301, + 136, + 7, + 301, + 136, + 8, + 301, + 136, + 9, + 0, +}; + +uint16 eye91_zap_anim[] = { + 114*64, + 222, + 206, + 0, + 222, + 206, + 1, + 222, + 206, + 2, + 222, + 206, + 3, + 222, + 206, + 4, + 0, +}; + +Compact door_r91f = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT, // status + 0, // sync + 91, // screen + 0, // place + 0, // getToTable + 374, // xcood + 136, // ycood + 112*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 263-136, // mouseRel_y + 30, // mouseSize_x + 10, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_R91F_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/92comp.h b/sky/compacts/92comp.h new file mode 100644 index 00000000000..156fe6e7690 --- /dev/null +++ b/sky/compacts/92comp.h @@ -0,0 +1,1664 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY92COMP_H +#define SKY92COMP_H + + + + +namespace SkyCompact { + +Compact bridge_e = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 340, // xcood + 289, // ycood + 4+44*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BRIDGE_E_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact door_l92 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 152, // xcood + 136, // ycood + 54*64, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65531, // mouseRel_x + 26, // mouseRel_y + 9, // mouseSize_x + 153, // mouseSize_y + DOOR_L92_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L92_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 slab8_table[] = { + ID_GREEN_CIRCLE, + GET_TO_CIRCLE, + ID_RED_CIRCLE, + GET_TO_CIRCLE, + ID_SLAB5, + GET_TO_SLAB, + ID_SLAB7, + GET_TO_SLAB, + ID_SLAB8, + RETURN_OK, + 65535, +}; + +Compact slab8 = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 92, // screen + 0, // place + slab8_table, // getToTable + 266, // xcood + 248, // ycood + 0, // frame + 0, // cursorText + SLAB_ON, // mouseOn + SLAB_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 42, // mouseSize_x + 14, // mouseSize_y + SLAB_6_9_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SLAB8_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 slab3_table[] = { + ID_GREEN_CIRCLE, + GET_TO_CIRCLE, + ID_RED_CIRCLE, + GET_TO_CIRCLE, + ID_SLAB2, + GET_TO_SLAB, + ID_SLAB3, + RETURN_OK, + ID_SLAB6, + GET_TO_SLAB, + 65535, +}; + +uint16 slab2_table[] = { + ID_GREEN_CIRCLE, + GET_TO_CIRCLE, + ID_RED_CIRCLE, + GET_TO_CIRCLE, + ID_SLAB1, + GET_TO_SLAB, + ID_SLAB2, + RETURN_OK, + ID_SLAB3, + GET_TO_SLAB, + ID_SLAB5, + GET_TO_SLAB, + 65535, +}; + +uint16 slab4_table[] = { + ID_GREEN_CIRCLE, + GET_TO_CIRCLE, + ID_RED_CIRCLE, + GET_TO_CIRCLE, + ID_SLAB1, + GET_TO_SLAB, + ID_SLAB4, + RETURN_OK, + ID_SLAB5, + GET_TO_SLAB, + ID_SLAB7, + GET_TO_SLAB, + 65535, +}; + +Compact slab4 = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 92, // screen + 0, // place + slab4_table, // getToTable + 191, // xcood + 267, // ycood + 0, // frame + 0, // cursorText + SLAB_ON, // mouseOn + SLAB_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 51, // mouseSize_x + 21, // mouseSize_y + SLAB_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SLAB4_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 door_l92_anim[] = { + 54*64, + 152, + 136, + 0, + 152, + 136, + 1, + 152, + 136, + 2, + 152, + 136, + 3, + 152, + 136, + 4, + 152, + 136, + 5, + 152, + 136, + 6, + 152, + 136, + 7, + 152, + 136, + 8, + 152, + 136, + 9, + 152, + 136, + 10, + 152, + 136, + 11, + 152, + 136, + 12, + 152, + 136, + 13, + 152, + 136, + 14, + 152, + 136, + 15, + 152, + 136, + 16, + 152, + 136, + 17, + 152, + 136, + 18, + 152, + 136, + 19, + 152, + 136, + 20, + 152, + 136, + 21, + 152, + 136, + 22, + 0, +}; + +uint16 door_r92_anim[] = { + 129*64, + 323, + 136, + 0, + 323, + 136, + 1, + 323, + 136, + 2, + 323, + 136, + 3, + 323, + 136, + 4, + 323, + 136, + 5, + 323, + 136, + 6, + 323, + 136, + 7, + 323, + 136, + 8, + 323, + 136, + 9, + 323, + 136, + 10, + 323, + 136, + 11, + 323, + 136, + 12, + 323, + 136, + 13, + 323, + 136, + 14, + 323, + 136, + 15, + 323, + 136, + 16, + 323, + 136, + 17, + 323, + 136, + 18, + 323, + 136, + 19, + 323, + 136, + 20, + 323, + 136, + 21, + 323, + 136, + 22, + 0, +}; + +uint16 slab6_table[] = { + ID_GREEN_CIRCLE, + GET_TO_CIRCLE, + ID_RED_CIRCLE, + GET_TO_CIRCLE, + ID_SLAB3, + GET_TO_SLAB, + ID_SLAB5, + GET_TO_SLAB, + ID_SLAB6, + RETURN_OK, + ID_SLAB9, + GET_TO_SLAB, + 65535, +}; + +Compact slab6 = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 92, // screen + 0, // place + slab6_table, // getToTable + 332, // xcood + 267, // ycood + 0, // frame + 0, // cursorText + SLAB_ON, // mouseOn + SLAB_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 53, // mouseSize_x + 21, // mouseSize_y + SLAB_6_9_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SLAB6_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact door_r92 = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 323, // xcood + 136, // ycood + 129*64, // frame + 1+T7, // cursorText + STD_EXIT_UP_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 26, // mouseRel_y + 26, // mouseSize_x + 86, // mouseSize_y + DOOR_R92_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_R92_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact bridge_h = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 325, // xcood + 263, // ycood + 7+44*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BRIDGE_H_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact bridge_f = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 236, // xcood + 268, // ycood + 5+44*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BRIDGE_F_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 slab7_table[] = { + ID_GREEN_CIRCLE, + GET_TO_CIRCLE, + ID_RED_CIRCLE, + GET_TO_CIRCLE, + ID_SLAB4, + GET_TO_SLAB, + ID_SLAB7, + RETURN_OK, + ID_SLAB8, + GET_TO_SLAB, + 65535, +}; + +Compact bridge_a = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 217, // xcood + 295, // ycood + 44*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BRIDGE_A_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 door_r92r_anim[] = { + 130*64, + 348, + 136, + 0, + 348, + 136, + 1, + 348, + 136, + 2, + 348, + 136, + 3, + 348, + 136, + 4, + 348, + 136, + 5, + 348, + 136, + 6, + 348, + 136, + 7, + 348, + 136, + 8, + 348, + 136, + 9, + 348, + 136, + 10, + 348, + 136, + 11, + 348, + 136, + 12, + 348, + 136, + 13, + 348, + 136, + 14, + 348, + 136, + 15, + 348, + 136, + 16, + 348, + 136, + 17, + 348, + 136, + 18, + 348, + 136, + 19, + 348, + 136, + 20, + 348, + 136, + 21, + 348, + 136, + 22, + 0, +}; + +Compact bridge_g = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 266, // xcood + 263, // ycood + 6+44*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BRIDGE_G_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact door_l92f = { + L_SCRIPT, // logic + ST_LOGIC+ST_SORT, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 147, // xcood + 136, // ycood + 55*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L92F_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact bridge_b = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 320, // xcood + 295, // ycood + 1+44*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BRIDGE_B_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 slab9_table[] = { + ID_SLAB6, + GET_TO_SLAB, + ID_SLAB9, + RETURN_OK, + ID_DOOR_R92, + GET_TO_DOOR_R92, + 65535, +}; + +uint16 slab1_table[] = { + ID_GREEN_CIRCLE, + GET_TO_CIRCLE, + ID_RED_CIRCLE, + GET_TO_CIRCLE, + ID_SLAB1, + RETURN_OK, + ID_SLAB2, + GET_TO_SLAB, + ID_SLAB4, + GET_TO_SLAB, + ID_DOOR_L92, + GET_TO_DOOR_L92, + 65535, +}; + +Compact slab1 = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 92, // screen + 0, // place + slab1_table, // getToTable + 145, // xcood + 294, // ycood + 0, // frame + 0, // cursorText + SLAB_ON, // mouseOn + SLAB_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 79, // mouseSize_x + 29, // mouseSize_y + SLAB_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SLAB1_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact red_circle = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 2+62*64, // frame + 24603, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 65535, // mouseRel_y + 28, // mouseSize_x + 6, // mouseSize_y + RED_CIRCLE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + RED_CIRCLE_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact slab2 = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 92, // screen + 0, // place + slab2_table, // getToTable + 250, // xcood + 294, // ycood + 0, // frame + 0, // cursorText + SLAB_ON, // mouseOn + SLAB_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 76, // mouseSize_x + 29, // mouseSize_y + SLAB_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SLAB2_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc92_logic[] = { + ID_BLUE_FOSTER, + ID_BRIDGE_A, + ID_BRIDGE_B, + ID_BRIDGE_C, + ID_BRIDGE_D, + ID_BRIDGE_E, + ID_BRIDGE_F, + ID_BRIDGE_G, + ID_BRIDGE_H, + ID_SLAB1, + ID_SLAB2, + ID_SLAB3, + ID_SLAB4, + ID_SLAB5, + ID_SLAB6, + ID_SLAB7, + ID_SLAB8, + ID_SLAB9, + ID_GREEN_CIRCLE, + ID_RED_CIRCLE, + ID_DOOR_L92, + ID_DOOR_L92F, + ID_DOOR_R92, + ID_DOOR_R92R, + ID_EYEBALL_90, + 0XFFFF, + ID_LINC_MENU_LOGIC, +}; + +uint16 chip_list_sc92[] = { + IT_BRIDGES+DISK_4, + IT_CIRCLES+DISK_4, + IT_DOOR_L92+DISK_4, + IT_DOOR_L92F+DISK_4, + IT_DOOR_R92+DISK_4, + IT_DOOR_R92R+DISK_4, + 0, +}; + +uint16 pal92[] = { + 0, + 3584, + 8960, + 1044, + 7211, + 12812, + 5413, + 11066, + 15390, + 29, + 8192, + 0, + 36, + 10240, + 0, + 1550, + 5888, + 10, + 3616, + 9472, + 20, + 7211, + 15360, + 39, + 43, + 0, + 0, + 15928, + 11071, + 13873, + 10015, + 6188, + 8990, + 5135, + 2587, + 5903, + 8458, + 783, + 1303, + 4096, + 12032, + 0, + 30, + 5632, + 0, + 6183, + 12058, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 fast_list_sc92[] = { + IT_BLUE_FOSTER+DISK_4, + IT_LOGOFF+0X8000+DISK_4, + IT_WINDOW+0X8000+DISK_4, + IT_INFO_BUTTON+DISK_4, + IT_LINK_ARROWS+DISK_4, + IT_LINK_OBJECTS+DISK_4, + IT_ENTER_TOP+DISK_4+0X8000, + IT_EXIT_TOP+DISK_4+0X8000, + IT_CROUCH_RIGHT+DISK_4, + IT_SC92_LAYER_0+DISK_4, + IT_SC92_LAYER_1+DISK_4, + IT_SC92_GRID_1+DISK_4, + 0, +}; + +uint16 door_l92f_anim[] = { + 55*64, + 147, + 136, + 0, + 147, + 136, + 1, + 147, + 136, + 2, + 147, + 136, + 3, + 147, + 136, + 4, + 147, + 136, + 5, + 147, + 136, + 6, + 147, + 136, + 7, + 147, + 136, + 8, + 147, + 136, + 9, + 147, + 136, + 10, + 147, + 136, + 11, + 147, + 136, + 12, + 147, + 136, + 13, + 147, + 136, + 14, + 147, + 136, + 15, + 147, + 136, + 16, + 147, + 136, + 17, + 147, + 136, + 18, + 147, + 136, + 19, + 147, + 136, + 20, + 147, + 136, + 21, + 147, + 136, + 22, + 0, +}; + +Compact slab9 = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 92, // screen + 0, // place + slab9_table, // getToTable + 319, // xcood + 248, // ycood + 0, // frame + 0, // cursorText + SLAB_ON, // mouseOn + SLAB_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 41, // mouseSize_x + 14, // mouseSize_y + SLAB_6_9_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SLAB9_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact door_r92r = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 348, // xcood + 136, // ycood + 130*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_R92R_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 slab5_table[] = { + ID_GREEN_CIRCLE, + GET_TO_CIRCLE, + ID_RED_CIRCLE, + GET_TO_CIRCLE, + ID_SLAB2, + GET_TO_SLAB, + ID_SLAB4, + GET_TO_SLAB, + ID_SLAB5, + RETURN_OK, + ID_SLAB6, + GET_TO_SLAB, + ID_SLAB8, + GET_TO_SLAB, + 65535, +}; + +Compact slab5 = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 92, // screen + 0, // place + slab5_table, // getToTable + 260, // xcood + 267, // ycood + 0, // frame + 0, // cursorText + SLAB_ON, // mouseOn + SLAB_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 55, // mouseSize_x + 21, // mouseSize_y + SLAB_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SLAB5_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact slab7 = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 92, // screen + 0, // place + slab7_table, // getToTable + 214, // xcood + 248, // ycood + 0, // frame + 0, // cursorText + SLAB_ON, // mouseOn + SLAB_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 43, // mouseSize_x + 14, // mouseSize_y + SLAB_6_9_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SLAB7_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc92_mouse[] = { + ID_GREEN_CIRCLE, + ID_RED_CIRCLE, + ID_DOOR_L92, + ID_DOOR_R92, + ID_SLAB1, + ID_SLAB2, + ID_SLAB3, + ID_SLAB4, + ID_SLAB5, + ID_SLAB6, + ID_SLAB7, + ID_SLAB8, + ID_SLAB9, + 0XFFFF, + ID_LINC_MENU_MOUSE, +}; + +uint16 rs_foster_92_93[] = { + C_SCREEN, + 93, + C_PLACE, + ID_SC93_FLOOR, + C_XCOOD, + 184, + C_YCOOD, + 264, + C_FRAME, + 46+182*64, + C_DIR, + RIGHT, + 65535, +}; + +Compact green_circle = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND+ST_RECREATE, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 62*64, // frame + 24603, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 2, // mouseRel_y + 28, // mouseSize_x + 6, // mouseSize_y + GREEN_CIRCLE_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + GREEN_CIRCLE_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_92_91[] = { + C_SCREEN, + 91, + C_PLACE, + ID_SC91_FLOOR, + C_XCOOD, + 392, + C_YCOOD, + 264, + 65535, +}; + +Compact bridge_c = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 173, // xcood + 289, // ycood + 2+44*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BRIDGE_C_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact bridge_d = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 92, // screen + 0, // place + 0, // getToTable + 257, // xcood + 289, // ycood + 3+44*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BRIDGE_D_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact slab3 = { + L_SCRIPT, // logic + ST_LOGIC, // status + 0, // sync + 92, // screen + 0, // place + slab3_table, // getToTable + 350, // xcood + 294, // ycood + 0, // frame + 0, // cursorText + SLAB_ON, // mouseOn + SLAB_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 70, // mouseSize_x + 29, // mouseSize_y + SLAB_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SLAB3_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/93comp.h b/sky/compacts/93comp.h new file mode 100644 index 00000000000..b33075480f4 --- /dev/null +++ b/sky/compacts/93comp.h @@ -0,0 +1,824 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY93COMP_H +#define SKY93COMP_H + + + + +namespace SkyCompact { + +uint16 get_adjust[] = { + 63*64, + 370, + 284, + 0, + 370, + 284, + 1, + 370, + 284, + 2, + 370, + 284, + 3, + 370, + 284, + 4, + 0, +}; + +Compact door_l93 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 93, // screen + 0, // place + 0, // getToTable + 205, // xcood + 136, // ycood + 133*64, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65531, // mouseRel_x + 26, // mouseRel_y + 9, // mouseSize_x + 109, // mouseSize_y + DOOR_L93_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L93_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc93_mouse[] = { + ID_PERSONA, + ID_ADJUST_BOOK, + ID_DOOR_L93, + ID_DOOR_L93F, + ID_SC93_FLOOR, + 0XFFFF, + ID_LINC_MENU_MOUSE, +}; + +Compact adjust_book = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 93, // screen + 0, // place + 0, // getToTable + 370, // xcood + 284, // ycood + 63*64, // frame + 24596, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 15, // mouseSize_x + 15, // mouseSize_y + ADJUST_BOOK_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + ADJUST_BOOK_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc93_floor_table[] = { + ID_SC93_FLOOR, + RETURN_OK, + ID_DOOR_L93, + GET_TO_DOOR_L93, + ID_PERSONA, + GET_TO_PERSONA, + ID_ADJUST_BOOK, + GET_TO_ADJUST_BOOK, + 65535, +}; + +uint16 sc93_logic[] = { + ID_BLUE_FOSTER, + ID_PERSONA, + ID_ADJUST_BOOK, + ID_DOOR_L93, + ID_DOOR_L93F, + ID_EYEBALL_90, + 0XFFFF, + ID_LINC_MENU_LOGIC, +}; + +Compact door_l93f = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT, // status + 0, // sync + 93, // screen + 0, // place + 0, // getToTable + 200, // xcood + 136, // ycood + 134*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 65517, // mouseRel_x + 263-136, // mouseRel_y + 20, // mouseSize_x + 10, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L93F_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_93_92[] = { + C_SCREEN, + 92, + C_PLACE, + ID_SLAB9, + C_XCOOD, + 336, + C_YCOOD, + 248, + C_DIR, + DOWN, + 65535, +}; + +Compact sc93_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 93, // screen + 0, // place + sc93_floor_table, // getToTable + 153, // xcood + 256, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 269, // mouseSize_x + 52, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 chip_list_sc93[] = { + IT_PERSONA+DISK_4, + IT_ADJUST_BOOK+DISK_4, + IT_DOOR_L93+DISK_4, + IT_DOOR_L93F+DISK_4, + 0, +}; + +uint16 door_l93f_anim[] = { + 134*64, + 200, + 136, + 0, + 200, + 136, + 1, + 200, + 136, + 2, + 200, + 136, + 3, + 200, + 136, + 4, + 200, + 136, + 5, + 200, + 136, + 6, + 200, + 136, + 7, + 200, + 136, + 8, + 200, + 136, + 9, + 200, + 136, + 10, + 200, + 136, + 11, + 200, + 136, + 12, + 200, + 136, + 13, + 200, + 136, + 14, + 200, + 136, + 15, + 200, + 136, + 16, + 200, + 136, + 17, + 200, + 136, + 18, + 200, + 136, + 19, + 200, + 136, + 20, + 200, + 136, + 21, + 200, + 136, + 22, + 0, +}; + +uint16 get_persona[] = { + 51*64, + 342, + 250, + 0, + 342, + 250, + 1, + 342, + 250, + 2, + 342, + 250, + 3, + 342, + 250, + 4, + 342, + 250, + 5, + 0, +}; + +uint16 fast_list_sc93[] = { + IT_BLUE_FOSTER+DISK_4, + IT_LOGOFF+0X8000+DISK_4, + IT_WINDOW+0X8000+DISK_4, + IT_INFO_BUTTON+DISK_4, + IT_LINK_ARROWS+DISK_4, + IT_LINK_OBJECTS+DISK_4, + IT_CROUCH_RIGHT+DISK_4, + IT_SC93_LAYER_0+DISK_4, + IT_SC93_LAYER_1+DISK_4, + IT_SC93_GRID_1+DISK_4, + 0, +}; + +uint16 door_l93_anim[] = { + 133*64, + 205, + 136, + 0, + 205, + 136, + 1, + 205, + 136, + 2, + 205, + 136, + 3, + 205, + 136, + 4, + 205, + 136, + 5, + 205, + 136, + 6, + 205, + 136, + 7, + 205, + 136, + 8, + 205, + 136, + 9, + 205, + 136, + 10, + 205, + 136, + 11, + 205, + 136, + 12, + 205, + 136, + 13, + 205, + 136, + 14, + 205, + 136, + 15, + 205, + 136, + 16, + 205, + 136, + 17, + 205, + 136, + 18, + 205, + 136, + 19, + 205, + 136, + 20, + 205, + 136, + 21, + 205, + 136, + 22, + 0, +}; + +Compact persona = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 93, // screen + 0, // place + 0, // getToTable + 342, // xcood + 250, // ycood + 51*64, // frame + 24594, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 65535, // mouseRel_y + 16, // mouseSize_x + 22, // mouseSize_y + PERSONA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + PERSONA_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 pal93[] = { + 0, + 3584, + 8960, + 1044, + 7211, + 12812, + 5413, + 11066, + 15390, + 45, + 10257, + 3840, + 33, + 7436, + 2560, + 1550, + 5888, + 10, + 3616, + 9472, + 20, + 7211, + 15360, + 39, + 25, + 8, + 0, + 15928, + 11071, + 13873, + 10015, + 6188, + 8990, + 5135, + 2587, + 5903, + 8458, + 783, + 1303, + 4096, + 12032, + 0, + 30, + 5632, + 0, + 6183, + 5658, + 1792, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/94comp.h b/sky/compacts/94comp.h new file mode 100644 index 00000000000..6549b3a8892 --- /dev/null +++ b/sky/compacts/94comp.h @@ -0,0 +1,1351 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY94COMP_H +#define SKY94COMP_H + + + + +namespace SkyCompact { + +uint16 door_l94_anim[] = { + 58*64, + 202, + 136, + 0, + 202, + 136, + 1, + 202, + 136, + 2, + 202, + 136, + 3, + 202, + 136, + 4, + 202, + 136, + 5, + 202, + 136, + 6, + 202, + 136, + 7, + 202, + 136, + 8, + 202, + 136, + 9, + 202, + 136, + 10, + 202, + 136, + 11, + 202, + 136, + 12, + 202, + 136, + 13, + 202, + 136, + 14, + 202, + 136, + 15, + 202, + 136, + 16, + 202, + 136, + 17, + 202, + 136, + 18, + 202, + 136, + 19, + 202, + 136, + 20, + 202, + 136, + 21, + 202, + 136, + 22, + 202, + 136, + 23, + 0, +}; + +uint16 holo1_a_anim[] = { + 92*64, + 231, + 176, + 0, + 231, + 176, + 1, + 231, + 176, + 2, + 231, + 176, + 3, + 231, + 176, + 4, + 231, + 176, + 5, + 231, + 176, + 6, + 231, + 176, + 7, + 0, +}; + +uint16 sc94_floor_table[] = { + ID_SC94_FLOOR, + RETURN_OK, + ID_DOOR_L94, + GET_TO_DOOR_L94, + ID_DOOR_R94, + GET_TO_DOOR_R94, + ID_HOLOGRAM_PAD, + GET_TO_HOLOGRAM_PAD, + 65535, +}; + +Compact sc94_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 94, // screen + 0, // place + sc94_floor_table, // getToTable + 153, // xcood + 256, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 270, // mouseSize_x + 52, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 fast_list_sc94[] = { + IT_BLUE_FOSTER+DISK_4, + IT_LOGOFF+0X8000+DISK_4, + IT_WINDOW+0X8000+DISK_4, + IT_INFO_BUTTON+DISK_4, + IT_LINK_ARROWS+DISK_4, + IT_LINK_OBJECTS+DISK_4, + IT_ENTER_TOP+DISK_4+0X8000, + IT_EXIT_TOP+DISK_4+0X8000, + IT_CROUCH_RIGHT+DISK_4, + IT_SC94_LAYER_0+DISK_4, + IT_HOLO1_A+0X8000+DISK_4, + IT_HOLO1_B+DISK_4, + 0, +}; + +uint16 holo3_anim[] = { + 97*64, + 241, + 191, + 0, + 241, + 191, + 1, + 241, + 191, + 2, + 241, + 191, + 3, + 241, + 191, + 4, + 0, +}; + +Compact door_r94 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 94, // screen + 0, // place + 0, // getToTable + 345, // xcood + 136, // ycood + 60*64, // frame + 1+T7, // cursorText + STD_EXIT_UP_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 26, // mouseRel_y + 28, // mouseSize_x + 98, // mouseSize_y + DOOR_R94_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_R94_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 sc94_logic[] = { + ID_BLUE_FOSTER, + ID_DOOR_L94, + ID_DOOR_L94R, + ID_DOOR_R94, + ID_DOOR_R94R, + ID_HOLOGRAM_A, + ID_HOLOGRAM_B, + ID_EYEBALL_90, + 0XFFFF, + ID_LINC_MENU_LOGIC, +}; + +uint16 door_r94r_anim[] = { + 61*64, + 372, + 136, + 0, + 372, + 136, + 1, + 372, + 136, + 2, + 372, + 136, + 3, + 372, + 136, + 4, + 372, + 136, + 5, + 372, + 136, + 6, + 372, + 136, + 7, + 372, + 136, + 8, + 372, + 136, + 9, + 372, + 136, + 10, + 372, + 136, + 11, + 372, + 136, + 12, + 372, + 136, + 13, + 372, + 136, + 14, + 372, + 136, + 15, + 372, + 136, + 16, + 372, + 136, + 17, + 372, + 136, + 18, + 372, + 136, + 19, + 372, + 136, + 20, + 372, + 136, + 21, + 372, + 136, + 22, + 372, + 136, + 23, + 0, +}; + +Compact door_r94r = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 94, // screen + 0, // place + 0, // getToTable + 372, // xcood + 136, // ycood + 61*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_R94R_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_94_90[] = { + C_SCREEN, + 90, + C_PLACE, + ID_SC90_SMFLOOR, + C_XCOOD, + 200, + C_YCOOD, + 256, + C_FRAME, + 46+182*64, + C_DIR, + RIGHT, + 65535, +}; + +Compact door_l94r = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 94, // screen + 0, // place + 0, // getToTable + 228, // xcood + 136, // ycood + 59*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L94R_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_94_95[] = { + C_SCREEN, + 95, + C_PLACE, + ID_SC95_FLOOR, + C_XCOOD, + 288, + C_YCOOD, + 256, + C_DIR, + DOWN, + 65535, +}; + +uint16 door_r94_anim[] = { + 60*64, + 345, + 136, + 0, + 345, + 136, + 1, + 345, + 136, + 2, + 345, + 136, + 3, + 345, + 136, + 4, + 345, + 136, + 5, + 345, + 136, + 6, + 345, + 136, + 7, + 345, + 136, + 8, + 345, + 136, + 9, + 345, + 136, + 10, + 345, + 136, + 11, + 345, + 136, + 12, + 345, + 136, + 13, + 345, + 136, + 14, + 345, + 136, + 15, + 345, + 136, + 16, + 345, + 136, + 17, + 345, + 136, + 18, + 345, + 136, + 19, + 345, + 136, + 20, + 345, + 136, + 21, + 345, + 136, + 22, + 345, + 136, + 23, + 0, +}; + +uint16 chip_list_sc94[] = { + IT_DOOR_L94+DISK_4, + IT_DOOR_L94R+DISK_4, + IT_DOOR_R94+DISK_4, + IT_DOOR_R94R+DISK_4, + IT_HOLO2_A+DISK_4, + IT_HOLO2_B+DISK_4+0X8000, + IT_HOLO3+0X8000+DISK_4, + 0, +}; + +ExtCompact hologram_b_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 160, // spWidth_xx + 5, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact hologram_b = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 94, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 93*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + HOLOGRAM_B_LOGIC, // baseSub + 0, // baseSub_off + &hologram_b_ext, +}; + +uint16 holo1_b_anim[] = { + 93*64, + 231, + 234, + 0, + 231, + 234, + 1, + 231, + 234, + 2, + 231, + 234, + 3, + 231, + 234, + 4, + 231, + 234, + 5, + 231, + 234, + 6, + 231, + 234, + 7, + 0, +}; + +Compact door_l94 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 94, // screen + 0, // place + 0, // getToTable + 202, // xcood + 136, // ycood + 58*64, // frame + 1+T7, // cursorText + STD_EXIT_UP_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65535, // mouseRel_x + 26, // mouseRel_y + 27, // mouseSize_x + 98, // mouseSize_y + DOOR_L94_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L94_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 door_l94r_anim[] = { + 59*64, + 228, + 136, + 0, + 228, + 136, + 1, + 228, + 136, + 2, + 228, + 136, + 3, + 228, + 136, + 4, + 228, + 136, + 5, + 228, + 136, + 6, + 228, + 136, + 7, + 228, + 136, + 8, + 228, + 136, + 9, + 228, + 136, + 10, + 228, + 136, + 11, + 228, + 136, + 12, + 228, + 136, + 13, + 228, + 136, + 14, + 228, + 136, + 15, + 228, + 136, + 16, + 228, + 136, + 17, + 228, + 136, + 18, + 228, + 136, + 19, + 228, + 136, + 20, + 228, + 136, + 21, + 228, + 136, + 22, + 228, + 136, + 23, + 0, +}; + +uint16 sc94_mouse[] = { + ID_HOLOGRAM_PAD, + ID_DOOR_L94, + ID_DOOR_R94, + ID_SC94_FLOOR, + 0XFFFF, + ID_LINC_MENU_MOUSE, +}; + +uint16 anita_holo_talk[] = { + 96*64, + 96*64, + 280, + 225, + 0, + 280, + 225, + 1, + 280, + 225, + 2, + 280, + 225, + 3, + 280, + 225, + 4, + 280, + 225, + 1, + 280, + 225, + 2, + 280, + 225, + 3, + 280, + 225, + 5, + 280, + 225, + 0, + 280, + 225, + 1, + 280, + 225, + 5, + 280, + 225, + 6, + 280, + 225, + 1, + 280, + 225, + 2, + 280, + 225, + 2, + 280, + 225, + 3, + 280, + 225, + 4, + 280, + 225, + 6, + 280, + 225, + 5, + 280, + 225, + 0, + 280, + 225, + 1, + 280, + 225, + 2, + 280, + 225, + 3, + 280, + 225, + 4, + 280, + 225, + 5, + 280, + 225, + 0, + 280, + 225, + 1, + 280, + 225, + 2, + 280, + 225, + 3, + 280, + 225, + 4, + 280, + 225, + 1, + 280, + 225, + 2, + 280, + 225, + 3, + 280, + 225, + 5, + 280, + 225, + 2, + 280, + 225, + 6, + 280, + 225, + 5, + 280, + 225, + 0, + 280, + 225, + 1, + 280, + 225, + 6, + 280, + 225, + 2, + 280, + 225, + 3, + 280, + 225, + 4, + 280, + 225, + 6, + 280, + 225, + 5, + 280, + 225, + 0, + 280, + 225, + 1, + 280, + 225, + 3, + 280, + 225, + 4, + 280, + 225, + 6, + 280, + 225, + 5, + 280, + 225, + 0, + 280, + 225, + 1, + 280, + 225, + 2, + 280, + 225, + 5, + 280, + 225, + 0, + 280, + 225, + 3, + 280, + 225, + 4, + 280, + 225, + 6, + 280, + 225, + 5, + 280, + 225, + 6, + 280, + 225, + 0, + 280, + 225, + 6, + 0, +}; + +Compact hologram_pad = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 94, // screen + 0, // place + 0, // getToTable + 266, // xcood + 271, // ycood + 0, // frame + 24607, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 41, // mouseSize_x + 7, // mouseSize_y + HOLOGRAM_PAD_ACTION, // actionScript +}; + +uint16 pal94[] = { + 0, + 3584, + 8960, + 1044, + 7211, + 12812, + 5413, + 11066, + 15390, + 0, + 8, + 3072, + 0, + 16, + 5120, + 1036, + 5120, + 8, + 3104, + 9216, + 20, + 7208, + 15360, + 36, + 0, + 24, + 0, + 15159, + 9787, + 12077, + 8987, + 4390, + 7448, + 3850, + 1301, + 3335, + 7176, + 12, + 1044, + 4096, + 9216, + 0, + 28, + 5120, + 0, + 6180, + 24, + 7168, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact hologram_a = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 94, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 92*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + HOLOGRAM_A_LOGIC, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/95comp.h b/sky/compacts/95comp.h new file mode 100644 index 00000000000..cd60685bedd --- /dev/null +++ b/sky/compacts/95comp.h @@ -0,0 +1,1343 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY95COMP_H +#define SKY95COMP_H + + + + +namespace SkyCompact { + +uint16 fast_list_sc95[] = { + IT_BLUE_FOSTER+DISK_4, + IT_LOGOFF+0X8000+DISK_4, + IT_WINDOW+0X8000+DISK_4, + IT_INFO_BUTTON+DISK_4, + IT_LINK_ARROWS+DISK_4, + IT_LINK_OBJECTS+DISK_4, + IT_ENTER_TOP+DISK_4+0X8000, + IT_EXIT_TOP+DISK_4+0X8000, + IT_SC95_LAYER_0+DISK_4, + IT_SC95_LAYER_1+DISK_4, + IT_SC95_GRID_1+DISK_4, + IT_GUARDIAN+DISK_4, + IT_WEIGHT+DISK_4+0X8000, + IT_DOOR_L95F+DISK_4, + 0, +}; + +uint16 weight_anim[] = { + 103*64, + 322, + 136, + 0, + 315, + 136, + 1, + 312, + 178, + 2, + 312, + 175, + 2, + 312, + 176, + 2, + 312, + 176, + 2, + 312, + 176, + 2, + 312, + 176, + 2, + 312, + 176, + 2, + 312, + 176, + 2, + 312, + 176, + 2, + 312, + 176, + 2, + 312, + 176, + 2, + 312, + 176, + 2, + 312, + 176, + 3, + 312, + 176, + 4, + 312, + 176, + 5, + 312, + 176, + 5, + 312, + 176, + 5, + 312, + 176, + 6, + 312, + 176, + 7, + 0, +}; + +uint16 sc95_floor_table[] = { + ID_SC95_FLOOR, + RETURN_OK, + ID_DOOR_L95, + GET_TO_DOOR_L95, + ID_DOOR_R95, + GET_TO_DOOR_R95, + ID_DOOR_T95, + GET_TO_DOOR_T95, + ID_GUARDIAN, + GET_TO_GUARDIAN, + 65535, +}; + +uint16 door_r95_anim[] = { + 100*64, + 366, + 136, + 0, + 366, + 136, + 1, + 366, + 136, + 2, + 366, + 136, + 3, + 366, + 136, + 4, + 366, + 136, + 5, + 366, + 136, + 6, + 366, + 136, + 7, + 366, + 136, + 8, + 366, + 136, + 9, + 366, + 136, + 10, + 366, + 136, + 11, + 366, + 136, + 12, + 366, + 136, + 13, + 366, + 136, + 14, + 366, + 136, + 15, + 366, + 136, + 16, + 366, + 136, + 17, + 366, + 136, + 18, + 366, + 136, + 19, + 366, + 136, + 20, + 366, + 136, + 21, + 366, + 136, + 22, + 0, +}; + +uint16 rs_foster_95_96[] = { + C_SCREEN, + 96, + C_PLACE, + ID_SC96_FLOOR, + C_XCOOD, + 184, + C_YCOOD, + 256, + 65535, +}; + +Compact door_r95f = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT, // status + 0, // sync + 95, // screen + 0, // place + 0, // getToTable + 370, // xcood + 136, // ycood + 101*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 263-136, // mouseRel_y + 30, // mouseSize_x + 10, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_R95F_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 pal95[] = { + 0, + 3584, + 8960, + 1044, + 7211, + 12812, + 5413, + 11066, + 15390, + 0, + 52, + 11520, + 0, + 39, + 7936, + 1550, + 5888, + 10, + 3616, + 9472, + 20, + 7211, + 15360, + 39, + 0, + 25, + 0, + 15928, + 11071, + 13873, + 10015, + 6188, + 8990, + 5135, + 2587, + 5903, + 8458, + 783, + 1303, + 4096, + 12032, + 0, + 30, + 5632, + 0, + 6183, + 26, + 5120, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 16191, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +uint16 chip_list_sc95[] = { + IT_DOOR_L95+DISK_4, + IT_DOOR_R95+DISK_4, + IT_DOOR_R95F+DISK_4, + IT_DOOR_T95+DISK_4, + IT_DOOR_T95R+DISK_4, + 0, +}; + +uint16 door_l95f_anim[] = { + 57*64, + 199, + 136, + 0, + 199, + 136, + 1, + 199, + 136, + 2, + 199, + 136, + 3, + 199, + 136, + 4, + 199, + 136, + 5, + 199, + 136, + 6, + 199, + 136, + 7, + 199, + 136, + 8, + 199, + 136, + 9, + 199, + 136, + 10, + 199, + 136, + 11, + 199, + 136, + 12, + 199, + 136, + 13, + 199, + 136, + 14, + 199, + 136, + 15, + 199, + 136, + 16, + 199, + 136, + 17, + 199, + 136, + 18, + 199, + 136, + 19, + 199, + 136, + 20, + 199, + 136, + 21, + 199, + 136, + 22, + 0, +}; + +uint16 sc95_logic[] = { + ID_BLUE_FOSTER, + ID_DOOR_L95, + ID_DOOR_L95F, + ID_DOOR_R95, + ID_DOOR_R95F, + ID_DOOR_T95, + ID_DOOR_T95R, + ID_EYEBALL_90, + ID_EYEBALL_91, + ID_GUARDIAN, + ID_WEIGHT, + 0XFFFF, + ID_LINC_MENU_LOGIC, +}; + +Compact weight = { + L_SCRIPT, // logic + ST_LOGIC+ST_RECREATE, // status + 0, // sync + 95, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 103*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + WEIGHT_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact guardian = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_SORT+ST_RECREATE, // status + 0, // sync + 95, // screen + 0, // place + 0, // getToTable + 324, // xcood + 221, // ycood + 102*64, // frame + 24588, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 14, // mouseRel_x + 0, // mouseRel_y + 12, // mouseSize_x + 50, // mouseSize_y + GUARDIAN_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + GUARDIAN_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_95_91[] = { + C_SCREEN, + 91, + C_PLACE, + ID_SC91_FLOOR, + C_XCOOD, + 288, + C_YCOOD, + 256, + C_DIR, + DOWN, + 65535, +}; + +uint16 sc95_mouse[] = { + ID_GUARDIAN, + ID_DOOR_L95, + ID_DOOR_L95F, + ID_DOOR_R95, + ID_DOOR_R95F, + ID_DOOR_T95, + ID_SC95_FLOOR, + 0XFFFF, + ID_LINC_MENU_MOUSE, +}; + +Compact door_r95 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 95, // screen + 0, // place + 0, // getToTable + 366, // xcood + 136, // ycood + 100*64, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 26, // mouseRel_y + 8, // mouseSize_x + 110, // mouseSize_y + DOOR_R95_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_R95_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_95_94[] = { + C_SCREEN, + 94, + C_PLACE, + ID_SC94_FLOOR, + C_XCOOD, + 216, + C_YCOOD, + 264, + C_DIR, + DOWN, + 65535, +}; + +Compact door_t95 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 95, // screen + 0, // place + 0, // getToTable + 276, // xcood + 136, // ycood + 52*64, // frame + 1+T7, // cursorText + STD_EXIT_UP_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 26, // mouseRel_y + 28, // mouseSize_x + 95, // mouseSize_y + DOOR_T95_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_T95_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 door_r95f_anim[] = { + 101*64, + 370, + 136, + 0, + 370, + 136, + 1, + 370, + 136, + 2, + 370, + 136, + 3, + 370, + 136, + 4, + 370, + 136, + 5, + 370, + 136, + 6, + 370, + 136, + 7, + 370, + 136, + 8, + 370, + 136, + 9, + 370, + 136, + 10, + 370, + 136, + 11, + 370, + 136, + 12, + 370, + 136, + 13, + 370, + 136, + 14, + 370, + 136, + 15, + 370, + 136, + 16, + 370, + 136, + 17, + 370, + 136, + 18, + 370, + 136, + 19, + 370, + 136, + 20, + 370, + 136, + 21, + 370, + 136, + 22, + 0, +}; + +Compact door_l95 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 95, // screen + 0, // place + 0, // getToTable + 204, // xcood + 136, // ycood + 56*64, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65531, // mouseRel_x + 26, // mouseRel_y + 9, // mouseSize_x + 108, // mouseSize_y + DOOR_L95_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L95_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact door_l95f = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT, // status + 0, // sync + 95, // screen + 0, // place + 0, // getToTable + 199, // xcood + 136, // ycood + 57*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 65526, // mouseRel_x + 263-136, // mouseRel_y + 15, // mouseSize_x + 10, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L95F_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 door_t95_anim[] = { + 52*64, + 276, + 136, + 0, + 276, + 136, + 1, + 276, + 136, + 2, + 276, + 136, + 3, + 276, + 136, + 4, + 276, + 136, + 5, + 276, + 136, + 6, + 276, + 136, + 7, + 276, + 136, + 8, + 276, + 136, + 9, + 276, + 136, + 10, + 276, + 136, + 11, + 276, + 136, + 12, + 276, + 136, + 13, + 276, + 136, + 14, + 276, + 136, + 15, + 276, + 136, + 16, + 276, + 136, + 17, + 276, + 136, + 18, + 276, + 136, + 19, + 276, + 136, + 20, + 276, + 136, + 21, + 276, + 136, + 22, + 0, +}; + +uint16 door_t95r_anim[] = { + 53*64, + 301, + 136, + 0, + 301, + 136, + 1, + 301, + 136, + 2, + 301, + 136, + 3, + 301, + 136, + 4, + 301, + 136, + 5, + 301, + 136, + 6, + 301, + 136, + 7, + 301, + 136, + 8, + 301, + 136, + 9, + 301, + 136, + 10, + 301, + 136, + 11, + 301, + 136, + 12, + 301, + 136, + 13, + 301, + 136, + 14, + 301, + 136, + 15, + 301, + 136, + 16, + 301, + 136, + 17, + 301, + 136, + 18, + 301, + 136, + 19, + 301, + 136, + 20, + 301, + 136, + 21, + 301, + 136, + 22, + 0, +}; + +uint16 guardian_down[] = { + 102*64, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +Compact sc95_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 95, // screen + 0, // place + sc95_floor_table, // getToTable + 153, // xcood + 256, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 270, // mouseSize_x + 52, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 guardian_up[] = { + 102*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 0, +}; + +Compact door_t95r = { + L_SCRIPT, // logic + ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 95, // screen + 0, // place + 0, // getToTable + 301, // xcood + 136, // ycood + 53*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_T95R_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 door_l95_anim[] = { + 56*64, + 204, + 136, + 0, + 204, + 136, + 1, + 204, + 136, + 2, + 204, + 136, + 3, + 204, + 136, + 4, + 204, + 136, + 5, + 204, + 136, + 6, + 204, + 136, + 7, + 204, + 136, + 8, + 204, + 136, + 9, + 204, + 136, + 10, + 204, + 136, + 11, + 204, + 136, + 12, + 204, + 136, + 13, + 204, + 136, + 14, + 204, + 136, + 15, + 204, + 136, + 16, + 204, + 136, + 17, + 204, + 136, + 18, + 204, + 136, + 19, + 204, + 136, + 20, + 204, + 136, + 21, + 204, + 136, + 22, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/96comp.h b/sky/compacts/96comp.h new file mode 100644 index 00000000000..ee42bbbb1a9 --- /dev/null +++ b/sky/compacts/96comp.h @@ -0,0 +1,914 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY96COMP_H +#define SKY96COMP_H + + + + +namespace SkyCompact { + +uint16 sc96_mouse[] = { + ID_CRYSTAL, + ID_VIRUS, + ID_DOOR_L96, + ID_SC96_FLOOR, + 0XFFFF, + ID_LINC_MENU_MOUSE, +}; + +uint16 door_l96f_anim[] = { + 99*64, + 190, + 136, + 0, + 190, + 136, + 1, + 190, + 136, + 2, + 190, + 136, + 3, + 190, + 136, + 4, + 190, + 136, + 5, + 190, + 136, + 6, + 190, + 136, + 7, + 190, + 136, + 8, + 190, + 136, + 9, + 190, + 136, + 10, + 190, + 136, + 11, + 190, + 136, + 12, + 190, + 136, + 13, + 190, + 136, + 14, + 190, + 136, + 15, + 190, + 136, + 16, + 190, + 136, + 17, + 190, + 136, + 18, + 190, + 136, + 19, + 190, + 136, + 20, + 190, + 136, + 21, + 190, + 136, + 22, + 0, +}; + +uint16 sc96_floor_table[] = { + ID_SC96_FLOOR, + RETURN_OK, + ID_DOOR_L96, + GET_TO_DOOR_L96, + ID_CRYSTAL, + GET_TO_CRYSTAL, + ID_VIRUS, + GET_TO_VIRUS, + 65535, +}; + +Compact sc96_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 96, // screen + 0, // place + sc96_floor_table, // getToTable + 195, // xcood + 240, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 181, // mouseSize_x + 50, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 sc96_logic[] = { + ID_BLUE_FOSTER, + ID_DOOR_L96, + ID_DOOR_L96F, + ID_CRYSTAL, + ID_VIRUS, + ID_EYEBALL_90, + 0XFFFF, + ID_LINC_MENU_LOGIC, +}; + +Compact crystal = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 96, // screen + 0, // place + 0, // getToTable + 261, // xcood + 227, // ycood + 106*64, // frame + 24604, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 4, // mouseRel_y + 50, // mouseSize_x + 35, // mouseSize_y + CRYSTAL_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + CRYSTAL_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_96_95[] = { + C_SCREEN, + 95, + C_PLACE, + ID_SC95_FLOOR, + C_XCOOD, + 384, + C_YCOOD, + 264, + 65535, +}; + +uint16 crystal_break[] = { + 107*64, + 261, + 227, + 0, + 261, + 227, + 1, + 261, + 227, + 2, + 261, + 227, + 3, + 261, + 227, + 4, + 261, + 227, + 5, + 261, + 227, + 6, + 261, + 227, + 7, + 261, + 227, + 8, + 261, + 227, + 9, + 261, + 227, + 10, + 0, +}; + +uint16 pal96[] = { + 0, + 3584, + 8960, + 1044, + 7211, + 12812, + 5413, + 11066, + 15390, + 23, + 286, + 1792, + 0, + 274, + 7685, + 1036, + 5120, + 8, + 3104, + 9216, + 20, + 7208, + 15360, + 36, + 4098, + 42, + 0, + 15416, + 10300, + 13360, + 9244, + 6188, + 8220, + 5132, + 2072, + 5132, + 7176, + 12, + 1046, + 4096, + 9216, + 0, + 28, + 5120, + 0, + 8747, + 1044, + 13856, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 16191, + 16145, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16145, + 4415, + 16191, + 16145, + 4415, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +Compact door_l96f = { + L_SCRIPT, // logic + ST_LOGIC+ST_SORT, // status + 0, // sync + 96, // screen + 0, // place + 0, // getToTable + 190, // xcood + 136, // ycood + 99*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L96F_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact virus = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_SORT+ST_RECREATE, // status + 0, // sync + 96, // screen + 0, // place + 0, // getToTable + 282, // xcood + 250, // ycood + 108*64, // frame + 24605, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 11, // mouseSize_x + 11, // mouseSize_y + VIRUS_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + VIRUS_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 crystal_spin[] = { + 106*64, + 261, + 227, + 0, + 261, + 227, + 1, + 261, + 227, + 2, + 261, + 227, + 3, + 261, + 227, + 4, + 261, + 227, + 5, + 261, + 227, + 6, + 261, + 227, + 7, + 261, + 227, + 8, + 261, + 227, + 9, + 0, +}; + +uint16 virus_spin[] = { + 108*64, + 282, + 250, + 0, + 282, + 250, + 1, + 282, + 250, + 2, + 282, + 250, + 3, + 282, + 250, + 4, + 282, + 250, + 5, + 282, + 250, + 6, + 282, + 250, + 7, + 282, + 250, + 8, + 282, + 250, + 9, + 0, +}; + +Compact door_l96 = { + L_SCRIPT, // logic + ST_MOUSE+ST_LOGIC+ST_BACKGROUND, // status + 0, // sync + 96, // screen + 0, // place + 0, // getToTable + 198, // xcood + 136, // ycood + 98*64, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 65531, // mouseRel_x + 26, // mouseRel_y + 7, // mouseSize_x + 102, // mouseSize_y + DOOR_L96_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + DOOR_L96_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 chip_list_sc96[] = { + IT_DOOR_L96+DISK_4, + IT_DOOR_L96F+DISK_4, + IT_CRYSTAL_SPIN+DISK_4, + IT_CRYSTAL_BREAK+DISK_4, + IT_VIRUS_SPIN+DISK_4, + IT_GET_VIRUS+DISK_4, + 0, +}; + +uint16 get_virus[] = { + 110*64, + 282, + 250, + 0, + 282, + 250, + 1, + 282, + 250, + 2, + 282, + 250, + 3, + 282, + 250, + 4, + 282, + 250, + 5, + 282, + 250, + 6, + 0, +}; + +uint16 door_l96_anim[] = { + 98*64, + 198, + 136, + 0, + 198, + 136, + 1, + 198, + 136, + 2, + 198, + 136, + 3, + 198, + 136, + 4, + 198, + 136, + 5, + 198, + 136, + 6, + 198, + 136, + 7, + 198, + 136, + 8, + 198, + 136, + 9, + 198, + 136, + 10, + 198, + 136, + 11, + 198, + 136, + 12, + 198, + 136, + 13, + 198, + 136, + 14, + 198, + 136, + 15, + 198, + 136, + 16, + 198, + 136, + 17, + 198, + 136, + 18, + 198, + 136, + 19, + 198, + 136, + 20, + 198, + 136, + 21, + 198, + 136, + 22, + 0, +}; + +uint16 fast_list_sc96[] = { + IT_BLUE_FOSTER+DISK_4, + IT_LOGOFF+0X8000+DISK_4, + IT_WINDOW+0X8000+DISK_4, + IT_INFO_BUTTON+DISK_4, + IT_LINK_ARROWS+DISK_4, + IT_LINK_OBJECTS+DISK_4, + IT_CROUCH_RIGHT+DISK_4, + IT_SC96_LAYER_0+DISK_4, + IT_SC96_LAYER_1+DISK_4, + IT_SC96_GRID_1+DISK_4, + 0, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/9compact.h b/sky/compacts/9compact.h new file mode 100644 index 00000000000..f9e076d2569 --- /dev/null +++ b/sky/compacts/9compact.h @@ -0,0 +1,1627 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKY9COMPACT_H +#define SKY9COMPACT_H + + + + +namespace SkyCompact { + +uint16 s9_floor_table[] = { + ID_S9_FLOOR, + RETURN_OK, + ID_JOEY_PARK, + GET_TO_JP2, + 42, + S9_WALK_ON, + ID_DAD, + GET_TO_DAD, + ID_SON, + GET_TO_SON, + ID_LEFT_EXIT_S9, + GET_TO_L_EXIT_S9, + ID_LOBBY_DOOR, + GET_TO_LOBBY_DOOR, + ID_SCANNER, + GET_TO_SCANNER, + ID_LOBBY_SLOT, + GET_TO_SCANNER, + ID_LINC_S9, + GT_LINC_S9, + 65535, +}; + +Compact fake_floor_9 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 9, // screen + 0, // place + s9_floor_table, // getToTable + 386, // xcood + 291, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 314-291, // mouseSize_y +}; + +uint16 son_work_seq[] = { + 103*64, + 223, + 240, + 0, + 223, + 240, + 0, + 223, + 240, + 0, + 223, + 240, + 1, + 223, + 240, + 1, + 223, + 240, + 1, + 223, + 240, + 2, + 223, + 240, + 2, + 223, + 240, + 3, + 223, + 240, + 3, + 223, + 240, + 3, + 223, + 240, + 4, + 223, + 240, + 4, + 223, + 240, + 4, + 223, + 240, + 3, + 223, + 240, + 3, + 223, + 240, + 4, + 223, + 240, + 4, + 223, + 240, + 4, + 223, + 240, + 0, + 223, + 240, + 0, + 223, + 240, + 0, + 223, + 240, + 5, + 223, + 240, + 5, + 223, + 240, + 5, + 223, + 240, + 5, + 223, + 240, + 5, + 223, + 240, + 5, + 223, + 240, + 5, + 223, + 240, + 5, + 223, + 240, + 0, + 223, + 240, + 0, + 223, + 240, + 1, + 223, + 240, + 1, + 223, + 240, + 1, + 223, + 240, + 2, + 223, + 240, + 2, + 223, + 240, + 2, + 223, + 240, + 3, + 223, + 240, + 3, + 223, + 240, + 3, + 223, + 240, + 3, + 223, + 240, + 3, + 223, + 240, + 4, + 223, + 240, + 4, + 223, + 240, + 4, + 223, + 240, + 0, + 223, + 240, + 0, + 223, + 240, + 3, + 223, + 240, + 3, + 223, + 240, + 3, + 223, + 240, + 1, + 223, + 240, + 1, + 223, + 240, + 1, + 223, + 240, + 2, + 223, + 240, + 2, + 223, + 240, + 0, + 223, + 240, + 0, + 223, + 240, + 0, + 223, + 240, + 4, + 223, + 240, + 4, + 223, + 240, + 4, + 223, + 240, + 4, + 223, + 240, + 4, + 0, +}; + +ExtCompact son_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + DOWN, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_SON, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact son = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_RECREATE+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 9, // screen + 0, // place + 0, // getToTable + 0XDF, // xcood + 0XF0, // ycood + 104*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 32, // mouseSize_x + 16, // mouseSize_y + SON_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + SON_LOGIC, // baseSub + 0, // baseSub_off + &son_ext, +}; + +uint16 scandie_seq[] = { + 112*64, + 349, + 250, + 0, + 349, + 250, + 1, + 349, + 250, + 2, + 349, + 250, + 3, + 349, + 250, + 4, + 349, + 250, + 5, + 349, + 250, + 6, + 349, + 250, + 7, + 349, + 250, + 8, + 349, + 250, + 9, + 349, + 250, + 10, + 349, + 250, + 11, + 349, + 250, + 12, + 349, + 250, + 13, + 349, + 250, + 14, + 349, + 250, + 15, + 349, + 250, + 16, + 349, + 250, + 17, + 349, + 250, + 18, + 349, + 250, + 18, + 349, + 250, + 19, + 349, + 250, + 19, + 349, + 250, + 20, + 349, + 250, + 21, + 349, + 250, + 22, + 349, + 250, + 23, + 349, + 250, + 24, + 349, + 250, + 25, + 349, + 250, + 26, + 349, + 250, + 27, + 349, + 250, + 28, + 349, + 250, + 29, + 349, + 250, + 30, + 349, + 250, + 31, + 349, + 250, + 32, + 349, + 250, + 33, + 349, + 250, + 34, + 349, + 250, + 35, + 349, + 250, + 36, + 349, + 250, + 37, + 349, + 250, + 38, + 349, + 250, + 39, + 0, +}; + +uint16 lobby_down_seq[] = { + 95*64, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 s9_mouse[] = { + ID_JOEY, + ID_MONITOR, + ID_LEFT_EXIT_S9, + ID_LOBBY_DOOR, + ID_SCANNER, + ID_LOBBY_SLOT, + ID_DAD, + ID_SON, + ID_FAKE_FLOOR_9, + ID_LINC_S9, + ID_S9_FLOOR, + 0XFFFF, + ID_TEXT_MOUSE, +}; + +uint16 scan_seq[] = { + 107*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 1, + 1, + 7, + 1, + 1, + 8, + 1, + 1, + 9, + 1, + 1, + 10, + 1, + 1, + 11, + 1, + 1, + 12, + 1, + 1, + 13, + 1, + 1, + 14, + 1, + 1, + 15, + 1, + 1, + 14, + 1, + 1, + 13, + 1, + 1, + 12, + 1, + 1, + 11, + 1, + 1, + 10, + 1, + 1, + 9, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 dad_work_seq[] = { + 96*64, + 270, + 230, + 0, + 270, + 230, + 0, + 270, + 230, + 1, + 270, + 230, + 1, + 270, + 230, + 2, + 270, + 230, + 2, + 270, + 230, + 3, + 270, + 230, + 3, + 270, + 230, + 4, + 270, + 230, + 4, + 270, + 230, + 5, + 270, + 230, + 5, + 270, + 230, + 6, + 270, + 230, + 6, + 270, + 230, + 7, + 270, + 230, + 7, + 270, + 230, + 6, + 270, + 230, + 6, + 270, + 230, + 7, + 270, + 230, + 7, + 270, + 230, + 6, + 270, + 230, + 6, + 270, + 230, + 5, + 270, + 230, + 5, + 270, + 230, + 4, + 270, + 230, + 4, + 270, + 230, + 3, + 270, + 230, + 3, + 0, +}; + +Compact linc_s9 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 9, // screen + 0, // place + 0, // getToTable + 162, // xcood + 284, // ycood + 0, // frame + 51, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 180-162, // mouseSize_x + 322-284, // mouseSize_y + LINC_S9_ACTION, // actionScript +}; + +uint16 dad_work3_seq[] = { + 98*64, + 342, + 230, + 0, + 342, + 230, + 0, + 342, + 230, + 0, + 342, + 230, + 1, + 342, + 230, + 2, + 342, + 230, + 0, + 342, + 230, + 0, + 342, + 230, + 0, + 342, + 230, + 0, + 342, + 230, + 0, + 342, + 230, + 0, + 342, + 230, + 1, + 342, + 230, + 2, + 342, + 230, + 0, + 342, + 230, + 0, + 342, + 230, + 0, + 0, +}; + +ExtCompact dad_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + DOWN, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_DAD, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact dad = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_RECREATE+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 9, // screen + 0, // place + 0, // getToTable + 0X10E, // xcood + 0XE6, // ycood + 96*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 32, // mouseSize_x + 16, // mouseSize_y + DAD_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + DAD_LOGIC, // baseSub + 0, // baseSub_off + &dad_ext, +}; + +uint16 dad_work2_seq[] = { + 97*64, + 307, + 230, + 0, + 307, + 230, + 0, + 307, + 230, + 1, + 307, + 230, + 1, + 307, + 230, + 1, + 307, + 230, + 1, + 307, + 230, + 1, + 307, + 230, + 0, + 307, + 230, + 2, + 307, + 230, + 2, + 307, + 230, + 3, + 307, + 230, + 3, + 307, + 230, + 4, + 307, + 230, + 5, + 307, + 230, + 5, + 307, + 230, + 6, + 307, + 230, + 6, + 307, + 230, + 7, + 307, + 230, + 7, + 307, + 230, + 8, + 307, + 230, + 8, + 307, + 230, + 7, + 307, + 230, + 7, + 307, + 230, + 6, + 307, + 230, + 6, + 307, + 230, + 5, + 307, + 230, + 5, + 307, + 230, + 9, + 307, + 230, + 3, + 307, + 230, + 3, + 0, +}; + +Compact s9_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 9, // screen + 0, // place + s9_floor_table, // getToTable + 128, // xcood + 288, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 37, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +Compact left_exit_s9 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 9, // screen + 0, // place + 0, // getToTable + 175, // xcood + 244, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_LEFT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 16, // mouseSize_x + 304-244, // mouseSize_y + EL9_ACTION, // actionScript +}; + +uint16 fans_seq[] = { + 93*64, + 188, + 199, + 0, + 188, + 199, + 1, + 188, + 199, + 2, + 188, + 199, + 3, + 188, + 199, + 4, + 188, + 199, + 5, + 188, + 199, + 6, + 188, + 199, + 7, + 188, + 199, + 8, + 188, + 199, + 9, + 188, + 199, + 10, + 188, + 199, + 11, + 188, + 199, + 12, + 188, + 199, + 13, + 188, + 199, + 14, + 188, + 199, + 15, + 0, +}; + +Compact fans = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC, // status + 0, // sync + 9, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 93*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FANS_LOGIC, // baseSub + 0, // baseSub_off +}; + +Compact lobby_slot = { + L_SCRIPT, // logic + ST_MOUSE, // status + 0, // sync + 9, // screen + 0, // place + 0, // getToTable + 384, // xcood + 272, // ycood + 0, // frame + 36+T7, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 5, // mouseSize_x + 12, // mouseSize_y + LOBBY_SLOT_ACTION, // actionScript +}; + +Compact scanner = { + L_SCRIPT, // logic + ST_MOUSE+ST_RECREATE+ST_LOGIC, // status + 0, // sync + 9, // screen + 0, // place + 0, // getToTable + 349, // xcood + 250, // ycood + 95*64, // frame + 138, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 298-250, // mouseRel_y + 32, // mouseSize_x + 8, // mouseSize_y + SCANNER_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SCANNER_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 card_in_seq[] = { + 106*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 lobby_up_seq[] = { + 95*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 4, + 1, + 1, + 5, + 1, + 1, + 6, + 0, +}; + +Compact lobby_door = { + L_SCRIPT, // logic + ST_MOUSE+ST_BACKGROUND+ST_RECREATE+ST_LOGIC, // status + 0, // sync + 9, // screen + 0, // place + 0, // getToTable + 379, // xcood + 241, // ycood + 95*64, // frame + 139, // cursorText + LOBBY_DOOR_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 6, // mouseSize_x + 62, // mouseSize_y + LOBBY_DOOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LOBBY_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_to_9[] = { + C_XCOOD, + 152, + C_YCOOD, + 296, + C_SCREEN, + 9, + C_PLACE, + ID_S9_FLOOR, + 65535, +}; + +uint16 rs_foster_10_9[] = { + C_XCOOD, + 408, + C_YCOOD, + 296, + C_SCREEN, + 9, + C_PLACE, + ID_S9_FLOOR, + 65535, +}; + +uint16 s9_logic[] = { + ID_FOSTER, + ID_JOEY, + ID_FANS, + ID_LOBBY_DOOR, + ID_SCANNER, + ID_DAD, + ID_SON, + ID_MONITOR, + ID_LAMB, + ID_LIFT_S7, + ID_LIFT7_LIGHT, + 0XFFFF, + ID_MENU_LOGIC, +}; + +uint16 s9_chip_list[] = { + 173, + 111, + 93+DISK_2, + 95+DISK_2, + 96+DISK_2, + 97+DISK_2, + 98+DISK_2, + 99+DISK_2, + 106+DISK_2+0X8000, + 107+DISK_2+0X8000, + 110+DISK_2+0X8000, + 112+DISK_2+0X8000, + 74+DISK_2, + 92+DISK_2, + 47+DISK_2, + 48+DISK_2, + 0, +}; + +uint16 s9_pal[] = { + 0, + 1024, + 1028, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 512, + 0, + 0, + 514, + 512, + 4, + 1538, + 1026, + 512, + 4, + 1026, + 1026, + 4, + 1540, + 514, + 2054, + 1540, + 516, + 2566, + 1540, + 1030, + 2566, + 2054, + 1538, + 522, + 2052, + 2060, + 2056, + 2566, + 2054, + 522, + 2056, + 1546, + 2058, + 2564, + 1038, + 4106, + 3078, + 2056, + 1036, + 2566, + 2064, + 2572, + 3078, + 2578, + 3084, + 3594, + 2566, + 2062, + 3080, + 3092, + 3084, + 2574, + 2574, + 2064, + 3592, + 3092, + 2064, + 3596, + 3088, + 2576, + 4106, + 2062, + 6414, + 4106, + 2064, + 6926, + 3594, + 3097, + 2578, + 4108, + 2578, + 6416, + 4622, + 3594, + 4624, + 4622, + 3600, + 3092, + 4108, + 4125, + 3092, + 4618, + 4127, + 6416, + 4620, + 3101, + 5908, + 4620, + 4127, + 3095, + 5134, + 4631, + 4628, + 5904, + 3600, + 5143, + 5902, + 4631, + 3097, + 5134, + 5153, + 4631, + 5136, + 5153, + 3609, + 5902, + 4129, + 6425, + 5902, + 4131, + 6937, + 6420, + 4628, + 5147, + 6928, + 6939, + 2075, + 6937, + 6412, + 5145, + 6935, + 5911, + 4125, + 7447, + 4626, + 6941, + 6935, + 4633, + 7453, + 7956, + 6427, + 6429, + 7449, + 7451, + 3103, + 7961, + 5140, + 7455, + 7963, + 6420, + 6432, + 8729, + 5908, + 7714, + 8735, + 7184, + 8224, + 8988, + 7710, + 7203, + 9498, + 8222, + 4901, + 9757, + 8477, + 8486, + 10014, + 7712, + 8743, + 11040, + 8736, + 9257, + 11040, + 10020, + 5676, + 11813, + 9763, + 10797, + 11560, + 10536, + 10290, + 12331, + 11563, + 11568, + 13102, + 12334, + 12341, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 16184, + 13620, + 11068, + 14130, + 12067, + 7218, + 11559, + 8214, + 4901, + 8735, + 7440, + 3103, + 7452, + 6922, + 2075, + 5651, + 3593, + 2578, + 3338, + 2055, + 1547, + 2311, + 1541, + 1032, + 0, + 14336, + 13364, + 11569, + 9261, + 8481, + 6687, + 6681, + 4626, + 2578, + 1803, + 770, + 519, + 13571, + 9517, + 9778, + 11805, + 5151, + 5926, + 8205, + 1808, + 2586, + 11267, + 2056, + 8210, + 7441, + 6954, + 9494, + 4119, + 3866, + 4864, + 13316, + 13364, + 11563, + 8751, + 9506, + 10024, + 8242, + 10527, + 6174, + 5927, + 7698, + 3600, + 2325, + 2308, + 11573, + 12837, + 7462, + 7982, + 9748, + 3351, + 4128, + 6663, + 778, + 9533, + 13100, + 9244, + 5162, + 8476, + 5390, + 2072, + 3855, + 2308, + 2865, + 9995, + 1285, + 285, + 4865, + 0, + 11573, + 12837, + 7462, + 0, + 16128, + 0, + 16191, + 16191, + 16128, + 63, + 16191, + 16128, + 63, + 13887, + 13878, + 12077, + 8241, + 10527, + 5917, + 5925, + 7698, + 2865, + 9995, + 1285, + 285, + 16129, + 16191, +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/linc_gen.h b/sky/compacts/linc_gen.h new file mode 100644 index 00000000000..633b6cf1545 --- /dev/null +++ b/sky/compacts/linc_gen.h @@ -0,0 +1,571 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKYLINC_GEN_H +#define SKYLINC_GEN_H + + + + +namespace SkyCompact { + +uint16 window_mouse[] = { + ID_INFO_BUTTON, + 0, +}; + +uint16 logon[] = { + 117*64, + 1, + 1, + 8, + 1, + 1, + 7, + 1, + 1, + 6, + 1, + 1, + 5, + 1, + 1, + 4, + 1, + 1, + 3, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint32 grid96[0]; + +uint16 note_module[] = { + 11, + 176, + 0, + 199, + 226, +}; + +uint16 window_logic[] = { + ID_WINDOW_1, + ID_WINDOW_2, + ID_WINDOW_3, + ID_WINDOW_4, + ID_INFO_BUTTON, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 0, +}; + +uint16 crouch_right_b[] = { + 17*64, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 crouch_down[] = { + 20*64, + 201, + 272, + 0, + 201, + 272, + 1, + 201, + 272, + 2, + 201, + 272, + 3, + 201, + 272, + 3, + 201, + 272, + 3, + 201, + 272, + 3, + 201, + 272, + 2, + 201, + 272, + 1, + 201, + 272, + 0, + 0, +}; + +uint16 auth_module[] = { + 11, + 176, + 0, + 199, + 202, +}; + +Compact window_3 = { + L_SCRIPT, // logic + ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 90, // screen + 0, // place + 0, // getToTable + 195, // xcood + 160+72, // ycood + 2+26*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + INFO_WINDOW_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint32 grid91[0]; + +Compact info_button = { + L_SCRIPT, // logic + ST_LOGIC+ST_MOUSE+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 90, // screen + 0, // place + 0, // getToTable + 334, // xcood + 285, // ycood + 137*64, // frame + 0, // cursorText + BUTTON_MOUSE, // mouseOn + NORMAL_MOUSE, // mouseOff + CLOSE_WINDOW, // mouseClick + 2, // mouseRel_x + 1, // mouseRel_y + 37, // mouseSize_x + 9, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + INFO_BUTTON_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 size_module[] = { + 11, + 176, + 0, + 199, + 190, +}; + +Compact window_2 = { + L_SCRIPT, // logic + ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 90, // screen + 0, // place + 0, // getToTable + 195+76, // xcood + 160, // ycood + 1+26*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + INFO_WINDOW_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 logoff[] = { + 117*64, + 261, + 181, + 0, + 261, + 181, + 1, + 261, + 181, + 2, + 261, + 181, + 1, + 261, + 181, + 3, + 261, + 181, + 4, + 261, + 181, + 5, + 261, + 181, + 6, + 261, + 181, + 7, + 261, + 181, + 8, + 0, +}; + +uint32 grid94[0]; + +uint16 enter_top[] = { + 135*64, + 200, + 215, + 0, + 200, + 215, + 1, + 200, + 215, + 2, + 200, + 215, + 3, + 200, + 215, + 4, + 200, + 215, + 5, + 200, + 215, + 6, + 0, +}; + +uint16 crouch_right[] = { + 17*64, + 260, + 215, + 0, + 260, + 215, + 1, + 260, + 215, + 2, + 260, + 215, + 3, + 260, + 215, + 3, + 260, + 215, + 3, + 260, + 215, + 3, + 260, + 215, + 2, + 260, + 215, + 1, + 260, + 215, + 0, + 0, +}; + +uint32 grid95[0]; + +Compact window_1 = { + L_SCRIPT, // logic + ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 90, // screen + 0, // place + 0, // getToTable + 195, // xcood + 160, // ycood + 26*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + INFO_WINDOW_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint32 grid90[0]; + +uint16 exit_top[] = { + 136*64, + 200, + 215, + 0, + 200, + 215, + 1, + 200, + 215, + 2, + 200, + 215, + 3, + 200, + 215, + 4, + 200, + 215, + 5, + 200, + 215, + 6, + 0, +}; + +uint16 shrug[] = { + 182*64, + 1, + 1, + 48, + 1, + 1, + 49, + 1, + 1, + 49, + 1, + 1, + 49, + 1, + 1, + 49, + 1, + 1, + 48, + 0, +}; + +uint16 head_module[] = { + 11, + 176, + 0, + 199, + 161, +}; + +uint16 crouch_right_a[] = { + 17*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 0, +}; + +uint16 file_module[] = { + 11, + 176, + 0, + 199, + 178, +}; + +uint16 crouch_left[] = { + 16*64, + 320, + 215, + 0, + 320, + 215, + 1, + 320, + 215, + 2, + 320, + 215, + 3, + 320, + 215, + 3, + 320, + 215, + 3, + 320, + 215, + 3, + 320, + 215, + 2, + 320, + 215, + 1, + 320, + 215, + 0, + 0, +}; + +uint32 grid92[0]; + +Compact window_4 = { + L_SCRIPT, // logic + ST_LOGIC+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 90, // screen + 0, // place + 0, // getToTable + 195+76, // xcood + 160+72, // ycood + 3+26*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + INFO_WINDOW_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 rs_foster_s90[] = { + C_SCREEN, + 90, + C_PLACE, + ID_SC90_FLOOR, + C_XCOOD, + 288, + C_YCOOD, + 280, + C_DIR, + DOWN, + C_FRAME, + 117*64, + 65535, +}; + +uint32 grid93[0]; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/lincmenu.h b/sky/compacts/lincmenu.h new file mode 100644 index 00000000000..dd14169d679 --- /dev/null +++ b/sky/compacts/lincmenu.h @@ -0,0 +1,782 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKYLINCMENU_H +#define SKYLINCMENU_H + + + + +namespace SkyCompact { + +Compact playbak_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 29+191*64, // frame + 24602, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact persona_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 23+191*64, // frame + 24583, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact info_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 1+191*64, // frame + 24577, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + INFO_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact decrypt_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 21+191*64, // frame + 24581, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + DECRYPT_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +uint16 linc_menu_mouse[] = { + 18, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 47, + 48, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + ID_INFO_MENU, + ID_READ_MENU, + ID_OPEN_MENU, + ID_CHARON_MENU, + ID_ORDERS_MENU, + ID_ORDERS2_MENU, + ID_JOIN_MENU, + ID_GREEN_MENU, + ID_RED_MENU, + ID_REPORT_MENU, + ID_REPORT2_MENU, + ID_DECOMP_MENU, + ID_DECRYPT_MENU, + ID_PERSONA_MENU, + ID_ADJUST_MENU, + ID_ADJUST2_MENU, + ID_PLAYBAK_MENU, + ID_BLIND_MENU, + ID_OSCILL_MENU, + ID_KILL_MENU, + ID_VIRUS_MENU, + 46, + 0, +}; + +Compact kill_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 33+191*64, // frame + 24689, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact read_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 3+191*64, // frame + 24578, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + DIS_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact orders_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 31+191*64, // frame + 24629, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + DOC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact report_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 31+191*64, // frame + 24629, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + DOC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact virus_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 25+191*64, // frame + 24591, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact adjust_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 31+191*64, // frame + 24629, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + DOC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact charon_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 15+191*64, // frame + 24599, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact orders2_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 19+191*64, // frame + 24629, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact report2_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 19+191*64, // frame + 24629, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact oscill_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 27+191*64, // frame + 24589, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact join_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 7+191*64, // frame + 24593, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + JOIN_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact green_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 11+191*64, // frame + 24580, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +uint16 linc_menu_logic[] = { + 18, + 47, + 48, + ID_INFO_MENU, + ID_READ_MENU, + ID_OPEN_MENU, + ID_CHARON_MENU, + ID_ORDERS_MENU, + ID_ORDERS2_MENU, + ID_JOIN_MENU, + ID_GREEN_MENU, + ID_RED_MENU, + ID_REPORT_MENU, + ID_REPORT2_MENU, + ID_DECOMP_MENU, + ID_DECRYPT_MENU, + ID_PERSONA_MENU, + ID_ADJUST_MENU, + ID_ADJUST2_MENU, + ID_PLAYBAK_MENU, + ID_BLIND_MENU, + ID_OSCILL_MENU, + ID_KILL_MENU, + ID_VIRUS_MENU, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 0, +}; + +Compact adjust2_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 19+191*64, // frame + 24629, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact red_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 13+191*64, // frame + 24580, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact open_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 5+191*64, // frame + 24579, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact decomp_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 17+191*64, // frame + 24582, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + DECOMP_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact blind_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 9+191*64, // frame + 24600, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + LINC_MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + LINC_MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/objects.h b/sky/compacts/objects.h new file mode 100644 index 00000000000..ed6ac30fa54 --- /dev/null +++ b/sky/compacts/objects.h @@ -0,0 +1,1214 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKYOBJECTS_H +#define SKYOBJECTS_H + + + + +namespace SkyCompact { + +Compact blank5 = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + 0, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact tape_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 265*64, // frame + 173, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact right_arrow = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 447-27, // xcood + 112, // ycood + 49*64+1, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + CLICK_RIGHT_ARROW, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 29, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +uint16 move_2[] = { + 20, + 0, +}; + +Compact glass_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 36*64, // frame + 200, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact lightbulb_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 73*64+2, // frame + 66, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact blank3 = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + 0, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact wd40_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 87*64, // frame + 8373, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact plaster_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 0+268*64, // frame + 20506, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact new_cable_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 267*64, // frame + 320, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact blank8 = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + 0, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact joeyb_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64+3, // frame + 6, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +uint16 move_menu[] = { + 46, + 18, +}; + +uint16 *move_list[] = { + move_menu, + move_2, +}; + +Compact blank6 = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + 0, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact shades_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64+9, // frame + 10, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact citycard_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64+11, // frame + 9, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact blank9 = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + 0, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact rope_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 266*64, // frame + 49, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact left_arrow = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 128, // xcood + 112, // ycood + 49*64, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + CLICK_LEFT_ARROW, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 28, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact magazine_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 264*64, // frame + 163, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact gallcard_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 12+268*64, // frame + 68, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact dog_food_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 271*64, // frame + 198, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact blank7 = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + 0, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact blank2 = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + 0, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact blank11 = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + 0, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact anchor_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 263*64, // frame + 191, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact anita_card_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 262*64, // frame + 68, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact tongs_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 4+268*64, // frame + 20639, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact blank4 = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + 0, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact crow_bar_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64+1, // frame + 5, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact secateurs_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 272*64, // frame + 180, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact sarnie_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64+5, // frame + 4+T7, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact spanner_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64+7, // frame + 5+T7, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact blank10 = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + 0, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact skey_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 87*64+2, // frame + 8380, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact blank1 = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 50*64, // frame + 0, // cursorText + TOUCH_ARROW, // mouseOn + UNTOUCH_ARROW, // mouseOff + 0, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact ticket_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 269*64, // frame + 189, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact brick_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 2+268*64, // frame + 20509, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact putty_menu = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 112, // ycood + 73*64, // frame + 137, // cursorText + TOUCH_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + MENU_SELECT, // mouseClick + 65534, // mouseRel_x + 0, // mouseRel_y + 24, // mouseSize_x + 24, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MENU_SCRIPT, // baseSub + 0, // baseSub_off +}; + +Compact menu_bar = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 128, // xcood + 136, // ycood + 0, // frame + 1, // cursorText + START_MENU, // mouseOn + UNTOUCH_MENU, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 1, // mouseSize_y +}; + +}; // namespace SkyCompact + +#endif diff --git a/sky/compacts/z_compac.h b/sky/compacts/z_compac.h new file mode 100644 index 00000000000..4eb46e07a16 --- /dev/null +++ b/sky/compacts/z_compac.h @@ -0,0 +1,5623 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef SKYZ_COMPAC_H +#define SKYZ_COMPAC_H + + +#include "objects.h" +#include "85comp.h" +#include "101comp.h" +#include "102comp.h" + + +namespace SkyCompact { + +uint16 fradman_up[] = { + 2, + 0+90*64, + 0, + 65534, + 2, + 1+90*64, + 0, + 65534, + 2, + 2+90*64, + 0, + 65534, + 2, + 3+90*64, + 0, + 65534, + 2, + 4+90*64, + 0, + 65534, + 2, + 5+90*64, + 0, + 65534, + 2, + 6+90*64, + 0, + 65534, + 2, + 7+90*64, + 0, + 65534, + 2, + 8+90*64, + 0, + 65534, + 2, + 9+90*64, + 0, + 65534, + 0, +}; + +uint16 high_floor_table[] = { + 67, + STAIRS_FROM_HIGH, + 70, + STAIRS_FROM_HIGH, + 85, + GET_TO_BAR, + 90, + GET_TO_FEXIT, + 17, + RETURN_OK, + ID_NOTICE, + GET_TO_NOTICE, + 0, +}; + +Compact floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 0, // screen + 0, // place + high_floor_table, // getToTable + 152, // xcood + 208, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 248, // mouseSize_x + 23, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 wjoey_d_to_u[] = { + 23+136*64, + 12+136*64, + 22+136*64, + 0, +}; + +uint16 wjoey_st_left[] = { + 136*64, + 1, + 1, + 4, + 0, +}; + +uint16 ljoey_r_to_d[] = { + 23+173*64, + 0, +}; + +uint16 s2_talk_table[] = { + 21, + RETURN_OK, + 22, + RETURN_OK, + 116, + GET_TO_EL2, + ID_R_EXIT_S2, + GET_TO_ER2, + 115, + STD_ADJOIN_FLOOR, + ID_LIGHT1, + GET_TO_LIGHT1, + ID_HOLE, + GET_TO_HOLE, + ID_DEAD_LOADER, + GET_TO_TRANSPORTER, + ID_TOP_LIFT, + GET_TO_LIFTER, + ID_ROBOT_SHELL, + GET_TO_SHELL, + ID_PANEL, + GET_TO_LEDS, + 65535, +}; + +Compact r_talk_s2 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + s2_talk_table, // getToTable +}; + +uint16 fradman_u_to_d[] = { + 43+90*64, + 42+90*64, + 41+90*64, + 0, +}; + +uint16 door_table[] = { + 17, + STD_ADJOIN_FLOOR, + 67, + STAIRS_FROM_HIGH, + 70, + STAIRS_FROM_HIGH, + 85, + GET_TO_BAR, + 90, + GET_TO_FEXIT, + ID_NOTICE, + GET_TO_NOTICE, + 65535, +}; + +uint16 mfoster_st_right[] = { + 13*64, + 1, + 1, + 46, + 0, +}; + +uint16 bfoster_st_right[] = { + 182*64, + 1, + 0, + 46, + 0, +}; + +uint16 seq3_pal[] = { + 0, + 1075, + 2932, + 3701, + 801, + 1586, + 2114, + 529, + 2916, + 785, + 1620, + 3154, + 818, + 529, + 3683, + 529, + 802, + 1587, + 802, + 1330, + 2643, + 2934, + 546, + 546, + 1092, + 3410, + 273, + 273, + 3410, + 2882, + 1057, + 3718, +}; + +uint16 bfoster_u_to_r[] = { + 45+182*64, + 0, +}; + +uint16 foster_l_to_t[] = { + 41+12*64, + 40+12*64, + 0, +}; + +uint16 s9_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 56+DISK_2, + 150+DISK_2, + 102+DISK_2, + 103+DISK_2, + 104+DISK_2, + 105+DISK_2, + 100+DISK_2, + 108+DISK_2, + 109+DISK_2, + 0, +}; + +uint16 wjoey_st_up[] = { + 136*64, + 1, + 1, + 0, + 0, +}; + +uint16 bfoster_r_to_u[] = { + 45+182*64, + 0, +}; + +uint16 monitor_left[] = { + 4, + 16+74*64, + 65532, + 0, + 4, + 17+74*64, + 65532, + 0, + 4, + 18+74*64, + 65532, + 0, + 4, + 19+74*64, + 65532, + 0, + 4, + 20+74*64, + 65532, + 0, + 4, + 21+74*64, + 65532, + 0, + 4, + 22+74*64, + 65532, + 0, + 4, + 23+74*64, + 65532, + 0, + 0, +}; + +uint16 rs_lamb_to_three[] = { + C_STATUS, + ST_LOGIC, + C_LOGIC, + L_SCRIPT, + 65535, +}; + +uint16 std_menu_logic[] = { + 18, + 47, + 48, + 63, + 64, + 65, + 66, + IDO_CITYCARD, + IDO_SHADES, + IDO_PUTTY, + IDO_LIGHTBULB, + IDO_WD40, + IDO_SKEY, + IDO_ANITA_CARD, + IDO_ANCHOR, + IDO_MAGAZINE, + IDO_TAPE, + IDO_GLASS, + IDO_ROPE, + IDO_NEW_CABLE, + IDO_TICKET, + IDO_SECATEURS, + IDO_PLASTER, + IDO_BRICK, + IDO_TONGS, + IDO_DOG_FOOD, + IDO_GALLCARD, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 33, + 32, + 31, + 30, + 29, + 28, + 27, + 26, + 25, + 24, + 23, + 0, +}; + +uint16 but_7[] = { + 147*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 0, +}; + +uint16 ljoey_up[] = { + 1, + 0+173*64, + 0, + 65535, + 1, + 1+173*64, + 0, + 65535, + 0, +}; + +uint16 wjoey_r_to_d[] = { + 23+136*64, + 0, +}; + +Compact small_door = { + L_SCRIPT, // logic + ST_MOUSE+ST_BACKGROUND+ST_RECREATE+ST_LOGIC, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 163, // xcood + 248, // ycood + 104*64, // frame + 4148, // cursorText + SMALL_DOOR_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 9, // mouseSize_x + 36, // mouseSize_y + SMALL_DOOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + SMALL_DOOR_LOGIC, // baseSub + 0, // baseSub_off +}; + +uint16 shrug_seq[] = { + 12*64, + 1, + 1, + 48, + 1, + 1, + 48, + 1, + 1, + 49, + 1, + 1, + 49, + 1, + 1, + 49, + 1, + 1, + 49, + 0, +}; + +uint16 foster_up[] = { + 2, + 0+12*64, + 0, + 65534, + 2, + 1+12*64, + 0, + 65534, + 2, + 2+12*64, + 0, + 65534, + 2, + 3+12*64, + 0, + 65534, + 2, + 4+12*64, + 0, + 65534, + 2, + 5+12*64, + 0, + 65534, + 2, + 6+12*64, + 0, + 65534, + 2, + 7+12*64, + 0, + 65534, + 2, + 8+12*64, + 0, + 65534, + 2, + 9+12*64, + 0, + 65534, + 0, +}; + +uint16 mfoster_d_to_l[] = { + 41+13*64, + 0, +}; + +uint16 ljoey_down[] = { + 1, + 2+173*64, + 0, + 1, + 1, + 3+173*64, + 0, + 1, + 0, +}; + +uint16 rs_blanks_linc[] = { + C_FRAME, + 191*64, + C_BASE_SUB, + LINC_MENU_SCRIPT, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 mini_shrug_seq[] = { + 13*64, + 1, + 1, + 48, + 1, + 1, + 48, + 1, + 1, + 49, + 1, + 1, + 49, + 1, + 1, + 49, + 1, + 1, + 49, + 0, +}; + +uint16 talk_table[] = { + 67, + STD_ADJOIN_FLOOR, + 69, + STAIRS_FROM_LOW, + 44, + RETURN_OK, + 45, + RETURN_OK, + 105, + GET_TO_SMALL_DOOR, + 111, + GET_TO_ER0, + 17, + STAIRS_FROM_LOW, +}; + +uint16 fradman_l_to_d[] = { + 41+90*64, + 0, +}; + +uint16 low_floor_table[] = { + 105, + GET_TO_SMALL_DOOR, + 111, + GET_TO_ER0, + 69, + STAIRS_FROM_LOW, + 17, + STAIRS_FROM_LOW, + ID_LOW_FLOOR, + RETURN_OK, + 44, + GET_TO_TALK1, + 45, + GET_TO_TALK2, + ID_UPLOAD, + GET_TO_UPLOAD, + ID_PRESS, + GET_TO_PRESS, + 0, +}; + +Compact low_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 0, // screen + 0, // place + low_floor_table, // getToTable + 163, // xcood + 272, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 237, // mouseSize_x + 40, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 bfoster_d_to_u[] = { + 47+182*64, + 46+182*64, + 45+182*64, + 0, +}; + +uint16 but_0[] = { + 140*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 0, +}; + +uint16 but_4[] = { + 144*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 0, +}; + +uint8 new_grid[120]; + +uint16 fradman_right[] = { + 4, + 30+90*64, + 4, + 0, + 4, + 31+90*64, + 4, + 0, + 4, + 32+90*64, + 4, + 0, + 4, + 33+90*64, + 4, + 0, + 4, + 34+90*64, + 4, + 0, + 4, + 35+90*64, + 4, + 0, + 4, + 36+90*64, + 4, + 0, + 4, + 37+90*64, + 4, + 0, + 4, + 38+90*64, + 4, + 0, + 4, + 39+90*64, + 4, + 0, + 0, +}; + +uint16 bfoster_st_left[] = { + 182*64, + 1, + 0, + 42, + 0, +}; + +uint16 sjoey_up[] = { + 1, + 0+86*64, + 0, + 65535, + 1, + 1+86*64, + 0, + 65535, + 0, +}; + +uint16 s10_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 43+DISK_1, + 44+DISK_1, + 0, +}; + +uint16 fradman_u_to_l[] = { + 43+90*64, + 0, +}; + +uint16 ljoey_r_to_u[] = { + 22+173*64, + 0, +}; + +uint16 foster_u_to_l[] = { + 43+12*64, + 0, +}; + +uint8 lamb_auto[64]; + +uint16 lamb_up[] = { + 2, + 0+131*64, + 0, + 65534, + 2, + 1+131*64, + 0, + 65534, + 2, + 2+131*64, + 0, + 65534, + 2, + 3+131*64, + 0, + 65534, + 2, + 4+131*64, + 0, + 65534, + 2, + 5+131*64, + 0, + 65534, + 2, + 6+131*64, + 0, + 65534, + 2, + 7+131*64, + 0, + 65534, + 2, + 8+131*64, + 0, + 65534, + 2, + 9+131*64, + 0, + 65534, + 0, +}; + +uint16 lamb_down[] = { + 2, + 10+131*64, + 0, + 2, + 2, + 11+131*64, + 0, + 2, + 2, + 12+131*64, + 0, + 2, + 2, + 13+131*64, + 0, + 2, + 2, + 14+131*64, + 0, + 2, + 2, + 15+131*64, + 0, + 2, + 2, + 16+131*64, + 0, + 2, + 2, + 17+131*64, + 0, + 2, + 2, + 18+131*64, + 0, + 2, + 2, + 19+131*64, + 0, + 2, + 0, +}; + +uint16 lamb_left[] = { + 4, + 20+131*64, + 65532, + 0, + 4, + 21+131*64, + 65532, + 0, + 4, + 22+131*64, + 65532, + 0, + 4, + 23+131*64, + 65532, + 0, + 4, + 24+131*64, + 65532, + 0, + 4, + 25+131*64, + 65532, + 0, + 4, + 26+131*64, + 65532, + 0, + 4, + 27+131*64, + 65532, + 0, + 4, + 28+131*64, + 65532, + 0, + 4, + 29+131*64, + 65532, + 0, + 0, +}; + +uint16 lamb_right[] = { + 4, + 30+131*64, + 4, + 0, + 4, + 31+131*64, + 4, + 0, + 4, + 32+131*64, + 4, + 0, + 4, + 33+131*64, + 4, + 0, + 4, + 34+131*64, + 4, + 0, + 4, + 35+131*64, + 4, + 0, + 4, + 36+131*64, + 4, + 0, + 4, + 37+131*64, + 4, + 0, + 4, + 38+131*64, + 4, + 0, + 4, + 39+131*64, + 4, + 0, + 0, +}; + +uint16 lamb_st_up[] = { + 131*64, + 1, + 1, + 44, + 0, +}; + +uint16 lamb_st_down[] = { + 131*64, + 1, + 1, + 40, + 0, +}; + +uint16 lamb_st_left[] = { + 131*64, + 1, + 1, + 42, + 0, +}; + +uint16 lamb_st_right[] = { + 131*64, + 1, + 1, + 46, + 0, +}; + +uint16 lamb_st_talk[] = { + 132*64, + 1, + 1, + 0, + 0, +}; + +uint16 lamb_u_to_d[] = { + 43+131*64, + 42+131*64, + 41+131*64, + 0, +}; + +uint16 lamb_u_to_l[] = { + 43+131*64, + 0, +}; + +uint16 lamb_u_to_r[] = { + 45+131*64, + 0, +}; + +uint16 lamb_d_to_u[] = { + 47+131*64, + 46+131*64, + 45+131*64, + 0, +}; + +uint16 lamb_d_to_l[] = { + 41+131*64, + 0, +}; + +uint16 lamb_d_to_r[] = { + 47+131*64, + 0, +}; + +uint16 lamb_l_to_u[] = { + 43+131*64, + 0, +}; + +uint16 lamb_l_to_d[] = { + 41+131*64, + 0, +}; + +uint16 lamb_l_to_r[] = { + 41+131*64, + 40+131*64, + 47+131*64, + 0, +}; + +uint16 lamb_r_to_u[] = { + 45+131*64, + 0, +}; + +uint16 lamb_r_to_d[] = { + 47+131*64, + 0, +}; + +uint16 lamb_r_to_l[] = { + 45+131*64, + 44+131*64, + 43+131*64, + 0, +}; + +uint16 *lamb_turnTable[5][5] = { + { // turnTableup + 0, + lamb_u_to_d, + lamb_u_to_l, + lamb_u_to_r, + 0 + }, + { // turnTableDown + lamb_d_to_u, + 0, + lamb_d_to_l, + lamb_d_to_r, + 0 + }, + { // turnTableLeft + lamb_l_to_u, + lamb_l_to_d, + 0, + lamb_l_to_r, + 0 + }, + { // turnTableRight + lamb_r_to_u, + lamb_r_to_d, + lamb_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact lamb_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + STD_PLAYER_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_LAMB, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + lamb_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + lamb_up, // animUp + lamb_down, // animDown + lamb_left, // animLeft + lamb_right, // animRight + lamb_st_up, // standUp + lamb_st_down, // standDown + lamb_st_left, // standLeft + lamb_st_right, // standRight + lamb_st_talk, // standTalk +}; + +Compact lamb = { + L_WAIT_SYNC, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION+ST_MOUSE, // status + 0, // sync + 12, // screen + ID_S12_FLOOR, // place + 0, // getToTable + 464, // xcood + 280, // ycood + 131*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65520, // mouseRel_x + 65488, // mouseRel_y + 32, // mouseSize_x + 48, // mouseSize_y + MEGA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + LAMB_FACTORY_START, // baseSub + 0, // baseSub_off + &lamb_ext, + &lamb_turnTable, +}; + +uint16 bfoster_left[] = { + 4, + 20+182*64, + 65532, + 0, + 4, + 21+182*64, + 65532, + 0, + 4, + 22+182*64, + 65532, + 0, + 4, + 23+182*64, + 65532, + 0, + 4, + 24+182*64, + 65532, + 0, + 4, + 25+182*64, + 65532, + 0, + 4, + 26+182*64, + 65532, + 0, + 4, + 27+182*64, + 65532, + 0, + 4, + 28+182*64, + 65532, + 0, + 4, + 29+182*64, + 65532, + 0, + 0, +}; + +uint16 fast_intro[] = { + 183+DISK_15, + 184+DISK_15, + 185+DISK_15, + 186+DISK_15, + 0, +}; + +uint16 foster_st_right[] = { + 12*64, + 1, + 0, + 46, + 0, +}; + +uint16 monitor_st_up[] = { + 74*64, + 1, + 1, + 36, + 0, +}; + +uint16 sjoey_d_to_r[] = { + 12+86*64, + 0, +}; + +uint16 foster_st_down[] = { + 12*64, + 1, + 0, + 40, + 0, +}; + +uint16 mfoster_u_to_r[] = { + 45+13*64, + 0, +}; + +uint16 sml_up_mid_get_seq[] = { + 22*64, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 mfoster_u_to_d[] = { + 43+13*64, + 42+13*64, + 41+13*64, + 0, +}; + +uint16 wjoey_u_to_d[] = { + 21+136*64, + 4+136*64, + 20+136*64, + 0, +}; + +uint16 chip_intro[] = { + 187+DISK_15, + 188+DISK_15, + 195+DISK_15, + 196+DISK_15, + 197+DISK_15, + 0, +}; + +uint16 fast_list_0[] = { + 64, + 65, + 66, + 12+0X000, + 51, + 52, + 53, + 13+0X8000, + 0, +}; + +uint16 rs_right_arrow[] = { + C_FRAME, + 49*64+1, + C_BASE_SUB, + MENU_SCRIPT, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 ljoey_st_left[] = { + 173*64, + 1, + 1, + 4, + 0, +}; + +uint16 s28_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 0, +}; + +uint16 monitor_right[] = { + 4, + 24+74*64, + 4, + 0, + 4, + 25+74*64, + 4, + 0, + 4, + 26+74*64, + 4, + 0, + 4, + 27+74*64, + 4, + 0, + 4, + 28+74*64, + 4, + 0, + 4, + 29+74*64, + 4, + 0, + 4, + 30+74*64, + 4, + 0, + 4, + 31+74*64, + 4, + 0, + 0, +}; + +uint16 wjoey_st_down[] = { + 136*64, + 1, + 1, + 2, + 0, +}; + +uint16 r2_floor_table[] = { + 115, + RETURN_OK, + ID_L_EXIT_S2, + GET_TO_EL2, + ID_R_EXIT_S2, + GET_TO_ER2, + ID_TOP_LIFT, + GET_TO_LIFTER, + 21, + GET_TO_TALK21, + 22, + GET_TO_TALK22, + ID_LIGHT1, + GET_TO_LIGHT1, + ID_PANEL, + GET_TO_LEDS, + ID_HOLE, + GET_TO_HOLE, + ID_DEAD_LOADER, + GET_TO_TRANSPORTER, + ID_ROBOT_SHELL, + GET_TO_SHELL, + ID_JOEY_PARK, + GET_TO_JP2, + ID_PANEL, + GT_PANEL2, + ID_JUNK1, + GT_JUNK1, + ID_JUNK2, + GT_JUNK2, + 0, + S2_WALK_ON, + 1, + ER0_WALK_ON, + 65535, +}; + +Compact s2_floor = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 2, // screen + 0, // place + r2_floor_table, // getToTable + 152, // xcood + 224, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 240, // mouseSize_x + 71, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 fradman_down[] = { + 2, + 10+90*64, + 0, + 2, + 2, + 11+90*64, + 0, + 2, + 2, + 12+90*64, + 0, + 2, + 2, + 13+90*64, + 0, + 2, + 2, + 14+90*64, + 0, + 2, + 2, + 15+90*64, + 0, + 2, + 2, + 16+90*64, + 0, + 2, + 2, + 17+90*64, + 0, + 2, + 2, + 18+90*64, + 0, + 2, + 2, + 19+90*64, + 0, + 2, + 0, +}; + +uint16 foster_u_to_d[] = { + 43+12*64, + 42+12*64, + 41+12*64, + 0, +}; + +uint32 c68[0]; + +uint16 ljoey_d_to_r[] = { + 23+173*64, + 0, +}; + +uint16 mfoster_r_to_u[] = { + 45+13*64, + 0, +}; + +uint16 fast_list_sc3[] = { + 12, + 51, + 52, + 53, + 54, + 211+DISK_1, + 67+DISK_1, + 68+DISK_1, + 69+DISK_1, + 222+DISK_1, + 223+DISK_1, + 213+DISK_1, + 0, +}; + +uint16 rs_left_arrow[] = { + C_FRAME, + 49*64, + C_BASE_SUB, + MENU_SCRIPT, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 rs_l_arr_linc[] = { + C_FRAME, + 190*64, + C_BASE_SUB, + LINC_MENU_SCRIPT, + C_BASE_SUB+2, + 0, + 65535, +}; + +Compact text_8 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 281*64, // frame + 0, // cursorText + TEXT_ON, // mouseOn + TEXT_OFF, // mouseOff + TEXT_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 12, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +uint16 wjoey_l_to_d[] = { + 20+136*64, + 0, +}; + +uint16 stair_table[] = { + 67, + STD_ADJOIN_FLOOR, + 17, + CLIMB_STAIRS, + 44, + GET_TO_TALK1, + 45, + GET_TO_TALK2, + 69, + RETURN_OK, + 105, + GET_TO_SMALL_DOOR, + 111, + GET_TO_ER0, + ID_UPLOAD, + GET_TO_UPLOAD, + ID_PRESS, + GET_TO_PRESS, + 0, +}; + +Compact stairs = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 0, // screen + 0, // place + stair_table, // getToTable + 194, // xcood + 306, // ycood + 0, // frame + 4147, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 12, // mouseSize_x + 14, // mouseSize_y + STAIR_ACTION, // actionScript +}; + +uint16 text_mouse[] = { + 18, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 47, + 48, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 63, + 64, + 65, + 66, + IDO_CITYCARD, + IDO_SHADES, + IDO_PUTTY, + IDO_LIGHTBULB, + IDO_WD40, + IDO_SKEY, + IDO_ANITA_CARD, + IDO_ANCHOR, + IDO_MAGAZINE, + IDO_TAPE, + IDO_GLASS, + IDO_ROPE, + IDO_NEW_CABLE, + IDO_TICKET, + IDO_SECATEURS, + IDO_PLASTER, + IDO_BRICK, + IDO_TONGS, + IDO_DOG_FOOD, + IDO_GALLCARD, + 46, + 0, +}; + +uint16 monitor_d_to_r[] = { + 47-8+74*64, + 0, +}; + +uint16 ljoey_l_to_d[] = { + 20+173*64, + 0, +}; + +uint16 sjoey_st_right[] = { + 86*64, + 1, + 1, + 8, + 0, +}; + +uint16 sjoey_st_down[] = { + 86*64, + 1, + 1, + 2, + 0, +}; + +uint16 sjoey_st_left[] = { + 86*64, + 1, + 1, + 4, + 0, +}; + +uint16 upstair_table[] = { + 67, + DECEND, + 17, + STD_ADJOIN_FLOOR, + 70, + RETURN_OK, + 85, + GET_TO_BAR, + 90, + GET_TO_FEXIT, + ID_NOTICE, + GET_TO_NOTICE, + 0, +}; + +uint16 sjoey_right[] = { + 1, + 8+86*64, + 1, + 0, + 1, + 9+86*64, + 1, + 0, + 1, + 10+86*64, + 1, + 0, + 1, + 11+86*64, + 1, + 0, + 0, +}; + +uint16 ljoey_u_to_r[] = { + 22+173*64, + 0, +}; + +uint16 mfoster_st_up[] = { + 13*64, + 1, + 1, + 44, + 0, +}; + +uint16 mfoster_st_down[] = { + 13*64, + 1, + 1, + 40, + 0, +}; + +uint16 foster_st_talk[] = { + 135*64, + 1, + 0, + 0, + 0, +}; + +uint16 mfoster_l_to_r[] = { + 41+13*64, + 40+13*64, + 47+13*64, + 0, +}; + +uint16 bar_table[] = { + 17, + STD_ADJOIN_FLOOR, + 67, + STAIRS_FROM_HIGH, + 70, + STAIRS_FROM_HIGH, + 90, + GET_TO_FEXIT, + 85, + RETURN_OK, + ID_NOTICE, + GET_TO_NOTICE, +}; + +uint16 foster_d_to_l[] = { + 41+12*64, + 0, +}; + +Compact text_1 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 136, // xcood + 327-16, // ycood + 274*64, // frame + 0, // cursorText + TEXT_ON, // mouseOn + TEXT_OFF, // mouseOff + TEXT_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 12, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +uint16 fradman_left[] = { + 4, + 20+90*64, + 65532, + 0, + 4, + 21+90*64, + 65532, + 0, + 4, + 22+90*64, + 65532, + 0, + 4, + 23+90*64, + 65532, + 0, + 4, + 24+90*64, + 65532, + 0, + 4, + 25+90*64, + 65532, + 0, + 4, + 26+90*64, + 65532, + 0, + 4, + 27+90*64, + 65532, + 0, + 4, + 28+90*64, + 65532, + 0, + 4, + 29+90*64, + 65532, + 0, + 0, +}; + +uint16 s29_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 170+DISK_8, + 171+DISK_8, + 0, +}; + +uint16 r1door_table[] = { + 95, + STD_ADJOIN_FLOOR, + 97, + GET_TO_R1_DOOR, + ID_NOTICE2, + GET_TO_NOTICE2, + ID_SS_SIGN, + GET_TO_SS_SIGN, + 65535, +}; + +Compact r1_door = { + L_SCRIPT, // logic + ST_MOUSE+ST_BACKGROUND+ST_RECREATE+ST_LOGIC, // status + 0, // sync + 1, // screen + 0, // place + r1door_table, // getToTable + 186, // xcood + 177, // ycood + 96*64, // frame + 4148, // cursorText + OUT_EXIT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 16, // mouseSize_x + 64, // mouseSize_y + S1_DOOR_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + R1EXIT_DOOR, // baseSub + 0, // baseSub_off +}; + +Compact upstairs = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 0, // screen + 0, // place + upstair_table, // getToTable + 164, // xcood + 207, // ycood + 0, // frame + 4147, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 200-164, // mouseSize_x + 211-207, // mouseSize_y + UPSTAIR_ACTION, // actionScript +}; + +uint16 ljoey_u_to_d[] = { + 21+173*64, + 4+173*64, + 20+173*64, + 0, +}; + +uint16 monitor_u_to_l[] = { + 43-8+74*64, + 0, +}; + +uint16 fradman_st_right[] = { + 90*64, + 1, + 0, + 46, + 0, +}; + +uint16 sml_door_table[] = { + 17, + STAIRS_FROM_LOW, + 105, + RETURN_OK, + 111, + GET_TO_ER0, + 69, + STAIRS_FROM_LOW, + 67, + STD_ADJOIN_FLOOR, + 44, + GET_TO_TALK1, + 45, + GET_TO_TALK2, +}; + +uint32 l_talk_s2[0]; + +uint16 bfoster_r_to_l[] = { + 45+182*64, + 44+182*64, + 43+182*64, + 0, +}; + +uint16 mfoster_left[] = { + 2, + 20+13*64, + 65534, + 0, + 2, + 21+13*64, + 65534, + 0, + 2, + 22+13*64, + 65534, + 0, + 2, + 23+13*64, + 65534, + 0, + 2, + 24+13*64, + 65534, + 0, + 2, + 25+13*64, + 65534, + 0, + 2, + 26+13*64, + 65534, + 0, + 2, + 27+13*64, + 65534, + 0, + 2, + 28+13*64, + 65534, + 0, + 2, + 29+13*64, + 65534, + 0, + 0, +}; + +uint16 wjoey_up[] = { + 1, + 0+136*64, + 0, + 65535, + 1, + 1+136*64, + 0, + 65535, + 0, +}; + +uint16 foster_r_to_u[] = { + 45+12*64, + 0, +}; + +uint16 mfoster_d_to_u[] = { + 47+13*64, + 46+13*64, + 45+13*64, + 0, +}; + +uint16 but_8[] = { + 148*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 0, +}; + +uint16 but_5[] = { + 145*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 0, +}; + +uint16 monitor_l_to_u[] = { + 43-8+74*64, + 0, +}; + +uint16 mfoster_l_to_u[] = { + 43+13*64, + 0, +}; + +uint16 bfoster_d_to_r[] = { + 47+182*64, + 0, +}; + +uint16 wjoey_down[] = { + 1, + 2+136*64, + 0, + 1, + 1, + 3+136*64, + 0, + 1, + 0, +}; + +Compact text_10 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 283*64, // frame + 0, // cursorText + TEXT_ON, // mouseOn + TEXT_OFF, // mouseOff + TEXT_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 12, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +uint16 monitor_u_to_d[] = { + 43-8+74*64, + 42-8+74*64, + 41-8+74*64, + 0, +}; + +Compact text_5 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 278*64, // frame + 0, // cursorText + TEXT_ON, // mouseOn + TEXT_OFF, // mouseOff + TEXT_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 12, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +uint16 forklift1_cdt[] = { + 93*64, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 1, + 289, + 291, + 2, + 289, + 291, + 3, + 289, + 291, + 4, + 289, + 291, + 5, + 289, + 291, + 6, + 289, + 291, + 7, + 289, + 291, + 8, + 289, + 291, + 9, + 289, + 291, + 10, + 289, + 291, + 11, + 289, + 291, + 12, + 289, + 291, + 13, + 289, + 291, + 14, + 289, + 291, + 15, + 289, + 291, + 16, + 289, + 291, + 17, + 289, + 291, + 18, + 289, + 291, + 19, + 289, + 291, + 20, + 289, + 291, + 21, + 289, + 291, + 22, + 289, + 291, + 23, + 289, + 291, + 24, + 289, + 291, + 25, + 289, + 291, + 26, + 289, + 291, + 27, + 289, + 291, + 28, + 289, + 291, + 29, + 289, + 291, + 30, + 289, + 291, + 31, + 289, + 291, + 32, + 289, + 291, + 33, + 289, + 291, + 34, + 289, + 291, + 35, + 289, + 291, + 36, + 289, + 291, + 37, + 289, + 290, + 38, + 289, + 289, + 39, + 289, + 288, + 37, + 289, + 287, + 38, + 289, + 286, + 39, + 289, + 285, + 37, + 289, + 284, + 38, + 289, + 283, + 39, + 289, + 282, + 37, + 289, + 281, + 38, + 289, + 280, + 39, + 289, + 279, + 37, + 291, + 291, + 40, + 291, + 291, + 41, + 291, + 291, + 42, + 291, + 291, + 43, + 291, + 291, + 44, + 291, + 291, + 45, + 291, + 291, + 46, + 291, + 291, + 47, + 291, + 291, + 48, + 291, + 291, + 49, + 291, + 291, + 50, + 291, + 291, + 51, + 291, + 291, + 52, + 291, + 291, + 53, + 291, + 291, + 54, + 291, + 291, + 55, + 291, + 291, + 56, + 291, + 291, + 57, + 292, + 291, + 58, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 292, + 291, + 0, + 0, +}; + +uint16 bfoster_up[] = { + 2, + 0+182*64, + 0, + 65534, + 2, + 1+182*64, + 0, + 65534, + 2, + 2+182*64, + 0, + 65534, + 2, + 3+182*64, + 0, + 65534, + 2, + 4+182*64, + 0, + 65534, + 2, + 5+182*64, + 0, + 65534, + 2, + 6+182*64, + 0, + 65534, + 2, + 7+182*64, + 0, + 65534, + 2, + 8+182*64, + 0, + 65534, + 2, + 9+182*64, + 0, + 65534, + 0, +}; + +uint16 s11_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 16+DISK_1, + 0, +}; + +uint16 fradman_d_to_u[] = { + 47+90*64, + 46+90*64, + 45+90*64, + 0, +}; + +uint16 monitor_r_to_u[] = { + 45-8+74*64, + 0, +}; + +uint16 bfoster_down[] = { + 2, + 10+182*64, + 0, + 2, + 2, + 11+182*64, + 0, + 2, + 2, + 12+182*64, + 0, + 2, + 2, + 13+182*64, + 0, + 2, + 2, + 14+182*64, + 0, + 2, + 2, + 15+182*64, + 0, + 2, + 2, + 16+182*64, + 0, + 2, + 2, + 17+182*64, + 0, + 2, + 2, + 18+182*64, + 0, + 2, + 2, + 19+182*64, + 0, + 2, + 0, +}; + +uint16 ledge_table[] = { + 95, + RETURN_OK, + 97, + GET_TO_R1_DOOR, + ID_NOTICE2, + GET_TO_NOTICE2, + ID_SS_SIGN, + GET_TO_SS_SIGN, + 65535, +}; + +uint16 ljoey_d_to_u[] = { + 23+173*64, + 12+173*64, + 22+173*64, + 0, +}; + +uint16 foster_left[] = { + 4, + 20+12*64, + 65532, + 0, + 4, + 21+12*64, + 65532, + 0, + 4, + 22+12*64, + 65532, + 0, + 4, + 23+12*64, + 65532, + 0, + 4, + 24+12*64, + 65532, + 0, + 4, + 25+12*64, + 65532, + 0, + 4, + 26+12*64, + 65532, + 0, + 4, + 27+12*64, + 65532, + 0, + 4, + 28+12*64, + 65532, + 0, + 4, + 29+12*64, + 65532, + 0, + 0, +}; + +uint16 sjoey_st_up[] = { + 86*64, + 1, + 1, + 0, + 0, +}; + +uint16 fradman_l_to_r[] = { + 41+90*64, + 40+90*64, + 47+90*64, + 0, +}; + +Compact outside_ledge = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 1, // screen + 0, // place + ledge_table, // getToTable + 192, // xcood + 224+8, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 64, // mouseSize_x + 33-8, // mouseSize_y + FLOOR_ACTION, // actionScript +}; + +uint16 fradman_st_up[] = { + 90*64, + 1, + 0, + 44, + 0, +}; + +uint16 foster_l_to_u[] = { + 43+12*64, + 0, +}; + +uint16 foster_u_to_t[] = { + 45+12*64, + 46+12*64, + 0, +}; + +uint16 ljoey_d_to_l[] = { + 20+173*64, + 0, +}; + +uint8 joey_auto[64]; + +uint16 ljoey_left[] = { + 2, + 4+173*64, + 65534, + 0, + 2, + 5+173*64, + 65534, + 0, + 2, + 6+173*64, + 65534, + 0, + 2, + 7+173*64, + 65534, + 0, + 2, + 8+173*64, + 65534, + 0, + 2, + 9+173*64, + 65534, + 0, + 2, + 10+173*64, + 65534, + 0, + 2, + 11+173*64, + 65534, + 0, + 0, +}; + +uint16 ljoey_right[] = { + 2, + 12+173*64, + 2, + 0, + 2, + 13+173*64, + 2, + 0, + 2, + 14+173*64, + 2, + 0, + 2, + 15+173*64, + 2, + 0, + 2, + 16+173*64, + 2, + 0, + 2, + 17+173*64, + 2, + 0, + 2, + 18+173*64, + 2, + 0, + 2, + 19+173*64, + 2, + 0, + 0, +}; + +uint16 ljoey_st_up[] = { + 173*64, + 1, + 1, + 0, + 0, +}; + +uint16 ljoey_st_down[] = { + 173*64, + 1, + 1, + 2, + 0, +}; + +uint16 ljoey_st_right[] = { + 173*64, + 1, + 1, + 12, + 0, +}; + +uint16 ljoey_u_to_l[] = { + 21+173*64, + 0, +}; + +uint16 ljoey_l_to_u[] = { + 21+173*64, + 0, +}; + +uint16 ljoey_l_to_r[] = { + 20+173*64, + 2+173*64, + 23+173*64, + 0, +}; + +uint16 ljoey_r_to_l[] = { + 22+173*64, + 0+173*64, + 21+173*64, + 0, +}; + +uint16 wjoey_left[] = { + 2, + 4+136*64, + 65534, + 0, + 2, + 5+136*64, + 65534, + 0, + 2, + 6+136*64, + 65534, + 0, + 2, + 7+136*64, + 65534, + 0, + 2, + 8+136*64, + 65534, + 0, + 2, + 9+136*64, + 65534, + 0, + 2, + 10+136*64, + 65534, + 0, + 2, + 11+136*64, + 65534, + 0, + 0, +}; + +uint16 wjoey_right[] = { + 2, + 12+136*64, + 2, + 0, + 2, + 13+136*64, + 2, + 0, + 2, + 14+136*64, + 2, + 0, + 2, + 15+136*64, + 2, + 0, + 2, + 16+136*64, + 2, + 0, + 2, + 17+136*64, + 2, + 0, + 2, + 18+136*64, + 2, + 0, + 2, + 19+136*64, + 2, + 0, + 0, +}; + +uint16 wjoey_st_right[] = { + 136*64, + 1, + 1, + 12, + 0, +}; + +uint16 wjoey_u_to_l[] = { + 21+136*64, + 0, +}; + +uint16 wjoey_u_to_r[] = { + 22+136*64, + 0, +}; + +uint16 wjoey_d_to_l[] = { + 20+136*64, + 0, +}; + +uint16 wjoey_d_to_r[] = { + 23+136*64, + 0, +}; + +uint16 wjoey_l_to_u[] = { + 21+136*64, + 0, +}; + +uint16 wjoey_l_to_r[] = { + 20+136*64, + 2+136*64, + 23+136*64, + 0, +}; + +uint16 wjoey_r_to_u[] = { + 22+136*64, + 0, +}; + +uint16 wjoey_r_to_l[] = { + 22+136*64, + 0+136*64, + 21+136*64, + 0, +}; + +uint16 sjoey_down[] = { + 1, + 2+86*64, + 0, + 1, + 1, + 3+86*64, + 0, + 1, + 0, +}; + +uint16 sjoey_left[] = { + 1, + 4+86*64, + 65535, + 0, + 1, + 5+86*64, + 65535, + 0, + 1, + 6+86*64, + 65535, + 0, + 1, + 7+86*64, + 65535, + 0, + 0, +}; + +uint16 sjoey_u_to_d[] = { + 14+86*64, + 4+86*64, + 13+86*64, + 0, +}; + +uint16 sjoey_u_to_l[] = { + 14+86*64, + 0, +}; + +uint16 sjoey_u_to_r[] = { + 15+86*64, + 0, +}; + +uint16 sjoey_d_to_u[] = { + 12+86*64, + 8+86*64, + 15+86*64, + 0, +}; + +uint16 sjoey_d_to_l[] = { + 13+86*64, + 0, +}; + +uint16 sjoey_l_to_u[] = { + 14+86*64, + 0, +}; + +uint16 sjoey_l_to_d[] = { + 13+86*64, + 0, +}; + +uint16 sjoey_l_to_r[] = { + 13+86*64, + 2+86*64, + 12+86*64, + 0, +}; + +uint16 sjoey_r_to_u[] = { + 15+86*64, + 0, +}; + +uint16 sjoey_r_to_d[] = { + 12+86*64, + 0, +}; + +uint16 sjoey_r_to_l[] = { + 15+86*64, + 0+86*64, + 14+86*64, + 0, +}; + +UnknownStuff joey_unk = { + { // unknownStuff_1_1 + 3, + 8, + 16, + 24 + }, + { // unknownStuff_1_2 + wjoey_up, + wjoey_down, + wjoey_left, + wjoey_right, + wjoey_st_up, + wjoey_st_down, + wjoey_st_left, + wjoey_st_right, + 0, + 0, + wjoey_u_to_d, + wjoey_u_to_l, + wjoey_u_to_r, + 0, + wjoey_d_to_u, + 0, + wjoey_d_to_l, + wjoey_d_to_r, + 0, + wjoey_l_to_u, + wjoey_l_to_d, + 0, + wjoey_l_to_r, + 0, + wjoey_r_to_u, + wjoey_r_to_d, + wjoey_r_to_l, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + }, + { // unknownStuff_2_1 + 0, + 0, + 8, + 8 + }, + { // unknownStuff_2_2 + sjoey_up, + sjoey_down, + sjoey_left, + sjoey_right, + sjoey_st_up, + sjoey_st_down, + sjoey_st_left, + sjoey_st_right, + 0, + 0, + sjoey_u_to_d, + sjoey_u_to_l, + sjoey_u_to_r, + 0, + sjoey_d_to_u, + 0, + sjoey_d_to_l, + sjoey_d_to_r, + 0, + sjoey_l_to_u, + sjoey_l_to_d, + 0, + sjoey_l_to_r, + 0, + sjoey_r_to_u, + sjoey_r_to_d, + sjoey_r_to_l, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + }, +}; + +uint16 *joey_turnTable[5][5] = { + { // turnTableup + 0, + ljoey_u_to_d, + ljoey_u_to_l, + ljoey_u_to_r, + 0 + }, + { // turnTableDown + ljoey_d_to_u, + 0, + ljoey_d_to_l, + ljoey_d_to_r, + 0 + }, + { // turnTableLeft + ljoey_l_to_u, + ljoey_l_to_d, + 0, + ljoey_l_to_r, + 0 + }, + { // turnTableRight + ljoey_r_to_u, + ljoey_r_to_d, + ljoey_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact joey_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 3, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_JOEY, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + joey_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + ljoey_up, // animUp + ljoey_down, // animDown + ljoey_left, // animLeft + ljoey_right, // animRight + ljoey_st_up, // standUp + ljoey_st_down, // standDown + ljoey_st_left, // standLeft + ljoey_st_right, // standRight + 0, // standTalk +}; + +Compact joey = { + L_SCRIPT, // logic + 0, // status + 0, // sync + 2, // screen + 115, // place + 0, // getToTable + 320, // xcood + 304, // ycood + 173*64+12, // frame + 3, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 65526, // mouseRel_x + 65520, // mouseRel_y + 20, // mouseSize_x + 25, // mouseSize_y + SHOUT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + JOEY_LOGIC, // baseSub + 0, // baseSub_off + &joey_ext, + &joey_turnTable, + &joey_unk, +}; + +uint16 baby_logic_list[] = { + ID_FOSTER, + 0, +}; + +uint16 save_restore_mouse[] = { + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 20, + 0, +}; + +uint16 fradman_r_to_l[] = { + 45+90*64, + 44+90*64, + 43+90*64, + 0, +}; + +uint16 foster_right[] = { + 4, + 30+12*64, + 4, + 0, + 4, + 31+12*64, + 4, + 0, + 4, + 32+12*64, + 4, + 0, + 4, + 33+12*64, + 4, + 0, + 4, + 34+12*64, + 4, + 0, + 4, + 35+12*64, + 4, + 0, + 4, + 36+12*64, + 4, + 0, + 4, + 37+12*64, + 4, + 0, + 4, + 38+12*64, + 4, + 0, + 4, + 39+12*64, + 4, + 0, + 0, +}; + +uint16 seq2_pal[] = { + 0, + 256, + 512, + 512, + 529, + 1024, + 1552, + 1296, + 1042, + 1552, + 2064, + 1568, + 2320, + 2080, + 2576, + 2337, + 2320, + 1842, + 2337, + 2849, + 3104, + 2848, + 2353, + 2866, + 2883, + 2882, + 3138, + 3394, + 3155, + 3411, + 3412, + 3428, +}; + +uint16 seq1_pal[] = { + 0, + 291, + 309, + 546, + 1075, + 1093, + 1314, + 1586, + 1604, + 1622, + 2133, + 2097, + 2114, + 2390, + 2387, + 2626, + 2167, + 2662, + 2679, + 2900, + 3138, + 3156, + 2696, + 3377, + 3190, + 3464, + 3685, + 3650, + 3668, + 3857, + 3703, + 3736, +}; + +uint16 bfoster_r_to_d[] = { + 47+182*64, + 0, +}; + +uint16 low_get_seq[] = { + 200*64, + 315, + 267, + 0, + 315, + 267, + 1, + 315, + 267, + 2, + 315, + 267, + 3, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 3, + 1, + 1, + 2, + 1, + 1, + 1, + 1, + 1, + 0, + 0, +}; + +uint16 fradman_u_to_r[] = { + 45+90*64, + 0, +}; + +uint16 rs_mega_alive[] = { + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION+ST_MOUSE, + 65535, +}; + +Compact whole_screen = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 128, // xcood + 136, // ycood + 0, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + TEXT_EDIT, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 192, // mouseSize_y +}; + +uint16 bfoster_u_to_l[] = { + 43+182*64, + 0, +}; + +Compact bar = { + 0, // logic + ST_MOUSE+ST_FOREGROUND+ST_RECREATE, // status + 0, // sync + 0, // screen + 0, // place + bar_table, // getToTable + 143, // xcood + 205, // ycood + 86*64, // frame + 4295, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 13+4, // mouseSize_x + 3, // mouseSize_y + BAR_ACTION, // actionScript +}; + +uint16 foster_st_left[] = { + 12*64, + 1, + 0, + 42, + 0, +}; + +uint16 monitor_l_to_r[] = { + 41-8+74*64, + 40-8+74*64, + 47-8+74*64, + 0, +}; + +uint16 rs_lamb_start_3[] = { + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION+ST_MOUSE, + C_PLACE, + ID_S29_FLOOR, + C_SCREEN, + 29, + C_XCOOD, + 240, + C_YCOOD, + 232, + C_MOUSE_REL_X, + 65520, + C_MOUSE_REL_Y, + 65488, + C_DIR, + DOWN, + 65535, +}; + +uint16 forklift2_cdt[] = { + 94*64, + 291, + 292, + 0, + 291, + 292, + 1, + 291, + 292, + 2, + 291, + 292, + 3, + 291, + 292, + 4, + 291, + 292, + 5, + 291, + 292, + 6, + 291, + 292, + 7, + 291, + 292, + 8, + 291, + 292, + 9, + 291, + 292, + 10, + 291, + 292, + 11, + 291, + 292, + 12, + 291, + 292, + 13, + 291, + 292, + 14, + 291, + 292, + 15, + 291, + 292, + 16, + 291, + 292, + 17, + 291, + 292, + 18, + 291, + 280, + 19, + 291, + 281, + 20, + 291, + 282, + 21, + 291, + 283, + 19, + 291, + 284, + 20, + 291, + 285, + 21, + 291, + 286, + 19, + 291, + 287, + 20, + 291, + 288, + 21, + 291, + 289, + 19, + 291, + 290, + 20, + 291, + 291, + 21, + 291, + 292, + 19, + 291, + 292, + 22, + 291, + 292, + 23, + 291, + 292, + 24, + 291, + 292, + 25, + 291, + 292, + 26, + 291, + 292, + 27, + 291, + 292, + 28, + 291, + 292, + 29, + 291, + 292, + 30, + 291, + 292, + 31, + 291, + 292, + 32, + 291, + 292, + 33, + 292, + 292, + 34, + 292, + 292, + 35, + 292, + 292, + 36, + 292, + 292, + 37, + 292, + 292, + 38, + 292, + 292, + 39, + 292, + 292, + 40, + 292, + 292, + 41, + 292, + 292, + 42, + 292, + 292, + 43, + 293, + 292, + 44, + 293, + 292, + 45, + 297, + 292, + 46, + 297, + 292, + 47, + 299, + 292, + 48, + 299, + 292, + 49, + 299, + 292, + 50, + 299, + 292, + 51, + 299, + 292, + 52, + 299, + 292, + 53, + 299, + 292, + 54, + 299, + 292, + 55, + 299, + 292, + 56, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 299, + 292, + 57, + 0, +}; + +Compact talk2 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + talk_table, // getToTable +}; + +Compact text_4 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 277*64, // frame + 0, // cursorText + TEXT_ON, // mouseOn + TEXT_OFF, // mouseOff + TEXT_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 12, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +uint16 mfoster_d_to_r[] = { + 47+13*64, + 0, +}; + +Compact door = { + L_SCRIPT, // logic + ST_MOUSE+ST_BACKGROUND+ST_RECREATE+ST_LOGIC, // status + 0, // sync + 0, // screen + 0, // place + door_table, // getToTable + 400, // xcood + 167, // ycood + 89*64, // frame + 4148, // cursorText + FEXIT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 16, // mouseSize_x + 58, // mouseSize_y + FIRE_EXIT_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FEXIT_DOOR, // baseSub + 0, // baseSub_off +}; + +uint16 foster_d_to_u[] = { + 47+12*64, + 46+12*64, + 45+12*64, + 0, +}; + +uint16 park_table[] = { + ID_SLOT, + GET_TO_SLOT, + 65535, +}; + +uint8 minif_auto[64]; + +uint16 mfoster_up[] = { + 1, + 0+13*64, + 0, + 65535, + 1, + 1+13*64, + 0, + 65535, + 1, + 2+13*64, + 0, + 65535, + 1, + 3+13*64, + 0, + 65535, + 1, + 4+13*64, + 0, + 65535, + 1, + 5+13*64, + 0, + 65535, + 1, + 6+13*64, + 0, + 65535, + 1, + 7+13*64, + 0, + 65535, + 1, + 8+13*64, + 0, + 65535, + 1, + 9+13*64, + 0, + 65535, + 0, +}; + +uint16 mfoster_down[] = { + 1, + 10+13*64, + 0, + 1, + 1, + 11+13*64, + 0, + 1, + 1, + 12+13*64, + 0, + 1, + 1, + 13+13*64, + 0, + 1, + 1, + 14+13*64, + 0, + 1, + 1, + 15+13*64, + 0, + 1, + 1, + 16+13*64, + 0, + 1, + 1, + 17+13*64, + 0, + 1, + 1, + 18+13*64, + 0, + 1, + 1, + 19+13*64, + 0, + 1, + 0, +}; + +uint16 mfoster_right[] = { + 2, + 30+13*64, + 2, + 0, + 2, + 31+13*64, + 2, + 0, + 2, + 32+13*64, + 2, + 0, + 2, + 33+13*64, + 2, + 0, + 2, + 34+13*64, + 2, + 0, + 2, + 35+13*64, + 2, + 0, + 2, + 36+13*64, + 2, + 0, + 2, + 37+13*64, + 2, + 0, + 2, + 38+13*64, + 2, + 0, + 2, + 39+13*64, + 2, + 0, + 0, +}; + +uint16 mfoster_st_left[] = { + 13*64, + 1, + 1, + 42, + 0, +}; + +uint16 mfoster_u_to_l[] = { + 43+13*64, + 0, +}; + +uint16 mfoster_l_to_d[] = { + 41+13*64, + 0, +}; + +uint16 mfoster_r_to_d[] = { + 47+13*64, + 0, +}; + +uint16 mfoster_r_to_l[] = { + 45+13*64, + 44+13*64, + 43+13*64, + 0, +}; + +uint16 foster_down[] = { + 2, + 10+12*64, + 0, + 2, + 2, + 11+12*64, + 0, + 2, + 2, + 12+12*64, + 0, + 2, + 2, + 13+12*64, + 0, + 2, + 2, + 14+12*64, + 0, + 2, + 2, + 15+12*64, + 0, + 2, + 2, + 16+12*64, + 0, + 2, + 2, + 17+12*64, + 0, + 2, + 2, + 18+12*64, + 0, + 2, + 2, + 19+12*64, + 0, + 2, + 0, +}; + +uint16 foster_st_up[] = { + 12*64, + 1, + 0, + 44, + 0, +}; + +uint16 foster_u_to_r[] = { + 45+12*64, + 0, +}; + +uint16 foster_d_to_r[] = { + 47+12*64, + 0, +}; + +uint16 foster_l_to_d[] = { + 41+12*64, + 0, +}; + +uint16 foster_l_to_r[] = { + 41+12*64, + 40+12*64, + 47+12*64, + 0, +}; + +uint16 foster_r_to_d[] = { + 47+12*64, + 0, +}; + +uint16 foster_r_to_l[] = { + 45+12*64, + 44+12*64, + 43+12*64, + 0, +}; + +uint16 foster_t_to_u[] = { + 47+12*64, + 46+12*64, + 45+12*64, + 0, +}; + +uint16 foster_t_to_l[] = { + 40+12*64, + 41+12*64, + 0, +}; + +uint16 fradman_st_down[] = { + 90*64, + 1, + 0, + 40, + 0, +}; + +uint16 fradman_st_left[] = { + 90*64, + 1, + 0, + 42, + 0, +}; + +uint16 fradman_st_talk[] = { + 97*64, + 1, + 0, + 0, + 0, +}; + +uint16 fradman_d_to_l[] = { + 41+90*64, + 0, +}; + +uint16 fradman_d_to_r[] = { + 47+90*64, + 0, +}; + +uint16 fradman_l_to_u[] = { + 43+90*64, + 0, +}; + +uint16 fradman_r_to_u[] = { + 45+90*64, + 0, +}; + +uint16 fradman_r_to_d[] = { + 47+90*64, + 0, +}; + +uint16 bfoster_right[] = { + 4, + 30+182*64, + 4, + 0, + 4, + 31+182*64, + 4, + 0, + 4, + 32+182*64, + 4, + 0, + 4, + 33+182*64, + 4, + 0, + 4, + 34+182*64, + 4, + 0, + 4, + 35+182*64, + 4, + 0, + 4, + 36+182*64, + 4, + 0, + 4, + 37+182*64, + 4, + 0, + 4, + 38+182*64, + 4, + 0, + 4, + 39+182*64, + 4, + 0, + 0, +}; + +uint16 bfoster_st_up[] = { + 182*64, + 1, + 0, + 44, + 0, +}; + +uint16 bfoster_st_down[] = { + 182*64, + 1, + 0, + 40, + 0, +}; + +uint16 bfoster_u_to_d[] = { + 43+182*64, + 42+182*64, + 41+182*64, + 0, +}; + +uint16 bfoster_d_to_l[] = { + 41+182*64, + 0, +}; + +uint16 bfoster_l_to_u[] = { + 43+182*64, + 0, +}; + +uint16 bfoster_l_to_d[] = { + 41+182*64, + 0, +}; + +uint16 bfoster_l_to_r[] = { + 41+182*64, + 40+182*64, + 47+182*64, + 0, +}; + +UnknownStuff foster_unk = { + { // unknownStuff_1_1 + 3, + 8, + 16, + 24 + }, + { // unknownStuff_1_2 + foster_up, + foster_down, + foster_left, + foster_right, + foster_st_up, + foster_st_down, + foster_st_left, + foster_st_right, + foster_st_talk, + 0, + foster_u_to_d, + foster_u_to_l, + foster_u_to_r, + foster_u_to_t, + foster_d_to_u, + 0, + foster_d_to_l, + foster_d_to_r, + 0, + foster_l_to_u, + foster_l_to_d, + 0, + foster_l_to_r, + foster_l_to_t, + foster_r_to_u, + foster_r_to_d, + foster_r_to_l, + 0, + 0, + foster_t_to_u, + 0, + foster_t_to_l, + 0, + 0 + }, + { // unknownStuff_2_1 + 3, + 8, + 16, + 24 + }, + { // unknownStuff_2_2 + fradman_up, + fradman_down, + fradman_left, + fradman_right, + fradman_st_up, + fradman_st_down, + fradman_st_left, + fradman_st_right, + fradman_st_talk, + 0, + fradman_u_to_d, + fradman_u_to_l, + fradman_u_to_r, + 0, + fradman_d_to_u, + 0, + fradman_d_to_l, + fradman_d_to_r, + 0, + fradman_l_to_u, + fradman_l_to_d, + 0, + fradman_l_to_r, + 0, + fradman_r_to_u, + fradman_r_to_d, + fradman_r_to_l, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + }, + { // unknownStuff_3_1 + 3, + 8, + 16, + 24 + }, + { // unknownStuff_3_2 + bfoster_up, + bfoster_down, + bfoster_left, + bfoster_right, + bfoster_st_up, + bfoster_st_down, + bfoster_st_left, + bfoster_st_right, + 0, + 0, + bfoster_u_to_d, + bfoster_u_to_l, + bfoster_u_to_r, + 0, + bfoster_d_to_u, + 0, + bfoster_d_to_l, + bfoster_d_to_r, + 0, + bfoster_l_to_u, + bfoster_l_to_d, + 0, + bfoster_l_to_r, + 0, + bfoster_r_to_u, + bfoster_r_to_d, + bfoster_r_to_l, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + }, +}; + +uint16 *foster_turnTable[5][5] = { + { // turnTableup + 0, + mfoster_u_to_d, + mfoster_u_to_l, + mfoster_u_to_r, + 0 + }, + { // turnTableDown + mfoster_d_to_u, + 0, + mfoster_d_to_l, + mfoster_d_to_r, + 0 + }, + { // turnTableLeft + mfoster_l_to_u, + mfoster_l_to_d, + 0, + mfoster_l_to_r, + 0 + }, + { // turnTableRight + mfoster_r_to_u, + mfoster_r_to_d, + mfoster_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact foster_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + STD_PLAYER_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96+32, // spWidth_xx + SP_COL_FOSTER, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + minif_auto, // animScratch + 0, // megaSet + 0, // gridWidth + 0, // colOffset + 8, // colWidth + 8, // lastChr + mfoster_up, // animUp + mfoster_down, // animDown + mfoster_left, // animLeft + mfoster_right, // animRight + mfoster_st_up, // standUp + mfoster_st_down, // standDown + mfoster_st_left, // standLeft + mfoster_st_right, // standRight + 0, // standTalk +}; + +Compact foster = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_AR_PRIORITY+ST_GRID_PLOT+ST_COLLISION, // status + 0, // sync + SAFE_START_SCREEN, // screen + 67, // place + 0, // getToTable + 160, // xcood + 280, // ycood + 13*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + BASE_INTRO, // baseSub + 0, // baseSub_off + &foster_ext, + foster_turnTable, + &foster_unk, +}; + +uint16 monitor_up[] = { + 2, + 0+74*64, + 0, + 65534, + 2, + 1+74*64, + 0, + 65534, + 2, + 2+74*64, + 0, + 65534, + 2, + 3+74*64, + 0, + 65534, + 2, + 4+74*64, + 0, + 65534, + 2, + 5+74*64, + 0, + 65534, + 2, + 6+74*64, + 0, + 65534, + 2, + 7+74*64, + 0, + 65534, + 0, +}; + +uint16 s0_fast_list[] = { + 12, + 51, + 52, + 53, + 13, + 55, + 22, + 158, + 14+0X8000, + 15+0X8000, + 71+0X8000, + 72+0X8000, + 0, +}; + +uint16 s7_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 134+DISK_2, + 146+DISK_2, + 151+DISK_2, + 149+DISK_2, + 0, +}; + +uint16 monitor_st_talk[] = { + 134*64, + 1, + 1, + 0, + 0, +}; + +uint16 fast_list_sc90[] = { + IT_BLUE_FOSTER+DISK_4, + IT_LOGOFF+0X8000+DISK_4, + IT_WINDOW+0X8000+DISK_4, + IT_INFO_BUTTON+DISK_4, + IT_LINK_ARROWS+DISK_4, + IT_LINK_OBJECTS+DISK_4, + IT_CROUCH_RIGHT+DISK_4, + IT_EYEBALL+DISK_4, + IT_GET_EYE+DISK_4+0X8000, + IT_BLIND_EYE+DISK_4, + IT_SEE_EYE+DISK_4, + IT_EYE90_ZAP+DISK_4+0X8000, + IT_SC90_LAYER_0+DISK_4, + IT_SC90_LAYER_1+DISK_4, + IT_SC90_GRID_1+DISK_4, + 0, +}; + +uint16 but_2[] = { + 142*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 0, +}; + +uint16 but_3[] = { + 143*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 0, +}; + +uint16 monitor_st_down[] = { + 74*64, + 1, + 1, + 32, + 0, +}; + +uint32 zt[0]; + +uint16 but_9[] = { + 149*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 0, +}; + +Compact text_11 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 284*64, // frame + 0, // cursorText + TEXT_ON, // mouseOn + TEXT_OFF, // mouseOff + TEXT_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 12, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +Compact joey_park = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + park_table, // getToTable +}; + +Compact coordinate_test = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 128+8, // xcood + 136+8, // ycood + 19*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + CLICK_DEBUG, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 64, // mouseSize_x + 12, // mouseSize_y +}; + +Compact text_2 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 275*64, // frame + 0, // cursorText + TEXT_ON, // mouseOn + TEXT_OFF, // mouseOff + TEXT_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 12, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +Compact text_3 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 276*64, // frame + 0, // cursorText + TEXT_ON, // mouseOn + TEXT_OFF, // mouseOff + TEXT_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 12, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +Compact text_6 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 279*64, // frame + 0, // cursorText + TEXT_ON, // mouseOn + TEXT_OFF, // mouseOff + TEXT_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 12, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +Compact text_7 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 280*64, // frame + 0, // cursorText + TEXT_ON, // mouseOn + TEXT_OFF, // mouseOff + TEXT_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 12, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +Compact text_9 = { + 0, // logic + 0, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 282*64, // frame + 0, // cursorText + TEXT_ON, // mouseOn + TEXT_OFF, // mouseOff + TEXT_CLICK, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 320, // mouseSize_x + 12, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag +}; + +uint16 rad_shrug_seq[] = { + 90*64, + 1, + 1, + 48, + 1, + 1, + 48, + 1, + 1, + 49, + 1, + 1, + 49, + 1, + 1, + 49, + 1, + 1, + 49, + 0, +}; + +uint32 talk1[0]; + +uint16 rs_lamb_start_2[] = { + C_STATUS, + ST_SORT+ST_RECREATE+ST_LOGIC+ST_GRID_PLOT+ST_COLLISION+ST_MOUSE, + C_PLACE, + ID_S7_FLOOR, + C_SCREEN, + 7, + C_XCOOD, + 256, + C_YCOOD, + 224, + C_MOUSE_REL_X, + 65520, + C_MOUSE_REL_Y, + 65488, + C_DIR, + DOWN, + 65535, +}; + +uint16 s6_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 24+DISK_2+0X8000, + 25+DISK_2+0X8000, + 0, +}; + +uint16 swing_list[] = { + 85+DISK_1, + 86+DISK_1, + 87+DISK_1, + 88+DISK_1, + 0, +}; + +Compact right_exit0 = { + 0, // logic + ST_MOUSE, // status + 0, // sync + 0, // screen + 0, // place + 0, // getToTable + 393, // xcood + 250, // ycood + 0, // frame + 1+T7, // cursorText + STD_EXIT_RIGHT_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 9, // mouseSize_x + 36, // mouseSize_y + ER0_ACTION, // actionScript +}; + +uint16 rs_blank[] = { + C_FRAME, + 50*64, + C_BASE_SUB, + MENU_SCRIPT, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint8 monitor_auto[64]; + +uint16 monitor_down[] = { + 2, + 8+74*64, + 0, + 2, + 2, + 9+74*64, + 0, + 2, + 2, + 10+74*64, + 0, + 2, + 2, + 11+74*64, + 0, + 2, + 2, + 12+74*64, + 0, + 2, + 2, + 13+74*64, + 0, + 2, + 2, + 14+74*64, + 0, + 2, + 2, + 15+74*64, + 0, + 2, + 0, +}; + +uint16 monitor_st_left[] = { + 74*64, + 1, + 1, + 34, + 0, +}; + +uint16 monitor_st_right[] = { + 74*64, + 1, + 1, + 38, + 0, +}; + +uint16 monitor_u_to_r[] = { + 45-8+74*64, + 0, +}; + +uint16 monitor_d_to_u[] = { + 47-8+74*64, + 46-8+74*64, + 45-8+74*64, + 0, +}; + +uint16 monitor_d_to_l[] = { + 41-8+74*64, + 0, +}; + +uint16 monitor_l_to_d[] = { + 41-8+74*64, + 0, +}; + +uint16 monitor_r_to_d[] = { + 47-8+74*64, + 0, +}; + +uint16 monitor_r_to_l[] = { + 45-8+74*64, + 44-8+74*64, + 43-8+74*64, + 0, +}; + +uint16 *monitor_turnTable[5][5] = { + { // turnTableup + 0, + monitor_u_to_d, + monitor_u_to_l, + monitor_u_to_r, + 0 + }, + { // turnTableDown + monitor_d_to_u, + 0, + monitor_d_to_l, + monitor_d_to_r, + 0 + }, + { // turnTableLeft + monitor_l_to_u, + monitor_l_to_d, + 0, + monitor_l_to_r, + 0 + }, + { // turnTableRight + monitor_r_to_u, + monitor_r_to_d, + monitor_r_to_l, + 0, + 0 + }, + { // turnTableTalk + 0, + 0, + 0, + 0, + 0 + }, +}; + +ExtCompact monitor_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + DOWN, // dir + STD_MEGA_STOP, // stopScript + STD_MINI_BUMP, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_MONITOR, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + monitor_auto, // animScratch + 0, // megaSet + 3, // gridWidth + 8, // colOffset + 16, // colWidth + 24, // lastChr + monitor_up, // animUp + monitor_down, // animDown + monitor_left, // animLeft + monitor_right, // animRight + monitor_st_up, // standUp + monitor_st_down, // standDown + monitor_st_left, // standLeft + monitor_st_right, // standRight + monitor_st_talk, // standTalk +}; + +Compact monitor = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 18, // screen + ID_S18_FLOOR, // place + 0, // getToTable + 250, // xcood + 231, // ycood + 75*64, // frame + 4, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + MEGA_CLICK, // mouseClick + 260-250, // mouseRel_x + 244-231, // mouseRel_y + 280-260, // mouseSize_x + 276-244, // mouseSize_y + SAT_GORDON_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + MONITOR_SLEEP, // baseSub + 0, // baseSub_off + &monitor_ext, + &monitor_turnTable, +}; + +ExtCompact anita_ext = { + 0, // actionSub + 0, // actionSub_off + 0, // getToSub + 0, // getToSub_off + 0, // extraSub + 0, // extraSub_off + 0, // dir + 0, // stopScript + 0, // miniBump + 0, // leaving + 0, // atWatch + 0, // atWas + 0, // alt + 0, // request + 96, // spWidth_xx + SP_COL_ANITA, // spColour + 0, // spTextId + 0, // spTime + 0, // arAnimIndex + 0, // turnProg + 0, // waitingFor + 0, // arTarget_x + 0, // arTarget_y + 0, // animScratch + 0, // megaSet +}; + +Compact anita = { + L_SCRIPT, // logic + ST_SORT+ST_RECREATE+ST_LOGIC+ST_MOUSE, // status + 0, // sync + 12, // screen + 0, // place + 0, // getToTable + 0X157, // xcood + 0XB3, // ycood + 27*64, // frame + 54, // cursorText + STD_ON, // mouseOn + STD_OFF, // mouseOff + ADVISOR_188, // mouseClick + 4, // mouseRel_x + 4, // mouseRel_y + 24, // mouseSize_x + 48, // mouseSize_y + ANITA_ACTION, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + 0, // mode + ANITA_WORK, // baseSub + 0, // baseSub_off + &anita_ext, +}; + +uint16 rs_r_arr_linc[] = { + C_FRAME, + 1+190*64, + C_BASE_SUB, + LINC_MENU_SCRIPT, + C_BASE_SUB+2, + 0, + 65535, +}; + +uint16 s5_fast_list[] = { + 12, + 51, + 52, + 53, + 54, + 135, + 17+DISK_2, + 18+DISK_2, + 113+DISK_2, + 0, +}; + +uint16 but_e[] = { + 150*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 0, +}; + +uint16 but_1[] = { + 141*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 0, +}; + +uint16 but_6[] = { + 146*64, + 1, + 1, + 1, + 1, + 1, + 2, + 1, + 1, + 0, + 0, +}; + +uint16 fast_intro_2[] = { + 189+DISK_15, + 190+DISK_15, + 191+DISK_15, + 0, +}; + +uint16 fast_intro_3[] = { + 192+DISK_15, + 193+DISK_15, + 194+DISK_15, + 0, +}; + +uint16 retina_scan_cdt[] = { + 151*64, + 378, + 302, + 0, + 378, + 302, + 0, + 378, + 302, + 1, + 378, + 302, + 2, + 378, + 302, + 3, + 378, + 302, + 4, + 378, + 302, + 5, + 378, + 302, + 6, + 378, + 302, + 7, + 378, + 302, + 7, + 378, + 302, + 7, + 378, + 302, + 7, + 378, + 302, + 7, + 378, + 302, + 7, + 378, + 302, + 7, + 378, + 302, + 8, + 378, + 302, + 9, + 378, + 302, + 10, + 378, + 302, + 11, + 378, + 302, + 12, + 378, + 302, + 13, + 378, + 302, + 13, + 378, + 302, + 14, + 378, + 302, + 15, + 378, + 302, + 16, + 378, + 302, + 17, + 0, +}; + +Compact forklift_cpt = { + L_SCRIPT, // logic + ST_BACKGROUND+ST_LOGIC+ST_RECREATE, // status + 0, // sync + 15, // screen + 0, // place + 0, // getToTable + 0, // xcood + 0, // ycood + 93*64, // frame + 0, // cursorText + 0, // mouseOn + 0, // mouseOff + 0, // mouseClick + 0, // mouseRel_x + 0, // mouseRel_y + 0, // mouseSize_x + 0, // mouseSize_y + 0, // actionScript + 0, // upFlag + 0, // downFlag + 0, // getToFlag + 0, // flag + 0, // mood + 0, // grafixProg + 0, // offset + C_BASE_MODE, // mode + FORKLIFT_LOGIC, // baseSub + 0, // baseSub_off +}; + +void *data_0[] = { + 0, + &joey, + &joey_park, + &foster, + std_menu_logic, + text_mouse, + &gallcard_menu, + rs_mega_alive, + &citycard_menu, + &shades_menu, + &putty_menu, + &lightbulb_menu, + low_get_seq, + mini_shrug_seq, + sml_up_mid_get_seq, + new_grid, + &lamb, + &floor, + &coordinate_test, + save_restore_mouse, + &whole_screen, + l_talk_s2, + &r_talk_s2, + &text_1, + &text_2, + &text_3, + &text_4, + &text_5, + &text_6, + &text_7, + &text_8, + &text_9, + &text_10, + &text_11, + &wd40_menu, + &skey_menu, + &secateurs_menu, + &rope_menu, + &plaster_menu, + &new_cable_menu, + shrug_seq, + rad_shrug_seq, + &brick_menu, + &tongs_menu, + talk1, + &talk2, + &menu_bar, + &left_arrow, + &right_arrow, + &dog_food_menu, + 0, + &blank1, + &blank2, + &blank3, + &blank4, + &blank5, + &blank6, + &blank7, + &blank8, + &blank9, + &blank10, + &blank11, + 0, + &crow_bar_menu, + &sarnie_menu, + &spanner_menu, + &joeyb_menu, + &low_floor, + 0, + &stairs, + &upstairs, + &anita_card_menu, + rs_lamb_to_three, + rs_lamb_start_2, + &anchor_menu, + &magazine_menu, + &tape_menu, + &glass_menu, + rs_lamb_start_3, + &ticket_menu, + s29_fast_list, + s6_fast_list, + fast_list_sc3, + s9_fast_list, + s10_fast_list, + &bar, + s11_fast_list, + fast_list_0, + s0_fast_list, + s7_fast_list, + &door, + s28_fast_list, + swing_list, + 0, + 0, + &outside_ledge, + 0, + &r1_door, + 0, + 0, + 0, + 0, + fast_list_sc90, + 0, + 0, + &small_door, + sc85_fast_list, + sc85_chip_list, + sc85_logic_list, + sc85_mouse_list, + sc85_palette, + &right_exit0, + 0, + 0, + 0, + &s2_floor, + 0, + s101_chip_list, + s101_pal, + s101_mouse, + s101_logic, + &full_screen, + &cancel_button, + &button_0, + &button_1, + &button_2, + &button_3, + &button_4, + &button_5, + &button_6, + &button_7, + &button_8, + &button_9, + rs_left_arrow, + rs_right_arrow, + rs_blank, + &monitor, + &anita, + 0, + 0, + 0, + baby_logic_list, + rs_l_arr_linc, + rs_r_arr_linc, + rs_blanks_linc, + s5_fast_list, + but_e, + but_0, + but_1, + but_2, + but_3, + but_4, + but_5, + but_6, + but_7, + but_8, + but_9, + 0, + s102_chip_list, + s102_pal, + s102_logic, + s102_mouse, + &restart_butt, + restart_seq, + &restore_butt, + restore_seq, + seq1_pal, + seq2_pal, + seq3_pal, + fast_intro, + chip_intro, + fast_intro_2, + fast_intro_3, + &retina_scan, + retina_scan_cdt, + &exit_butt, + exit_seq, + &forklift_cpt, + forklift1_cdt, + forklift2_cdt, +}; + +uint32 z_compact_table[0]; + +}; // namespace SkyCompact + +#endif